Skip to content

"Failed to parse result of calling cabal" on HLS 2.10.0.0 & cabal-install 3.15.0.0 #4590

Closed

Description

@tchoutri

Your environment

  • Which OS do you use? Fedora 42

  • Which version of GHC do you use and how did you install it? 9.10.1

  • How is your project built (alternative: link to the project)? cabal-install version 3.15.0.0 (commit 2b0ccee, Sat May 10 23:35:27 2025 +0000)

  • Which LSP client (editor/plugin) do you use? This is haskell-language-server-wrapper

  • Which version of HLS do you use and how did you install it? haskell-language-server version: 2.10.0.0 (GHC: 9.10.1) (PATH: /home/tchoutri/.ghcup/hls/2.10.0.0/lib/haskell-language-server-2.10.0.0/bin/haskell-language-server-wrapper) from GHCup
  • Have you configured HLS in any way (especially: a hie.yaml file)? No

While working on a new cabal project, HLS is unhappy with what cabal-install reports, even though the files compile well. Happy to try the invocation with other flags if it can provide more details.

Debug logs

No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.10.0.0 x86_64 ghc-9.10.1
Current directory: /home/tchoutri/Projects/kitty-keyboard-protocol
Operating system: linux
Arguments: ["-d"]
Cradle directory: /home/tchoutri/Projects/kitty-keyboard-protocol
Cradle type: Cabal

Tool versions found on the $PATH
cabal:          3.15.0.0
stack:          3.1.1
ghc:            9.6.7


Consulting the cradle to get project GHC version...
2025-05-12T10:31:16.293475Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:16.418990Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:16.473949Z | Debug | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-exec --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 ghc -v0 -- --numeric-version
  Environment Variables
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
Project GHC version: 9.10.1
haskell-language-server exe candidates: ["haskell-language-server-9.10.1","haskell-language-server"]
Launching haskell-language-server exe at:/home/tchoutri/.ghcup/bin/haskell-language-server-9.10.1
2025-05-12T10:31:16.531680Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:16.646668Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:16.772561Z | Debug | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-exec --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 ghc -v0 -- -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
  Environment Variables
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:16.830419Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:16.946130Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:17.012367Z | Debug | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-exec --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 ghc -v0 -- --print-libdir
  Environment Variables
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:18.145988Z | Info | haskell-language-server version: 2.10.0.0 (GHC: 9.10.1) (PATH: /home/tchoutri/.ghcup/hls/2.10.0.0/lib/haskell-language-server-2.10.0.0/bin/haskell-language-server-9.10.1)
2025-05-12T10:31:18.147082Z | Info | Directory: /home/tchoutri/Projects/kitty-keyboard-protocol
2025-05-12T10:31:18.147337Z | Info | Logging heap statistics every 60.00s
 ghcide setup tester in /home/tchoutri/Projects/kitty-keyboard-protocol.
Report bugs at https://github.com/haskell/haskell-language-server/issues

Step 1/4: Finding files to test in /home/tchoutri/Projects/kitty-keyboard-protocol
Found 3 files

Step 2/4: Looking for hie.yaml files that control setup
Found 1 cradle
  ()

Step 3/4: Initializing the IDE
2025-05-12T10:31:18.152661Z | Debug | Initializing exports map from hiedb
2025-05-12T10:31:18.153152Z | Debug | Shake session initialized

Step2025-05-12T10:31:18.153320Z | Debug | Done initializing exports map from hiedb. Size: 0
 4/4: Type checking the files
2025-05-12T10:31:18.155239Z | Info | Cradle path: test/Main.hs
2025-05-12T10:31:18.155326Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for test/Main.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.
2025-05-12T10:31:18.155715Z | Debug | Cradle: Cradle{ cradleRootDir = "/home/tchoutri/Projects/kitty-keyboard-protocol", cradleOptsProg = CradleAction: Cabal}
2025-05-12T10:31:18.155769Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2025-05-12T10:31:18.155815Z | Debug | Requested to load Cabal cradle using single file mode
2025-05-12T10:31:18.174916Z | Debug | cabal --numeric-version
2025-05-12T10:31:18.233916Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:18.364771Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:18.424491Z | Debug | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-exec --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 ghc -v0 -- --numeric-version
  Environment Variables
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:18.424768Z | Info | Load cabal cradle using single file
2025-05-12T10:31:18.485433Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:18.606522Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:18.607818Z | Info | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 /home/tchoutri/Projects/kitty-keyboard-protocol/test/Main.hs
  Environment Variables
    HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT129052-0
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:18.616805Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:18.622698Z | Debug | Configuration is affected by the following files:
2025-05-12T10:31:18.622845Z | Debug | - cabal.project
2025-05-12T10:31:18.622911Z | Debug | - cabal.project.freeze
2025-05-12T10:31:18.622966Z | Debug | - cabal.project.local
2025-05-12T10:31:18.637751Z | Debug | Build profile: -w ghc-9.10.1 -O1
2025-05-12T10:31:18.637928Z | Debug | In order, the following will be built (use -v for more details):
2025-05-12T10:31:18.638176Z | Debug |  - kitty-keyboard-protocol-0.1.0.0 (interactive) (test:kitty-keyboard-protocol-test) (first run)
2025-05-12T10:31:18.640611Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:18.670146Z | Debug | Preprocessing test suite 'kitty-keyboard-protocol-test' for kitty-keyboard-protocol-0.1.0.0...
2025-05-12T10:31:18.699848Z | Debug | when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
2025-05-12T10:31:18.699979Z | Debug |     Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.
2025-05-12T10:31:18.700098Z | Debug | 
2025-05-12T10:31:18.700174Z | Debug | GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
2025-05-12T10:31:18.851800Z | Debug | Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
2025-05-12T10:31:18.856856Z | Debug | [1 of 2] Compiling Main
2025-05-12T10:31:18.860321Z | Debug | Ok, one module loaded.
2025-05-12T10:31:18.860854Z | Debug | ghci> Leaving GHCi.
2025-05-12T10:31:18.897947Z | Debug | Session loading result: Left [CradleError {cradleErrorDependencies = ["kitty-keyboard-protocol.cabal","cabal.project","cabal.project.local"], cradleErrorExitCode = ExitSuccess, cradleErrorStderr = ["Failed to parse result of calling cabal","Failed command: cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 /home/tchoutri/Projects/kitty-keyboard-protocol/test/Main.hs","Build profile: -w ghc-9.10.1 -O1\nIn order, the following will be built (use -v for more details):\n - kitty-keyboard-protocol-0.1.0.0 (interactive) (test:kitty-keyboard-protocol-test) (first run)\nPreprocessing test suite 'kitty-keyboard-protocol-test' for kitty-keyboard-protocol-0.1.0.0...\nGHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help\nLoaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci\n[1 of 2] Compiling Main\nOk, one module loaded.\nghci> Leaving GHCi.\n","Warning: this is a debug build of cabal-install with assertions enabled.\nConfiguration is affected by the following files:\n- cabal.project\n- cabal.project.freeze\n- cabal.project.local\nWarning: this is a debug build of cabal-install with assertions enabled.\nwhen making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]\n    Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.\n\n","","Process Environment:","HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1","HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib"]}]
2025-05-12T10:31:18.898652Z | Info | Cradle path: src/Kitty/KeyboardProtocol/Keys.hs
2025-05-12T10:31:18.898737Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/Kitty/KeyboardProtocol/Keys.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.
2025-05-12T10:31:18.899068Z | Debug | Cradle: Cradle{ cradleRootDir = "/home/tchoutri/Projects/kitty-keyboard-protocol", cradleOptsProg = CradleAction: Cabal}
2025-05-12T10:31:18.899107Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2025-05-12T10:31:18.899143Z | Debug | Requested to load Cabal cradle using single file mode
2025-05-12T10:31:18.905362Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:     /home/tchoutri/Projects/kitty-keyboard-protocol/test/Main.hs
Hidden:   no
Range:    1:1-2:1
Source:   cradle
Severity: DiagnosticSeverity_Error
Code:     <none>
Message: 
  Failed to parse result of calling cabal
  Failed command: cabal
  --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8
  v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36
  --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72
  /home/tchoutri/Projects/kitty-keyboard-protocol/test/Main.hs
  Build profile: -w ghc-9.10.1 -O1
  In order, the following will be built (use -v for more details):
  - kitty-keyboard-protocol-0.1.0.0 (interactive) (test:kitty-keyboard-protocol-test) (first run)
  Preprocessing test suite 'kitty-keyboard-protocol-test' for kitty-keyboard-protocol-0.1.0.0...
  GHCi, version 9.10.1: https://www.haskell.org/ghc/ :? for help
  Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
  [1 of 2] Compiling Main
  Ok, one module loaded.
  ghci> Leaving GHCi.

  Warning: this is a debug build of cabal-install with assertions enabled.
  Configuration is affected by the following files:
  - cabal.project
  - cabal.project.freeze
  - cabal.project.local
  Warning: this is a debug build of cabal-install with assertions enabled.
  when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
  Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass
  -fno-unoptimized-core-for-interpreter to enable this feature.



  Process Environment:
  HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
  HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:18.915745Z | Debug | cabal --numeric-version
