Parse exceptions during reloads #366
Draft
Garnix CI / check ghciwatch-nextest [aarch64-darwin]
failed
May 27, 2025 in 12m 35s
Run results
Build failed
Details
Last 100 lines of logs:
DEBUG Module failed to compile
path=src/MyModule.hs
error="\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n"
in parse_into_log
in stdout_initialize
in initialize
in run_ghci
DEBUG close
in parse_into_log
in stdout_initialize
in initialize
in run_ghci
DEBUG close
in stdout_initialize
in initialize
in run_ghci
DEBUG new
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG new
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG new
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG Read line line="Failed, no modules loaded."
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG Got data from ghci bytes=27
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG new
in parse_into_log
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG new
in get_buffer
in stderr
DEBUG Drained stderr buffer in 53.13ms
in get_buffer
in stderr
DEBUG close
in get_buffer
in stderr
DEBUG Compilation failed
in parse_into_log
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG close
in parse_into_log
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG close
in prompt
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG close
in write_line_with_prompt_at{line=":set prompt ###~GHCIWATCH-PROMPT~###\n" find=Anywhere log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG new
in write_line_with_prompt_at{line=":set prompt-cont ###~GHCIWATCH-PROMPT~###\n" find=LineStart log=CompilationLog { summary: Some(CompilationSummary { result: Err, modules_loaded: Count(0) }), diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG new
in prompt
in write_line_with_prompt_at{line=":set prompt-cont ###~GHCIWATCH-PROMPT~###\n" find=LineStart log=CompilationLog { summary: Some(CompilationSummary { result: Err, modules_loaded: Count(0) }), diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
in run_ghci
DEBUG Got data from ghci bytes=0
in prompt
in write_line_with_prompt_at{line=":set prompt-cont ###~GHCIWATCH-PROMPT~###\n" find=LineStart log=CompilationLog { summary: Some(CompilationSummary { result: Err, modules_loaded: Count(0) }), diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in stdin_initialize{log=CompilationLog { summary: None, diagnostics: [GhcDiagnostic { severity: Error, path: Some("src/MyModule.hs"), span: PositionRange { start: Position { line: 1, column: 1 }, end: Position { line: 1, column: 1 } }, message: "\n `false' failed in phase `Haskell pre-processor'. (Exit code: 1)\n |\n1 | {-# OPTIONS_GHC -F -pgmF false #-}\n | ^\n" }] }}
in initialize
Loading