plutus-tx: add red-black tree implementation for Maps, again #5697
IOG Hydra / ci/hydra-build:x86_64-darwin.ghc810.checks.plutus-tx:test:plutus-tx-test
failed
Jan 3, 2024 in 1m 9s
Build dependency failed
1 steps
Details
Failed Steps
Step 1
Derivation
/nix/store/x6mzgfpmwqdg4vxg3allwk0gb73sv4j0-plutus-tx-test-plutus-tx-test-1.19.0.0.drv
Log
unpacking sources
unpacking source archive /nix/store/jh9xqgniv6z3bhaz5y5g9s6vfgmb8zga-source-root-plutus-tx-test-plutus-tx-test-root
source root is source-root-plutus-tx-test-plutus-tx-test-root
patching sources
configuring
Configure flags:
--prefix=/nix/store/w6z9z3w59s9m0h37hb58jj10d5323sy4-plutus-tx-test-plutus-tx-test-1.19.0.0 test:plutus-tx-test --package-db=clear --package-db=/private/tmp/nix-build-plutus-tx-test-plutus-tx-test-1.19.0.0.drv-0/tmp.iQtvp9ivQg/lib/ghc-8.10.7/package.conf.d --exact-configuration --dependency=aeson=aeson-2.2.1.0-1kvwRHugAtLHFx5VYLNyuw --dependency=OneTuple=OneTuple-0.4.1.1-2aBrz5fhCl66rx9H6pHRwY --dependency=base-orphans=base-orphans-0.9.1-c9SWeL8IJjH2h1UCckt6 --dependency=foldable1-classes-compat=foldable1-classes-compat-0.1-9f3FAsyUtj84ZOCALBNJog --dependency=containers=containers-0.6.5.1-EiES0HFUZ8PBGNrpVjoYRF --dependency=tagged=tagged-0.8.8-399IsUwLXav971mKt6sScf --dependency=transformers=transformers-0.5.6.2-LVtm4hSGEWWGi1DcWUe7I5 --dependency=transformers=transformers-0.5.6.2-LVtm4hSGEWWGi1DcWUe7I5 --dependency=hashable=hashable-1.4.3.0-Jj3YTXFGdIdLM1UzaU2tN2 --dependency=bytestring=bytestring-0.10.12.0-BvIZHiOJL8O7XxUygqQkmw --dependency=data-array-byte=data-array-byte-0.1.0.1-K28hjVtnMmk7as6rZ7LlwO --dependency=filepath=filepath-1.4.2.1-XUxXmPDlHD5banCv7jBzy --dependency=text=text-1.2.4.1-3ons0v27Yr7GZbokcYUGS --dependency=binary=binary-0.8.8.0-HpmhsQDJ8BC4iODE4wIoDZ --dependency=QuickCheck=QuickCheck-2.14.3-1DSdgGOgWqxHiH6iOfyGwz --dependency=random=random-1.2.1.1-IXm7ObuU5k8InCuo3bXwKj --dependency=mtl=mtl-2.2.2-Cl2NxTNak818U6bJEGW2JG --dependency=splitmix=splitmix-0.1.0.5-Bo3CHUA1SMSGDMl4HIKcBC --dependency=splitmix=splitmix-0.1.0.5-Bo3CHUA1SMSGDMl4HIKcBC --dependency=data-fix=data-fix-0.3.2-CJCF5bG7k1nF7WuaqOWEZQ --dependency=dlist=dlist-1.0-Q0EloVGbxo56qRCXLrvwb --dependency=exceptions=exceptions-0.10.4-jh6bYwCS5pIgTBTtpnMGh --dependency=stm=stm-2.5.0.1-7EhGw2UuBfRGnebgRwZVIT --dependency=generically=generically-0.1.1-3We0CIX1wDD9gBYDAZ24dH --dependency=indexed-traversable=indexed-traversable-0.1.3-7el5yhUGh4DC9ijFvYdHHu --dependency=integer-conversion=integer-conversion-0.1.0.1-8trq124NGWo1kpbBilajMs --dependency=primitive=primitive-0.8.0.0-Eo5Vu0eIv0pHrmpz7TcXWX --dependency=integer-logarithms=integer-logarithms-1.0.3.1-B2X6TI3td2TBvYGtMbi9Tl --dependency=network-uri=network-uri-2.6.4.2-C9r4xjh6a7gFcwQqmO7bU3 --dependency=parsec=parsec-3.1.14.0-82enFKeGXtS7M2jLrkM69G --dependency=th-compat=th-compat-0.1.4-81x2aNiP8Q4Gks0TDUehx6 --dependency=directory=directory-1.3.6.0-CbmCEFbvko1GLIMcuucehj --dependency=time=time-1.9.3-AAq60BtyTvLBxnbhpLzOg0 --dependency=unix=unix-2.7.2.2-ETifA5smZTZIWkxyIZe1zI --dependency=scientific=scientific-0.3.7.0-AyQlYy4ok37Apb9DHa2kIn --dependency=semialign=semialign-1.3-3Gkyun9pssgEIOv10YT87Z --dependency=indexed-traversable-instances=indexed-traversable-instances-0.1.1.2-13MpUdgiDltG1dSb07z0qE --dependency=unordered-containers=unordered-containers-0.2.19.1-Kp5u0PNZeA8JlPDQJPqrqv --dependency=vector=vector-0.13.1.0-5d4PV6ApImv1jm4W4cJSn0 --dependency=vector-stream=vector-stream-0.1.0.0-EVor7r3IxBGKyyKzPxDBqn --dependency=semigroupoids=semigroupoids-6.0.0.1-9WepOhLtTIKMlEgZF5LgM --dependency=bifunctors=bifunctors-5.6.1-1wR27LFpeYo9Vu8a1SrBZO --dependency=assoc=assoc-1.1-7NUHuOx7cBDKvkH1b41cNT --dependency=comonad=comonad-5.0.8-67Rf2qHGkJr9maVEwUnAgT --dependency=distributive=distributive-0.6.2.1-DSr7GdctZfIA6FXzxlsoYb --dependency=transformers-compat=transformers-compat-0.7.2-AjVgxX91b0ICJPOjvw2abz --dependency=th-abstraction=th-abstraction-0.6.0.0-21oJUYcpCzGBA62X45zR6L --dependency=contravariant=contravariant-1.5.5-70V0EkC1KS7HwGc9djfu0l --dependency=StateVar=StateVar-1.2.2-JdNCZC4MXDoFozowh3KZYd --dependency=these=these-1.2-ATuTde3UVK3K5y6w8xSuNF --dependency=strict=strict-0.5-ICDLNXh60so6p8Bqo23bmR --dependency=text-iso8601=text-iso8601-0.1-J9zwJA5Yiwq839KLlM7uzj --dependency=time-compat=time-compat-1.9.6.1-38L1TmzXYawDVYJF7YnYQd --dependency=text-short=text-short-0.1.5-9fCPvzg1LaBLNTzjcAE4d5 --dependency=uuid-types=uuid-types-1.0.5.1-Js0HDEm9mQD5tAABEn9Lec --dependency=witherable=witherable-0.4.2-2kFD4CLc57NJXK0mCxZb3k --dependency=base16-bytestring=base16-bytestring-1.0.2.0-5BHhbEVonLU73MQwCF1GWR --dependency=cborg=cborg-0.2.10.0-5LXdDQjoqRTCduYwNliXzb --dependency=half=half-0.3.1-24IA3idx0A9FWJsnewHrt1 --dependency=hedgehog-fn=hedgehog-fn-1.0-4vIqV7ZipAqDgMOtkrpRZX --dependency=hedgehog=hedgehog-1.4-R9ZFLaYMJL8PLX8KO8yaL --dependency=ansi-terminal=ansi-terminal-1.0-21qXdWIaPQQAzqQYzPzyfi --dependency=ansi-terminal-types=ansi-terminal-types-0.11.5-7DNtZ0j1vhyIHIoA2UK9l7 --dependency=colour=colour-2.3.6-2cl6zeh1tuv4LM4jVThjAx --dependency=colour=colour-2.3.6-2cl6zeh1tuv4LM4jVThjAx --dependency=async=async-2.2.5-Kb4BpuOQZ1k6UckTM6q2R1 --dependency=barbies=barbies-2.0.5.0-Ie8nYOHNk6EClNqwDHVPFW --dependency=concurrent-output=concurrent-output-1.10.20-JPgWRVgomfCI2hcxUk6PrP --dependency=process=process-1.6.13.2-2Irq2Jm7oS2IN5gTWmZnSH --dependency=terminal-size=terminal-size-0.3.4-EMcKF2kYFo0CJGrVkneWkg --dependency=erf=erf-2.0.0.0-DD1kLu61QE55X5C6ZnT9v --dependency=lifted-async=lifted-async-0.10.2.5-7g39kSHnYgf5RHOlfGBuou --dependency=constraints=constraints-0.14-LKHwE7Kl6vq85ylGS3U2xG --dependency=boring=boring-0.2.1-DEofBiN93ZKH51tx4u08IM --dependency=type-equality=type-equality-1-Cz1XtPhQ9oP187QHwC5KWz --dependency=lifted-base=lifted-base-0.2.3.12-7Lai5jyX2Dh7r7vqBfFn9I --dependency=monad-control=monad-control-1.0.3.1-9j9nxLVZtU58VaicGcC3ol --dependency=transformers-base=transformers-base-0.4.6-Es1EJkMrWnbJKaXSxIMyGz --dependency=transformers-base=transformers-base-0.4.6-Es1EJkMrWnbJKaXSxIMyGz --dependency=mmorph=mmorph-1.2.0-FkjBQOeeo856Q2VjtIyVkP --dependency=pretty-show=pretty-show-1.10-J4LCd8ZRnLK2ZKlQSHbLNr --dependency=haskell-lexer=haskell-lexer-1.1.1-IGLsM3hLwxgGu7TZXYbXWI --dependency=resourcet=resourcet-1.3.0-F9lrIyMrlfh8Qav0c8abnf --dependency=unliftio-core=unliftio-core-0.2.1.0-KK2k6NL05ZJ7aXwCtzRUJD --dependency=safe-exceptions=safe-exceptions-0.1.7.4-IDKnjzafvP8JAW8D4DPlUN --dependency=wl-pprint-annotated=wl-pprint-annotated-0.1.0.1-2cZZvYuQbxSFxW94loDlxJ --dependency=plutus-core=plutus-core-1.19.0.0-CHFdpEqQM8NKazcM0xdgqW --dependency=aeson=aeson-2.2.1.0-1kvwRHugAtLHFx5VYLNyuw --dependency=base64-bytestring=base64-bytestring-1.2.1.0-KZsnnMc9npeLEwVnorykk0 --dependency=bimap=bimap-0.5.0-CRX4iXo5ScNAKjsPdaAcfZ --dependency=bytestring-strict-builder=bytestring-strict-builder-0.4.5.7-15LkUs8mwIF7a15IRF8vgx --dependency=cardano-crypto-class=cardano-crypto-class-2.1.4.0-LAmTgCIRH8u9nGMLWk7e7F --dependency=cardano-binary=cardano-binary-1.7.0.1-GmvIJ3aqD9O65KwIwPyxZd --dependency=formatting=formatting-7.2.0-6ItD8e1hmHFBoZYyV8sZOB --dependency=clock=clock-0.8.4-IYRhghhQhNOB15aY9pyLl3 --dependency=double-conversion=double-conversion-2.0.4.2-3wiohdg0NXF93JfeW0oIZT --dependency=old-locale=old-locale-1.0.0.7-Imy8BjOomMC1ZfvTA3Dz4y --dependency=recursion-schemes=recursion-schemes-5.2.2.5-Tx90jeHWRLCRAwFVgBqkL --dependency=free=free-5.2-77W51PWgo3mCa2NDtVgbQY --dependency=profunctors=profunctors-5.6.2-I5wyXqwVsWjLoQ3XSSpiFu --dependency=cardano-strict-containers=cardano-strict-containers-0.1.2.1-Jc1gY9FsbkjHVjqR25DPir --dependency=data-default-class=data-default-class-0.1.2.0-4OJAKciMHbRGHw1F8M9yGO --dependency=fingertree=fingertree-0.1.5.0-9rC7ZsLgw7G1xI3Y5mn8pM --dependency=nothunks=nothunks-0.1.5-KU2N6R0wbDR6t9Alx9gh1 --dependency=ghc-heap=ghc-heap-8.10.7-IUP7BK823zx9GcxXynNXv1 --dependency=serialise=serialise-0.2.6.1-7brh7w1oUyv5BccOiZ6XMA --dependency=cryptonite=cryptonite-0.30-IbmJAjriTUkGKkrpj4FubJ --dependency=basement=basement-0.0.16-ClUiFda8HJq7h2ZlUjvnZw --dependency=memory=memory-0.18.0-4lmKEP40UqjD3lKXh2f2zF --dependency=heapwords=heapwords-0.1.0.2-7H8ogJ9XF0oEWSTOyL0EBA --dependency=cardano-crypto=cardano-crypto-1.1.2-7U5J8OQaxdQ9ocTHJe1VTF --dependency=foundation=foundation-0.0.30-2DRGL0hAxDh5NRtGvWPupi --dependency=cassava=cassava-0.5.3.0-AlOK5ourLBC8tdjVrTkT3n --dependency=Only=Only-0.1-5HMnGEdyovGeWGWSTFEMo --dependency=attoparsec=attoparsec-0.14.4-IVdiVbLyGRABzrVgDmmO55 --dependency=attoparsec-internal=attoparsec-0.14.4-BcPzR5iv9pSJ4Y22ASDBkg-attoparsec-internal --dependency=attoparsec:attoparsec-internal=attoparsec-0.14.4-BcPzR5iv9pSJ4Y22ASDBkg-attoparsec-internal --dependency=composition-prelude=composition-prelude-3.0.0.2-JRCljlq3Xv71oiWXpFGqZF --dependency=dependent-sum=dependent-sum-0.7.2.0-32HFkjCM1Zr30jN2bgtqma --dependency=constraints-extras=constraints-extras-0.4.0.0-A00PvMJHqa17dehphPl4A --dependency=some=some-1.0.6-7kQlHtWMZtpGxKZDQBGwba --dependency=deriving-aeson=deriving-aeson-0.2.9-1Cp1JM9xsEmHiG4csWJokY --dependency=deriving-compat=deriving-compat-0.6.5-3Juo3IprD6U7ewWTAK9Cnv --dependency=extra=extra-1.7.14-3lfQPuThlwu8qQVUmqCSKu --dependency=flat=flat-0.6-1cMlBtt9ZJ93zQhnjNJIcu --dependency=list-t=list-t-1.0.5.7-5zygvtLFjE4Ef38QEU8roM --dependency=foldl=foldl-1.4.15-71lDzyQKLxRL8LZhFUOoK6 --dependency=logict=logict-0.8.1.0-HsoX0wx1ru2FsfQful2fI --dependency=mono-traversable=mono-traversable-1.0.15.3-345BzdT7ZOCO4B2a9PDHk --dependency=split=split-0.2.4-9iVELx8D8xs1DGV16UjvJm --dependency=vector-algorithms=vector-algorithms-0.9.0.1.0.0.0.0.1-8yrYtqbXRBLG8jbnVm1TBy --dependency=bitvec=bitvec-1.1.5.0-LCPajqiIvRE6FIfMzMKfA --dependency=lens=lens-5.2.3-DuCFMsk2DWNDIjz8WUfq2H --dependency=call-stack=call-stack-0.4.0-FmELR2iAK4CCMyR5yqUtbg --dependency=kan-extensions=kan-extensions-5.2.5-19tfn8FO3xTEYhdad1Z8S3 --dependency=adjunctions=adjunctions-4.4.2-98BnGKisDHZKzOwPalewPg --dependency=semigroups=semigroups-0.20-AHEDJttk12QKRngShZkUXU --dependency=void=void-0.7.3-G5MdgOk5J35F7MPIUFZNM0 --dependency=invariant=invariant-0.6.2-I8ThuMXdBAbGN7BwRyqflU --dependency=parallel=parallel-3.2.2.0-CWuIPZ9z0M2316R8Ba8csc --dependency=reflection=reflection-2.1.7-24gXisTWp03QuzpLTnrQ1 --dependency=megaparsec=megaparsec-9.2.1-BrqYDGqn0lF7bVdLTHfuYb --dependency=case-insensitive=case-insensitive-1.2.1.0-CMhnhPibndhKkZFZUizzge --dependency=parser-combinators=parser-combinators-1.3.0-HUpGzs22K4j5gxMSICkDwo --dependency=monoidal-containers=monoidal-containers-0.6.4.0-23FIxAGDcGDJyfW6NviHB2 --dependency=newtype=newtype-0.2.2.0-6hPd6sx7vML4figwAVFIdv --dependency=multiset=multiset-0.3.4.3-LILDUGVk2se45McFiFi6CM --dependency=index-envs=plutus-core-1.19.0.0-LlJR2mrjiQD9jZlcbMbuPE-index-envs --dependency=plutus-core:index-envs=plutus-core-1.19.0.0-LlJR2mrjiQD9jZlcbMbuPE-index-envs --dependency=nonempty-vector=nonempty-vector-0.2.3-3mRk2rXq5qMLWOW1uQaTIU --dependency=ral=ral-0.2.1-LjfX61b9ymvqWPgJ8w346 --dependency=bin=bin-0.1.3-5rozKxVjJe4BYheAikvhgU --dependency=dec=dec-0.0.5-1ecUt8PwJPQ6NI05mMNLrs --dependency=fin=fin-0.3-LWelvCJL2FUDeHpgKTWkve --dependency=universe-base=universe-base-1.1.3.1-ABa7KJAMUTo8K7YxXyd8Av --dependency=satint=plutus-core-1.19.0.0-JRJXuvqQnUaJ5X78TkbbfE-satint --dependency=plutus-core:satint=plutus-core-1.19.0.0-JRJXuvqQnUaJ5X78TkbbfE-satint --dependency=prettyprinter-configurable=prettyprinter-configurable-1.19.0.0-EEwUZR0puGk1hZXu3p04k0 --dependency=microlens=microlens-0.4.13.1-EhmZ1KqBdww7HhR48VOsAL --dependency=prettyprinter=prettyprinter-1.7.1-4IgD8s5wquO6FIO1jHqEQF --dependency=prettyprinter=prettyprinter-1.7.1-4IgD8s5wquO6FIO1jHqEQF --dependency=th-lift-instances=th-lift-instances-0.1.20-4xTvkiwrlYSAz3BDbdW6pJ --dependency=th-lift=th-lift-0.8.4-2fDlaVwhFO96nD6fYfmfmN --dependency=th-lift=th-lift-0.8.4-2fDlaVwhFO96nD6fYfmfmN --dependency=th-utilities=th-utilities-0.2.5.0-5cOx4qxd4cL73u8BqFzxRp --dependency=syb=syb-0.7.2.4-9qMaKqh8dGP5XhKtZedMDK --dependency=th-orphans=th-orphans-0.13.14-2Y0vAjPgZSmC98TmvpgW94 --dependency=th-reify-many=th-reify-many-0.1.10-H3YrmO29h3WAY8XB94tUj7 --dependency=safe=safe-0.3.19-8luuMyFSOlL6dBNapMpYT1 --dependency=th-expand-syns=th-expand-syns-0.4.11.0-DwpCBagUkekJ9Gt7FVDxRi --dependency=plutus-core-testlib=plutus-core-1.19.0.0-A8qgeKTV5t3IPmUyojEmWi-plutus-core-testlib --dependency=plutus-core:plutus-core-testlib=plutus-core-1.19.0.0-A8qgeKTV5t3IPmUyojEmWi-plutus-core-testlib --dependency=Stream=Stream-0.4.7.2-GhhW8WbnXmiK6UXpr1LmDo --dependency=lazysmallcheck=lazysmallcheck-0.6-Jf1gTibS3Ut2oqeEnwVGDP --dependency=dependent-map=dependent-map-0.4.0.0-1TenzqDSmzfFUAVWkhc18Y --dependency=lazy-search=lazy-search-0.1.3.0-68lLxHtYflRGYT2YjMkMCX --dependency=size-based=size-based-0.1.3.2-9bX1I505T9dGSEbEm2DVFH --dependency=dictionary-sharing=dictionary-sharing-0.1.0.0-6C9VIMRKDHeEtcPwjq5LXa --dependency=testing-type-modifiers=testing-type-modifiers-0.1.0.1-46RC5nIscMlKiil6g3R9yi --dependency=plutus-ir=plutus-core-1.19.0.0-2iwjTBpLWAw90aHSeYJwed-plutus-ir --dependency=plutus-core:plutus-ir=plutus-core-1.19.0.0-2iwjTBpLWAw90aHSeYJwed-plutus-ir --dependency=algebraic-graphs=algebraic-graphs-0.7-FLb3rKCDvx35Gha9bYSaql --dependency=dom-lt=dom-lt-0.2.3-I20XRSLHiNxJohEanO0FCb --dependency=quickcheck-instances=quickcheck-instances-0.3.30-9fHADiXefWgALHGtFyuvUY --dependency=old-time=old-time-1.1.0.3-8bWuu5pHupwIQWcnGKO5m9 --dependency=quickcheck-transformer=quickcheck-transformer-0.3.1.2-83ehF27h5EQWSZBsejXIT --dependency=tasty-golden=tasty-golden-2.3.5-9P4hUozgslz6E4ldgq5yat --dependency=optparse-applicative=optparse-applicative-0.18.1.0-1vhiXZjNICF40aBRtcqfYx --dependency=prettyprinter-ansi-terminal=prettyprinter-ansi-terminal-1.1.3-61fm2mVZ8eM38QF1kZgDVy --dependency=tasty=tasty-1.5-C868QWhqfD5JmOf24ENt8W --dependency=temporary=temporary-1.3-1P4fU5vlCfd3QRz5Chpokw --dependency=typed-process=typed-process-0.2.11.1-98ohRDp5Ruj6zn2EBgN2fm --dependency=tasty-hedgehog=tasty-hedgehog-1.4.0.2-6Eas2vFAU6IE5kuUWU8eb6 --dependency=tasty-hunit=tasty-hunit-0.10.1-GlHXlgw6ObAGlzfceBdexy --dependency=plutus-tx=plutus-tx-1.19.0.0-HxFnL25Gtq9IA5Jo0cUWdI --dependency=array=array-0.5.4.0 --dependency=base=base-4.14.3.0 --dependency=deepseq=deepseq-1.4.4.0 --dependency=ghc-boot-th=ghc-boot-th-8.10.7 --dependency=ghc-prim=ghc-prim-0.6.1 --dependency=integer-gmp=integer-gmp-1.0.3.0 --dependency=pretty=pretty-1.1.3.6 --dependency=rts=rts --dependency=template-haskell=template-haskell-2.16.0.0 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ar=ar --with-strip=strip --disable-executable-stripping --disable-library-stripping --disable-library-profiling --disable-profiling --enable-static --enable-shared --disable-executable-dynamic --disable-coverage --enable-library-for-ghci --datadir=/nix/store/mdc2gic6wazx84bbsk680zpyjj1l2v5q-plutus-tx-test-plutus-tx-test-1.19.0.0-data/share/ghc-8.10.7
Configuring test suite 'plutus-tx-test' for plutus-tx-1.19.0.0..
Warning: 'hs-source-dirs: src' specifies a directory which does not exist.
configurePhase completed in 46 seconds
building
Preprocessing test suite 'plutus-tx-test' for plutus-tx-1.19.0.0..
Building test suite 'plutus-tx-test' for plutus-tx-1.19.0.0..
[ 1 of 15] Compiling List.Spec ( test/List/Spec.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/List/Spec.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/List/Spec.dyn_o )
[ 2 of 15] Compiling Map.Spec ( test/Map/Spec.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Map/Spec.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Map/Spec.dyn_o )
test/Map/Spec.hs:106:31: error:
• Couldn't match type ‘Integer’
with ‘PlutusTx.These.These Integer Integer’
Expected type: Maybe (PlutusTx.These.These Integer Integer)
Actual type: Maybe Integer
• In the second argument of ‘(===)’, namely
‘(lookup k t1 <|> lookup k t2)’
In a stmt of a 'do' block:
lookup k (union t1 t2) === (lookup k t1 <|> lookup k t2)
In the second argument of ‘($)’, namely
‘do k <- forAll genIntKey
t1 <- forAll genIntMap
t2 <- forAll genIntMap
lookup k (union t1 t2) === (lookup k t1 <|> lookup k t2)’
|
106 | lookup k (union t1 t2) === (lookup k t1 <|> lookup k t2)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/Map/Spec.hs:112:30: error:
• Couldn't match type ‘PlutusTx.These.These Integer Integer’
with ‘Integer’
Expected type: RBTree Integer Integer
Actual type: RBTree
Integer (PlutusTx.These.These Integer Integer)
• In the expression: union m1 m2
In the first argument of ‘foldr’, namely ‘(\ m1 m2 -> union m1 m2)’
In the second argument of ‘lookup’, namely
‘(foldr (\ m1 m2 -> union m1 m2) Map.empty ts)’
|
112 | lookup k (foldr (\m1 m2 -> union m1 m2) Map.empty ts)
| ^^^^^^^^^^^
test/Map/Spec.hs:170:28: error:
• Couldn't match type ‘Integer’
with ‘PlutusTx.These.These Integer Integer’
Expected type: [(Integer, PlutusTx.These.These Integer Integer)]
Actual type: [(Integer, Integer)]
• In the second argument of ‘(===)’, namely
‘L.sort (toList t1 ++ foldr deleteKey (toList t2) (keys t1))’
In a stmt of a 'do' block:
toList (union t1 t2)
=== L.sort (toList t1 ++ foldr deleteKey (toList t2) (keys t1))
In the second argument of ‘($)’, namely
‘do t1 <- forAll genIntMap
t2 <- forAll genIntMap
toList (union t1 t2)
=== L.sort (toList t1 ++ foldr deleteKey (toList t2) (keys t1))’
|
170 | toList (union t1 t2) === L.sort (toList t1 ++ foldr deleteKey (toList t2) (keys t1))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 3 of 15] Compiling Rational.Laws.Helpers ( test/Rational/Laws/Helpers.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Helpers.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Helpers.dyn_o )
[ 4 of 15] Compiling Rational.Laws.Eq ( test/Rational/Laws/Eq.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Eq.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Eq.dyn_o )
[ 5 of 15] Compiling Rational.Laws.Construction ( test/Rational/Laws/Construction.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Construction.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Construction.dyn_o )
[ 6 of 15] Compiling Rational.Laws.Additive ( test/Rational/Laws/Additive.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Additive.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Additive.dyn_o )
[ 7 of 15] Compiling Rational.Laws.Module ( test/Rational/Laws/Module.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Module.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Module.dyn_o )
[ 8 of 15] Compiling Rational.Laws.Multiplicative ( test/Rational/Laws/Multiplicative.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Multiplicative.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Multiplicative.dyn_o )
[ 9 of 15] Compiling Rational.Laws.Ord ( test/Rational/Laws/Ord.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Ord.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Ord.dyn_o )
[10 of 15] Compiling Rational.Laws.Other ( test/Rational/Laws/Other.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Other.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Other.dyn_o )
[11 of 15] Compiling Rational.Laws.Ring ( test/Rational/Laws/Ring.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Ring.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Ring.dyn_o )
[12 of 15] Compiling Rational.Laws.Serialization ( test/Rational/Laws/Serialization.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Serialization.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws/Serialization.dyn_o )
[13 of 15] Compiling Rational.Laws ( test/Rational/Laws.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws.dyn_o )
[14 of 15] Compiling Show.Spec ( test/Show/Spec.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Show/Spec.o, dist/build/plutus-tx-test/plutus-tx-test-tmp/Show/Spec.dyn_o )
<no location info>: warning: [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- serialise-0.2.6.1
Loading