Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SolarLiner/2bdb3081eb3a2876db9c5bdadebebfbe to your computer and use it in GitHub Desktop.
Save SolarLiner/2bdb3081eb3a2876db9c5bdadebebfbe to your computer and use it in GitHub Desktop.
Haskell IDE Engine run error
2020-05-04 21:39:49.074629795 [ThreadId 4] - run entered for hie-wrapper(hie-wrapper) Version 1.4 x86_64 ghc-8.8.3
2020-05-04 21:39:49.078630933 [ThreadId 4] - Current directory:/home/solarliner/Documents/Projets/tesths
2020-05-04 21:39:49.078735906 [ThreadId 4] - Operating system:linux
2020-05-04 21:39:49.078806305 [ThreadId 4] - args:[]
2020-05-04 21:39:49.082580882 [ThreadId 4] - Cabal-Helper decided to use: ProjLocV2Dir {plProjectDirV2 = "/home/solarliner/Documents/Projets/tesths"}
2020-05-04 21:39:49.082679186 [ThreadId 4] - Module "/home/solarliner/Documents/Projets/tesths/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/home/solarliner/Documents/Projets/tesths", cradleOptsProg = CradleAction: Other CabalV2}
2020-05-04 21:39:49.083086483 [ThreadId 4] - Cradle directory:/home/solarliner/Documents/Projets/tesths
2020-05-04 21:39:49.08338416 [ThreadId 4] - Executing GHC on path with args: --numeric-version
2020-05-04 21:39:49.297107921 [ThreadId 4] - Project GHC version:8.8.3
2020-05-04 21:39:49.298150098 [ThreadId 4] - hie exe candidates :["hie-8.8.3","hie-8.8","hie"]
2020-05-04 21:39:49.299546001 [ThreadId 4] - found hie exe at:/home/solarliner/.cabal/bin/hie-8.8.3
2020-05-04 21:39:49.299617406 [ThreadId 4] - args:[]
2020-05-04 21:39:49.299664556 [ThreadId 4] - launching ....
Running HIE(hie-8.8.3)
Version 1.4 x86_64 ghc-8.8.3
To run as a LSP server on stdio, provide the '--lsp' argument
Current directory:/home/solarliner/Documents/Projets/tesths
args:[]
Looking for project config cradle...
2020-05-04 21:39:49.333911246 [ThreadId 4] - Cabal-Helper decided to use: ProjLocV2Dir {plProjectDirV2 = "/home/solarliner/Documents/Projets/tesths"}
2020-05-04 21:39:49.334461322 [ThreadId 4] - Module "/home/solarliner/Documents/Projets/tesths/File.hs" is loaded by Cradle: Cradle {cradleRootDir = "/home/solarliner/Documents/Projets/tesths", cradleOptsProg = CradleAction: Other CabalV2}
2020-05-04 21:39:49.335146451 [ThreadId 4] - Executing GHC on path with args: --numeric-version
2020-05-04 21:39:49.370698021 [ThreadId 4] - Executing GHC on path with args: --print-libdir
###################################################
Cradle: Cabal project
Project Ghc version: 8.8.3
Libdir: Just "/home/solarliner/.ghcup/ghc/8.8.3/lib/ghc-8.8.3"
Searching for Haskell source files...
Found 2 Haskell source files.
###################################################
Found the following files:
/home/solarliner/Documents/Projets/tesths/Main.hs
/home/solarliner/Documents/Projets/tesths/Setup.hs
Load them all now. This may take a very long time.
2020-05-04 21:39:49.966059892 [ThreadId 4] - New cradle: /home/solarliner/Documents/Projets/tesths/Main.hs
2020-05-04 21:39:49.967518961 [ThreadId 4] - Cabal-Helper decided to use: ProjLocV2Dir {plProjectDirV2 = "/home/solarliner/Documents/Projets/tesths"}
2020-05-04 21:39:49.967606816 [ThreadId 4] - Module "/home/solarliner/Documents/Projets/tesths/Main.hs" is loaded by Cradle: Cradle {cradleRootDir = "/home/solarliner/Documents/Projets/tesths", cradleOptsProg = CradleAction: Other CabalV2}
2020-05-04 21:39:49.967677681 [ThreadId 4] - Found cradle: Cradle {cradleRootDir = "/home/solarliner/Documents/Projets/tesths", cradleOptsProg = CradleAction: Other CabalV2}
Build profile: -w ghc-8.8.3 -O1
In order, the following would be built (use -v for more details):
- tesths-0.1.0.0 (exe:tesths) (configuration changed)
Build profile: -w ghc-8.8.3 -O1
In order, the following will be built (use -v for more details):
- tesths-0.1.0.0 (exe:tesths) (file Main.hs changed)
Loaded package environment from /home/solarliner/.cache/cabal-helper/ghc-8.8.3.package-envs/Cabal-3.2.0.0.package-env
Loaded package environment from /home/solarliner/.cache/cabal-helper/ghc-8.8.3.package-envs/Cabal-3.2.0.0.package-env
[3 of 5] Compiling CabalHelper.Runtime.Compat ( /home/solarliner/.cache/cabal-helper/cabal-helper-1.0.0.0--Cabal-3.2.0.0--073bdc26fedf03aab13fa581aefdeccbc9647880499bbe0f6a4f32f859e8fcd1.build/CabalHelper/Runtime/Compat.hs, /home/solarliner/.cache/cabal-helper/cabal-helper-1.0.0.0--Cabal-3.2.0.0--073bdc26fedf03aab13fa581aefdeccbc9647880499bbe0f6a4f32f859e8fcd1.build/CabalHelper/Runtime/Compat.o )
/home/solarliner/.cache/cabal-helper/cabal-helper-1.0.0.0--Cabal-3.2.0.0--073bdc26fedf03aab13fa581aefdeccbc9647880499bbe0f6a4f32f859e8fcd1.build/CabalHelper/Runtime/Compat.hs:134:5: error:
Module
‘Distribution.Types.GenericPackageDescription’
does not export
‘unFlagAssignment’
|
134 | ( unFlagAssignment
| ^^^^^^^^^^^^^^^^
hie-8.8.3: panic! compileHelper': compiling helper failed! exit code ExitFailure 1
hie-wrapper: callProcess: /home/solarliner/.cabal/bin/hie-8.8.3 (exit 1): failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment