You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running cabal repl --enable-multi-repl all crashes in some occasions with the error message:
<command line>: cannot satisfy -package-id ghcide-2.9.0.1-inplace
(use -v for more information)
To Reproduce
$ git clone [email protected]:haskell/haskell-language-server.git
$ cd haskell-language-server
$ cabal-3.12 v2-repl --enable-multi-repl all
Full logs of `cabal repl`
> cabal v2-repl --enable-multi-repl all
Resolving dependencies...
Build profile: -w ghc-9.6.6 -O1
In order, the following will be built (use -v for more details):
- ghcide-2.9.0.1 (interactive) (exe:ghcide-test-preprocessor) (cannot read state cache)
- hie-compat-0.3.1.2 (interactive) (lib) (cannot read state cache)
- hls-graph-2.9.0.1 (interactive) (lib) (cannot read state cache)
- shake-bench-0.2.0.0 (interactive) (lib) (cannot read state cache)
- hiedb-0.6.0.1 (interactive) (lib) (cannot read state cache)
- hls-plugin-api-2.9.0.1 (interactive) (lib) (cannot read state cache)
- hls-graph-2.9.0.1 (interactive) (test:tests) (cannot read state cache)
- hls-plugin-api-2.9.0.1 (interactive) (test:tests) (cannot read state cache)
- ghcide-2.9.0.1 (interactive) (lib) (cannot read state cache)
- hls-test-utils-2.9.0.1 (interactive) (lib) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-stylish-haskell-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-stan-plugin) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-semantic-tokens-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-refactor-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-qualify-imported-names-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-pragmas-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-overloaded-record-dot-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-ormolu-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-notes-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-module-name-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-hlint-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-fourmolu-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-floskell-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-explicit-record-fields-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-explicit-imports-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-explicit-fixity-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-eval-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-code-range-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-class-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-change-type-signature-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-call-hierarchy-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-cabal-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-cabal-gild-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-cabal-fmt-plugin) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-alternate-number-format-plugin) (cannot read state cache)
- ghcide-2.9.0.1 (interactive) (exe:ghcide) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:ghcide-bench-lib) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-stylish-haskell-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-stan-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-semantic-tokens-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-splice-plugin) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-retrie-plugin) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-rename-plugin) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-refactor-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (lib:hls-gadt-plugin) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-qualify-imported-names-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-pragmas-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-overloaded-record-dot-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-ormolu-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-notes-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-module-name-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-hlint-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-fourmolu-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-floskell-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-explicit-record-fields-plugin-tests) (cannot read state cache)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-explicit-imports-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-explicit-fixity-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-eval-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-code-range-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-class-plugin-tests) (dependency rebuilt)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-change-type-signature-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-call-hierarchy-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-cabal-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-cabal-gild-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-cabal-fmt-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-alternate-number-format-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:ghcide-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:ghcide-bench-test) (first run)
- haskell-language-server-2.9.0.1 (interactive) (exe:ghcide-bench) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-splice-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-retrie-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-rename-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:hls-gadt-plugin-tests) (first run)
- haskell-language-server-2.9.0.1 (interactive) (lib) (first run)
- haskell-language-server-2.9.0.1 (interactive) (exe:haskell-language-server-wrapper) (first run)
- haskell-language-server-2.9.0.1 (interactive) (exe:haskell-language-server) (first run)
- haskell-language-server-2.9.0.1 (interactive) (bench:benchmark) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:wrapper-test) (first run)
- haskell-language-server-2.9.0.1 (interactive) (test:func-test) (first run)
Configuring executable 'ghcide-test-preprocessor' for ghcide-2.9.0.1...
Configuring library for hie-compat-0.3.1.2...
Configuring library for hls-graph-2.9.0.1...
Configuring library for shake-bench-0.2.0.0...
Preprocessing executable 'ghcide-test-preprocessor' for ghcide-2.9.0.1...
Building executable 'ghcide-test-preprocessor' for ghcide-2.9.0.1...
Preprocessing library for hie-compat-0.3.1.2...
Configuring library for hiedb-0.6.0.1...
Preprocessing library for shake-bench-0.2.0.0...
Preprocessing library for hls-graph-2.9.0.1...
Configuring library for hls-plugin-api-2.9.0.1...
Configuring test suite 'tests' for hls-graph-2.9.0.1...
Preprocessing executable 'ghcide-test-preprocessor' for ghcide-2.9.0.1...
Preprocessing library for hiedb-0.6.0.1...
Preprocessing library for hls-plugin-api-2.9.0.1...
Configuring test suite 'tests' for hls-plugin-api-2.9.0.1...
Configuring library for ghcide-2.9.0.1...
Preprocessing test suite 'tests' for hls-graph-2.9.0.1...
Preprocessing test suite 'tests' for hls-plugin-api-2.9.0.1...
Preprocessing library for ghcide-2.9.0.1...
Configuring library for hls-test-utils-2.9.0.1...
Configuring library 'hls-stylish-haskell-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-stan-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-semantic-tokens-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-refactor-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-qualify-imported-names-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-overloaded-record-dot-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-ormolu-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-notes-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-module-name-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-fourmolu-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-floskell-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-explicit-record-fields-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-explicit-imports-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-pragmas-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-hlint-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-explicit-fixity-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library for hls-test-utils-2.9.0.1...
Preprocessing library 'hls-stylish-haskell-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-eval-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-refactor-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-code-range-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-class-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-semantic-tokens-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-qualify-imported-names-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-change-type-signature-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-call-hierarchy-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-overloaded-record-dot-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-cabal-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-ormolu-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-floskell-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-explicit-record-fields-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-notes-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-hlint-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-fourmolu-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-cabal-gild-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-explicit-imports-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-cabal-fmt-plugin' for haskell-language-server-2.9.0.1...
Configuring library 'hls-alternate-number-format-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-pragmas-plugin' for haskell-language-server-2.9.0.1...
Configuring executable 'ghcide' for ghcide-2.9.0.1...
Preprocessing library 'hls-explicit-fixity-plugin' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-stan-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring library 'ghcide-bench-lib' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-module-name-plugin' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-stylish-haskell-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-splice-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-retrie-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-rename-plugin' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-refactor-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-semantic-tokens-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-gadt-plugin' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-overloaded-record-dot-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-qualify-imported-names-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-ormolu-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-floskell-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-explicit-record-fields-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-class-plugin' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-notes-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-eval-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-code-range-plugin' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-hlint-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-fourmolu-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-explicit-imports-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-change-type-signature-plugin' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-pragmas-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-call-hierarchy-plugin' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-explicit-fixity-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-module-name-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-cabal-gild-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-cabal-plugin' for haskell-language-server-2.9.0.1...
Preprocessing executable 'ghcide' for ghcide-2.9.0.1...
Building executable 'ghcide' for ghcide-2.9.0.1...
Configuring test suite 'hls-splice-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-retrie-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-alternate-number-format-plugin' for haskell-language-server-2.9.0.1...
Preprocessing library 'hls-cabal-fmt-plugin' for haskell-language-server-2.9.0.1...
<command line>: cannot satisfy -package-id ghcide-2.9.0.1-inplace
(use -v for more information)
Configuring test suite 'hls-rename-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-overloaded-record-dot-plugin-tests' for haskell-language-server-2.9.0.1...
Configuring test suite 'hls-gadt-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-class-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing library 'ghcide-bench-lib' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-eval-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-ormolu-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-semantic-tokens-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-explicit-record-fields-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-qualify-imported-names-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-module-name-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-gadt-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-notes-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-fourmolu-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-explicit-fixity-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-retrie-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-pragmas-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-splice-plugin-tests' for haskell-language-server-2.9.0.1...
Preprocessing test suite 'hls-rename-plugin-tests' for haskell-language-server-2.9.0.1...
Error: [Cabal-7125]
Failed to build exe:ghcide from ghcide-2.9.0.1 (which is required by test:ghcide-tests from haskell-language-server-2.9.0.1 and test:ghcide-bench-test from haskell-language-server-2.9.0.1).
Expected behavior
should open a multi repl
System information
Operating system
ghc
9.6.6
cabal
3.12
HEAD 2851fe1075ef15eccb68b645b63885ac836fc500
The text was updated successfully, but these errors were encountered:
Describe the bug
Running
cabal repl --enable-multi-repl all
crashes in some occasions with the error message:To Reproduce
Full logs of `cabal repl`
Expected behavior
should open a multi repl
System information
ghc
cabal
2851fe1075ef15eccb68b645b63885ac836fc500
The text was updated successfully, but these errors were encountered: