Skip to content

Instantly share code, notes, and snippets.

@simonmichael
Created December 6, 2023 05:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonmichael/2c723c53d7d64e22e9572d763a34436a to your computer and use it in GitHub Desktop.
Save simonmichael/2c723c53d7d64e22e9572d763a34436a to your computer and use it in GitHub Desktop.
HLS startup failure 2
2023-12-06 05:14:29.4950000 [client] INFO Finding haskell-language-server
2023-12-06 05:14:29.5010000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:29.5110000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:29.5120000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/'
2023-12-06 05:14:30.6280000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:30.6300000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:30.6300000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c installed -r' in cwd '/'
2023-12-06 05:14:30.7320000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:30.7350000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:30.7350000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c installed -r' in cwd '/'
2023-12-06 05:14:30.8200000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:30.8210000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:30.8220000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.5.0.0' in cwd '/'
2023-12-06 05:14:30.8430000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:30.8450000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:30.8450000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.10.2.0' in cwd '/'
2023-12-06 05:14:30.8670000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:30.8720000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:30.8720000 [client] INFO Executing 'ghcup --no-verbose whereis stack 2.13.1' in cwd '/'
2023-12-06 05:14:30.8960000 [client] INFO Executing 'ghc --numeric-version' in cwd '/'
2023-12-06 05:14:30.9490000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:30.9510000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:30.9510000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.5.0.0 --cabal 3.10.2.0 --stack 2.13.1 --install' in cwd '/'
2023-12-06 05:14:31.0420000 [client] INFO Working out the project GHC version. This might take a while...
2023-12-06 05:14:31.0430000 [client] INFO Executing 'haskell-language-server-wrapper --project-ghc-version' in cwd '/Users/simon/src/hledger'
2023-12-06 05:14:33.0080000 [client] INFO The GHC version for the project or file: 9.6.3
2023-12-06 05:14:33.3430000 [client] INFO Platform constants: Darwin, A_ARM64
2023-12-06 05:14:33.3430000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:33.3460000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:33.3470000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/'
2023-12-06 05:14:33.4310000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:33.4330000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:33.4330000 [client] INFO Executing 'ghcup --no-verbose whereis bindir' in cwd '/'
2023-12-06 05:14:33.4580000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:33.4730000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:33.4730000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.5.0.0' in cwd '/'
2023-12-06 05:14:33.4940000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:33.4970000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:33.4970000 [client] INFO Executing 'ghcup --no-verbose whereis ghc 9.6.3' in cwd '/'
2023-12-06 05:14:33.5180000 [client] INFO Checking for ghcup installation
2023-12-06 05:14:33.5200000 [client] INFO found ghcup at ghcup
2023-12-06 05:14:33.5200000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.5.0.0 --cabal 3.10.2.0 --stack 2.13.1 --ghc 9.6.3 --install' in cwd '/'
2023-12-06 05:14:33.6150000 [client] INFO Activating the language server in working dir: /Users/simon/src/hledger (the workspace folder)
2023-12-06 05:14:33.6150000 [client] INFO run command: /Users/simon/.ghcup/tmp/ghcup-ghc-9.6.3_cabal-3.10.2.0_hls-2.5.0.0_stack-2.13.1/haskell-language-server-wrapper --lsp
2023-12-06 05:14:33.6150000 [client] INFO debug command: /Users/simon/.ghcup/tmp/ghcup-ghc-9.6.3_cabal-3.10.2.0_hls-2.5.0.0_stack-2.13.1/haskell-language-server-wrapper --lsp
2023-12-06 05:14:33.6150000 [client] INFO server environment variables:
2023-12-06 05:14:33.6150000 [client] INFO PATH=/Users/simon/.ghcup/tmp/ghcup-ghc-9.6.3_cabal-3.10.2.0_hls-2.5.0.0_stack-2.13.1:/Users/simon/.wasmedge/bin:/Users/simon/.wasmtime/bin:/Users/simon/adm/bin:/Users/simon/src/hledger/tools:/Users/simon/bin:/Users/simon/.ghcup/bin:/Users/simon/src/hledger/tools:/Users/simon/src/hledger/bin:/Users/simon/src/hledger/bin/old:/Users/simon/.local/bin:/Users/simon/.cabal/bin:/opt/homebrew/Cellar/janet/1.29.1/bin:/opt/homebrew/opt/make/libexec/gnubin:/opt/homebrew/opt/grep/libexec/gnubin:/opt/homebrew/opt/m4/bin:/opt/homebrew/opt/texinfo/bin:/opt/homebrew/sbin:/opt/homebrew/bin:/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/simon/.cargo/bin:/Users/simon/.deno/bin:/Users/simon/.go/bin:/Users/simon/.gem/ruby/2.6.0/bin:/Users/simon/clients/championwindows/bin:/Users/simon/clients/championwindows/systems:/usr/local/bin
2023-12-06 05:14:33.6160000 [client] INFO Starting language server
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.5.0.0 aarch64 ghc-9.2.8
Current directory: /
Operating system: darwin
Arguments: ["--lsp"]
Cradle directory: /
Cradle type: Default
Tool versions found on the $PATH
cabal: 3.10.2.0
stack: 2.13.1
ghc: 9.6.3
Consulting the cradle to get project GHC version...
2023-12-06T05:14:33.770928Z | Debug | executing command: ghc --numeric-version
Failed to find the GHC version of this Default project.
Couldn't execute ghc --numeric-version
2023-12-06T05:14:33.773469Z | Info | Starting server
2023-12-06T05:14:33.786216Z | Error | LSP: no handler for: "initialized"
2023-12-06T05:14:33.787365Z | Debug | LSP: set new config: {
"checkProject": false,
"formattingProvider": "fourmolu",
"ghcupExecutablePath": "",
"indentationRules": { "enabled": true },
"logFile": "",
"manageHLS": "GHCup",
"maxCompletions": 40,
"metadataURL": "",
"openDocumentationInHackage": true,
"openSourceInHackage": true,
"plugin": {
"alternateNumberFormat": { "globalOn": true },
"cabal": { "completionOn": true, "globalOn": true },
"callHierarchy": { "globalOn": true },
"changeTypeSignature": { "globalOn": true },
"class": { "codeActionsOn": true, "codeLensOn": true },
"eval": {
"config": { "diff": true, "exception": false },
"globalOn": true
},
"explicit-fields": { "globalOn": true },
"explicit-fixity": { "globalOn": true },
"fourmolu": { "config": { "external": false } },
"gadt": { "globalOn": true },
"ghcide-code-actions-bindings": { "globalOn": true },
"ghcide-code-actions-fill-holes": { "globalOn": true },
"ghcide-code-actions-imports-exports": { "globalOn": true },
"ghcide-code-actions-type-signatures": { "globalOn": true },
"ghcide-completions": {
"config": { "autoExtendOn": true, "snippetsOn": true },
"globalOn": true
},
"ghcide-hover-and-symbols": { "hoverOn": true, "symbolsOn": true },
"ghcide-type-lenses": { "config": { "mode": "always" }, "globalOn": true },
"haddockComments": { "globalOn": true },
"hlint": {
"codeActionsOn": true,
"config": { "flags": [ ] },
"diagnosticsOn": true
},
"importLens": { "codeActionsOn": true, "codeLensOn": true },
"moduleName": { "globalOn": true },
"pragmas": { "codeActionsOn": true, "completionOn": true },
"qualifyImportedNames": { "globalOn": true },
"refineImports": { "codeActionsOn": true, "codeLensOn": true },
"rename": { "config": { "crossModule": false }, "globalOn": true },
"retrie": { "globalOn": true },
"splice": { "globalOn": true },
"stan": { "globalOn": false },
"tactics": {
"codeActionsOn": true,
"codeLensOn": true,
"config": {
"auto_gas": 4,
"hole_severity": null,
"max_use_ctor_actions": 5,
"proofstate_styling": true,
"timeout_duration": 2
},
"hoverOn": true
}
},
"promptBeforeDownloads": "true",
"releasesDownloadStoragePath": "",
"releasesURL": "",
"serverEnvironment": { },
"serverExecutablePath": "",
"serverExtraArgs": "",
"toolchain": { },
"trace": { "client": "info", "server": "off" },
"upgradeGHCup": false
}
2023-12-06T05:14:33.792721Z | Error | LSP: no handler for: "workspace/didChangeConfiguration"
2023-12-06T05:14:33.793455Z | Debug | VFS: opening file:///Users/simon/src/hledger/hledger-lib/Hledger/Utils/IO.hs
2023-12-06T05:14:33.793882Z | Error | LSP: no handler for: "textDocument/didOpen"
2023-12-06T05:14:33.794109Z | Debug | LSP: set new config: {
"checkProject": false,
"formattingProvider": "fourmolu",
"ghcupExecutablePath": "",
"indentationRules": { "enabled": true },
"logFile": "",
"manageHLS": "GHCup",
"maxCompletions": 40,
"metadataURL": "",
"openDocumentationInHackage": true,
"openSourceInHackage": true,
"plugin": {
"alternateNumberFormat": { "globalOn": true },
"cabal": { "completionOn": true, "globalOn": true },
"callHierarchy": { "globalOn": true },
"changeTypeSignature": { "globalOn": true },
"class": { "codeActionsOn": true, "codeLensOn": true },
"eval": {
"config": { "diff": true, "exception": false },
"globalOn": true
},
"explicit-fields": { "globalOn": true },
"explicit-fixity": { "globalOn": true },
"fourmolu": { "config": { "external": false } },
"gadt": { "globalOn": true },
"ghcide-code-actions-bindings": { "globalOn": true },
"ghcide-code-actions-fill-holes": { "globalOn": true },
"ghcide-code-actions-imports-exports": { "globalOn": true },
"ghcide-code-actions-type-signatures": { "globalOn": true },
"ghcide-completions": {
"config": { "autoExtendOn": true, "snippetsOn": true },
"globalOn": true
},
"ghcide-hover-and-symbols": { "hoverOn": true, "symbolsOn": true },
"ghcide-type-lenses": { "config": { "mode": "always" }, "globalOn": true },
"haddockComments": { "globalOn": true },
"hlint": {
"codeActionsOn": true,
"config": { "flags": [ ] },
"diagnosticsOn": true
},
"importLens": { "codeActionsOn": true, "codeLensOn": true },
"moduleName": { "globalOn": true },
"pragmas": { "codeActionsOn": true, "completionOn": true },
"qualifyImportedNames": { "globalOn": true },
"refineImports": { "codeActionsOn": true, "codeLensOn": true },
"rename": { "config": { "crossModule": false }, "globalOn": true },
"retrie": { "globalOn": true },
"splice": { "globalOn": true },
"stan": { "globalOn": false },
"tactics": {
"codeActionsOn": true,
"codeLensOn": true,
"config": {
"auto_gas": 4,
"hole_severity": null,
"max_use_ctor_actions": 5,
"proofstate_styling": true,
"timeout_duration": 2
},
"hoverOn": true
}
},
"promptBeforeDownloads": "true",
"releasesDownloadStoragePath": "",
"releasesURL": "",
"serverEnvironment": { },
"serverExecutablePath": "",
"serverExtraArgs": "",
"toolchain": { },
"trace": { "client": "info", "server": "off" },
"upgradeGHCup": false
}
2023-12-06T05:14:33.798495Z | Debug | LSP: set new config: {
"checkProject": false,
"formattingProvider": "fourmolu",
"ghcupExecutablePath": "",
"indentationRules": { "enabled": true },
"logFile": "",
"manageHLS": "GHCup",
"maxCompletions": 40,
"metadataURL": "",
"openDocumentationInHackage": true,
"openSourceInHackage": true,
"plugin": {
"alternateNumberFormat": { "globalOn": true },
"cabal": { "completionOn": true, "globalOn": true },
"callHierarchy": { "globalOn": true },
"changeTypeSignature": { "globalOn": true },
"class": { "codeActionsOn": true, "codeLensOn": true },
"eval": {
"config": { "diff": true, "exception": false },
"globalOn": true
},
"explicit-fields": { "globalOn": true },
"explicit-fixity": { "globalOn": true },
"fourmolu": { "config": { "external": false } },
"gadt": { "globalOn": true },
"ghcide-code-actions-bindings": { "globalOn": true },
"ghcide-code-actions-fill-holes": { "globalOn": true },
"ghcide-code-actions-imports-exports": { "globalOn": true },
"ghcide-code-actions-type-signatures": { "globalOn": true },
"ghcide-completions": {
"config": { "autoExtendOn": true, "snippetsOn": true },
"globalOn": true
},
"ghcide-hover-and-symbols": { "hoverOn": true, "symbolsOn": true },
"ghcide-type-lenses": { "config": { "mode": "always" }, "globalOn": true },
"haddockComments": { "globalOn": true },
"hlint": {
"codeActionsOn": true,
"config": { "flags": [ ] },
"diagnosticsOn": true
},
"importLens": { "codeActionsOn": true, "codeLensOn": true },
"moduleName": { "globalOn": true },
"pragmas": { "codeActionsOn": true, "completionOn": true },
"qualifyImportedNames": { "globalOn": true },
"refineImports": { "codeActionsOn": true, "codeLensOn": true },
"rename": { "config": { "crossModule": false }, "globalOn": true },
"retrie": { "globalOn": true },
"splice": { "globalOn": true },
"stan": { "globalOn": false },
"tactics": {
"codeActionsOn": true,
"codeLensOn": true,
"config": {
"auto_gas": 4,
"hole_severity": null,
"max_use_ctor_actions": 5,
"proofstate_styling": true,
"timeout_duration": 2
},
"hoverOn": true
}
},
"promptBeforeDownloads": "true",
"releasesDownloadStoragePath": "",
"releasesURL": "",
"serverEnvironment": { },
"serverExecutablePath": "",
"serverExtraArgs": "",
"toolchain": { },
"trace": { "client": "info", "server": "off" },
"upgradeGHCup": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment