$ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://github.com/NorfairKing/hatrace?ref=your-first-flake&rev=42f2702f07cb916df5a000f8c3696a16c70dcb97#packages.x86_64-linux.hatrace --print-build-logs  Downloading cached glibc-2.42-61-static from https://cache.staging.nix-ci.com Downloading cached HUnit-1.6.2.0-doc from https://cache.staging.nix-ci.com Downloading cached haskell-lexer-1.2.1-doc from https://cache.staging.nix-ci.com Downloading cached hspec-discover-2.11.17-doc from https://cache.staging.nix-ci.com Progress: 0 of 3 built, 1 of 15 downloaded from cache (3 downloading) Downloading cached hspec-discover from https://cache.staging.nix-ci.com Progress: 0 of 3 built, 2 of 15 downloaded from cache (3 downloading) Downloading cached haskell-lexer from https://cache.staging.nix-ci.com Progress: 0 of 3 built, 3 of 15 downloaded from cache (3 downloading) Downloading cached HUnit from https://cache.staging.nix-ci.com Downloading cached hspec-expectations-0.8.4-doc from https://cache.staging.nix-ci.com Downloading cached quickcheck-io-0.2.0-doc from https://cache.staging.nix-ci.com Progress: 0 of 3 built, 4 of 15 downloaded from cache (5 downloading) Progress: 0 of 3 built, 5 of 15 downloaded from cache (4 downloading) Progress: 0 of 2 built, 6 of 15 downloaded from cache (3 downloading) Downloading cached hspec-core-2.11.17-doc from https://cache.staging.nix-ci.com Progress: 0 of 2 built, 7 of 15 downloaded from cache (3 downloading) Progress: 0 of 2 built, 8 of 15 downloaded from cache (2 downloading) Downloading cached hspec-expectations from https://cache.staging.nix-ci.com Downloading cached quickcheck-io from https://cache.staging.nix-ci.com Progress: 0 of 2 built, 9 of 15 downloaded from cache (3 downloading) Progress: 0 of 2 built, 10 of 15 downloaded from cache (2 downloading) Progress: 0 of 2 built, 11 of 15 downloaded from cache (1 downloading) Downloading cached hspec-2.11.17-doc from https://cache.staging.nix-ci.com Progress: 0 of 2 built, 12 of 15 downloaded from cache (1 downloading) Downloading cached hspec-core from https://cache.staging.nix-ci.com Progress: 0 of 2 built, 13 of 15 downloaded from cache (1 downloading) Progress: 0 of 2 built, 14 of 15 downloaded from cache Downloading cached hspec from https://cache.staging.nix-ci.com Progress: 0 of 2 built, 15 of 15 downloaded from cache Building hatrace [hatrace] Phase: setupCompilerEnvironmentPhase [hatrace] Build with /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3. [hatrace] Phase: unpackPhase [hatrace] unpacking source archive /nix/store/2qmjzdkjwdw685dzl75dd3p4ly7hynxa-hatrace-source [hatrace] source root is hatrace-source [hatrace] Phase: patchPhase [hatrace] Phase: compileBuildDriverPhase [hatrace] setupCompileFlags: -package-db=/build/tmp.9gV4hzP2hM/setup-package.conf.d -threaded [hatrace] [1 of 2] Compiling Main ( Setup.hs, /build/tmp.9gV4hzP2hM/Main.o ) [hatrace] [2 of 2] Linking Setup [hatrace] Phase: updateAutotoolsGnuConfigScriptsPhase [hatrace] Phase: configurePhase [hatrace] configureFlags: --verbose --prefix=/nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --with-gcc=gcc --package-db=/build/tmp.9gV4hzP2hM/package.conf.d --ghc-option=-j16 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-Wno-incomplete-uni-patterns --extra-lib-dirs=/nix/store/2iaawa9vbqas51lgpn4cjnnfdv74x8fn-ncurses-6.6/lib --extra-lib-dirs=/nix/store/hyai3q7gvdfppw4ky7s2mvhxvfyp5bh7-libffi-3.5.2/lib --extra-lib-dirs=/nix/store/qph045w6z4ss6l0awl1sh228gdx98xns-elfutils-0.194/lib --extra-lib-dirs=/nix/store/1agm3iac17cykdmabxck60vwk5sjk4wc-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/8xlwd35bpmj7n6bzjwfnr6vidpwicjdd-numactl-2.0.18/lib [hatrace] Using Parsec parser [hatrace] Configuring hatrace-0.1.0.0... [hatrace] Dependency aeson: using aeson-2.2.3.0 [hatrace] Dependency base >=4.7 && <5: using base-4.20.2.0 [hatrace] Dependency bytestring: using bytestring-0.12.2.0 [hatrace] Dependency conduit: using conduit-1.3.6.1 [hatrace] Dependency containers: using containers-0.7 [hatrace] Dependency directory: using directory-1.3.8.5 [hatrace] Dependency filepath: using filepath-1.5.4.0 [hatrace] Dependency linux-ptrace: using linux-ptrace-0.1.2.1 [hatrace] Dependency optparse-applicative: using optparse-applicative-0.18.1.0 [hatrace] Dependency posix-waitpid: using posix-waitpid-0.1.1.0 [hatrace] Dependency process: using process-1.6.26.1 [hatrace] Dependency template-haskell: using template-haskell-2.22.0.0 [hatrace] Dependency text: using text-2.1.3 [hatrace] Dependency th-abstraction: using th-abstraction-0.7.2.0 [hatrace] Dependency time: using time-1.12.2 [hatrace] Dependency unix: using unix-2.8.7.0 [hatrace] Dependency unliftio: using unliftio-0.2.25.1 [hatrace] Dependency unliftio-core: using unliftio-core-0.2.1.0 [hatrace] Dependency base: using base-4.20.2.0 [hatrace] Dependency hatrace: using hatrace-0.1.0.0 [hatrace] Dependency base: using base-4.20.2.0 [hatrace] Dependency bytestring: using bytestring-0.12.2.0 [hatrace] Dependency conduit: using conduit-1.3.6.1 [hatrace] Dependency containers: using containers-0.7 [hatrace] Dependency directory: using directory-1.3.8.5 [hatrace] Dependency filepath: using filepath-1.5.4.0 [hatrace] Dependency hatrace: using hatrace-0.1.0.0 [hatrace] Dependency hspec: using hspec-2.11.17 [hatrace] Dependency process: using process-1.6.26.1 [hatrace] Dependency temporary: using temporary-1.3 [hatrace] Dependency text: using text-2.1.3 [hatrace] Dependency unix: using unix-2.8.7.0 [hatrace] Dependency unliftio: using unliftio-0.2.25.1 [hatrace] Dependency unliftio-core: using unliftio-core-0.2.1.0 [hatrace] Source component graph: [hatrace]  component lib [hatrace]  component exe:hatrace dependency lib [hatrace]  component test:hatrace-test dependency lib [hatrace] Configured component graph: [hatrace]  component hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  include aeson-2.2.3.0-6yo1KFncTLSHL1P5blSuk2 [hatrace]  include base-4.20.2.0-026d [hatrace]  include bytestring-0.12.2.0-b36e [hatrace]  include conduit-1.3.6.1-DHMGfsOsphXFOSgyZNnbql [hatrace]  include containers-0.7-8412 [hatrace]  include directory-1.3.8.5-08c4 [hatrace]  include filepath-1.5.4.0-150e [hatrace]  include linux-ptrace-0.1.2.1-IKZvVE0WW3II8dZePcpB6z [hatrace]  include optparse-applicative-0.18.1.0-GLp2kUXQay0IdnlzYiXVF8 [hatrace]  include posix-waitpid-0.1.1.0-D2wWOIrlgAQ2X3DHfw4v7t [hatrace]  include process-1.6.26.1-262a [hatrace]  include template-haskell-2.22.0.0-d01f [hatrace]  include text-2.1.3-8afe [hatrace]  include th-abstraction-0.7.2.0-2sm6zK3TXV58dSbsZx2D1R [hatrace]  include time-1.12.2-6cc2 [hatrace]  include unix-2.8.7.0-c12e [hatrace]  include unliftio-0.2.25.1-ICXNqH4TtyoCtg89coTUbL [hatrace]  include unliftio-core-0.2.1.0-JEtIeDE5tmH4DYTXnj7oJx [hatrace]  component hatrace-0.1.0.0-A94zhUZ9CpWLHuj8XUMQxy-hatrace [hatrace]  include base-4.20.2.0-026d [hatrace]  include hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  component hatrace-0.1.0.0-DI6Qxzgr4v6nGVu3Di6Wg-hatrace-test [hatrace]  include base-4.20.2.0-026d [hatrace]  include bytestring-0.12.2.0-b36e [hatrace]  include conduit-1.3.6.1-DHMGfsOsphXFOSgyZNnbql [hatrace]  include containers-0.7-8412 [hatrace]  include directory-1.3.8.5-08c4 [hatrace]  include filepath-1.5.4.0-150e [hatrace]  include hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  include hspec-2.11.17-E5TzN1xEEw8FFUEZem0tM4 [hatrace]  include process-1.6.26.1-262a [hatrace]  include temporary-1.3-Cgab7CTjPKZCTNDEscZYTO [hatrace]  include text-2.1.3-8afe [hatrace]  include unix-2.8.7.0-c12e [hatrace]  include unliftio-0.2.25.1-ICXNqH4TtyoCtg89coTUbL [hatrace]  include unliftio-core-0.2.1.0-JEtIeDE5tmH4DYTXnj7oJx [hatrace] Linked component graph: [hatrace]  unit hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  include aeson-2.2.3.0-6yo1KFncTLSHL1P5blSuk2 [hatrace]  include base-4.20.2.0-026d [hatrace]  include bytestring-0.12.2.0-b36e [hatrace]  include conduit-1.3.6.1-DHMGfsOsphXFOSgyZNnbql [hatrace]  include containers-0.7-8412 [hatrace]  include directory-1.3.8.5-08c4 [hatrace]  include filepath-1.5.4.0-150e [hatrace]  include linux-ptrace-0.1.2.1-IKZvVE0WW3II8dZePcpB6z [hatrace]  include optparse-applicative-0.18.1.0-GLp2kUXQay0IdnlzYiXVF8 [hatrace]  include posix-waitpid-0.1.1.0-D2wWOIrlgAQ2X3DHfw4v7t [hatrace]  include process-1.6.26.1-262a [hatrace]  include template-haskell-2.22.0.0-d01f [hatrace]  include text-2.1.3-8afe [hatrace]  include th-abstraction-0.7.2.0-2sm6zK3TXV58dSbsZx2D1R [hatrace]  include time-1.12.2-6cc2 [hatrace]  include unix-2.8.7.0-c12e [hatrace]  include unliftio-0.2.25.1-ICXNqH4TtyoCtg89coTUbL [hatrace]  include unliftio-core-0.2.1.0-JEtIeDE5tmH4DYTXnj7oJx [hatrace]  System.Hatrace=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace,System.Hatrace.Format=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.Format,System.Hatrace.Main=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.Main,System.Hatrace.Signals=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.Signals,System.Hatrace.SyscallTables=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.SyscallTables,System.Hatrace.SyscallTables.Generated=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.SyscallTables.Generated,System.Hatrace.SyscallTables.Util=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.SyscallTables.Util,System.Hatrace.Types=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.Types,System.Hatrace.Types.Internal=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.Types.Internal,System.Hatrace.Types.TH=hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp:System.Hatrace.Types.TH [hatrace]  unit hatrace-0.1.0.0-A94zhUZ9CpWLHuj8XUMQxy-hatrace [hatrace]  include base-4.20.2.0-026d [hatrace]  include hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  unit hatrace-0.1.0.0-DI6Qxzgr4v6nGVu3Di6Wg-hatrace-test [hatrace]  include base-4.20.2.0-026d [hatrace]  include bytestring-0.12.2.0-b36e [hatrace]  include conduit-1.3.6.1-DHMGfsOsphXFOSgyZNnbql [hatrace]  include containers-0.7-8412 [hatrace]  include directory-1.3.8.5-08c4 [hatrace]  include filepath-1.5.4.0-150e [hatrace]  include hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  include hspec-2.11.17-E5TzN1xEEw8FFUEZem0tM4 [hatrace]  include process-1.6.26.1-262a [hatrace]  include temporary-1.3-Cgab7CTjPKZCTNDEscZYTO [hatrace]  include text-2.1.3-8afe [hatrace]  include unix-2.8.7.0-c12e [hatrace]  include unliftio-0.2.25.1-ICXNqH4TtyoCtg89coTUbL [hatrace]  include unliftio-core-0.2.1.0-JEtIeDE5tmH4DYTXnj7oJx [hatrace] Ready component graph: [hatrace]  definite hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  depends aeson-2.2.3.0-6yo1KFncTLSHL1P5blSuk2 [hatrace]  depends base-4.20.2.0-026d [hatrace]  depends bytestring-0.12.2.0-b36e [hatrace]  depends conduit-1.3.6.1-DHMGfsOsphXFOSgyZNnbql [hatrace]  depends containers-0.7-8412 [hatrace]  depends directory-1.3.8.5-08c4 [hatrace]  depends filepath-1.5.4.0-150e [hatrace]  depends linux-ptrace-0.1.2.1-IKZvVE0WW3II8dZePcpB6z [hatrace]  depends optparse-applicative-0.18.1.0-GLp2kUXQay0IdnlzYiXVF8 [hatrace]  depends posix-waitpid-0.1.1.0-D2wWOIrlgAQ2X3DHfw4v7t [hatrace]  depends process-1.6.26.1-262a [hatrace]  depends template-haskell-2.22.0.0-d01f [hatrace]  depends text-2.1.3-8afe [hatrace]  depends th-abstraction-0.7.2.0-2sm6zK3TXV58dSbsZx2D1R [hatrace]  depends time-1.12.2-6cc2 [hatrace]  depends unix-2.8.7.0-c12e [hatrace]  depends unliftio-0.2.25.1-ICXNqH4TtyoCtg89coTUbL [hatrace]  depends unliftio-core-0.2.1.0-JEtIeDE5tmH4DYTXnj7oJx [hatrace]  definite hatrace-0.1.0.0-DI6Qxzgr4v6nGVu3Di6Wg-hatrace-test [hatrace]  depends base-4.20.2.0-026d [hatrace]  depends bytestring-0.12.2.0-b36e [hatrace]  depends conduit-1.3.6.1-DHMGfsOsphXFOSgyZNnbql [hatrace]  depends containers-0.7-8412 [hatrace]  depends directory-1.3.8.5-08c4 [hatrace]  depends filepath-1.5.4.0-150e [hatrace]  depends hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace]  depends hspec-2.11.17-E5TzN1xEEw8FFUEZem0tM4 [hatrace]  depends process-1.6.26.1-262a [hatrace]  depends temporary-1.3-Cgab7CTjPKZCTNDEscZYTO [hatrace]  depends text-2.1.3-8afe [hatrace]  depends unix-2.8.7.0-c12e [hatrace]  depends unliftio-0.2.25.1-ICXNqH4TtyoCtg89coTUbL [hatrace]  depends unliftio-core-0.2.1.0-JEtIeDE5tmH4DYTXnj7oJx [hatrace]  definite hatrace-0.1.0.0-A94zhUZ9CpWLHuj8XUMQxy-hatrace [hatrace]  depends base-4.20.2.0-026d [hatrace]  depends hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace] Using Cabal-3.12.1.0 compiled by ghc-9.10 [hatrace] Using compiler: ghc-9.10.3 [hatrace] Using install prefix: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0 [hatrace] Executables installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/bin [hatrace] Libraries installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-c0c3/hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace] Dynamic Libraries installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-c0c3 [hatrace] Private executables installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/libexec/x86_64-linux-ghc-9.10.3-c0c3/hatrace-0.1.0.0 [hatrace] Data files installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/share/x86_64-linux-ghc-9.10.3-c0c3/hatrace-0.1.0.0 [hatrace] Documentation installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/share/doc/x86_64-linux-ghc-9.10.3-c0c3/hatrace-0.1.0.0 [hatrace] Configuration files installed in: [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/etc [hatrace] No alex found [hatrace] Using ar found on system at: [hatrace] /nix/store/kfwagnh6i1mysf7vxq679rzh30z9zj3g-binutils-wrapper-2.46/bin/ar [hatrace] No c2hs found [hatrace] No cpphs found [hatrace] No doctest found [hatrace] Using gcc version 15.2.0 given by user at: [hatrace] /nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/gcc [hatrace] Using ghc version 9.10.3 found on system at: [hatrace] /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3/bin/ghc [hatrace] Using ghc-pkg version 9.10.3 found on system at: [hatrace] /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3/bin/ghc-pkg-9.10.3 [hatrace] No ghcjs found [hatrace] No ghcjs-pkg found [hatrace] No greencard found [hatrace] Using haddock version 2.31.1 found on system at: [hatrace] /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3/bin/haddock-ghc-9.10.3 [hatrace] No happy found [hatrace] Using haskell-suite found on system at: haskell-suite-dummy-location [hatrace] Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location [hatrace] No hmake found [hatrace] Using hpc version 0.69 found on system at: [hatrace] /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3/bin/hpc-ghc-9.10.3 [hatrace] Using hsc2hs version 0.68.10 found on system at: [hatrace] /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3 [hatrace] No hscolour found [hatrace] No jhc found [hatrace] Using ld found on system at: [hatrace] /nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/ld [hatrace] No pkg-config found [hatrace] Using runghc version 9.10.3 found on system at: [hatrace] /nix/store/k75mq7in58dhfx8n2prlq73pnnzm9cgd-ghc-9.10.3/bin/runghc-9.10.3 [hatrace] Using strip version 2.46 found on system at: [hatrace] /nix/store/qd70v8g0561vm8m33kmnp79z00cgyi5n-gcc-wrapper-15.2.0/bin/strip [hatrace] Using tar found on system at: [hatrace] /nix/store/rnvb7bvp53v2dw7pcwh9xb89x5z4rjib-gnutar-1.35/bin/tar [hatrace] No uhc found [hatrace] Phase: buildPhase [hatrace] Preprocessing library for hatrace-0.1.0.0... [hatrace] Building library for hatrace-0.1.0.0... [hatrace] [ 1 of 10] Compiling System.Hatrace.Format ( src/System/Hatrace/Format.hs, dist/build/System/Hatrace/Format.o, dist/build/System/Hatrace/Format.dyn_o ) [hatrace] [ 2 of 10] Compiling System.Hatrace.Signals ( src/System/Hatrace/Signals.hs, dist/build/System/Hatrace/Signals.o, dist/build/System/Hatrace/Signals.dyn_o ) [hatrace] [ 3 of 10] Compiling System.Hatrace.SyscallTables ( src/System/Hatrace/SyscallTables.hs, dist/build/System/Hatrace/SyscallTables.o, dist/build/System/Hatrace/SyscallTables.dyn_o ) [hatrace] [ 4 of 10] Compiling System.Hatrace.SyscallTables.Util ( src/System/Hatrace/SyscallTables/Util.hs, dist/build/System/Hatrace/SyscallTables/Util.o, dist/build/System/Hatrace/SyscallTables/Util.dyn_o ) [hatrace] [ 5 of 10] Compiling System.Hatrace.SyscallTables.Generated ( src/System/Hatrace/SyscallTables/Generated.hs, dist/build/System/Hatrace/SyscallTables/Generated.o, dist/build/System/Hatrace/SyscallTables/Generated.dyn_o ) [hatrace] [ 6 of 10] Compiling System.Hatrace.Types.Internal ( src/System/Hatrace/Types/Internal.hs, dist/build/System/Hatrace/Types/Internal.o, dist/build/System/Hatrace/Types/Internal.dyn_o ) [hatrace] [ 7 of 10] Compiling System.Hatrace.Types.TH ( src/System/Hatrace/Types/TH.hs, dist/build/System/Hatrace/Types/TH.o, dist/build/System/Hatrace/Types/TH.dyn_o ) [hatrace] [ 8 of 10] Compiling System.Hatrace.Types ( dist/build/System/Hatrace/Types.hs, dist/build/System/Hatrace/Types.o, dist/build/System/Hatrace/Types.dyn_o ) [hatrace] [ 9 of 10] Compiling System.Hatrace ( src/System/Hatrace.hs, dist/build/System/Hatrace.o, dist/build/System/Hatrace.dyn_o ) [hatrace] src/System/Hatrace.hs:284:11: warning: []8;;https://errors.haskell.org/messages/GHC-53633\GHC-53633]8;;\] [-Woverlapping-patterns] [hatrace]  Pattern match is redundant [hatrace]  In a multi-way if alternative: | False -> ... [hatrace]  | [hatrace] 284 | | False -> -- set this to True to get caller source code lines for failures [hatrace]  | ^^^^^ [hatrace]  [hatrace] [10 of 10] Compiling System.Hatrace.Main ( src/System/Hatrace/Main.hs, dist/build/System/Hatrace/Main.o, dist/build/System/Hatrace/Main.dyn_o ) [hatrace] src/System/Hatrace/Main.hs:112:13: warning: []8;;https://errors.haskell.org/messages/GHC-63394\GHC-63394]8;;\] [-Wx-partial] [hatrace]  In the use of β€˜head’ [hatrace]  (imported from Prelude, but defined in GHC.Internal.List): [hatrace]  "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." [hatrace]  | [hatrace] 112 | head (splitPath fromRoot) `elem` ["proc/", "dev/", "sys/"] [hatrace]  | ^^^^ [hatrace]  [hatrace] Preprocessing test suite 'hatrace-test' for hatrace-0.1.0.0... [hatrace] Building test suite 'hatrace-test' for hatrace-0.1.0.0... [hatrace] [1 of 2] Compiling HatraceSpec ( test/HatraceSpec.hs, dist/build/hatrace-test/hatrace-test-tmp/HatraceSpec.o ) [hatrace] test/HatraceSpec.hs:715:22: warning: []8;;https://errors.haskell.org/messages/GHC-63394\GHC-63394]8;;\] [-Wx-partial] [hatrace]  In the use of β€˜head’ [hatrace]  (imported from Prelude, but defined in GHC.Internal.List): [hatrace]  "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." [hatrace]  | [hatrace] 715 | testClosed (head dup3Arguments) [hatrace]  | ^^^^ [hatrace]  [hatrace] test/HatraceSpec.hs:1005:32: warning: []8;;https://errors.haskell.org/messages/GHC-63394\GHC-63394]8;;\] [-Wx-partial] [hatrace]  In the use of β€˜head’ [hatrace]  (imported from Prelude, but defined in GHC.Internal.List): [hatrace]  "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." [hatrace]  | [hatrace] 1005 | let (nfds, fdsValue) = head pollResult [hatrace]  | ^^^^ [hatrace]  [hatrace] test/HatraceSpec.hs:1008:38: warning: []8;;https://errors.haskell.org/messages/GHC-63394\GHC-63394]8;;\] [-Wx-partial] [hatrace]  In the use of β€˜head’ [hatrace]  (imported from Prelude, but defined in GHC.Internal.List): [hatrace]  "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." [hatrace]  | [hatrace] 1008 | System.Hatrace.Types.events (head fdsValue) `shouldSatisfy` ( \case [hatrace]  | ^^^^ [hatrace]  [hatrace] test/HatraceSpec.hs:1033:42: warning: []8;;https://errors.haskell.org/messages/GHC-63394\GHC-63394]8;;\] [-Wx-partial] [hatrace]  In the use of β€˜head’ [hatrace]  (imported from Prelude, but defined in GHC.Internal.List): [hatrace]  "This is a partial function, it throws an error on empty lists. Use pattern matching, 'Data.List.uncons' or 'Data.Maybe.listToMaybe' instead. Consider refactoring to use "Data.List.NonEmpty"." [hatrace]  | [hatrace] 1033 | let (fdsValue, SigSet sigmask) = head pollResult [hatrace]  | ^^^^ [hatrace]  [hatrace] [2 of 2] Compiling Main ( test/Spec.hs, dist/build/hatrace-test/hatrace-test-tmp/Main.o ) [hatrace] [3 of 3] Linking dist/build/hatrace-test/hatrace-test [hatrace] Preprocessing executable 'hatrace' for hatrace-0.1.0.0... [hatrace] Building executable 'hatrace' for hatrace-0.1.0.0... [hatrace] [1 of 1] Compiling Main ( app/Main.hs, dist/build/hatrace/hatrace-tmp/Main.o ) [hatrace] [2 of 2] Linking dist/build/hatrace/hatrace [hatrace] buildPhase completed in 34 seconds [hatrace] Phase: checkPhase [hatrace] Running 1 test suites... [hatrace] Test suite hatrace-test: RUNNING... [hatrace]  [hatrace] Hatrace [hatrace]  traceCreateProcess [hatrace] hello [hatrace]  does not crash for this echo process [βœ”] [hatrace] example-programs/hello-linux-i386.asm:20: warning: 32-bit absolute section-crossing relocation [-w+reloc-abs-dword] [hatrace] Hello, world! [hatrace]  does not crash for hello.asm with 32-bit API [βœ”] [hatrace] example-programs/hello-linux-i386.asm:20: warning: 32-bit absolute section-crossing relocation [-w+reloc-abs-dword] [hatrace] Hello, world! [hatrace]  does not crash for hello.asm real 32-bit [βœ”] [hatrace] example-programs/hello-linux-x86_64.asm:19: warning: 64-bit absolute section-crossing relocation [-w+reloc-abs-qword] [hatrace] Hello, world! [hatrace]  does not crash for hello.asm with 64-bit API [βœ”] [hatrace]  does not hang when the traced program segfaults [βœ”] [hatrace]  sourceRawTraceForkExecvFullPathWithSink [hatrace] hello [hatrace]  lets the process finish if the sink exits early [βœ”] [hatrace] Hello, world! [hatrace]  allows obtaining all syscalls as a list for hello.asm [βœ”] [hatrace] write: Bad file descriptor [hatrace]  shows return code and errno of a failing write() syscall [βœ”] [hatrace]  subprocess tracing [hatrace] Hello, world! [hatrace]  can trace 'bash -c ./hello' [βœ”] [hatrace]  can handle the situation that the child doesn't wait for its children [‐] [hatrace]  # PENDING: implement test with simple C program that doens't wait for a child [hatrace]  can handle the situation that a child's child double-forks [‐] [hatrace]  # PENDING: implement test with simple C program that has a child double-fork [hatrace]  can handle Group-stop in multithreaded programs [‐] [hatrace]  # PENDING: implement test with simple C program that uses multiple threads [hatrace]  program inspection [hatrace] Writing 100 bytes atomically to example-programs-build/testfile [hatrace] Writing 100 bytes non-atomically to example-programs-build/testfile [hatrace]  can point out that the difference in syscalls between atomic and non-atomic write is a rename [βœ”] [hatrace]  program misbehaviour detection [hatrace]  can show that SIGTERM at the right time results in cut-off files for non-atomically writing programs [βœ”] [hatrace] [1 of 2] Compiling Main ( example-programs/Hello.hs, example-programs-build/Main.o ) [hatrace] [2 of 2] Linking example-programs-build/haskell-hello [hatrace]  [hatrace] Running and then killing GHC; expect error messages below. [hatrace]  [hatrace] [1 of 2] Compiling Main ( example-programs/Hello.hs, example-programs-build/Main.o ) [hatrace] Observing write to relevant file: /build/hatrace-source/example-programs-build/Main.o.tmp; bytes: 342 [hatrace] Observing write to relevant file: /build/hatrace-source/example-programs-build/Main.o.tmp; bytes: 202 [hatrace] Observing write to relevant file: /build/hatrace-source/example-programs-build/Main.o.tmp; bytes: 267 [hatrace] Observing write to relevant file: /build/hatrace-source/example-programs-build/Main.o.tmp; bytes: 48 [hatrace] gcc: fatal error: Terminated signal terminated program as [hatrace] compilation terminated. [hatrace] : error: [hatrace]  `cc' failed in phase `Assembler'. (Exit code: 1) [hatrace]  [hatrace]  [hatrace] End of where error messages are expected. [hatrace]  [hatrace]  can be used to check whether GHC writes truncated object files or executables [βœ”] [hatrace]  can be used to check whether programs handle EINTR correctly [‐] [hatrace]  # PENDING: implement test that uses PTRACE_INTERRUPT in every syscall [hatrace] Writing 10 bytes atomically to /build/test-output1774-0 [hatrace]  observes atomic write in a program [βœ”] [hatrace] Writing 10 bytes non-atomically to /build/test-output1774-1 [hatrace]  catches non-atomic write in a program [βœ”] [hatrace]  modifying syscalls [hatrace] hello can change syscall result to any error [βœ”] [hatrace] hello can change syscall result to any return value [βœ”] [hatrace]  storable instances [hatrace]  can correctly poke and peek SigSet [βœ”] [hatrace]  deriveCIntRepresentable [hatrace]  derived toCInt . fromCInt == id for FileAccessMode [βœ”] [hatrace]  +++ OK, passed 100 tests. [hatrace]  derived fromCInt . toCInt == id for FileAccessKnown [βœ”] [hatrace]  +++ OK, passed 100 tests. [hatrace]  memory management [hatrace]  peekable trace source catches peeking error on enter [βœ”] [hatrace] In file included from /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/features.h:524, [hatrace]  from /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/bits/libc-header-start.h:33, [hatrace]  from /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/stdio.h:28, [hatrace]  from example-programs/bad-read-pointer.c:1: [hatrace] In function β€˜read’, [hatrace]  inlined from β€˜main’ at example-programs/bad-read-pointer.c:26:13: [hatrace] /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/bits/unistd.h:32:10: warning: β€˜__read_alias’ writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] [hatrace]  32 | return __glibc_fortify (read, __nbytes, sizeof (char), [hatrace]  | ^~~~~~~~~~~~~~~ [hatrace] In function β€˜main’: [hatrace] cc1: note: destination object is likely at address zero [hatrace] /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/bits/unistd-decl.h:29:16: note: in a call to function β€˜__read_alias’ declared with attribute β€˜access (write_only, 2, 3)’ [hatrace]  29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, [hatrace]  | ^~~~~~~~~~~~~~~~~~ [hatrace] In function β€˜read’, [hatrace]  inlined from β€˜main’ at example-programs/bad-read-pointer.c:26:13: [hatrace] /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/bits/unistd.h:32:10: warning: β€˜__read_chk’ writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] [hatrace]  32 | return __glibc_fortify (read, __nbytes, sizeof (char), [hatrace]  | ^~~~~~~~~~~~~~~ [hatrace] In function β€˜main’: [hatrace] cc1: note: destination object is likely at address zero [hatrace] In file included from /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/bits/unistd.h:23, [hatrace]  from /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/unistd.h:1217, [hatrace]  from example-programs/bad-read-pointer.c:3: [hatrace] /nix/store/fbbw928argckfii0j322346ihmllg7a7-glibc-2.42-61-dev/include/bits/unistd-decl.h:26:16: note: in a call to function β€˜__read_chk’ declared with attribute β€˜access (write_only, 2, 3)’ [hatrace]  26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, [hatrace]  | ^~~~~~~~~~ [hatrace]  traceForkProcess is able to catch errors on exits [βœ”] [hatrace]  per-syscall tests [hatrace]  read [hatrace]  has the right output for 'echo hello | cat' [βœ”] [hatrace]  exit_group [hatrace]  Syscall_exit_group is identified [βœ”] [hatrace]  lseek [hatrace] wp : yes [hatrace] flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt lbrv nrip_save tsc_scale vmcb_clean flushbyasid pausefilter pfthreshold v_vmsave_vmload vgif umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor fsrm [hatrace] bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso ibpb_no_ret tsa [hatrace] bogomips : 6799.99 [hatrace] TLB size : 1024 4K pages [hatrace] clflush size : 64 [hatrace] cache_alignment : 64 [hatrace] address sizes : 48 bits physical, 48 bits virtual [hatrace] power management: [hatrace]  [hatrace]  Syscall_lseek is identified [βœ”] [hatrace]  execve [hatrace] Hello, world! [hatrace]  shows the right execve results for './execve hello-linux-x86_64' [βœ”] [hatrace] Hello, world! [hatrace]  shows the right execve results for the special case './execve-linux-null-envp hello-linux-x86_64' [βœ”] [hatrace]  close [hatrace]  seen at least for 1 file for 'cat /dev/null' [βœ”] [hatrace]  openat [hatrace] Writing 10 bytes non-atomically to /build/test-output1774-2 [hatrace]  seen for a file we open for writing [βœ”] [hatrace]  rename [hatrace] Writing 10 bytes atomically to /build/test-output1774-3 [hatrace]  seen for a file we do an atomic write to [βœ”] [hatrace]  unlink [hatrace]  occurs when we delete a file [βœ”] [hatrace]  pipe [hatrace] foo [hatrace]  seen when piping output in bash [βœ”] [hatrace]  dup [hatrace]  dup2 identified when a shell pipe gets used [βœ”] [hatrace]  sees the correct dup3 arguments [βœ”] [hatrace]  access [hatrace]  seen when invoked in a program [βœ”] [hatrace]  sockets [hatrace]  seen when opening sockets [βœ”] [hatrace]  seen when opening a socketpair [βœ”] [hatrace]  seen when using sendto/recvfrom on a socketpair [βœ”] [hatrace]  lstat [hatrace]  File: /dev/null [hatrace]  Size: 0 Blocks: 0 IO Block: 4096 character special file [hatrace] Device: 0,6 Inode: 4 Links: 1 Device type: 1,3 [hatrace] Access: (0666/crw-rw-rw-) Uid: (65534/ nobody) Gid: (65534/ nogroup) [hatrace] Access: 2026-05-05 20:13:25.505000000 +0000 [hatrace] Modify: 2026-05-05 20:13:25.505000000 +0000 [hatrace] Change: 2026-05-05 20:13:25.505000000 +0000 [hatrace]  Birth: 2026-05-05 20:13:22.625204681 +0000 [hatrace]  seen called by stat executable [‐] [hatrace]  # PENDING: stat uses statx for this path, which is not yet handled by hatrace [hatrace]  mmap [hatrace] #include [hatrace] #include [hatrace] #include [hatrace] #include [hatrace] #include [hatrace] #include [hatrace] #include [hatrace] #include [hatrace] #include 1000 [hatrace]  getgid() => 100 [hatrace] geteuid() => 1000 [hatrace] getegid() => 100 [hatrace]  should return the current user id [βœ”] [hatrace]  getgid [hatrace]  getuid() => 1000 [hatrace]  getgid() => 100 [hatrace] geteuid() => 1000 [hatrace] getegid() => 100 [hatrace]  should return the current group id [βœ”] [hatrace]  geteuid [hatrace]  getuid() => 1000 [hatrace]  getgid() => 100 [hatrace] geteuid() => 1000 [hatrace] getegid() => 100 [hatrace]  should return the current effective user id [βœ”] [hatrace]  getegid [hatrace]  getuid() => 1000 [hatrace]  getgid() => 100 [hatrace] geteuid() => 1000 [hatrace] getegid() => 100 [hatrace]  should return the current effective group id [βœ”] [hatrace]  clone [hatrace]  seen clone from a shell command group [βœ”] [hatrace]  prlimit64 [hatrace]  seen prlimit64 from a shell command ulimit [βœ”] [hatrace]  chdir [hatrace]  occurs when we change the current directory [βœ”] [hatrace]  mkdir [hatrace] "/build/hatrace-test-mkdir-3a2b196f0db47a9e/mkdir-test" [hatrace]  occurs when we create a directory [βœ”] [hatrace]  rmdir [hatrace]  occurs when we delete a directory [βœ”] [hatrace]  truncate [hatrace]  occurs when we truncate a file [βœ”] [hatrace]  ftruncate [hatrace]  occurs when we ftruncate a file [βœ”] [hatrace]  [hatrace] Finished in 6.8610 seconds [hatrace] 69 examples, 0 failures, 5 pending [hatrace] Test suite hatrace-test: PASS [hatrace] Test suite logged to: dist/test/hatrace-0.1.0.0-hatrace-test.log [hatrace] 1 of 1 test suites (1 of 1 test cases) passed. [hatrace] Phase: haddockPhase [hatrace] Phase: installPhase [hatrace] Installing library in /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-c0c3/hatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp [hatrace] Installing executable hatrace in /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/bin [hatrace] Warning: The directory [hatrace] /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/bin is not in the [hatrace] system search path. [hatrace] Registering library for hatrace-0.1.0.0... [hatrace] Phase: fixupPhase [hatrace] shrinking RPATHs of ELF executables and libraries in /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0 [hatrace] shrinking /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/bin/hatrace [hatrace] shrinking /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-c0c3/libHShatrace-0.1.0.0-HS9Jlu6IieEA3t29Z9Jdjp-ghc9.10.3.so [hatrace] checking for references to /build/ in /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0... [hatrace] patching script interpreter paths in /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0 [hatrace] stripping (with command strip and flags -S -p) in /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/lib /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0/bin [post-build-hook] Uploading to the NixCI staging cache: /nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0 [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/i8q39vc11q8cqjniq3rjm5aax65m5m1c-hatrace-0.1.0.0' to 'https://cache.staging.nix-ci.com'... [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [post-build-hook] copying 1 paths... [post-build-hook] copying path '/nix/store/051f4pplnzcilgiwfdp51aswmcjbkqxb-hatrace-0.1.0.0.drv' to 'https://cache.staging.nix-ci.com'... Progress: 1 of 2 built, 15 of 15 downloaded from cache