Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created July 6, 2024 00:53
Show Gist options
  • Save kindaro/23d8232be484cdd8b650617709d7f355 to your computer and use it in GitHub Desktop.
Save kindaro/23d8232be484cdd8b650617709d7f355 to your computer and use it in GitHub Desktop.
% haskell-language-server-wrapper Example.hs
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.9.0.1 x86_64 ghc-9.10.1
Current directory: /tmp
Operating system: linux
Arguments: ["Example.hs"]
Cradle directory: /tmp
Cradle type: Default
Tool versions found on the $PATH
cabal: 3.10.2.1
stack: Not found
ghc: 9.4.8
Consulting the cradle to get project GHC version...
2024-07-06T00:50:01.702951Z | Debug | ghc --numeric-version
Project GHC version: 9.4.8
haskell-language-server exe candidates: ["haskell-language-server-9.4.8","haskell-language-server"]
Launching haskell-language-server exe at:/home/kindaro/.ghcup/bin/haskell-language-server-9.4.8
2024-07-06T00:50:01.906285Z | Debug | ghc -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2024-07-06T00:50:01.968232Z | Debug | ghc --print-libdir
2024-07-06T00:50:04.490311Z | Info | haskell-language-server version: 2.9.0.1 (GHC: 9.4.8) (PATH: /home/kindaro/.ghcup/hls/2.9.0.1/lib/haskell-language-server-2.9.0.1/bin/haskell-language-server-9.4.8)
2024-07-06T00:50:04.492504Z | Info | Directory: /tmp
2024-07-06T00:50:04.493112Z | Info | Logging heap statistics every 60.00s
ghcide setup tester in /tmp.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /tmp
Found 1 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
()
Step 3/4: Initializing the IDE
Step 4/4: Type checking the files
2024-07-06T00:50:04.505746Z | Info | Cradle path: Example.hs
2024-07-06T00:50:04.506051Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for Example.hs.
Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
2024-07-06T00:50:04.509232Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2024-07-06T00:50:04.672408Z | Info | Interface files cache directory: /home/kindaro/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda-1a596a151463f2c53ee4feb14ecd276a1ccebfda
2024-07-06T00:50:04.692475Z | Info | Making new HscEnv. In-place unit ids: [ main-1a596a151463f2c53ee4feb14ecd276a1ccebfda ]
2024-07-06T00:50:05.249423Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/Example.hs
Hidden: no
Range: 4:5-4:6
Source: typecheck
Severity: DiagnosticSeverity_Error
Message: Variable not in scope: g :: Int
Completed (1 file worked, 0 files failed)
% haskell-language-server-wrapper Example.hs
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.9.0.1 x86_64 ghc-9.10.1
Current directory: /tmp
Operating system: linux
Arguments: ["Example.hs"]
Cradle directory: /tmp
Cradle type: Default
Tool versions found on the $PATH
cabal: 3.10.2.1
stack: Not found
ghc: 9.4.8
Consulting the cradle to get project GHC version...
2024-07-06T00:50:09.773527Z | Debug | ghc --numeric-version
Project GHC version: 9.4.8
haskell-language-server exe candidates: ["haskell-language-server-9.4.8","haskell-language-server"]
Launching haskell-language-server exe at:/home/kindaro/.ghcup/bin/haskell-language-server-9.4.8
2024-07-06T00:50:09.978244Z | Debug | ghc -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2024-07-06T00:50:10.040559Z | Debug | ghc --print-libdir
2024-07-06T00:50:12.475366Z | Info | haskell-language-server version: 2.9.0.1 (GHC: 9.4.8) (PATH: /home/kindaro/.ghcup/hls/2.9.0.1/lib/haskell-language-server-2.9.0.1/bin/haskell-language-server-9.4.8)
2024-07-06T00:50:12.478295Z | Info | Directory: /tmp
2024-07-06T00:50:12.479128Z | Info | Logging heap statistics every 60.00s
ghcide setup tester in /tmp.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /tmp
Found 1 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
()
Step 3/4: Initializing the IDE
Step 4/4: Type checking the files
2024-07-06T00:50:12.492092Z | Info | Cradle path: Example.hs
2024-07-06T00:50:12.492315Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for Example.hs.
Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
2024-07-06T00:50:12.495055Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2024-07-06T00:50:12.668187Z | Info | Interface files cache directory: /home/kindaro/.cache/ghcide/main-1a596a151463f2c53ee4feb14ecd276a1ccebfda-1a596a151463f2c53ee4feb14ecd276a1ccebfda
2024-07-06T00:50:12.684182Z | Info | Making new HscEnv. In-place unit ids: [ main-1a596a151463f2c53ee4feb14ecd276a1ccebfda ]
Completed (1 file worked, 0 files failed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment