Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handling of user interrupts (fixes #299) #349

Merged
merged 1 commit into from
Nov 7, 2023

Better handling of user interrupts (fixes #299)

31b9242
Select commit
Loading
Failed to load commit list.
Merged

Better handling of user interrupts (fixes #299) #349

Better handling of user interrupts (fixes #299)
31b9242
Select commit
Loading
Failed to load commit list.
Garnix CI / package garnHaskellPackage [aarch64-darwin] succeeded Nov 7, 2023 in 1m 9s

Run results

Build succeeded

Details

Last 100 lines of logs:

[15 of 21] Compiling InitSpec         ( test/spec/InitSpec.hs, dist/build/spec/spec-tmp/InitSpec.o, dist/build/spec/spec-tmp/InitSpec.dyn_o )
[16 of 21] Compiling GarnSpec         ( test/spec/GarnSpec.hs, dist/build/spec/spec-tmp/GarnSpec.o, dist/build/spec/spec-tmp/GarnSpec.dyn_o )
[17 of 21] Compiling ExampleSpec      ( test/spec/ExampleSpec.hs, dist/build/spec/spec-tmp/ExampleSpec.o, dist/build/spec/spec-tmp/ExampleSpec.dyn_o )
[18 of 21] Compiling EnterSpec        ( test/spec/EnterSpec.hs, dist/build/spec/spec-tmp/EnterSpec.o, dist/build/spec/spec-tmp/EnterSpec.dyn_o )
[19 of 21] Compiling CheckSpec        ( test/spec/CheckSpec.hs, dist/build/spec/spec-tmp/CheckSpec.o, dist/build/spec/spec-tmp/CheckSpec.dyn_o )
[20 of 21] Compiling BuildSpec        ( test/spec/BuildSpec.hs, dist/build/spec/spec-tmp/BuildSpec.o, dist/build/spec/spec-tmp/BuildSpec.dyn_o )
[21 of 21] Compiling Main             ( test/spec/Spec.hs, dist/build/spec/spec-tmp/Main.o )
[22 of 22] Linking dist/build/spec/spec
haddockPhase
Preprocessing library for garn-0.1.0.0..
Running Haddock on library for garn-0.1.0.0..
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: attoparsec-0.14.4,
attoparsec-0.14.4
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
  25% (  1 /  4) in 'Garn.Common'
  Missing documentation for:
    Module header
    nixArgs (src/Garn/Common.hs:10)
    currentSystem (src/Garn/Common.hs:17)
   0% (  0 /  3) in 'Garn.CodeGen'
  Missing documentation for:
    Module header
    run (src/Garn/CodeGen.hs:24)
    fromToplevelDerivation (src/Garn/CodeGen.hs:38)
   0% (  0 /  2) in 'Garn.Errors'
  Missing documentation for:
    Module header
    UserError (src/Garn/Errors.hs:5)
   0% (  0 / 16) in 'Garn.GarnConfig'
  Missing documentation for:
    Module header
    DenoOutput (src/Garn/GarnConfig.hs:33)
    Version (src/Garn/GarnConfig.hs:50)
    GarnConfig (src/Garn/GarnConfig.hs:53)
    TargetName (src/Garn/GarnConfig.hs:59)
    fromUserFacing (src/Garn/GarnConfig.hs:63)
    asUserFacing (src/Garn/GarnConfig.hs:69)
    Targets (src/Garn/GarnConfig.hs:75)
    TargetConfig (src/Garn/GarnConfig.hs:77)
    ProjectTarget (src/Garn/GarnConfig.hs:82)
    ExecutableTarget (src/Garn/GarnConfig.hs:90)
    getDescription (src/Garn/GarnConfig.hs:103)
    readGarnConfig (src/Garn/GarnConfig.hs:108)
    OnlyTsLibVersion (src/Garn/GarnConfig.hs:148)
    writeGarnConfig (src/Garn/GarnConfig.hs:154)
    checkGarnFileExists (src/Garn/GarnConfig.hs:160)
   0% (  0 /  2) in 'Garn.ImportVersion'
  Missing documentation for:
    Module header
    garnVersionSplice (src/Garn/ImportVersion.hs:13)
   0% (  0 /  2) in 'Garn.Init'
  Missing documentation for:
    Module header
    initGarnTs (src/Garn/Init.hs:5)
   0% (  0 /  3) in 'Garn.Utils'
  Missing documentation for:
    Module header
    dbg (src/Garn/Utils.hs:10)
    garnVersion (src/Garn/Utils.hs:13)
   0% (  0 /  8) in 'Garn.Optparse'
  Missing documentation for:
    Module header
    getOpts (src/Garn/Optparse.hs:22)
    Options (src/Garn/Optparse.hs:58)
    OptionType (src/Garn/Optparse.hs:53)
    WithGarnTsCommand (src/Garn/Optparse.hs:65)
    WithoutGarnTsCommand (src/Garn/Optparse.hs:62)
    CommandOptions (src/Garn/Optparse.hs:135)
    CheckCommandOptions (src/Garn/Optparse.hs:157)
   0% (  0 /  3) in 'Garn'
  Missing documentation for:
    Module header
    Env (src/Garn.hs:22)
    run (src/Garn.hs:28)
Documentation created: dist/doc/html/garn/index.html,
dist/doc/html/garn/garn.txt
Preprocessing executable 'garn' for garn-0.1.0.0..
Preprocessing executable 'codegen' for garn-0.1.0.0..
Preprocessing test suite 'spec' for garn-0.1.0.0..
installing
Installing library in /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/lib/ghc-9.4.7/aarch64-osx-ghc-9.4.7/garn-0.1.0.0-JWtQiRUa2UiC9RrzbFLCRc
Installing executable garn in /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin
Warning: The directory
/nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin is not in the
system search path.
/nix/store/x5bm27csww06snmzrsqhxfzl0i8mad5c-cctools-binutils-darwin-11.1.0-973.0.1/bin/strip: warning: changes being made to the file will invalidate the code signature in: /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin/garn
Installing executable codegen in /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin
Warning: The directory
/nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin is not in the
system search path.
/nix/store/x5bm27csww06snmzrsqhxfzl0i8mad5c-cctools-binutils-darwin-11.1.0-973.0.1/bin/strip: warning: changes being made to the file will invalidate the code signature in: /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin/codegen
post-installation fixup
checking for references to /private/tmp/nix-build-garn-0.1.0.0.drv-0/ in /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0...
patching script interpreter paths in /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0
stripping (with command strip and flags -S) in  /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/lib /nix/store/xzhdaxhxx9kqajvgwcw13s7w779slzqf-garn-0.1.0.0/bin
checking for references to /private/tmp/nix-build-garn-0.1.0.0.drv-0/ in /nix/store/c239mjqc2s6zysw07hns6f41rajv1mww-garn-0.1.0.0-data...
patching script interpreter paths in /nix/store/c239mjqc2s6zysw07hns6f41rajv1mww-garn-0.1.0.0-data
checking for references to /private/tmp/nix-build-garn-0.1.0.0.drv-0/ in /nix/store/vcias5n90gf04r9qvk0qka5mk6cm3f6b-garn-0.1.0.0-doc...
patching script interpreter paths in /nix/store/vcias5n90gf04r9qvk0qka5mk6cm3f6b-garn-0.1.0.0-doc