2025-05-12T10:31:18.974590Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:19.094958Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:19.153518Z | Debug | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-exec --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 ghc -v0 -- --numeric-version
  Environment Variables
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:19.153821Z | Info | Load cabal cradle using single file
2025-05-12T10:31:19.215286Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:19.336392Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:19.337684Z | Info | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/Keys.hs
  Environment Variables
    HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT129052-1
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:19.348458Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:19.353593Z | Debug | Configuration is affected by the following files:
2025-05-12T10:31:19.353672Z | Debug | - cabal.project
2025-05-12T10:31:19.353729Z | Debug | - cabal.project.freeze
2025-05-12T10:31:19.353774Z | Debug | - cabal.project.local
2025-05-12T10:31:19.365908Z | Debug | Build profile: -w ghc-9.10.1 -O1
2025-05-12T10:31:19.366024Z | Debug | In order, the following will be built (use -v for more details):
2025-05-12T10:31:19.366100Z | Debug |  - kitty-keyboard-protocol-0.1.0.0 (interactive) (lib) (configuration changed)
2025-05-12T10:31:19.370048Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:19.373345Z | Debug | Configuring library for kitty-keyboard-protocol-0.1.0.0...
2025-05-12T10:31:21.132551Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:21.158919Z | Debug | Preprocessing library for kitty-keyboard-protocol-0.1.0.0...
2025-05-12T10:31:21.188244Z | Debug | when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
2025-05-12T10:31:21.188392Z | Debug |     Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.
2025-05-12T10:31:21.188455Z | Debug | 
2025-05-12T10:31:21.188526Z | Debug | GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
2025-05-12T10:31:21.335562Z | Debug | Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
2025-05-12T10:31:21.342756Z | Debug | [1 of 2] Compiling Kitty.KeyboardProtocol.Keys
2025-05-12T10:31:21.366823Z | Debug | [2 of 2] Compiling Kitty.KeyboardProtocol.State
2025-05-12T10:31:21.367689Z | Debug | Ok, two modules loaded.
2025-05-12T10:31:21.368036Z | Debug | ghci> Leaving GHCi.
2025-05-12T10:31:21.399964Z | Debug | Session loading result: Left [CradleError {cradleErrorDependencies = ["kitty-keyboard-protocol.cabal","cabal.project","cabal.project.local"], cradleErrorExitCode = ExitSuccess, cradleErrorStderr = ["Failed to parse result of calling cabal","Failed command: cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/Keys.hs","Build profile: -w ghc-9.10.1 -O1\nIn order, the following will be built (use -v for more details):\n - kitty-keyboard-protocol-0.1.0.0 (interactive) (lib) (configuration changed)\nConfiguring library for kitty-keyboard-protocol-0.1.0.0...\nPreprocessing library for kitty-keyboard-protocol-0.1.0.0...\nGHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help\nLoaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci\n[1 of 2] Compiling Kitty.KeyboardProtocol.Keys\n[2 of 2] Compiling Kitty.KeyboardProtocol.State\nOk, two modules loaded.\nghci> Leaving GHCi.\n","Warning: this is a debug build of cabal-install with assertions enabled.\nConfiguration is affected by the following files:\n- cabal.project\n- cabal.project.freeze\n- cabal.project.local\nWarning: this is a debug build of cabal-install with assertions enabled.\nWarning: this is a debug build of cabal-install with assertions enabled.\nwhen making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]\n    Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.\n\n","","Process Environment:","HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1","HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib"]}]
2025-05-12T10:31:21.401347Z | Info | Cradle path: src/Kitty/KeyboardProtocol/State.hs
2025-05-12T10:31:21.401426Z | Warning | No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/Kitty/KeyboardProtocol/State.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.
2025-05-12T10:31:21.401719Z | Debug | Cradle: Cradle{ cradleRootDir = "/home/tchoutri/Projects/kitty-keyboard-protocol", cradleOptsProg = CradleAction: Cabal}
2025-05-12T10:31:21.401758Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache)
2025-05-12T10:31:21.401793Z | Debug | Requested to load Cabal cradle using single file mode
2025-05-12T10:31:21.408646Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:     /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/Keys.hs
Hidden:   no
Range:    1:1-2:1
Source:   cradle
Severity: DiagnosticSeverity_Error
Code:     <none>
Message: 
  Failed to parse result of calling cabal
  Failed command: cabal
  --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8
  v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36
  --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72
  /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/Keys.hs
  Build profile: -w ghc-9.10.1 -O1
  In order, the following will be built (use -v for more details):
  - kitty-keyboard-protocol-0.1.0.0 (interactive) (lib) (configuration changed)
  Configuring library for kitty-keyboard-protocol-0.1.0.0...
  Preprocessing library for kitty-keyboard-protocol-0.1.0.0...
  GHCi, version 9.10.1: https://www.haskell.org/ghc/ :? for help
  Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
  [1 of 2] Compiling Kitty.KeyboardProtocol.Keys
  [2 of 2] Compiling Kitty.KeyboardProtocol.State
  Ok, two modules loaded.
  ghci> Leaving GHCi.

  Warning: this is a debug build of cabal-install with assertions enabled.
  Configuration is affected by the following files:
  - cabal.project
  - cabal.project.freeze
  - cabal.project.local
  Warning: this is a debug build of cabal-install with assertions enabled.
  Warning: this is a debug build of cabal-install with assertions enabled.
  when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
  Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass
  -fno-unoptimized-core-for-interpreter to enable this feature.



  Process Environment:
  HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
  HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:21.419759Z | Debug | cabal --numeric-version
2025-05-12T10:31:21.478817Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:21.600460Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:21.661718Z | Debug | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-exec --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 ghc -v0 -- --numeric-version
  Environment Variables
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:21.661909Z | Info | Load cabal cradle using single file
2025-05-12T10:31:21.721706Z | Debug | cabal exec -v0 -- ghc --print-libdir
2025-05-12T10:31:21.832145Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2025-05-12T10:31:21.835054Z | Info | cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/State.hs
  Environment Variables
    HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT129052-2
    HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
    HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:21.843928Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:21.848995Z | Debug | Configuration is affected by the following files:
2025-05-12T10:31:21.849181Z | Debug | - cabal.project
2025-05-12T10:31:21.849285Z | Debug | - cabal.project.freeze
2025-05-12T10:31:21.849335Z | Debug | - cabal.project.local
2025-05-12T10:31:21.861361Z | Debug | Build profile: -w ghc-9.10.1 -O1
2025-05-12T10:31:21.861508Z | Debug | In order, the following will be built (use -v for more details):
2025-05-12T10:31:21.861587Z | Debug |  - kitty-keyboard-protocol-0.1.0.0 (interactive) (lib) (first run)
2025-05-12T10:31:21.866302Z | Debug | Warning: this is a debug build of cabal-install with assertions enabled.
2025-05-12T10:31:21.893711Z | Debug | Preprocessing library for kitty-keyboard-protocol-0.1.0.0...
2025-05-12T10:31:21.923329Z | Debug | when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
2025-05-12T10:31:21.923479Z | Debug |     Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.
2025-05-12T10:31:21.923564Z | Debug | 
2025-05-12T10:31:21.923640Z | Debug | GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
2025-05-12T10:31:22.072586Z | Debug | Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
2025-05-12T10:31:22.080099Z | Debug | [1 of 2] Compiling Kitty.KeyboardProtocol.Keys
2025-05-12T10:31:22.101745Z | Debug | [2 of 2] Compiling Kitty.KeyboardProtocol.State
2025-05-12T10:31:22.102655Z | Debug | Ok, two modules loaded.
2025-05-12T10:31:22.103244Z | Debug | ghci> Leaving GHCi.
2025-05-12T10:31:22.145552Z | Debug | Session loading result: Left [CradleError {cradleErrorDependencies = ["kitty-keyboard-protocol.cabal","cabal.project","cabal.project.local"], cradleErrorExitCode = ExitSuccess, cradleErrorStderr = ["Failed to parse result of calling cabal","Failed command: cabal --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/State.hs","Build profile: -w ghc-9.10.1 -O1\nIn order, the following will be built (use -v for more details):\n - kitty-keyboard-protocol-0.1.0.0 (interactive) (lib) (first run)\nPreprocessing library for kitty-keyboard-protocol-0.1.0.0...\nGHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help\nLoaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci\n[1 of 2] Compiling Kitty.KeyboardProtocol.Keys\n[2 of 2] Compiling Kitty.KeyboardProtocol.State\nOk, two modules loaded.\nghci> Leaving GHCi.\n","Warning: this is a debug build of cabal-install with assertions enabled.\nConfiguration is affected by the following files:\n- cabal.project\n- cabal.project.freeze\n- cabal.project.local\nWarning: this is a debug build of cabal-install with assertions enabled.\nwhen making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]\n    Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.\n\n","","Process Environment:","HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1","HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib"]}]
2025-05-12T10:31:22.146489Z | Info | updateFileDiagnostics published different from new diagnostics - file diagnostics: File:     /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/State.hs
Hidden:   no
Range:    1:1-2:1
Source:   cradle
Severity: DiagnosticSeverity_Error
Code:     <none>
Message: 
  Failed to parse result of calling cabal
  Failed command: cabal
  --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8
  v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36
  --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72
  /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/State.hs
  Build profile: -w ghc-9.10.1 -O1
  In order, the following will be built (use -v for more details):
  - kitty-keyboard-protocol-0.1.0.0 (interactive) (lib) (first run)
  Preprocessing library for kitty-keyboard-protocol-0.1.0.0...
  GHCi, version 9.10.1: https://www.haskell.org/ghc/ :? for help
  Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
  [1 of 2] Compiling Kitty.KeyboardProtocol.Keys
  [2 of 2] Compiling Kitty.KeyboardProtocol.State
  Ok, two modules loaded.
  ghci> Leaving GHCi.

  Warning: this is a debug build of cabal-install with assertions enabled.
  Configuration is affected by the following files:
  - cabal.project
  - cabal.project.freeze
  - cabal.project.local
  Warning: this is a debug build of cabal-install with assertions enabled.
  when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
  Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass
  -fno-unoptimized-core-for-interpreter to enable this feature.



  Process Environment:
  HIE_BIOS_GHC: /home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1
  HIE_BIOS_GHC_ARGS: -B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib
2025-05-12T10:31:22.147074Z | Debug | Finished: User TypeCheck Took: 3.99s
2025-05-12T10:31:22.147530Z | Debug | Finished: GetHie Took: 0.00s
2025-05-12T10:31:22.147973Z | Debug | Finished: GenerateCore Took: 0.00s
Files that failed:
 * /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/Keys.hs
 * /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/State.hs
 * /home/tchoutri/Projects/kitty-keyboard-protocol/test/Main.hs

Completed (0 files worked, 3 files failed)

Activity

  1. added
    type: bug
    on May 12, 2025
  2. tchoutri commented on May 12, 2025

    @tchoutri
    ContributorAuthor

    Note that using cabal-install 3.14.2.0 works perfectly fine.

    Here is a -v3 log of the cabal command run by HLS:

    Details

    ❯ cabal -v3 \
      --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8 \
      v2-repl --with-compiler /home/tchoutri/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 \
      --with-hc-pkg /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 \
      /home/tchoutri/Projects/kitty-keyboard-protocol/src/Kitty/KeyboardProtocol/Keys.hs
    Warning: this is a debug build of cabal-install with assertions enabled.
    Searching for curl in path.
    Found curl at /usr/bin/curl
    Searching for powershell in path.
    Cannot find powershell on the path
    Searching for wget in path.
    Found wget at /usr/bin/wget
    Selected http transport implementation: curl
    File monitor 'config' unchanged.
    Configuration is affected by the following files:
    - cabal.project
    - cabal.project.freeze
    - cabal.project.local
    File monitor 'improved-plan' unchanged.
    PreExisting array-0.5.7.0 (array-0.5.7.0-a226) base-4.20.0.0-8212
    PreExisting base-4.20.0.0 (base-4.20.0.0-8212)
      ghc-internal-9.1001.0-e45b
      ghc-prim-0.11.0-001d
    PreExisting binary-0.8.9.2 (binary-0.8.9.2-5f17)
      array-0.5.7.0-a226
      base-4.20.0.0-8212
      bytestring-0.12.1.0-6739
      containers-0.7-94b0
    PreExisting bytestring-0.12.1.0 (bytestring-0.12.1.0-6739)
      base-4.20.0.0-8212
      deepseq-1.5.0.0-cd1e
      ghc-prim-0.11.0-001d
      template-haskell-2.22.0.0-05e1
    PreExisting containers-0.7 (containers-0.7-94b0)
      array-0.5.7.0-a226
      base-4.20.0.0-8212
      deepseq-1.5.0.0-cd1e
      template-haskell-2.22.0.0-05e1
    PreExisting deepseq-1.5.0.0 (deepseq-1.5.0.0-cd1e)
      array-0.5.7.0-a226
      base-4.20.0.0-8212
      ghc-prim-0.11.0-001d
    PreExisting ghc-bignum-1.3 (ghc-bignum-1.3-477c) ghc-prim-0.11.0-001d
    PreExisting ghc-boot-th-9.10.1 (ghc-boot-th-9.10.1-4aea) base-4.20.0.0-8212
    PreExisting ghc-internal-9.1001.0 (ghc-internal-9.1001.0-e45b)
      ghc-bignum-1.3-477c
      ghc-prim-0.11.0-001d
      rts-1.0.2
    PreExisting ghc-prim-0.11.0 (ghc-prim-0.11.0-001d) rts-1.0.2
    Configured (In Memory) kitty-keyboard-protocol-0.1.0.0 (kitty-keyboard-protocol-0.1.0.0-inplace)
      base-4.20.0.0-8212
      bytestring-0.12.1.0-6739
      containers-0.7-94b0
      parser-regex-0.3.0.0-243e37ae6665df7c52a917dd47a726978dc7f807b2b29590df62f435b9949485
      text-2.1.1-e965
    Installed parser-regex-0.3.0.0 (parser-regex-0.3.0.0-243e37ae6665df7c52a917dd47a726978dc7f807b2b29590df62f435b9949485)
      base-4.20.0.0-8212
      containers-0.7-94b0
      deepseq-1.5.0.0-cd1e
      ghc-bignum-1.3-477c
      primitive-0.9.1.0-2066972c312f495d5b7797b55675c888fd2ce13f617d4d03352c330827ef1497
      text-2.1.1-e965
      transformers-0.6.1.1-0f5f
    PreExisting pretty-1.1.3.6 (pretty-1.1.3.6-104a)
      base-4.20.0.0-8212
      deepseq-1.5.0.0-cd1e
      ghc-prim-0.11.0-001d
    Installed primitive-0.9.1.0 (primitive-0.9.1.0-2066972c312f495d5b7797b55675c888fd2ce13f617d4d03352c330827ef1497)
      base-4.20.0.0-8212
      deepseq-1.5.0.0-cd1e
      template-haskell-2.22.0.0-05e1
      transformers-0.6.1.1-0f5f
    PreExisting rts-1.0.2 (rts-1.0.2)
    PreExisting template-haskell-2.22.0.0 (template-haskell-2.22.0.0-05e1)
      base-4.20.0.0-8212
      ghc-boot-th-9.10.1-4aea
      ghc-prim-0.11.0-001d
      pretty-1.1.3.6-104a
    PreExisting text-2.1.1 (text-2.1.1-e965)
      array-0.5.7.0-a226
      base-4.20.0.0-8212
      binary-0.8.9.2-5f17
      bytestring-0.12.1.0-6739
      deepseq-1.5.0.0-cd1e
      ghc-prim-0.11.0-001d
      template-haskell-2.22.0.0-05e1
    PreExisting transformers-0.6.1.1 (transformers-0.6.1.1-0f5f) base-4.20.0.0-8212
    Build profile: -w ghc-9.10.1 -O1
    In order, the following will be built:
     - kitty-keyboard-protocol-0.1.0.0-inplace (interactive) (lib) (first run)
    Executing install plan in parallel using Just 16 threads.
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/tmp
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/cache
    whenReRegister: nothing to register
    Using self-exec internal setup method with build-type Simple and args:
    ["act-as-setup","--build-type=Simple","--","--working-dir=/home/tchoutri/Projects/kitty-keyboard-protocol/.","repl","--verbose=3","--builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0","lib:kitty-keyboard-protocol"]
    /home/tchoutri/.ghcup/bin/cabal-head act-as-setup --build-type=Simple --
    --working-dir=/home/tchoutri/Projects/kitty-keyboard-protocol/. repl
    --verbose=3
    --builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0
    lib:kitty-keyboard-protocol
    Including the following environment variable overrides:
    -
    kitty_keyboard_protocol_datadir=/home/tchoutri/Projects/kitty-keyboard-protocol/./.
    Running: /home/tchoutri/.ghcup/bin/cabal-head act-as-setup '--build-type=Simple' -- '--working-dir=/home/tchoutri/Projects/kitty-keyboard-protocol/.' repl '--verbose=3' '--builddir=/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0' 'lib:kitty-keyboard-protocol'
    with environment: [("BLUE","%{\ESC[1;34m%}"),("COLORTERM","truecolor"),("CYAN","%{\ESC[1;36m%}"),("DBUS_SESSION_BUS_ADDRESS","unix:path=/run/user/1000/bus"),("DEBUGINFOD_IMA_CERT_PATH","/etc/keys/ima:"),("DEBUGINFOD_URLS","https://debuginfod.fedoraproject.org/ "),("DESKTOP_SESSION","plasma"),("DISPLAY",":0"),("DOCKER_BUILDKIT","1"),("EDITOR","nvim"),("EMSDK_QUIET","1"),("GDK_CORE_DEVICE_EVENTS","1"),("GGG","%{\ESC[40;01;33m%}"),("GPG_TTY","/dev/pts/1"),("GREEN","%{\ESC[1;32m%}"),("GTK2_RC_FILES","/home/tchoutri/.gtkrc-2.0-kde4"),("GTK_RC_FILES","/etc/gtk/gtkrc:/home/tchoutri/.gtkrc:/home/tchoutri/.config/gtkrc"),("HASKELL_DIST_DIR","/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0"),("HIE_BIOS_GHC","/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1"),("HIE_BIOS_GHC_ARGS","-B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib"),("HISTCONTROL","ignoredups"),("HISTSIZE","150000"),("HISTTIMEFORMAT","%F %T "),("HOME","/home/tchoutri"),("HOSTNAME","tinnit"),("ICEAUTHORITY","/run/user/1000/iceauth_SygMhT"),("IMSETTINGS_INTEGRATE_DESKTOP","yes"),("IMSETTINGS_MODULE","none"),("INVOCATION_ID","90f48e6942b8443e9bfa48e1784ab973"),("JOURNAL_STREAM","9:6785"),("KDEDIRS","/usr"),("KDE_APPLICATIONS_AS_SCOPE","1"),("KDE_FULL_SESSION","true"),("KDE_SESSION_UID","1000"),("KDE_SESSION_VERSION","6"),("KGLOBALACCELD_PLATFORM","org.kde.kwin"),("KITTY_INSTALLATION_DIR","/usr/lib64/kitty"),("KITTY_PID","138971"),("KITTY_PUBLIC_KEY","1:%y1XDL2xQy!Y1I&T^XXY=uoD&w7<ZcF4TkVpkCvA"),("KITTY_WINDOW_ID","1"),("LANG","fr_FR.UTF-8"),("LANGUAGE","fr_FR.UTF-8"),("LC_COLLATE","fr_FR.UTF-8"),("LC_CTYPE","fr_FR.UTF-8"),("LC_MESSAGES","C"),("LC_MONETARY","fr_FR.UTF-8"),("LC_NUMERIC","fr_FR.UTF-8"),("LC_TIME","fr_FR.UTF-8"),("LESSOPEN","||/usr/bin/lesspipe.sh %s"),("LOGNAME","tchoutri"),("LS_COLORS","rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:"),("MAIL","/var/spool/mail/tchoutri"),("MANAGERPID","3205"),("MANPAGER","nvim +Man!"),("MANPATH","/home/tchoutri/.local/share/man:/home/tchoutri/.local/share/man:"),("MEMORY_PRESSURE_WATCH","/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/plasma-kwin_wayland.service/memory.pressure"),("MEMORY_PRESSURE_WRITE","c29tZSAyMDAwMDAgMjAwMDAwMAA="),("MISE_SHELL","zsh"),("MOZ_GMP_PATH","/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed"),("NC","\\e[0m"),("NVM_DIR","/home/tchoutri/.config/nvm"),("OLDPWD","/home/tchoutri"),("PAGER","less -FRS"),("PAM_KWALLET5_LOGIN","/run/user/1000/kwallet5.socket"),("PATH","/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"),("PURPLE","%{\ESC[1;35m%}"),("PWD","/home/tchoutri/Projects/kitty-keyboard-protocol"),("QT_AUTO_SCREEN_SCALE_FACTOR","0"),("QT_WAYLAND_RECONNECT","1"),("RED","%{\ESC[1;31m%}"),("RIPGREP_CONFIG_PATH","/home/tchoutri/.config/ripgreprc"),("SESSION_MANAGER","local/unix:@/tmp/.ICE-unix/3680,unix/unix:/tmp/.ICE-unix/3680"),("SHELL","/usr/bin/zsh"),("SHLVL","1"),("SSH_ASKPASS","/usr/bin/ksshaskpass"),("SSH_AUTH_SOCK","/run/user/1000/ssh-agent.socket"),("STARSHIP_SESSION_KEY","1948029561580823"),("STARSHIP_SHELL","zsh"),("SYSTEMD_EXEC_PID","3491"),("SYSTEMD_SLEEP_FREEZE_USER_SESSIONS","0"),("TERM","xterm-256color"),("TERMINFO","/usr/lib64/kitty/terminfo"),("USER","tchoutri"),("WAYLAND_DISPLAY","wayland-0"),("WHITE","%{\ESC[1;37m%}"),("XAUTHORITY","/run/user/1000/xauth_JuugFF"),("XDG_CONFIG_DIRS","/home/tchoutri/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg"),("XDG_CONFIG_HOME","/home/tchoutri/.config"),("XDG_CURRENT_DESKTOP","KDE"),("XDG_DATA_DIRS","/home/tchoutri/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share"),("XDG_DATA_HOME","/home/tchoutri/.local/share"),("XDG_MENU_PREFIX","plasma-"),("XDG_RUNTIME_DIR","/run/user/1000"),("XDG_SEAT","seat0"),("XDG_SEAT_PATH","/org/freedesktop/DisplayManager/Seat0"),("XDG_SESSION_CLASS","user"),("XDG_SESSION_DESKTOP","KDE"),("XDG_SESSION_ID","2"),("XDG_SESSION_PATH","/org/freedesktop/DisplayManager/Session1"),("XDG_SESSION_TYPE","wayland"),("XDG_VTNR","2"),("XKB_DEFAULT_LAYOUT","fr"),("XKB_DEFAULT_MODEL","microsoftpro"),("XKB_DEFAULT_OPTIONS","terminate:ctrl_alt_bksp"),("XKB_DEFAULT_VARIANT","oss"),("XMODIFIERS","@im=none"),("YELLOW","%{\ESC[1;33m%}"),("_","/home/tchoutri/.ghcup/bin/cabal"),("__MISE_DIFF","eAFrXpyfk9KwOC+1vGFJQWJJxgQASssINA"),("__MISE_ORIG_PATH","/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"),("__MISE_SESSION","eAFrX5OTn5iSmhJfkp+fUzxhHZSXnJ+XlplePGENhBFfkFiSUTxhcWpeWcPilMyim/r6Gfm5qfolyRn5pSVFmfoBRflZqcklxfrZmSUllbrZqZVJ+YlFKboFRfkl+cn5OWtS88riyxKL4jMSizM2pCWbGRiYJhslJ5ubpRmbG67NSSxJLS6JLy1ISSxJPSLAAAeM045I3NgBAHO+QEY"),("blue","%{\ESC[0;34m%}"),("cyan","%{\ESC[0;36m%}"),("green","%{\ESC[0;32m%}"),("kitty_keyboard_protocol_datadir","/home/tchoutri/Projects/kitty-keyboard-protocol/./."),("purple","%{\ESC[0;35m%}"),("red","%{\ESC[0;31m%}"),("white","%{\ESC[0;37m%}"),("yellow","%{\ESC[0;33m%}")]
    with working directory: "/home/tchoutri/Projects/kitty-keyboard-protocol/."
    Warning: this is a debug build of cabal-install with assertions enabled.
    Component build order: library
    Running: /home/tchoutri/.cache/hie-bios/ghc-pkg-8fae37528692e63199f77bd1a20e5f72 init /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/package.conf.inplace -v2
    with environment: [("BLUE","%{\ESC[1;34m%}"),("COLORTERM","truecolor"),("CYAN","%{\ESC[1;36m%}"),("DBUS_SESSION_BUS_ADDRESS","unix:path=/run/user/1000/bus"),("DEBUGINFOD_IMA_CERT_PATH","/etc/keys/ima:"),("DEBUGINFOD_URLS","https://debuginfod.fedoraproject.org/ "),("DESKTOP_SESSION","plasma"),("DISPLAY",":0"),("DOCKER_BUILDKIT","1"),("EDITOR","nvim"),("EMSDK_QUIET","1"),("GDK_CORE_DEVICE_EVENTS","1"),("GGG","%{\ESC[40;01;33m%}"),("GPG_TTY","/dev/pts/1"),("GREEN","%{\ESC[1;32m%}"),("GTK2_RC_FILES","/home/tchoutri/.gtkrc-2.0-kde4"),("GTK_RC_FILES","/etc/gtk/gtkrc:/home/tchoutri/.gtkrc:/home/tchoutri/.config/gtkrc"),("HASKELL_DIST_DIR","/home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0"),("HIE_BIOS_GHC","/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/bin/ghc-9.10.1"),("HIE_BIOS_GHC_ARGS","-B/home/tchoutri/.ghcup/ghc/9.10.1/lib/ghc-9.10.1/lib"),("HISTCONTROL","ignoredups"),("HISTSIZE","150000"),("HISTTIMEFORMAT","%F %T "),("HOME","/home/tchoutri"),("HOSTNAME","tinnit"),("ICEAUTHORITY","/run/user/1000/iceauth_SygMhT"),("IMSETTINGS_INTEGRATE_DESKTOP","yes"),("IMSETTINGS_MODULE","none"),("INVOCATION_ID","90f48e6942b8443e9bfa48e1784ab973"),("JOURNAL_STREAM","9:6785"),("KDEDIRS","/usr"),("KDE_APPLICATIONS_AS_SCOPE","1"),("KDE_FULL_SESSION","true"),("KDE_SESSION_UID","1000"),("KDE_SESSION_VERSION","6"),("KGLOBALACCELD_PLATFORM","org.kde.kwin"),("KITTY_INSTALLATION_DIR","/usr/lib64/kitty"),("KITTY_PID","138971"),("KITTY_PUBLIC_KEY","1:%y1XDL2xQy!Y1I&T^XXY=uoD&w7<ZcF4TkVpkCvA"),("KITTY_WINDOW_ID","1"),("LANG","fr_FR.UTF-8"),("LANGUAGE","fr_FR.UTF-8"),("LC_COLLATE","fr_FR.UTF-8"),("LC_CTYPE","fr_FR.UTF-8"),("LC_MESSAGES","C"),("LC_MONETARY","fr_FR.UTF-8"),("LC_NUMERIC","fr_FR.UTF-8"),("LC_TIME","fr_FR.UTF-8"),("LESSOPEN","||/usr/bin/lesspipe.sh %s"),("LOGNAME","tchoutri"),("LS_COLORS","rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:"),("MAIL","/var/spool/mail/tchoutri"),("MANAGERPID","3205"),("MANPAGER","nvim +Man!"),("MANPATH","/home/tchoutri/.local/share/man:/home/tchoutri/.local/share/man:"),("MEMORY_PRESSURE_WATCH","/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/plasma-kwin_wayland.service/memory.pressure"),("MEMORY_PRESSURE_WRITE","c29tZSAyMDAwMDAgMjAwMDAwMAA="),("MISE_SHELL","zsh"),("MOZ_GMP_PATH","/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed"),("NC","\\e[0m"),("NVM_DIR","/home/tchoutri/.config/nvm"),("OLDPWD","/home/tchoutri"),("PAGER","less -FRS"),("PAM_KWALLET5_LOGIN","/run/user/1000/kwallet5.socket"),("PATH","/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"),("PURPLE","%{\ESC[1;35m%}"),("PWD","/home/tchoutri/Projects/kitty-keyboard-protocol"),("QT_AUTO_SCREEN_SCALE_FACTOR","0"),("QT_WAYLAND_RECONNECT","1"),("RED","%{\ESC[1;31m%}"),("RIPGREP_CONFIG_PATH","/home/tchoutri/.config/ripgreprc"),("SESSION_MANAGER","local/unix:@/tmp/.ICE-unix/3680,unix/unix:/tmp/.ICE-unix/3680"),("SHELL","/usr/bin/zsh"),("SHLVL","1"),("SSH_ASKPASS","/usr/bin/ksshaskpass"),("SSH_AUTH_SOCK","/run/user/1000/ssh-agent.socket"),("STARSHIP_SESSION_KEY","1948029561580823"),("STARSHIP_SHELL","zsh"),("SYSTEMD_EXEC_PID","3491"),("SYSTEMD_SLEEP_FREEZE_USER_SESSIONS","0"),("TERM","xterm-256color"),("TERMINFO","/usr/lib64/kitty/terminfo"),("USER","tchoutri"),("WAYLAND_DISPLAY","wayland-0"),("WHITE","%{\ESC[1;37m%}"),("XAUTHORITY","/run/user/1000/xauth_JuugFF"),("XDG_CONFIG_DIRS","/home/tchoutri/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg"),("XDG_CONFIG_HOME","/home/tchoutri/.config"),("XDG_CURRENT_DESKTOP","KDE"),("XDG_DATA_DIRS","/home/tchoutri/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share"),("XDG_DATA_HOME","/home/tchoutri/.local/share"),("XDG_MENU_PREFIX","plasma-"),("XDG_RUNTIME_DIR","/run/user/1000"),("XDG_SEAT","seat0"),("XDG_SEAT_PATH","/org/freedesktop/DisplayManager/Seat0"),("XDG_SESSION_CLASS","user"),("XDG_SESSION_DESKTOP","KDE"),("XDG_SESSION_ID","2"),("XDG_SESSION_PATH","/org/freedesktop/DisplayManager/Session1"),("XDG_SESSION_TYPE","wayland"),("XDG_VTNR","2"),("XKB_DEFAULT_LAYOUT","fr"),("XKB_DEFAULT_MODEL","microsoftpro"),("XKB_DEFAULT_OPTIONS","terminate:ctrl_alt_bksp"),("XKB_DEFAULT_VARIANT","oss"),("XMODIFIERS","@im=none"),("YELLOW","%{\ESC[1;33m%}"),("_","/home/tchoutri/.ghcup/bin/cabal"),("__MISE_DIFF","eAFrXpyfk9KwOC+1vGFJQWJJxgQASssINA"),("__MISE_ORIG_PATH","/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/home/tchoutri/.dprint/bin:/home/tchoutri/.local/bin:/usr/pgsql-14/bin:/home/tchoutri/.cabal/bin:/home/tchoutri/.ghcup/bin:/home/tchoutri/node_modules/.bin:/home/tchoutri/bin:/home/tchoutri/.elan/bin:/home/tchoutri/.cargo/bin:/home/tchoutri/crosscompile/ct-ng/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"),("__MISE_SESSION","eAFrX5OTn5iSmhJfkp+fUzxhHZSXnJ+XlplePGENhBFfkFiSUTxhcWpeWcPilMyim/r6Gfm5qfolyRn5pSVFmfoBRflZqcklxfrZmSUllbrZqZVJ+YlFKboFRfkl+cn5OWtS88riyxKL4jMSizM2pCWbGRiYJhslJ5ubpRmbG67NSSxJLS6JLy1ISSxJPSLAAAeM045I3NgBAHO+QEY"),("blue","%{\ESC[0;34m%}"),("cyan","%{\ESC[0;36m%}"),("green","%{\ESC[0;32m%}"),("kitty_keyboard_protocol_datadir","/home/tchoutri/Projects/kitty-keyboard-protocol/./."),("purple","%{\ESC[0;35m%}"),("red","%{\ESC[0;31m%}"),("white","%{\ESC[0;37m%}"),("yellow","%{\ESC[0;33m%}")]
    GHC package manager version 9.10.1
    writing cache /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/package.conf.inplace/package.cache
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build/autogen
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build/autogen
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build/autogen
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build/autogen
    Preprocessing library for kitty-keyboard-protocol-0.1.0.0...
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build
    creating
    /home/tchoutri/.cache/hie-bios/dist-kitty-keyboard-protocol-1388541a692403313ef229670782cab8/build/x86_64-linux/ghc-9.10.1/kitty-keyboard-protocol-0.1.0.0/build
    Wanted module build ways(library): [DynWay,StaticWay]
    Final module build ways(library): [DynWay,StaticWay]
    when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags]
        Ignoring optimization flags since they are experimental for the byte-code interpreter. Pass -fno-unoptimized-core-for-interpreter to enable this feature.
    
    GHCi, version 9.10.1: https://www.haskell.org/ghc/  :? for help
    Loaded GHCi configuration from /home/tchoutri/Dotfiles/ghci/ghci
    [1 of 2] Compiling Kitty.KeyboardProtocol.Keys
    [2 of 2] Compiling Kitty.KeyboardProtocol.State
    Ok, two modules loaded.
    ghci> 
    

  3. fendor commented on May 12, 2025

    @fendor
    Collaborator

    This looks like it is either some cabal bug, or a change in cabal broke our hie-bios code.

  4. tchoutri commented on May 12, 2025

    @tchoutri
    ContributorAuthor

    Edit: It would appear that starting with 3.15.0.0, response files are used, and as such the hie-bios wrapper expecting --interactive only gets something like @/tmp/ghc152255-0.rsp. If HLS has a way to pass --disable-response-files when using cabal, or supporting them, that would be grand.

  5. fendor commented on May 12, 2025

    @fendor
    Collaborator

    Upstream issue: haskell/cabal#10915

    Requires changes to hie-bios

  6. fendor commented on Jul 4, 2025

    @fendor
    Collaborator

    We cannot fix this in hie-bios directly, as we do not want to expand the response files right away. So, this needs to be fixed in HLS.

  7. self-assigned this
    on Jul 4, 2025
  8. added a commit that references this issue on Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

build tool: cabalcomponent: hie-biostype: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions