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

Fix recent changes to haddock generation #498

Merged
merged 2 commits into from
Sep 12, 2024

Disable haddock for tests and benchamrks

5790799
Select commit
Loading
Failed to load commit list.
Merged

Fix recent changes to haddock generation #498

Disable haddock for tests and benchamrks
5790799
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-linux.ghc982-x86_64-w64-mingw32.checks.cardano-binary:test:test failed Sep 12, 2024 in 0s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/gl5idy0id28inpdbzm3mdd7fdwmikk4d-cardano-binary-test-test-x86_64-w64-mingw32-1.7.1.0.drv

Log

Running phase: unpackPhase
unpacking source archive /nix/store/c3g4c88vkjxj428fh5d26xn277ss3sia-source-root-cardano-binary-test-test-root
source root is source-root-cardano-binary-test-test-root
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/qxv7sfmiribj07pcg3m6sqs9vbs3zwxn-cardano-binary-test-test-x86_64-w64-mingw32-1.7.1.0 test:test --package-db=clear --package-db=/build/tmp.ktzmYQie05/lib/package.conf.d --exact-configuration --dependency=QuickCheck=QuickCheck-2.15.0.1-3m7YWSs5e4zFcIv5z02pvw --dependency=random=random-1.2.1.2-9XaeANdFcomBwyLBJkU4uh --dependency=splitmix=splitmix-0.1.0.5-9tm6TyaZm6Y2PyFrUVhYIi --dependency=splitmix=splitmix-0.1.0.5-9tm6TyaZm6Y2PyFrUVhYIi --dependency=cardano-binary=cardano-binary-1.7.1.0-CsBSFawA8Y51yRF7xm8i6e --dependency=cborg=cborg-0.2.10.0-GfwxqQvqvBtGc2hkXh6tDO --dependency=half=half-0.3.1-I7QGxMINCsZCg3HDCAfLX9 --dependency=primitive=primitive-0.9.0.0-3Z6MZnSLD38BpiHT3vTCWH --dependency=data-fix=data-fix-0.3.4-3Y0RtNtMug754aZD9G3YI1 --dependency=hashable=hashable-1.5.0.0-3szdVDpWBieHSB1TQtqWWZ --dependency=filepath=filepath-1.5.3.0-5vUUSoNSIBJEWAaudR6qPZ --dependency=exceptions=exceptions-0.10.8-HJ6WzdoaEON8Z2Bmb1kOHo --dependency=stm=stm-2.5.3.1-C2ig18rwHkcJnpwEZTBxQp --dependency=os-string=os-string-2.0.6-FM2AXSu02gFA5X7mwxkbaF --dependency=os-string=os-string-2.0.6-FM2AXSu02gFA5X7mwxkbaF --dependency=formatting=formatting-7.2.0-BBMAACHHei2GxWQwWe46FY --dependency=clock=clock-0.8.4-LqvPl2rV07j3wFKj7HMs5e --dependency=double-conversion=double-conversion-2.0.5.0-IykS4CuG5695Ner3MF3UPf --dependency=old-locale=old-locale-1.0.0.7-2gWDwyNHyUm32f5NphlCop --dependency=scientific=scientific-0.3.8.0-HlEteVVuJ6nAHjEnHMpkfG --dependency=integer-logarithms=integer-logarithms-1.0.3.1-E336Ho7GplPHWHmLcHavMF --dependency=time=time-1.12.2-8FOhGt5KnRjL30wP81oLtk --dependency=Win32=Win32-2.14.0.0-AhecwWSB9hDQX6uftWKZG --dependency=recursion-schemes=recursion-schemes-5.2.3-3bfUylDLPibJ7TtFtvTsvM --dependency=comonad=comonad-5.0.8-F0HTRRwJWm2ArBGQytaVks --dependency=distributive=distributive-0.6.2.1-BHXbo4aJKbfJrTgiSLDsPM --dependency=base-orphans=base-orphans-0.9.2-Fld1fYyUAcI7SEskWHgrfT --dependency=tagged=tagged-0.8.8-4V93ya1xI082l1rb7dS6S9 --dependency=indexed-traversable=indexed-traversable-0.1.4-JGaMO06ERzm7uWyxc6mAIx --dependency=transformers-compat=transformers-compat-0.7.2-ELg24KLPxsZKSaFjkbmBsQ --dependency=free=free-5.2-EhblPrJ3S1NLxR5OFBTLCN --dependency=profunctors=profunctors-5.6.2-ITfx19FRVgFzr4BkOAlaw --dependency=bifunctors=bifunctors-5.6.2-BZN0JZSMiOFELSKa7tWnkQ --dependency=assoc=assoc-1.1.1-IYKfs2uEKij6WmszF1PDLH --dependency=th-abstraction=th-abstraction-0.7.0.0-1V8c4vnWFmWEmuRduvePRe --dependency=contravariant=contravariant-1.5.5-6ccigVzAnliICX6o1AVz7e --dependency=StateVar=StateVar-1.2.2-aLtzzt2VH4I9RLkpwE93 --dependency=semigroupoids=semigroupoids-6.0.1-CueUCViUd8CQHDv2LHmjs --dependency=unordered-containers=unordered-containers-0.2.20-K2j2P0DGqpBDzDIaW9r7r --dependency=transformers-base=transformers-base-0.4.6-1JBSNieSh5GBHaWUPsjdjC --dependency=safe-exceptions=safe-exceptions-0.1.7.4-B5rovkeZH01J92WSB9626p --dependency=vector=vector-0.13.1.0-8kGvf1FNpWP4cD0qniZ65O --dependency=vector-stream=vector-stream-0.1.0.1-AnXL7Iqx3gr4hvVX4moiUx --dependency=cardano-prelude-test=cardano-prelude-test-0.1.0.3-K2s5jzjcdxWEUhFyFCVu8Z --dependency=QuickCheck=QuickCheck-2.15.0.1-3m7YWSs5e4zFcIv5z02pvw --dependency=aeson=aeson-2.2.3.0-GeZDeXU3o4U7a1vn8cMFmD --dependency=OneTuple=OneTuple-0.4.2-3bTwrQG7CBzHwdHEoKditC --dependency=character-ps=character-ps-0.1-Ek5tFVwz1he7MLuYzR3muv --dependency=dlist=dlist-1.0-6aXV01XaU0KGUmHGetUVTv --dependency=generically=generically-0.1.1-49kH7WVeP7L9QQQQEewnld --dependency=integer-conversion=integer-conversion-0.1.1-DubpWq3LxAH2hpHZ0IrYi2 --dependency=network-uri=network-uri-2.6.4.2-1dWojNPLXrt1C0Ods6iJ1k --dependency=th-compat=th-compat-0.1.5-7X2xoLJewQP9JrdaJ23Sp6 --dependency=semialign=semialign-1.3.1-AtaBD78A6ns64QhubHKsY2 --dependency=indexed-traversable-instances=indexed-traversable-instances-0.1.2-AwHr3LWXAB3LxMScNgVlyJ --dependency=these=these-1.2.1-20zkkDDpwsSJRY6gQqjYYi --dependency=strict=strict-0.5.1-EdOoYueoOWPEhLdA4bt1If --dependency=text-iso8601=text-iso8601-0.1.1-IW4pntIoULs5gGEA2gGvY2 --dependency=time-compat=time-compat-1.9.7-ILiTlZtcU7vDs7POzpjG0W --dependency=text-short=text-short-0.1.6-BnSNK1qkWWqCM3RzdSUXgd --dependency=uuid-types=uuid-types-1.0.6-Kl5JgibItio1pSIP9EWYjc --dependency=witherable=witherable-0.5-A5Rf1d1k8DnBbIH5YdHMG4 --dependency=aeson-pretty=aeson-pretty-0.8.10-E4Pvife56rO5nCg6V54dPc --dependency=base-compat=base-compat-0.14.0-7Iuz7eqxHTe9mamNL1TxYU --dependency=attoparsec=attoparsec-0.14.4-1xhLSDemLBe3MNT0LEgTEC --dependency=attoparsec-internal=attoparsec-0.14.4-EZKV8zska0SB8QjXHh4m5p-attoparsec-internal --dependency=attoparsec:attoparsec-internal=attoparsec-0.14.4-EZKV8zska0SB8QjXHh4m5p-attoparsec-internal --dependency=base16-bytestring=base16-bytestring-1.0.2.0-KxCt0A4sBXa1hWxI9sOHQX --dependency=canonical-json=canonical-json-0.6.0.1-At7TpogcDpBJtyAkjE9To6 --dependency=cardano-prelude=cardano-prelude-0.2.0.0-2s2bU7S0MeDJRdLnlKaQR7 --dependency=async=async-2.2.5-5mrBZQ4TVtV2ES6yaF33sK --dependency=extra=extra-1.7.16-HmfKMxSOW0WEeFDgfznewc --dependency=directory=directory-1.3.8.5-785QcXs2hqnqr4kZLeYYi --dependency=process=process-1.6.22.0-LoeSTpxHGFyIUYXk0y6Xi0 --dependency=microlens=microlens-0.4.13.1-5t0t4RBNOZV14oH9rKaXi4 --dependency=cryptonite=cryptonite-0.30-1IhFkorfMik150EWsm3LvI --dependency=basement=basement-0.0.16-G1mXcojLvGzBx8rDm6mAgz --dependency=memory=memory-0.18.0-5HeAp6DByvhD0DiozmWA8C --dependency=hedgehog=hedgehog-1.5-6mIUWHPYasqIyfeNbznOx9 --dependency=ansi-terminal=ansi-terminal-1.1.1-2oUff5XDxmhGThhZoKNN2h --dependency=ansi-terminal-types=ansi-terminal-types-1.1-IRPsPWS0mCj2x9fUkNqFcS --dependency=colour=colour-2.3.6-DkN6DMkckQ2CabciHEla3F --dependency=colour=colour-2.3.6-DkN6DMkckQ2CabciHEla3F --dependency=barbies=barbies-2.1.1.0-8yZQxpZpSsu3UypVxVauEk --dependency=concurrent-output=concurrent-output-1.10.21-K7MgYTxSeqR8Xauj4hWlE3 --dependency=terminal-size=terminal-size-0.3.4-JorRXCTEsXllsxwVulwFH --dependency=erf=erf-2.0.0.0-4gs0WQ6HM7v5gjz7UmWDqx --dependency=lifted-async=lifted-async-0.10.2.5-GtV1Q7PRjisBivZPIeygfm --dependency=constraints=constraints-0.14.2-IQE9MKuYlosEghyPa6fJkd --dependency=boring=boring-0.2.2-E5r9S9f2cgQCIfmX9psqVH --dependency=lifted-base=lifted-base-0.2.3.12-NzzHhXU1DMGCcM8F0iYqd --dependency=monad-control=monad-control-1.0.3.1-45txbj5CG1Y8uuynDajODe --dependency=monad-control=monad-control-1.0.3.1-45txbj5CG1Y8uuynDajODe --dependency=mmorph=mmorph-1.2.0-FIE8j9t3guBDEI8OTmchBo --dependency=pretty-show=pretty-show-1.10-HuSNn65cBltBEyTxNAv4p9 --dependency=haskell-lexer=haskell-lexer-1.1.1-6T2x3CcGVgZ7DdPOEo9CFe --dependency=resourcet=resourcet-1.3.0-D12oOU3wJY4JWAIEXtCcux --dependency=unliftio-core=unliftio-core-0.2.1.0-AJWCOn7xe2240TnTURYPAF --dependency=wl-pprint-annotated=wl-pprint-annotated-0.1.0.1-KZZ8s2OJesQHfgC4X3jAEu --dependency=hspec=hspec-2.11.9-9isK5rlFbPa9PqbZCua8Sf --dependency=hspec-core=hspec-core-2.11.9-Ds4943owTzXBeqRC6tVxuz --dependency=HUnit=HUnit-1.6.2.0-1izzXWEuzdDIXnUGCYgBbA --dependency=call-stack=call-stack-0.4.0-7MTTvc8Z9hs5VjTu8FtBOl --dependency=call-stack=call-stack-0.4.0-7MTTvc8Z9hs5VjTu8FtBOl --dependency=hspec-expectations=hspec-expectations-0.8.4-DBcEomumORo23oLEB71KnC --dependency=quickcheck-io=quickcheck-io-0.2.0-6sPCDHNeEUjCcWbXCpajfO --dependency=tf-random=tf-random-0.5-FenYAuTe12I3a6Ea0e78Vv --dependency=hspec-discover=hspec-discover-2.11.9-IRaxkHSh9clAh9PVUhcPRl --dependency=quickcheck-instances=quickcheck-instances-0.3.31-JzwpvIV3xrqCLOhNuDSMcV --dependency=case-insensitive=case-insensitive-1.2.1.0-2TQZCPK1UKu7q14npzw3lh --dependency=old-time=old-time-1.1.0.4-LoGOHtiHPjJtYTgTd0qyu --dependency=array=array-0.5.6.0-inplace --dependency=base=base-4.19.1.0-inplace --dependency=binary=binary-0.8.9.1-inplace --dependency=bytestring=bytestring-0.12.1.0-inplace --dependency=containers=containers-0.6.8-inplace --dependency=deepseq=deepseq-1.5.0.0-inplace --dependency=ghc-bignum=ghc-bignum-1.3-inplace --dependency=ghc-boot-th=ghc-boot-th-9.8.2-inplace --dependency=ghc-heap=ghc-heap-9.8.2-inplace --dependency=ghc-prim=ghc-prim-0.11.0-inplace --dependency=integer-gmp=integer-gmp-1.1-inplace --dependency=mtl=mtl-2.3.1-inplace --dependency=parsec=parsec-3.1.17.0-inplace --dependency=pretty=pretty-1.1.3.6-inplace --dependency=rts=rts-1.0.2 --dependency=system-cxx-std-lib=system-cxx-std-lib-1.0 --dependency=template-haskell=template-haskell-2.21.0.0-inplace --dependency=text=text-2.1.1-inplace --dependency=transformers=transformers-0.6.1.0-inplace --with-ghc=x86_64-w64-mingw32-ghc --with-ghc-pkg=x86_64-w64-mingw32-ghc-pkg --with-hsc2hs=x86_64-w64-mingw32-hsc2hs --with-gcc=x86_64-w64-mingw32-cc --with-ar=x86_64-w64-mingw32-ar --with-strip=x86_64-w64-mingw32-strip --with-ld=x86_64-w64-mingw32-ld --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --disable-shared --disable-executable-dynamic --disable-coverage --enable-library-for-ghci --datadir=/nix/store/602yvjwnmkrvrmncy1gf1hd35jasrhqj-cardano-binary-test-test-x86_64-w64-mingw32-1.7.1.0-data/share/x86_64-w64-mingw32-ghc-9.8.2 --hsc2hs-option=--cross-compile --hsc2hs-option=--via-asm --ghc-option=-Werror 
Configuring test suite 'test' for cardano-binary-1.7.1.0..
Warning: 'hs-source-dirs: src' specifies a directory which does not exist.
Running phase: buildPhase
Preprocessing test suite 'test' for cardano-binary-1.7.1.0..
Building test suite 'test' for cardano-binary-1.7.1.0..
[1 of 7] Compiling Test.Cardano.Binary.Failure ( test/Test/Cardano/Binary/Failure.hs, dist/build/test/test-tmp/Test/Cardano/Binary/Failure.o )
---> Starting iserv-proxy-interpreter.exe on port 5385
To re-use the same wine-prefix and remote-iserv, set the following environment variables:
export WINEPREFIX=/build/tmp.8KGmZag53d
export REMOTE_ISERV=/build/tmp.iM9wSAEXHV
---| iserv-proxy-interpreter.exe should have started on 5385
0054:err:systray:initialize_systray Could not create tray window
0090:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
wine: configuration in L"/build" has been updated.
Listening on port 5385
0024:err:seh:call_stack_handlers invalid frame 00007FFFFF662F28 (0000000000022000-0000000000220000)
0024:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
iserv-proxy: {handle: <socket: 9>}: GHCi.Message.remoteCall: end of file

