Add roundtrip test functions skipping comparison with FlatTerm-decoded #4866
+94
−15
Garnix CI / package cardano-ledger-mary:test:tests [x86_64-linux]
failed
Feb 1, 2025 in 25m 13s
Run results
Build failed
Details
Last 100 lines of logs:
https://cache.nixos.org/7ixnsxr6pi6qfv6sfk00aamfvyrgfc1j.narinfo
https://cache.garnix.io/7ixnsxr6pi6qfv6sfk00aamfvyrgfc1j.narinfo
https://cache.nixos.org/z7i2ff0iak0ywa8rngnz15kl69273qqs.narinfo
https://cache.garnix.io/z7i2ff0iak0ywa8rngnz15kl69273qqs.narinfo
Running phase: unpackPhase
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking source archive /nix/store/clkwimdj2pqfgjs05fxgdmq29zswrs1w-source-eras-mary-impl-test-tests-root
source root is source-eras-mary-impl-test-tests-root
Running phase: patchPhase
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix {"action":"setPhase","phase":"updateAutotoolsGnuConfigScriptsPhase"}
Running phase: configurePhase
@nix {"action":"setPhase","phase":"configurePhase"}
Configure flags:
--prefix=/nix/store/7ixnsxr6pi6qfv6sfk00aamfvyrgfc1j-cardano-ledger-mary-test-tests-1.8.0.0 test:tests --package-db=clear --package-db=/build/tmp.2DOU6weIRw/lib/ghc-9.6.6/lib/package.conf.d --flags=asserts --exact-configuration --dependency=base16-bytestring=base16-bytestring-1.0.2.0-7dLjEOJDdBNFW2UWv9zpg8 --dependency=cardano-data=cardano-data-1.2.4.0-58fjeRUYXVpJOnvDwdJse4 --dependency=aeson=aeson-2.2.3.0-F3qOsWBbraEIrCWD3hgory --dependency=OneTuple=OneTuple-0.4.2-7od06fXUUXRBNk1V3VY0g5 --dependency=QuickCheck=QuickCheck-2.15.0.1-1aTRwiOFM77JrJe2XC8Z9B --dependency=random=random-1.2.1.3-HtLkfgWS4A9LlImZRGwFAX --dependency=splitmix=splitmix…
Configuring test suite 'tests' for cardano-ledger-mary-1.8.0.0..
Warning: 'hs-source-dirs: huddle-cddl' specifies a directory which does not
exist.
Warning: 'hs-source-dirs: src' specifies a directory which does not exist.
Running phase: buildPhase
@nix {"action":"setPhase","phase":"buildPhase"}
Preprocessing test suite 'tests' for cardano-ledger-mary-1.8.0.0..
Building test suite 'tests' for cardano-ledger-mary-1.8.0.0..
[1 of 4] Compiling Test.Cardano.Ledger.Mary.Binary.CddlSpec ( test/Test/Cardano/Ledger/Mary/Binary/CddlSpec.hs, dist/build/tests/tests-tmp/Test/Cardano/Ledger/Mary/Binary/CddlSpec.o )
[2 of 4] Compiling Test.Cardano.Ledger.Mary.BinarySpec ( test/Test/Cardano/Ledger/Mary/BinarySpec.hs, dist/build/tests/tests-tmp/Test/Cardano/Ledger/Mary/BinarySpec.o )
[3 of 4] Compiling Test.Cardano.Ledger.Mary.ValueSpec ( test/Test/Cardano/Ledger/Mary/ValueSpec.hs, dist/build/tests/tests-tmp/Test/Cardano/Ledger/Mary/ValueSpec.o )
test/Test/Cardano/Ledger/Mary/ValueSpec.hs:51:82: error: [GHC-83865]
• Couldn't match expected type ‘cardano-ledger-binary-1.6.0.0:Cardano.Ledger.Binary.Version.Version’
with actual type ‘Coin’
• In the third argument of ‘roundTripCborRangeExpectation’, namely
‘(Coin i)’
In the expression:
roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)
In the second argument of ‘($)’, namely
‘\ (Negative i)
-> roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)’
|
51 | \(Negative i) -> roundTripCborRangeExpectation minBound (natVersion @8) (Coin i)
| ^^^^^^
Loading