Haskell-ide-engine: installation failed in the stack

Created on 12 Oct 2019  Â·  1Comment  Â·  Source: haskell/haskell-ide-engine

os: macOS Mojave 10.14.6
ghc: 8.6.5
stack: 2.1.3
cabal: 2.4.1.0

I am a beginner and I don't know the error message.
Feel this is not just a path problem
How can I solve it?

stack ./install.hs hie-8.6.5
run from: stack
# git (for submodules)
Synchronizing submodule url for 'submodules/HaRe'
Synchronizing submodule url for 'submodules/cabal-helper'
Synchronizing submodule url for 'submodules/ghc-mod'
# git (for submodules)
# stack (for check-stack)
# stack (for stack-hie-8.6.5)
lens              > configure
lens              > [1 of 2] Compiling Main             ( /private/var/folders/8s/_k7vv06d4j57bwb375cwrh2r0000gn/T/stack74336/lens-4.17.1/Setup.lhs, /private/var/folders/8s/_k7vv06d4j57bwb375cwrh2r0000gn/T/stack74336/lens-4.17.1/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/Main.o )
lens              > [2 of 2] Compiling StackSetupShim   ( /Users/kuma/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/8s/_k7vv06d4j57bwb375cwrh2r0000gn/T/stack74336/lens-4.17.1/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/StackSetupShim.o )
lens              > Linking /private/var/folders/8s/_k7vv06d4j57bwb375cwrh2r0000gn/T/stack74336/lens-4.17.1/.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/setup/setup ...
lens              > Configuring lens-4.17.1...
lens              > build
lens              > Preprocessing library for lens-4.17.1..
lens              > Building library for lens-4.17.1..
lens              > [ 1 of 83] Compiling Control.Lens.Internal.CTypes
lens              > [ 2 of 83] Compiling Control.Lens.Internal.Coerce
lens              > [ 3 of 83] Compiling Control.Lens.Internal.Getter
lens              > [ 4 of 83] Compiling Control.Lens.Internal.Fold
lens              > [ 5 of 83] Compiling Control.Lens.Internal.Instances
lens              > [ 6 of 83] Compiling Control.Lens.Internal.Indexed
lens              > [ 7 of 83] Compiling Control.Lens.Internal.Context
lens              > [ 8 of 83] Compiling Control.Lens.Internal.Bazaar
lens              > [ 9 of 83] Compiling Control.Lens.Internal.Iso
lens              > [10 of 83] Compiling Control.Lens.Internal.Level
lens              > [11 of 83] Compiling Control.Lens.Internal.List
lens              > [12 of 83] Compiling Control.Lens.Internal.Magma
lens              > [13 of 83] Compiling Control.Lens.Internal.Prism
lens              > [14 of 83] Compiling Control.Lens.Internal.Review
lens              > [15 of 83] Compiling Control.Lens.Internal.Setter
lens              > [16 of 83] Compiling Control.Lens.Internal.TH
lens              > [17 of 83] Compiling Control.Lens.Internal.Zoom
lens              > [18 of 83] Compiling Control.Lens.Internal
lens              > [19 of 83] Compiling Control.Lens.Type
lens              > [20 of 83] Compiling Control.Lens.Setter
lens              > [21 of 83] Compiling Control.Lens.Lens
lens              > [22 of 83] Compiling Control.Lens.Tuple
lens              > [23 of 83] Compiling Control.Lens.Getter
lens              > [24 of 83] Compiling Control.Lens.Review
lens              > [25 of 83] Compiling Control.Lens.Prism
lens              > [26 of 83] Compiling Control.Lens.Fold
lens              > [27 of 83] Compiling Control.Lens.Traversal
lens              > [28 of 83] Compiling Control.Lens.Level
lens              > [29 of 83] Compiling Control.Lens.Reified
lens              > [30 of 83] Compiling Control.Lens.Internal.Exception
lens              > [31 of 83] Compiling Control.Lens.Indexed
lens              > [32 of 83] Compiling Control.Lens.Internal.ByteString
lens              > [33 of 83] Compiling Control.Lens.Equality
lens              > [34 of 83] Compiling Control.Lens.Iso
lens              > [35 of 83] Compiling Control.Lens.Empty
lens              > [36 of 83] Compiling Control.Lens.Cons
lens              > [37 of 83] Compiling Control.Lens.Internal.Deque
lens              > [38 of 83] Compiling Control.Lens.Wrapped
lens              > [39 of 83] Compiling Control.Lens.Zoom
lens              > [40 of 83] Compiling Data.Data.Lens
lens              > [41 of 83] Compiling Control.Lens.Plated
lens              > [42 of 83] Compiling Data.HashSet.Lens
lens              > [43 of 83] Compiling Data.Map.Lens
lens              > [44 of 83] Compiling Data.Set.Lens
lens              > [45 of 83] Compiling Data.Text.Lazy.Lens
lens              > [46 of 83] Compiling Data.Text.Strict.Lens
lens              > [47 of 83] Compiling Data.Text.Lens
lens              > [48 of 83] Compiling Data.Vector.Generic.Lens
lens              > [49 of 83] Compiling Control.Lens.Each
lens              > [50 of 83] Compiling Control.Lens.At
lens              > [51 of 83] Compiling Language.Haskell.TH.Lens
lens              > [52 of 83] Compiling Control.Lens.Internal.PrismTH
lens              > [53 of 83] Compiling Control.Lens.Internal.FieldTH
lens              > [54 of 83] Compiling Control.Lens.TH
lens              > [55 of 83] Compiling Control.Lens
lens              > [56 of 83] Compiling GHC.Generics.Lens
lens              > [57 of 83] Compiling Data.Vector.Lens
lens              > [58 of 83] Compiling Data.Typeable.Lens
lens              > [59 of 83] Compiling Data.Tree.Lens
lens              > [60 of 83] Compiling Data.Sequence.Lens
lens              > [61 of 83] Compiling Data.List.Lens
lens              > [62 of 83] Compiling Data.IntSet.Lens
lens              > [63 of 83] Compiling Data.Complex.Lens
lens              > [64 of 83] Compiling Data.ByteString.Strict.Lens
lens              > [65 of 83] Compiling Data.ByteString.Lazy.Lens
lens              > [66 of 83] Compiling Data.ByteString.Lens
lens              > [67 of 83] Compiling Data.Bits.Lens
lens              > [68 of 83] Compiling Data.Array.Lens
lens              > [69 of 83] Compiling Control.Seq.Lens
lens              > [70 of 83] Compiling Control.Parallel.Strategies.Lens
lens              > [71 of 83] Compiling Control.Monad.Error.Lens
lens              > [72 of 83] Compiling Control.Lens.Unsound
lens              > [73 of 83] Compiling Control.Lens.Operators
lens              > [74 of 83] Compiling Control.Lens.Extras
lens              > [75 of 83] Compiling Control.Lens.Combinators
lens              > [76 of 83] Compiling Control.Exception.Lens
lens              > [77 of 83] Compiling Data.Dynamic.Lens
lens              > [78 of 83] Compiling Numeric.Lens
lens              > [79 of 83] Compiling Numeric.Natural.Lens
lens              > [80 of 83] Compiling Paths_lens
lens              > [81 of 83] Compiling System.Exit.Lens
lens              > [82 of 83] Compiling System.FilePath.Lens
lens              > [83 of 83] Compiling System.IO.Error.Lens
lens              > copy/register
lens              > Installing library in /Users/kuma/.stack/snapshots/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/lens-4.17.1-LYzOvUEJ2VU6bhrmSoNjt1
lens              > Registering library for lens-4.17.1..
haskell-lsp-types > configure
haskell-lsp-types > Configuring haskell-lsp-types-0.16.0.0...
haskell-lsp-types > build
haskell-lsp-types > Preprocessing library for haskell-lsp-types-0.16.0.0..
haskell-lsp-types > Building library for haskell-lsp-types-0.16.0.0..
haskell-lsp-types > [ 1 of 25] Compiling Language.Haskell.LSP.Types.Constants
haskell-lsp-types > [ 2 of 25] Compiling Language.Haskell.LSP.Types.List
haskell-lsp-types > [ 3 of 25] Compiling Language.Haskell.LSP.Types.DocumentFilter
haskell-lsp-types > [ 4 of 25] Compiling Language.Haskell.LSP.Types.Command
haskell-lsp-types > [ 5 of 25] Compiling Language.Haskell.LSP.Types.MarkupContent
haskell-lsp-types > [ 6 of 25] Compiling Language.Haskell.LSP.Types.Message
haskell-lsp-types > [ 7 of 25] Compiling Language.Haskell.LSP.Types.Uri
haskell-lsp-types > [ 8 of 25] Compiling Language.Haskell.LSP.Types.Location
haskell-lsp-types > [ 9 of 25] Compiling Language.Haskell.LSP.Types.TextDocument
haskell-lsp-types > [10 of 25] Compiling Language.Haskell.LSP.Types.FoldingRange
haskell-lsp-types > [11 of 25] Compiling Language.Haskell.LSP.Types.Symbol
haskell-lsp-types > [12 of 25] Compiling Language.Haskell.LSP.Types.Diagnostic
haskell-lsp-types > [13 of 25] Compiling Language.Haskell.LSP.Types.Utils
haskell-lsp-types > [14 of 25] Compiling Language.Haskell.LSP.Types.Window
haskell-lsp-types > [15 of 25] Compiling Language.Haskell.LSP.Types.WorkspaceEdit
haskell-lsp-types > [16 of 25] Compiling Language.Haskell.LSP.Types.Completion
haskell-lsp-types > [17 of 25] Compiling Language.Haskell.LSP.Types.Color
haskell-lsp-types > [18 of 25] Compiling Language.Haskell.LSP.Types.CodeAction
haskell-lsp-types > [19 of 25] Compiling Language.Haskell.LSP.Types.ClientCapabilities
haskell-lsp-types > [20 of 25] Compiling Language.Haskell.LSP.Types.WorkspaceFolders
haskell-lsp-types > [21 of 25] Compiling Language.Haskell.LSP.Types.DataTypesJSON
haskell-lsp-types > [22 of 25] Compiling Language.Haskell.LSP.Types.Lens
haskell-lsp-types > [23 of 25] Compiling Language.Haskell.LSP.Types
haskell-lsp-types > [24 of 25] Compiling Language.Haskell.LSP.Types.MessageFuncs
haskell-lsp-types >
haskell-lsp-types > /private/var/folders/8s/_k7vv06d4j57bwb375cwrh2r0000gn/T/stack74336/haskell-lsp-types-0.16.0.0/src/Language/Haskell/LSP/Types/MessageFuncs.hs:334:1: warning: [-Wunused-top-binds]
haskell-lsp-types >     Defined but not used: ‘fmClientPrepareRenameRequest’
haskell-lsp-types >     |
haskell-lsp-types > 334 | fmClientPrepareRenameRequest rid params
haskell-lsp-types >     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-lsp-types > [25 of 25] Compiling Language.Haskell.LSP.Types.Capabilities
haskell-lsp-types > copy/register
haskell-lsp-types > Installing library in /Users/kuma/.stack/snapshots/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/haskell-lsp-types-0.16.0.0-KcKJyPPkSlt6RZLGn8XcF3
haskell-lsp-types > Registering library for haskell-lsp-types-0.16.0.0..
haskell-lsp       > configure
haskell-lsp       > Configuring haskell-lsp-0.16.0.0...
haskell-lsp       > build
haskell-lsp       > Preprocessing library for haskell-lsp-0.16.0.0..
haskell-lsp       > Building library for haskell-lsp-0.16.0.0..
haskell-lsp       > [1 of 8] Compiling Language.Haskell.LSP.Constant
haskell-lsp       > [2 of 8] Compiling Language.Haskell.LSP.Diagnostics
haskell-lsp       > [3 of 8] Compiling Language.Haskell.LSP.Messages
haskell-lsp       > [4 of 8] Compiling Language.Haskell.LSP.Capture
haskell-lsp       > [5 of 8] Compiling Language.Haskell.LSP.Utility
haskell-lsp       > [6 of 8] Compiling Language.Haskell.LSP.VFS
haskell-lsp       > [7 of 8] Compiling Language.Haskell.LSP.Core
haskell-lsp       > [8 of 8] Compiling Language.Haskell.LSP.Control
haskell-lsp       > copy/register
haskell-lsp       > Installing library in /Users/kuma/.stack/snapshots/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/haskell-lsp-0.16.0.0-JPY5qK3nv4AB9qPurQ4ztr
haskell-lsp       > Registering library for haskell-lsp-0.16.0.0..
hie-plugin-api    > configure (lib)
hie-plugin-api    > Configuring hie-plugin-api-0.12.0.0...
hie-plugin-api    > build (lib)
hie-plugin-api    > Preprocessing library for hie-plugin-api-0.12.0.0..
hie-plugin-api    > Building library for hie-plugin-api-0.12.0.0..
hie-plugin-api    > [ 1 of 14] Compiling Haskell.Ide.Engine.ArtifactMap
hie-plugin-api    > [ 2 of 14] Compiling Haskell.Ide.Engine.Compat
hie-plugin-api    > [ 3 of 14] Compiling Haskell.Ide.Engine.Config
hie-plugin-api    > [ 4 of 14] Compiling Haskell.Ide.Engine.GhcModuleCache
hie-plugin-api    > [ 5 of 14] Compiling Haskell.Ide.Engine.MultiThreadState
hie-plugin-api    > [ 6 of 14] Compiling Haskell.Ide.Engine.PluginsIdeMonads
hie-plugin-api    > [ 7 of 14] Compiling Haskell.Ide.Engine.MonadFunctions
hie-plugin-api    > [ 8 of 14] Compiling Haskell.Ide.Engine.TypeMap
hie-plugin-api    > [ 9 of 14] Compiling Haskell.Ide.Engine.ModuleCache
hie-plugin-api    > [10 of 14] Compiling Haskell.Ide.Engine.MonadTypes
hie-plugin-api    > [11 of 14] Compiling Haskell.Ide.Engine.PluginUtils
hie-plugin-api    > [12 of 14] Compiling Haskell.Ide.Engine.Context
hie-plugin-api    > [13 of 14] Compiling Haskell.Ide.Engine.Ghc
hie-plugin-api    > [14 of 14] Compiling Haskell.Ide.Engine.PluginApi
hie-plugin-api    > copy/register
hie-plugin-api    > Installing library in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/hie-plugin-api-0.12.0.0-8L0RPcb15ZY82NxgjP9TPc
hie-plugin-api    > Registering library for hie-plugin-api-0.12.0.0..
HaRe              > configure (lib + exe)
HaRe              > Configuring HaRe-0.8.4.1...
HaRe              > build (lib + exe)
HaRe              > Preprocessing library for HaRe-0.8.4.1..
HaRe              > Building library for HaRe-0.8.4.1..
HaRe              > [ 1 of 34] Compiling Language.Haskell.Refact.Utils.GhcBugWorkArounds
HaRe              > [ 2 of 34] Compiling Language.Haskell.Refact.Utils.GhcModuleGraph
HaRe              > [ 3 of 34] Compiling Language.Haskell.Refact.Utils.GhcUtils
HaRe              > [ 4 of 34] Compiling Language.Haskell.Refact.Utils.GhcVersionSpecific
HaRe              > [ 5 of 34] Compiling Language.Haskell.Refact.Utils.Synonyms
HaRe              > [ 6 of 34] Compiling Language.Haskell.Refact.Utils.TypeSyn
HaRe              > [ 7 of 34] Compiling Language.Haskell.Refact.Utils.Types
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Types.hs:60:1: warning: [-Worphans]
HaRe              >     Orphan instance: instance Show GHC.TypecheckedModule
HaRe              >     To avoid this
HaRe              >         move the instance declaration to the module of the class or of the type, or
HaRe              >         wrap the type with a newtype and declare the instance on the new type.
HaRe              >    |
HaRe              > 60 | instance Show GHC.TypecheckedModule where
HaRe              >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              > [ 8 of 34] Compiling Language.Haskell.Refact.Utils.Monad
HaRe              > [ 9 of 34] Compiling Language.Haskell.Refact.Utils.MonadFunctions
HaRe              > [10 of 34] Compiling Language.Haskell.Refact.Utils.ExactPrint
HaRe              > [11 of 34] Compiling Language.Haskell.Refact.Utils.LocUtils
HaRe              > [12 of 34] Compiling Language.Haskell.Refact.Utils.Utils
HaRe              > [13 of 34] Compiling Language.Haskell.Refact.Utils.Variables
HaRe              > [14 of 34] Compiling Language.Haskell.Refact.Utils.TypeUtils
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/TypeUtils.hs:1588:1: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘tyConAppToHsType’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.TyVarTy _)
HaRe              >             (GHC.AppTy _ _)
HaRe              >             (GHC.ForAllTy _ _)
HaRe              >             (GHC.FunTy _ _)
HaRe              >             ...
HaRe              >      |
HaRe              > 1588 | tyConAppToHsType (GHC.TyConApp tc _ts) = r (show $ GHC.tyConName tc)
HaRe              >      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              > [15 of 34] Compiling Language.Haskell.Refact.Utils.Transform
HaRe              > [16 of 34] Compiling Language.Haskell.Refact.Utils.Query
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Query.hs:79:16: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘funNm’
HaRe              >    |
HaRe              > 79 | getTypeSig pos funNm a =
HaRe              >    |                ^^^^^
HaRe              > [17 of 34] Compiling Language.Haskell.Refact.Utils.Isomorphic
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Isomorphic.hs:48:11: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘argNum’
HaRe              >    |
HaRe              > 48 | isoRefact argNum mqual funNm newFTy iST bnd = do
HaRe              >    |           ^^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Isomorphic.hs:48:18: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘mqual’
HaRe              >    |
HaRe              > 48 | isoRefact argNum mqual funNm newFTy iST bnd = do
HaRe              >    |                  ^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Isomorphic.hs:48:24: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘funNm’
HaRe              >    |
HaRe              > 48 | isoRefact argNum mqual funNm newFTy iST bnd = do
HaRe              >    |                        ^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Isomorphic.hs:48:30: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘newFTy’
HaRe              >    |
HaRe              > 48 | isoRefact argNum mqual funNm newFTy iST bnd = do
HaRe              >    |                              ^^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Isomorphic.hs:367:1: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘showType’:
HaRe              >         Patterns not matched:
HaRe              >             _ (GHC.FunTy _ _)
HaRe              >             _ (GHC.CastTy _ _)
HaRe              >             _ (GHC.CoercionTy _)
HaRe              >     |
HaRe              > 367 | showType n (GHC.TyVarTy v) = indent n ++ "(TyVarTy " ++ showAnnData mempty (n+1) v ++ ")"
HaRe              >     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Utils/Isomorphic.hs:430:1: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘getTyCon’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.TyVarTy _)
HaRe              >             (GHC.AppTy _ _)
HaRe              >             (GHC.ForAllTy _ _)
HaRe              >             (GHC.FunTy _ _)
HaRe              >             ...
HaRe              >     |
HaRe              > 430 | getTyCon (GHC.TyConApp tc _) = tc
HaRe              >     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
HaRe              > [18 of 34] Compiling Language.Haskell.Refact.API
HaRe              > [19 of 34] Compiling Language.Haskell.Refact.Refactoring.SwapArgs
HaRe              > [20 of 34] Compiling Language.Haskell.Refact.Refactoring.Sugar
HaRe              > [21 of 34] Compiling Language.Haskell.Refact.Refactoring.Simple
HaRe              > [22 of 34] Compiling Language.Haskell.Refact.Refactoring.RoundTrip
HaRe              > [23 of 34] Compiling Language.Haskell.Refact.Refactoring.Renaming
HaRe              > [24 of 34] Compiling Language.Haskell.Refact.Refactoring.MoveDef
HaRe              > [25 of 34] Compiling Language.Haskell.Refact.Refactoring.Monadification
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/Monadification.hs:502:3: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In a case alternative:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.L _ (GHC.VarBind _ _ _ _))
HaRe              >             (GHC.L _ (GHC.AbsBinds _ _ _ _ _ _ _))
HaRe              >             (GHC.L _ (GHC.PatSynBind _ _))
HaRe              >             (GHC.L _ (GHC.XHsBindsLR _))
HaRe              >     |
HaRe              > 502 |   case pBnd of
HaRe              >     |   ^^^^^^^^^^^^...
HaRe              > [26 of 34] Compiling Language.Haskell.Refact.Refactoring.MaybeToMonadPlus
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/MaybeToMonadPlus.hs:447:16: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘argPos’
HaRe              >     |
HaRe              > 447 | fixType' funNm argPos = do
HaRe              >     |                ^^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/MaybeToMonadPlus.hs:503:11: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘fixTypeClass’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.TypeSig _ _ (GHC.HsWC _ (GHC.XHsImplicitBndrs _)))
HaRe              >             (GHC.TypeSig _ _ (GHC.XHsWildCardBndrs _))
HaRe              >             (GHC.PatSynSig _ _ _)
HaRe              >             (GHC.ClassOpSig _ _ _ _)
HaRe              >             ...
HaRe              >     |
HaRe              > 503 |           fixTypeClass (GHC.TypeSig x names (GHC.HsWC wcs (GHC.HsIB a (GHC.L lt hsType)))) =
HaRe              >     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              > [27 of 34] Compiling Language.Haskell.Refact.Refactoring.HughesList
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/HughesList.hs:26:1: warning: [-Wunused-imports]
HaRe              >     The qualified import of ‘TyCoRep’ is redundant
HaRe              >       except perhaps to import instances from ‘TyCoRep’
HaRe              >     To import instances alone, use: import TyCoRep()
HaRe              >    |
HaRe              > 26 | import qualified TyCoRep as GHC
HaRe              >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/HughesList.hs:268:9: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘comp’:
HaRe              >         Patterns not matched:
HaRe              >             _ (GHC.L _ (GHC.HsVar _ _))
HaRe              >             _ (GHC.L _ (GHC.HsUnboundVar _ _))
HaRe              >             _ (GHC.L _ (GHC.HsConLikeOut _ _))
HaRe              >             _ (GHC.L _ (GHC.HsRecFld _ _))
HaRe              >             ...
HaRe              >     |
HaRe              > 268 |   where comp i (GHC.L l (GHC.HsApp x lhs rhs))
HaRe              >     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/HughesList.hs:341:9: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In a case alternative:
HaRe              >         Patterns not matched:
HaRe              >             (Just (GHC.PatBind _ _ _ _))
HaRe              >             (Just (GHC.VarBind _ _ _ _))
HaRe              >             (Just (GHC.AbsBinds _ _ _ _ _ _ _))
HaRe              >             (Just (GHC.PatSynBind _ _))
HaRe              >             ...
HaRe              >     |
HaRe              > 341 |   ty <- case mBind of
HaRe              >     |         ^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/HughesList.hs:351:7: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘getOcc’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.L _ (GHC.TyClD _ _))
HaRe              >             (GHC.L _ (GHC.InstD _ _))
HaRe              >             (GHC.L _ (GHC.DerivD _ _))
HaRe              >             (GHC.L _ (GHC.ValD _ (GHC.PatBind _ _ _ _)))
HaRe              >             ...
HaRe              >     |
HaRe              > 351 |       getOcc (GHC.L _ (GHC.ValD _ (GHC.FunBind { GHC.fun_id = nm }))) = GHC.rdrNameOcc $ GHC.unLoc nm
HaRe              >     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
HaRe              > [28 of 34] Compiling Language.Haskell.Refact.Refactoring.GenApplicative
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:69:40: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In a case alternative:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.L _ (GHC.LastStmt _ _ _ _))
HaRe              >             (GHC.L _ (GHC.ApplicativeStmt _ _ _))
HaRe              >             (GHC.L _ (GHC.LetStmt _ _))
HaRe              >             (GHC.L _ (GHC.ParStmt _ _ _ _))
HaRe              >             ...
HaRe              >    |
HaRe              > 69 |         checkBVars (stmt:stmts) vars = case stmt of
HaRe              >    |                                        ^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:87:9: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘checkOrdering’:
HaRe              >         Patterns not matched:
HaRe              >             [] (GHC.L _ (GHC.LastStmt _ _ _ _):_)
HaRe              >             [] (GHC.L _ (GHC.BindStmt _ _ _ _ _):_)
HaRe              >             [] (GHC.L _ (GHC.ApplicativeStmt _ _ _):_)
HaRe              >             [] (GHC.L _ (GHC.LetStmt _ _):_)
HaRe              >             ...
HaRe              >    |
HaRe              > 87 |         checkOrdering [] [] = True
HaRe              >    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:131:13: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘stripBoundVars’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.L _ (GHC.HsUnboundVar _ _)) _
HaRe              >             (GHC.L _ (GHC.HsConLikeOut _ _)) _
HaRe              >             (GHC.L _ (GHC.HsRecFld _ _)) _
HaRe              >             (GHC.L _ (GHC.HsOverLabel _ _ _)) _
HaRe              >             ...
HaRe              >     |
HaRe              > 131 |             stripBoundVars le@(GHC.L _ (GHC.HsVar _ (GHC.L _ nm))) names =
HaRe              >     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:216:9: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘retRHS’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.HsVar _ _)
HaRe              >             (GHC.HsUnboundVar _ _)
HaRe              >             (GHC.HsConLikeOut _ _)
HaRe              >             (GHC.HsRecFld _ _)
HaRe              >             ...
HaRe              >     |
HaRe              > 216 |         retRHS (GHC.HsApp _ _  (GHC.L _ rhs)) = rhs
HaRe              >     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:250:5: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘buildChain’: Patterns not matched: []
HaRe              >     |
HaRe              > 250 |     buildChain [e] = return e
HaRe              >     |     ^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:263:5: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘getStmtExpr’:
HaRe              >         Patterns not matched:
HaRe              >             (GHC.L _ (GHC.LastStmt _ _ _ _))
HaRe              >             (GHC.L _ (GHC.ApplicativeStmt _ _ _))
HaRe              >             (GHC.L _ (GHC.LetStmt _ _))
HaRe              >             (GHC.L _ (GHC.ParStmt _ _ _ _))
HaRe              >             ...
HaRe              >     |
HaRe              > 263 |     getStmtExpr (GHC.L _ (GHC.BodyStmt _ body _ _)) = body
HaRe              >     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:275:5: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘buildSingleExpr’: Patterns not matched: []
HaRe              >     |
HaRe              > 275 |     buildSingleExpr [st] = return $ getStmtExpr st
HaRe              >     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/GenApplicative.hs:342:5: warning: [-Wincomplete-patterns]
HaRe              >     Pattern match(es) are non-exhaustive
HaRe              >     In an equation for ‘cluster’: Patterns not matched: [] _ _
HaRe              >     |
HaRe              > 342 |     cluster [_i] l c = [[c..(l-1)]]
HaRe              >     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
HaRe              > [29 of 34] Compiling Language.Haskell.Refact.Refactoring.DupDef
HaRe              > [30 of 34] Compiling Language.Haskell.Refact.Refactoring.DeleteDef
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/src/Language/Haskell/Refact/Refactoring/DeleteDef.hs:38:9: warning: [-Wunused-matches]
HaRe              >     Defined but not used: ‘clients’
HaRe              >    |
HaRe              > 38 |         clients <- clientModsAndFiles targetModule
HaRe              >    |         ^^^^^^^
HaRe              > [31 of 34] Compiling Language.Haskell.Refact.Refactoring.Case
HaRe              > [32 of 34] Compiling Language.Haskell.Refact.Refactoring.AddRmParam
HaRe              > [33 of 34] Compiling Language.Haskell.Refact.HaRe
HaRe              > [34 of 34] Compiling Paths_HaRe
HaRe              > Preprocessing executable 'ghc-hare' for HaRe-0.8.4.1..
HaRe              > Building executable 'ghc-hare' for HaRe-0.8.4.1..
HaRe              >
HaRe              > <no location info>: warning: [-Wmissing-home-modules]
HaRe              >     These modules are needed for compilation but not listed in your .cabal file's other-modules:
HaRe              >         Paths_HaRe
HaRe              > [1 of 2] Compiling Paths_HaRe
HaRe              > [2 of 2] Compiling Main
HaRe              >
HaRe              > /Users/kuma/Work/Code/Haskell/haskell-ide-engine/submodules/HaRe/app/MainHaRe.hs:8:1: warning: [-Wunused-imports]
HaRe              >     The import of ‘Data.Monoid’ is redundant
HaRe              >       except perhaps to import instances from ‘Data.Monoid’
HaRe              >     To import instances alone, use: import Data.Monoid()
HaRe              >   |
HaRe              > 8 | import           Data.Monoid
HaRe              >   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
HaRe              >
HaRe              > <no location info>: warning: [-Wmissing-home-modules]
HaRe              >     These modules are needed for compilation but not listed in your .cabal file's other-modules:
HaRe              >         Paths_HaRe
HaRe              > Linking .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/ghc-hare/ghc-hare ...
HaRe              > copy/register
HaRe              > Installing library in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/HaRe-0.8.4.1-GcQtLj99BQm2qw3UAmvRy7
HaRe              > Installing executable ghc-hare in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/bin
HaRe              > Registering library for HaRe-0.8.4.1..
Building all executables for `haskell-ide-engine' once. After a successful build of all of them, only specified executables will be rebuilt.
haskell-ide-engine> configure (lib + internal-lib + exe)
haskell-ide-engine> Configuring haskell-ide-engine-0.12.0.0...
haskell-ide-engine> build (lib + internal-lib + exe)
haskell-ide-engine> Preprocessing library for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> Building library for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> [ 1 of 28] Compiling Haskell.Ide.Engine.Channel
haskell-ide-engine> [ 2 of 28] Compiling Haskell.Ide.Engine.Options
haskell-ide-engine> [ 3 of 28] Compiling Haskell.Ide.Engine.Plugin.ApplyRefact
haskell-ide-engine> [ 4 of 28] Compiling Haskell.Ide.Engine.Plugin.Brittany
haskell-ide-engine> [ 5 of 28] Compiling Haskell.Ide.Engine.Plugin.Build
haskell-ide-engine> [ 6 of 28] Compiling Haskell.Ide.Engine.Plugin.Example2
haskell-ide-engine> [ 7 of 28] Compiling Haskell.Ide.Engine.Plugin.Floskell
haskell-ide-engine> [ 8 of 28] Compiling Haskell.Ide.Engine.Plugin.HfaAlign
haskell-ide-engine> [ 9 of 28] Compiling Haskell.Ide.Engine.Plugin.Hoogle
haskell-ide-engine> [10 of 28] Compiling Haskell.Ide.Engine.Plugin.Liquid
haskell-ide-engine> [11 of 28] Compiling Haskell.Ide.Engine.Plugin.Package.Compat
haskell-ide-engine> [12 of 28] Compiling Haskell.Ide.Engine.Plugin.Pragmas
haskell-ide-engine> [13 of 28] Compiling Haskell.Ide.Engine.Support.Fuzzy
haskell-ide-engine> [14 of 28] Compiling Haskell.Ide.Engine.Support.HieExtras
haskell-ide-engine> [15 of 28] Compiling Haskell.Ide.Engine.Plugin.Package
haskell-ide-engine> [16 of 28] Compiling Haskell.Ide.Engine.Plugin.HsImport
haskell-ide-engine> [17 of 28] Compiling Haskell.Ide.Engine.Plugin.Haddock
haskell-ide-engine> [18 of 28] Compiling Haskell.Ide.Engine.Plugin.HaRe
haskell-ide-engine> [19 of 28] Compiling Haskell.Ide.Engine.Plugin.GhcMod
haskell-ide-engine> [20 of 28] Compiling Haskell.Ide.Engine.LSP.Completions
haskell-ide-engine> [21 of 28] Compiling Haskell.Ide.Engine.Types
haskell-ide-engine> [22 of 28] Compiling Haskell.Ide.Engine.Scheduler
haskell-ide-engine> [23 of 28] Compiling Haskell.Ide.Engine.Transport.JsonStdio
haskell-ide-engine> [24 of 28] Compiling Haskell.Ide.Engine.LSP.Reactor
haskell-ide-engine> [25 of 28] Compiling Haskell.Ide.Engine.LSP.CodeActions
haskell-ide-engine> [26 of 28] Compiling Paths_haskell_ide_engine
haskell-ide-engine> [27 of 28] Compiling Haskell.Ide.Engine.Plugin.Base
haskell-ide-engine> [28 of 28] Compiling Haskell.Ide.Engine.Transport.LspStdio
haskell-ide-engine> Preprocessing library 'hie-test-utils' for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> Building library 'hie-test-utils' for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> [1 of 1] Compiling TestUtils
haskell-ide-engine> Preprocessing executable 'hie-wrapper' for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> Building executable 'hie-wrapper' for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> [1 of 2] Compiling Paths_haskell_ide_engine
haskell-ide-engine> [2 of 2] Compiling Main
haskell-ide-engine> Linking .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/hie-wrapper/hie-wrapper ...
haskell-ide-engine> Preprocessing executable 'hie' for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> Building executable 'hie' for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> [1 of 2] Compiling Paths_haskell_ide_engine
haskell-ide-engine> [2 of 2] Compiling Main
haskell-ide-engine> Linking .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/hie/hie ...
haskell-ide-engine> copy/register
haskell-ide-engine> Installing library in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/haskell-ide-engine-0.12.0.0-ElgJ0VHV1au5lvIE6PuqJX
haskell-ide-engine> Installing internal library hie-test-utils in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/lib/x86_64-osx-ghc-8.6.5/haskell-ide-engine-0.12.0.0-HqinSbV8ERqHB1eIujn4sL-hie-test-utils
haskell-ide-engine> Installing executable hie-wrapper in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/bin
haskell-ide-engine> Installing executable hie in /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/bin
haskell-ide-engine> Registering library for haskell-ide-engine-0.12.0.0..
haskell-ide-engine> Registering library 'hie-test-utils' for haskell-ide-engine-0.12.0.0..
Completed 6 action(s).
# stack (for stack-hie-8.6.5)
Copying from /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/bin/hie to /Users/kuma/.local/bin/hie
Copying from /Users/kuma/Work/Code/Haskell/haskell-ide-engine/.stack-work/install/x86_64-osx/78ee6d151752ed9f206a52f739850b0c7054209ce17214a8ad8fee7addc6cefc/8.6.5/bin/hie-wrapper to /Users/kuma/.local/bin/hie-wrapper

Copied executables to /Users/kuma/.local/bin:
- hie
- hie-wrapper

Warning: Installation path /Users/kuma/.local/bin not found on the PATH environment variable.
# stack (for stack-hie-8.6.5)
Build completed in 6m18s
question build

Most helpful comment

Build seems okay to me. Just add ~/.local.bin to path and you will be ok.

>All comments

Build seems okay to me. Just add ~/.local.bin to path and you will be ok.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alanz picture alanz  Â·  3Comments

xgrommx picture xgrommx  Â·  4Comments

fendor picture fendor  Â·  4Comments

alanz picture alanz  Â·  3Comments

ajeetdsouza picture ajeetdsouza  Â·  3Comments