test/Test/Cardano/Binary/Failure.hs:26:25: error: [GHC-87897]
    • Exception when trying to run compile-time code:
        External interpreter terminated (-15)
      Code: (discover)
    • In the Template Haskell splice $$(discover)
      In the first argument of ‘checkParallel’, namely ‘$$(discover)’
      In the expression: checkParallel $$(discover)
   |
26 | tests = checkParallel $$(discover)
   |                         ^^^^^^^^^^
[2 of 7] Compiling Test.Cardano.Binary.Helpers ( test/Test/Cardano/Binary/Helpers.hs, dist/build/test/test-tmp/Test/Cardano/Binary/Helpers.o )
[3 of 7] Compiling Test.Cardano.Binary.Helpers.GoldenRoundTrip ( test/Test/Cardano/Binary/Helpers/GoldenRoundTrip.hs, dist/build/test/test-tmp/Test/Cardano/Binary/Helpers/GoldenRoundTrip.o )
[4 of 7] Compiling Test.Cardano.Binary.RoundTrip ( test/Test/Cardano/Binary/RoundTrip.hs, dist/build/test/test-tmp/Test/Cardano/Binary/RoundTrip.o )

<no location info>: error: 
[5 of 7] Compiling Test.Cardano.Binary.Serialization ( test/Test/Cardano/Binary/Serialization.hs, dist/build/test/test-tmp/Test/Cardano/Binary/Serialization.o )

test/Test/Cardano/Binary/Serialization.hs:33:25: error: [GHC-87897]
    • Exception when trying to run compile-time code:
        getTHMessage: unknown message 89
CallStack (from HasCallStack):
  error, called at libraries/ghci/GHCi/Message.hs:316:10 in ghci-9.8.2-inplace:GHCi.Message
      Code: (discover)
    • In the Template Haskell splice $$(discover)
      In the first argument of ‘checkParallel’, namely ‘$$(discover)’
      In the expression: checkParallel $$(discover)
   |
33 | tests = checkParallel $$(discover)
   |                         ^^^^^^^^^^
[6 of 7] Compiling Test.Cardano.Binary.SizeBounds ( test/Test/Cardano/Binary/SizeBounds.hs, dist/build/test/test-tmp/Test/Cardano/Binary/SizeBounds.o )