Parse exceptions during reloads #366
Draft
Garnix CI / package ghciwatch-tests [aarch64-darwin]
failed
May 27, 2025 in 16m 10s
Run results
Build failed
Details
Last 100 lines of logs:
DEBUG Shutdown requested
in wait_for_shutdown
DEBUG close
in run_watcher
DEBUG All tasks finished
in wait_for_shutdown
DEBUG new
in cancel_tasks
in wait_for_shutdown
DEBUG Task completed successfully task="run_watcher"
DEBUG Task is finished task="run_ghci"
in cancel_tasks
in wait_for_shutdown
DEBUG Task is finished task="run_watcher"
in cancel_tasks
in wait_for_shutdown
DEBUG close
in cancel_tasks
in wait_for_shutdown
DEBUG new
in check_task_failures
in wait_for_shutdown
DEBUG close
in check_task_failures
DEBUG close
in wait_for_shutdown
DEBUG main() finished
Error: × Tasks failed:
│ • run_ghci: Failed to start `ghci`
thread 'can_shutdown_gracefully_966' panicked at tests/shutdown.rs:14:10:
ghciwatch starts: × ghciwatch exited: exit status: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Wrote logs to /private/tmp/nix-build-ghciwatch-nextest-1.1.5.drv-0/source/target/tmp/test_harness-internal-can_shutdown_gracefully_966.json
TRY 4 FAIL [ 0.287s] ghciwatch::shutdown can_shutdown_gracefully_984
---- TRY 4 STDOUT: ghciwatch::shutdown can_shutdown_gracefully_984
running 1 test
2025-05-27T17:04:42.351031Z INFO can_shutdown_gracefully_984: test_harness::ghciwatch: Copying project files
2025-05-27T17:04:42.352274Z INFO can_shutdown_gracefully_984: test_harness::ghciwatch: Starting ghciwatch
2025-05-27T17:04:42.352301Z INFO can_shutdown_gracefully_984: test_harness::ghciwatch: Starting ghciwatch
2025-05-27T17:04:42.352606Z DEBUG can_shutdown_gracefully_984:wait_for_path{self=Fs { sleep_duration: None } duration=10s path="/private/tmp/nix-build-ghciwatch-nextest-1.1.5.drv-0/.tmpfMUW7h/ghciwatch.json"}: test_harness::fs: Waiting 579.433819ms before retrying
2025-05-27T17:04:42.515416Z INFO can_shutdown_gracefully_984: test_harness::internal: No `ghciwatch` process found, skipping cleanup: GHCIWATCH_PROCESS is not set; have you constructed a `GhciWatch`?
test can_shutdown_gracefully_984 ... FAILED
failures:
failures:
can_shutdown_gracefully_984
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 7 filtered out; finished in 0.27s
DEBUG new
in run_ghci
DEBUG new
in status
in status{self=hpack --force .}
in before_startup_shell
in ghci
in run_ghci
• $ hpack --force .
in status
in status{self=hpack --force .}
in before_startup_shell
in ghci
in run_ghci
DEBUG notify watcher started
in run_watcher
DEBUG hpack finished successfully
Stdout: generated ./my-simple-package.cabal
in status
in status{self=hpack --force .}
in before_startup_shell
in ghci
in run_ghci
DEBUG close
in status
in status{self=hpack --force .}
in before_startup_shell
in ghci
in run_ghci
DEBUG close
in status{self=hpack --force .}
in before_startup_shell
in ghci
in run_ghci
DEBUG Task failed: × Failed to start `ghci`
├─▶ Failed to start make ghci 'GHC=ghc-9.8.4' 'EXTRA_GHC_OPTS='
│ 'CABAL_OPTS='
╰─▶ No such file or directory (os error 2)
task="run_ghci"
DEBUG Task errored, requesting shutdown task="run_ghci"
Loading