Skip to content

Instantly share code, notes, and snippets.

@david-hoze
Created January 23, 2026 03:36
Show Gist options
  • Select an option

  • Save david-hoze/82d51f671bcc1c0ecca7d323cb0dff48 to your computer and use it in GitHub Desktop.

Select an option

Save david-hoze/82d51f671bcc1c0ecca7d323cb0dff48 to your computer and use it in GitHub Desktop.
VS Code Haskell Language Server output when taking configuration from cabal
2026-01-23 03:29:35.3150000 [client] INFO Finding haskell-language-server
2026-01-23 03:29:35.3180000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:35.6630000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:35.6640000 [client] INFO Executing 'ghcup --no-verbose upgrade' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:35.9320000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:36.2280000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:36.2290000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:36.4370000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:36.7440000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:36.7450000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c set -r' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:36.9640000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:37.2560000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:37.2570000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c set -r' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:37.7610000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:38.0630000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:38.0640000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.12.0.0' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:38.1340000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:38.4420000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:38.4430000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.12.1.0' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:38.5160000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:38.8100000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:38.8110000 [client] INFO Executing 'ghcup --no-verbose whereis stack 3.7.1' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:39.1600000 [client] INFO Executing 'ghc.exe --numeric-version' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:39.2370000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:39.5310000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:39.5320000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.12.0.0 --cabal 3.12.1.0 --stack 3.7.1 --install' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:39.9390000 [client] INFO Working out the project GHC version. This might take a while...
2026-01-23 03:29:39.9400000 [client] INFO Executing 'haskell-language-server-wrapper --project-ghc-version' in cwd 'c:\Users\david\Documents\repos\rgit'
2026-01-23 03:29:50.2520000 [client] ERROR Error executing 'haskell-language-server-wrapper --project-ghc-version' with error code 1
2026-01-23 03:29:50.2520000 [client] ERROR stderr: Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
2026-01-23T03:29:40.261088Z | Debug | cabal --numeric-version
2026-01-23T03:29:43.092498Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:29:49.999817Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:29:50.016096Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-0a9bdaa15c999a01 -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-0a9bdaa15c999a01" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
2026-01-23 03:29:50.2530000 [client] ERROR Error: haskell-language-server --project-ghc-version exited with exit code 1:
Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
2026-01-23T03:29:40.261088Z | Debug | cabal --numeric-version
2026-01-23T03:29:43.092498Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:29:49.999817Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:29:50.016096Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-0a9bdaa15c999a01 -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-0a9bdaa15c999a01" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
2026-01-23 03:29:50.2540000 [client] INFO Executing 'ghc.exe --numeric-version' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:50.7970000 [client] INFO Platform constants: Windows, A_64
2026-01-23 03:29:50.7970000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:51.0800000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:51.0810000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:51.2760000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:51.5590000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:51.5600000 [client] INFO Executing 'ghcup --no-verbose whereis bindir' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:51.6270000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:51.9120000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:51.9130000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.12.0.0' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:51.9750000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:52.2660000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:52.2670000 [client] INFO Executing 'ghcup --no-verbose whereis ghc 9.6.7' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:52.3430000 [client] INFO Checking for ghcup installation
2026-01-23 03:29:52.6320000 [client] INFO found ghcup at ghcup
2026-01-23 03:29:52.6330000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.12.0.0 --cabal 3.12.1.0 --stack 3.7.1 --ghc 9.6.7 --install' in cwd 'C:\Users\david\AppData\Local\Programs\Microsoft VS Code'
2026-01-23 03:29:53.6550000 [client] INFO Support for '.cabal' files: automatic
2026-01-23 03:29:53.6550000 [client] INFO Activating the language server in working dir: c:\Users\david\Documents\repos\rgit (the workspace folder)
2026-01-23 03:29:53.6560000 [client] INFO run command: C:\ghcup\tmp\ghcup-ghc-9.6.7_cabal-3.12.1.0_hls-2.12.0.0_stack-3.7.1\haskell-language-server-wrapper.exe --lsp
2026-01-23 03:29:53.6560000 [client] INFO debug command: C:\ghcup\tmp\ghcup-ghc-9.6.7_cabal-3.12.1.0_hls-2.12.0.0_stack-3.7.1\haskell-language-server-wrapper.exe --lsp
2026-01-23 03:29:53.6560000 [client] INFO server cwd: c:\Users\david\Documents\repos\rgit
2026-01-23 03:29:53.6560000 [client] INFO server environment variables:
2026-01-23 03:29:53.6560000 [client] INFO PATH=C:\ghcup\tmp\ghcup-ghc-9.6.7_cabal-3.12.1.0_hls-2.12.0.0_stack-3.7.1;c:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\WinMerge;C:\Users\david\.elan\bin;C:\Ruby40-x64\bin;C:\Users\david\AppData\Local\Microsoft\WindowsApps;C:\Users\david\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\david\AppData\Local\Programs\Git\cmd;C:\Users\david\AppData\Local\Python\bin;C:\rclone;C:\ffmpeg\bin;C:\ghcup\bin;C:\Users\david\AppData\Roaming\cabal\bin;C:\Users\david\.local\bin\rgit.exe;C:\ghcup\msys64\mingw64\lib;C:\ghcup\msys64\mingw64\bin;
2026-01-23 03:29:53.6560000 [client] INFO Executing 'C:\ghcup\tmp\ghcup-ghc-9.6.7_cabal-3.12.1.0_hls-2.12.0.0_stack-3.7.1\haskell-language-server-wrapper.exe --numeric-version' in cwd 'c:\Users\david\Documents\repos\rgit'
2026-01-23 03:29:53.8980000 [client] INFO Starting language server
Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-2.12.0.0.exe) Version 2.12.0.0 x86_64 ghc-9.8.4
Current directory: c:\Users\david\Documents\repos\rgit
Operating system: mingw32
Arguments: ["--lsp"]
Cradle directory: c:\Users\david\Documents\repos\rgit
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.12.1.0
stack: 3.7.1
ghc: 9.6.7
Consulting the cradle to get project GHC version...
2026-01-23T03:29:54.185952Z | Debug | cabal --numeric-version
2026-01-23T03:29:54.750651Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:29:59.786438Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:29:59.790150Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-edb34842b5dd495f -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-edb34842b5dd495f" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
[Error - 5:29:59 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 5:29:59 AM] Connection to server got closed. Server will restart.
true
[Error - 5:29:59 AM] Haskell (rgit) client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:29:59 AM] Server process exited with code 1.
Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-2.12.0.0.exe) Version 2.12.0.0 x86_64 ghc-9.8.4
Current directory: c:\Users\david\Documents\repos\rgit
Operating system: mingw32
Arguments: ["--lsp"]
Cradle directory: c:\Users\david\Documents\repos\rgit
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.12.1.0
stack: 3.7.1
ghc: 9.6.7
Consulting the cradle to get project GHC version...
2026-01-23T03:30:00.243314Z | Debug | cabal --numeric-version
2026-01-23T03:30:00.452086Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:30:05.313663Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:30:05.322808Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-1cb9468be920f994 -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-1cb9468be920f994" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
[Error - 5:30:05 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 5:30:05 AM] Connection to server got closed. Server will restart.
true
[Error - 5:30:05 AM] Haskell (rgit) client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:05 AM] Server process exited with code 1.
Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-2.12.0.0.exe) Version 2.12.0.0 x86_64 ghc-9.8.4
Current directory: c:\Users\david\Documents\repos\rgit
Operating system: mingw32
Arguments: ["--lsp"]
Cradle directory: c:\Users\david\Documents\repos\rgit
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.12.1.0
stack: 3.7.1
ghc: 9.6.7
Consulting the cradle to get project GHC version...
2026-01-23T03:30:05.782519Z | Debug | cabal --numeric-version
2026-01-23T03:30:05.990895Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:30:11.044202Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:30:11.049064Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-6f494489193170ff -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-6f494489193170ff" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
[Error - 5:30:11 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 5:30:11 AM] Connection to server got closed. Server will restart.
true
[Error - 5:30:11 AM] Haskell (rgit) client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:11 AM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:11 AM] Server process exited with code 1.
Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-2.12.0.0.exe) Version 2.12.0.0 x86_64 ghc-9.8.4
Current directory: c:\Users\david\Documents\repos\rgit
Operating system: mingw32
Arguments: ["--lsp"]
Cradle directory: c:\Users\david\Documents\repos\rgit
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.12.1.0
stack: 3.7.1
ghc: 9.6.7
Consulting the cradle to get project GHC version...
2026-01-23T03:30:11.537609Z | Debug | cabal --numeric-version
2026-01-23T03:30:11.730021Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:30:16.882343Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:30:16.897740Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-2980bf2fd2659287 -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-2980bf2fd2659287" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
[Error - 5:30:17 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 5:30:17 AM] Connection to server got closed. Server will restart.
true
[Error - 5:30:17 AM] Haskell (rgit) client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:17 AM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:17 AM] Server process exited with code 1.
Found "c:\Users\david\Documents\repos\rgit\hie.yaml" for "c:\Users\david\Documents\repos\rgit\a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-2.12.0.0.exe) Version 2.12.0.0 x86_64 ghc-9.8.4
Current directory: c:\Users\david\Documents\repos\rgit
Operating system: mingw32
Arguments: ["--lsp"]
Cradle directory: c:\Users\david\Documents\repos\rgit
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.12.1.0
stack: 3.7.1
ghc: 9.6.7
Consulting the cradle to get project GHC version...
2026-01-23T03:30:17.448660Z | Debug | cabal --numeric-version
2026-01-23T03:30:17.644415Z | Debug | cabal exec -v0 -- ghc --print-libdir
2026-01-23T03:30:22.449836Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2026-01-23T03:30:22.454106Z | Debug | ghc -rtsopts=ignore -outputdir C:\Users\david\AppData\Local\Temp\hie-bios-0d9376949cd68224 -o C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:4:1: error:
Could not load module `System.Directory'
It is a member of the hidden package `directory-1.3.8.5'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package `directory-1.3.10.1'.
You can run `:set -package directory' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
4 | import System.Directory (getCurrentDirectory)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\david\AppData\Local\hie-bios\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs:7:1: error:
Could not load module `System.Process'
It is a member of the hidden package `process-1.6.19.0'.
You can run `:set -package process' to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
7 | import System.Process (spawnProcess, waitForProcess)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
haskell-language-server-wrapper-2.12.0.0.exe: readCreateProcess: ghc "-rtsopts=ignore" "-outputdir" "C:\\Users\\david\\AppData\\Local\\Temp\\hie-bios-0d9376949cd68224" "-o" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.exe" "C:\\Users\\david\\AppData\\Local\\hie-bios\\wrapper-340ffcbd9b6dc8c3bed91eb5c533e4e3.hs" (exit 1): failed
[Error - 5:30:22 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:22 AM] The Haskell (rgit) server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 5:30:22 AM] Haskell (rgit) client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:22 AM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 5:30:22 AM] Server process exited with code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment