Skip to content

Instantly share code, notes, and snippets.

@kindaro
Created December 20, 2022 23:46
Show Gist options
  • Save kindaro/b02ce6f46919e4112f954d139238ec7b to your computer and use it in GitHub Desktop.
Save kindaro/b02ce6f46919e4112f954d139238ec7b to your computer and use it in GitHub Desktop.
packages:
servant-purescript-codegen-example/server
servant-purescript
purescript-bridge
servant-errors
cradle:
cabal:
- path: "purescript-bridge/src"
component: "lib:purescript-bridge"
- path: "purescript-bridge/test"
component: "purescript-bridge:test:tests"
- path: "servant-errors/src"
component: "lib:servant-errors"
- path: "servant-errors/./"
component: "servant-errors:test:readme"
- path: "servant-purescript/src"
component: "lib:servant-purescript"
- path: "servant-purescript/test"
component: "servant-purescript:test:servant-purescript-test"
- path: "servant-purescript-codegen-example/server/src"
component: "lib:gentypes-server"
- path: "servant-purescript-codegen-example/server/codegen/Main.hs"
component: "gentypes-server:exe:gentypes-codegen"
- path: "servant-purescript-codegen-example/server/codegen/Paths_gentypes_server.hs"
component: "gentypes-server:exe:gentypes-codegen"
- path: "servant-purescript-codegen-example/server/app/Main.hs"
component: "gentypes-server:exe:gentypes-server-exe"
- path: "servant-purescript-codegen-example/server/app/Paths_gentypes_server.hs"
component: "gentypes-server:exe:gentypes-server-exe"
- path: "servant-purescript-codegen-example/server/test"
component: "gentypes-server:test:gentypes-server-test"
Found "/tmp/generation/hie.yaml" for "/tmp/generation/a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.8.0.0 x86_64 ghc-9.4.2
Current directory: /tmp/generation
Operating system: linux
Arguments: ["servant-purescript-codegen-example/server/"]
Cradle directory: /tmp/generation
Cradle type: Cabal
Tool versions found on the $PATH
cabal: 3.8.1.0
stack: 2.3.3
ghc: 9.2.4
Consulting the cradle to get project GHC version...
Project GHC version: 9.2.4
haskell-language-server exe candidates: ["haskell-language-server-9.2.4","haskell-language-server"]
Launching haskell-language-server exe at:/home/kindaro/.ghcup/bin/haskell-language-server-9.2.4
2022-12-20T23:46:55.371657Z | Info | No log file specified; using stderr.
2022-12-20T23:46:55.372872Z | Info | haskell-language-server version: 1.8.0.0 (GHC: 9.2.4) (PATH: /home/kindaro/.ghcup/hls/1.8.0.0/lib/haskell-language-server-1.8.0.0/bin/haskell-language-server-9.2.4)
2022-12-20T23:46:55.374216Z | Info | Directory: /tmp/generation
2022-12-20T23:46:55.374592Z | Info | Logging heap statistics every 60.00s
ghcide setup tester in /tmp/generation.
Report bugs at https://github.com/haskell/haskell-language-server/issues
Step 1/4: Finding files to test in /tmp/generation
Found 12 files
Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
(/tmp/generation/servant-purescript-codegen-example/server/hie.yaml)
Step 3/4: Initializing the IDE
Step 4/4: Type checking the files
2022-12-20T23:46:55.388844Z | Info | Cradle path: servant-purescript-codegen-example/server/app/Main.hs
2022-12-20T23:46:57.020841Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/ManageUsers.hs
2022-12-20T23:46:57.026165Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/app/Main.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:46:58.591892Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/DomainError.hs
2022-12-20T23:46:58.595337Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:
/tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/ManageUsers.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:00.173891Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/Types.hs
2022-12-20T23:47:00.177198Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:
/tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/DomainError.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:01.727566Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/Types/NotEmptyText.hs
2022-12-20T23:47:01.730833Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Types.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:03.370884Z | Info | Cradle path: servant-purescript-codegen-example/server/test/Spec.hs
2022-12-20T23:47:03.373888Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:
/tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Types/NotEmptyText.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:04.924691Z | Info | Cradle path: servant-purescript-codegen-example/server/codegen/Main.hs
2022-12-20T23:47:04.927027Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/test/Spec.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:04.927796Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/Run.hs
2022-12-20T23:47:04.930810Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/codegen/Main.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Multi Cradle: No prefixes matched
pwd: /tmp/generation/servant-purescript-codegen-example/server
filepath: /tmp/generation/servant-purescript-codegen-example/server/codegen/Main.hs
prefixes:
("./src",Stack {component = Just "gentypes-server:lib", stackYaml = Nothing})
("./app/Main.hs",Stack {component = Just "gentypes-server:exe:gentypes-server-exe", stackYaml =
Nothing})
("./app/Paths_gentypes_server.hs",Stack {component = Just
"gentypes-server:exe:gentypes-server-exe", stackYaml = Nothing})
("./test",Stack {component = Just "gentypes-server:test:gentypes-server-test", stackYaml =
Nothing})
2022-12-20T23:47:06.534092Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/CodeGen.hs
2022-12-20T23:47:06.537444Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/Run.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:08.067465Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/Definition.hs
2022-12-20T23:47:08.070674Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/CodeGen.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:09.639412Z | Info | Cradle path: servant-purescript-codegen-example/server/src/GenTypesDemo/API/Auth.hs
2022-12-20T23:47:09.642228Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:
/tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Definition.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:11.200988Z | Info | Cradle path: servant-purescript-codegen-example/server/Setup.hs
2022-12-20T23:47:11.202427Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Auth.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Failed to parse result of calling stack
Error parsing targets: Unknown local package: gentypes-server
Note that to specify options to be passed to GHCi, use the --ghci-options flag
2022-12-20T23:47:11.203134Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File: /tmp/generation/servant-purescript-codegen-example/server/Setup.hs
Hidden: no
Range: 1:1-2:1
Source: cradle
Severity: DsError
Message:
Multi Cradle: No prefixes matched
pwd: /tmp/generation/servant-purescript-codegen-example/server
filepath: /tmp/generation/servant-purescript-codegen-example/server/Setup.hs
prefixes:
("./src",Stack {component = Just "gentypes-server:lib", stackYaml = Nothing})
("./app/Main.hs",Stack {component = Just "gentypes-server:exe:gentypes-server-exe", stackYaml =
Nothing})
("./app/Paths_gentypes_server.hs",Stack {component = Just
"gentypes-server:exe:gentypes-server-exe", stackYaml = Nothing})
("./test",Stack {component = Just "gentypes-server:test:gentypes-server-test", stackYaml =
Nothing})
Files that failed:
* /tmp/generation/servant-purescript-codegen-example/server/Setup.hs
* /tmp/generation/servant-purescript-codegen-example/server/app/Main.hs
* /tmp/generation/servant-purescript-codegen-example/server/codegen/Main.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/Run.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Auth.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/CodeGen.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Definition.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/DomainError.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/ManageUsers.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Types.hs
* /tmp/generation/servant-purescript-codegen-example/server/src/GenTypesDemo/API/Types/NotEmptyText.hs
* /tmp/generation/servant-purescript-codegen-example/server/test/Spec.hs
Completed (0 files worked, 12 files failed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment