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

plutus-tx: add red-black tree implementation for Maps, again #5697

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

plutus-tx: add red-black tree implementation for Maps

9919450
Select commit
Loading
Failed to load commit list.
Draft

plutus-tx: add red-black tree implementation for Maps, again #5697

plutus-tx: add red-black tree implementation for Maps
9919450
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-darwin.ghc98.packages.plutus-tx:test:plutus-tx-test failed Jan 3, 2024 in 1m 55s

Build failed

1 steps

Details

Failed Steps

Step 1

Derivation

/nix/store/4kvh70x42xfm61rkywvy27h88vn2dzgw-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/8zc5xlnwp9z5bl2xrhb5gdcw6i9r4d03-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.vGpp6nC9Gd/lib/ghc-9.8.1/lib/package.conf.d --exact-configuration --dependency=aeson=aeson-2.2.1.0-BoAWz1EQjbKCYlIj1ojR6s --dependency=OneTuple=OneTuple-0.4.1.1-IBlW8W5FcE4GA1p589ZAZc --dependency=QuickCheck=QuickCheck-2.14.3-H4BO2IWOiWl44bGYOeptP7 --dependency=containers=containers-0.6.8-BF5T8j1nt6wFZ2QObZv3OP --dependency=random=random-1.2.1.1-8DPLFmAXlxODqxECH6B0hj --dependency=bytestring=bytestring-0.12.0.2-5uFzxwiI635Kl8cAv8M0vo --dependency=mtl=mtl-2.3.1-5knlLISMTSUCeMFmP1LKid --dependency=transformers=transformers-0.6.1.0-DNBHcTfMygjJfIziyxxmzg --dependency=splitmix=splitmix-0.1.0.5-4wZjVJhtLp3B6pgjH8K6sq --dependency=splitmix=splitmix-0.1.0.5-4wZjVJhtLp3B6pgjH8K6sq --dependency=data-fix=data-fix-0.3.2-4ZJMqXYA97aEaLfSyOmS3K --dependency=hashable=hashable-1.4.3.0-4n7ZgQYX0AW6dpgYnXJIRb --dependency=filepath=filepath-1.4.100.4-6CCwe3vrrs2K41ASxAJsYs --dependency=exceptions=exceptions-0.10.7-6pSXCzitm7KEMaXpXZ8zM4 --dependency=stm=stm-2.5.2.1-6NnRD0WpVKDIiCABQcKiUW --dependency=text=text-2.1-8CrHUcaV7TWDMTpHjOxz6D --dependency=binary=binary-0.8.9.1-9lCdVEP65H5GTZZtoj7Tga --dependency=dlist=dlist-1.0-CFA07RzElYMCqzQ60y4HU3 --dependency=generically=generically-0.1.1-HgATq6D4yUpDESMN0QuBBH --dependency=indexed-traversable=indexed-traversable-0.1.3-2ta3UkRq7MJ9u1msmXiBh7 --dependency=integer-conversion=integer-conversion-0.1.0.1-FMqAfyjHlp81AcfSvrqmmT --dependency=primitive=primitive-0.8.0.0-Az7TA0MQsYn1iG11VDBWjq --dependency=integer-logarithms=integer-logarithms-1.0.3.1-3g8tlWG0yMEBQevPc1NCPz --dependency=network-uri=network-uri-2.6.4.2-IsEP0W3po8JCrcqoT2fd7K --dependency=parsec=parsec-3.1.17.0-6UgEiG379xrImKFfE84Oby --dependency=th-compat=th-compat-0.1.4-JJNnMPqSvXWDboAHzcsRSI --dependency=scientific=scientific-0.3.7.0-H6EMO8uAYVN6H4SDoWhl5S --dependency=semialign=semialign-1.3-KuNUSZwMgoKKf0mlW5fvT3 --dependency=indexed-traversable-instances=indexed-traversable-instances-0.1.1.2-FhlzpiZz1OtGdctYhsNGZp --dependency=tagged=tagged-0.8.8-GJygbM5OGhrGD6OvnWHzPK --dependency=unordered-containers=unordered-containers-0.2.19.1-59sXjoP7D7HJwqNe89lQ8c --dependency=vector=vector-0.13.1.0-LJuu6VcodA06UfpAO9evig --dependency=vector-stream=vector-stream-0.1.0.0-LR5Se0SBuwcJgriGKwRIbs --dependency=semigroupoids=semigroupoids-6.0.0.1-5mOTx7vQbHU5mcfhYzPD7X --dependency=base-orphans=base-orphans-0.9.1-Kw29Ed7rGSsBJZdEn5cfkB --dependency=bifunctors=bifunctors-5.6.1-5cMseXicAnZ6g93TxcCKoM --dependency=assoc=assoc-1.1-JoenH1E0W1ZJGCFB9RvvM8 --dependency=comonad=comonad-5.0.8-5leD28i6JV87sKUXqHOaU4 --dependency=distributive=distributive-0.6.2.1-5gleYXjGvqkJyouqRGph3C --dependency=transformers-compat=transformers-compat-0.7.2-DJ6YOfDzvR0ED3UorJMZFd --dependency=th-abstraction=th-abstraction-0.6.0.0-5sP6wRH9ZUiL2vE4xqT5NG --dependency=contravariant=contravariant-1.5.5-67IfgVjutuz1gd8ehrCiDj --dependency=StateVar=StateVar-1.2.2-JVapFm6TqnnLVY3Bf2l6YG --dependency=these=these-1.2-EcNnkUu7TmH7t6q1w5FMrG --dependency=strict=strict-0.5-BJkqvRKBJLSIltBfWiCtzY --dependency=text-iso8601=text-iso8601-0.1-3blUKirpqu8GqsZ4FvT3dh --dependency=time-compat=time-compat-1.9.6.1-3nKySrAaRx71VATVDJIo3s --dependency=time=time-1.12.2-4Pf2fTyj17B8XjSRNW4gXI --dependency=time=time-1.12.2-4Pf2fTyj17B8XjSRNW4gXI --dependency=text-short=text-short-0.1.5-Eduwt9R0jzcDtGazLW6ESQ --dependency=uuid-types=uuid-types-1.0.5.1-Zq8eIIMlgt1w8QuGj81AQ --dependency=witherable=witherable-0.4.2-3tMGTp4UzxE3ksGQ0jiFOP --dependency=base16-bytestring=base16-bytestring-1.0.2.0-FsPI0JDodJ5KpFjPr1LJou --dependency=cborg=cborg-0.2.10.0-8lIJlHPeo38hKZNtGCGCs --dependency=half=half-0.3.1-ICtoC98jNBiBfMa90ZedWb --dependency=hedgehog-fn=hedgehog-fn-1.0-HJK8Cy4UlfV2Vu9qwUhNDY --dependency=hedgehog=hedgehog-1.4-6t4geFkLEWWKI9jEFalBEJ --dependency=ansi-terminal=ansi-terminal-1.0-HQbMNokbGlXIUrFcCmWWJC --dependency=ansi-terminal-types=ansi-terminal-types-0.11.5-2a2fmPlNFqF1DlTktOKqnN --dependency=colour=colour-2.3.6-EA4HrM2YyXcEiOsPwT8hJY --dependency=colour=colour-2.3.6-EA4HrM2YyXcEiOsPwT8hJY --dependency=async=async-2.2.5-LsQJcXA9JznGzPT4bIlfa5 --dependency=barbies=barbies-2.0.5.0-4GBgblqClEs68NXfOKdVsO --dependency=concurrent-output=concurrent-output-1.10.20-557nxL4Qwrs2YILp0eyxia --dependency=directory=directory-1.3.8.1-BVz0G5efthg8T3yjMBXBrk --dependency=unix=unix-2.8.3.0-D4EMilNHDHdFN0ynrY6Fmy --dependency=process=process-1.6.18.0-3wCtVntuQMTDeQG6XWooHM --dependency=terminal-size=terminal-size-0.3.4-5ie490vasFZG60HF8736c9 --dependency=erf=erf-2.0.0.0-92efuiuTK54A2F9IwoRdny --dependency=lifted-async=lifted-async-0.10.2.5-5eWXPRXbAEa6ezuRQf9FWJ --dependency=constraints=constraints-0.14-BjT9FLxhUjd15xQMOlLCju --dependency=boring=boring-0.2.1-GlHDL0nItUG1CEqIMz2xAK --dependency=type-equality=type-equality-1-GDNBu1v4WJD5GYgP8fULHe --dependency=lifted-base=lifted-base-0.2.3.12-DXmFWdN0N7LFtHAl9ZTonp --dependency=monad-control=monad-control-1.0.3.1-EsvMh03VK9kIaIHp4BSuaK --dependency=transformers-base=transformers-base-0.4.6-9WJcyIsG4O0EXvZkDyV7Uc --dependency=transformers-base=transformers-base-0.4.6-9WJcyIsG4O0EXvZkDyV7Uc --dependency=mmorph=mmorph-1.2.0-HASOXeGnG5ZJf06JqduXuz --dependency=pretty-show=pretty-show-1.10-2MaCuryWJYl132HKb7gEAU --dependency=haskell-lexer=haskell-lexer-1.1.1-3VUBMQgEXvTHuZIVI6FgRO --dependency=resourcet=resourcet-1.3.0-DnYW4xZi5flEJn6Egfl5vS --dependency=unliftio-core=unliftio-core-0.2.1.0-JVXzmTImCVfEhhzM6PH8zE --dependency=safe-exceptions=safe-exceptions-0.1.7.4-HH7yINGQPOG2vgFex4fvev --dependency=wl-pprint-annotated=wl-pprint-annotated-0.1.0.1-GH1DdKOAVzAJu9y6yjRhbT --dependency=plutus-core=plutus-core-1.19.0.0-F68sDNum1YpHjfe65T8kv8 --dependency=aeson=aeson-2.2.1.0-BoAWz1EQjbKCYlIj1ojR6s --dependency=base64-bytestring=base64-bytestring-1.2.1.0-9sVsHQtqF4I2uyJ1aGbWYe --dependency=bimap=bimap-0.5.0-DN43mqKT7DkCa6gpCKcXHI --dependency=bytestring-strict-builder=bytestring-strict-builder-0.4.5.7-7Qyv1baTREU2xeeW9zp30z --dependency=cardano-crypto-class=cardano-crypto-class-2.1.4.0-GBS6Nns3zg8KSOCp8gIEaY --dependency=cardano-binary=cardano-binary-1.7.0.1-27mJc7oyi179crveXvz4JU --dependency=formatting=formatting-7.2.0-DuqRJVUjbNFDdEX9jlMK3K --dependency=clock=clock-0.8.4-HwjAwiSmRpB6f3zpxZ0IOo --dependency=double-conversion=double-conversion-2.0.4.2-JMcs16GcrmqCh1Cowt670z --dependency=old-locale=old-locale-1.0.0.7-4KE3cr4a8MDLNQtccJ9ww8 --dependency=recursion-schemes=recursion-schemes-5.2.2.5-JfjRtfyz7JC9C24WPwcLwx --dependency=free=free-5.2-42I55gnF2NAIafvKN43dKy --dependency=profunctors=profunctors-5.6.2-KvXsyZQLeWl5KUtLa8MZiJ --dependency=cardano-strict-containers=cardano-strict-containers-0.1.2.1-3sONd1oI8KVHr5T5ziTLrW --dependency=data-default-class=data-default-class-0.1.2.0-Ao78PX3plEHFYzgC5jHfsf --dependency=fingertree=fingertree-0.1.5.0-2yuCLVFStny5OfomKK2lOx --dependency=nothunks=nothunks-0.1.5-97yTsXw72z63hGgZgKDDvr --dependency=ghc-heap=ghc-heap-9.8.1-7ZcuGr1at912RxNBhhw7Nq --dependency=serialise=serialise-0.2.6.1-HusEfArTj2TDAd0yvB8FWa --dependency=cryptonite=cryptonite-0.30-Ih9MqXsihAVeYWEXCusGR --dependency=basement=basement-0.0.16-JBToEnXm14kIpLqnXnrVmu --dependency=memory=memory-0.18.0-KZuC14lNqx0EyoHkipczFB --dependency=heapwords=heapwords-0.1.0.2-JfFX3h8wH2qCxN3y2u5k2u --dependency=cardano-crypto=cardano-crypto-1.1.2-LRNRJ6rePgklwt7LIfR0P --dependency=foundation=foundation-0.0.30-LiuVLNQ4viiJBX2FBIWmur --dependency=cassava=cassava-0.5.3.0-84uMbNQGWOI3DXcNsHZT36 --dependency=Only=Only-0.1-GOQ8x7ANPHLAhW8HAOeFpS --dependency=attoparsec=attoparsec-0.14.4-ADYSssSuIOef9XAz2umXU --dependency=attoparsec-internal=attoparsec-0.14.4-EKFtIgTP7nL45M5Rsi7tQC-attoparsec-internal --dependency=attoparsec:attoparsec-internal=attoparsec-0.14.4-EKFtIgTP7nL45M5Rsi7tQC-attoparsec-internal --dependency=composition-prelude=composition-prelude-3.0.0.2-HqgLWEUhbAl3NlaagFgWSF --dependency=dependent-sum=dependent-sum-0.7.2.0-ADayTIpgpVh3DgminFWjnL --dependency=constraints-extras=constraints-extras-0.4.0.0-F1PxeeE4QDWIR7Ditx36jf --dependency=some=some-1.0.6-FvmMrHjW1OmAm1LnSicRzQ --dependency=deriving-aeson=deriving-aeson-0.2.9-2pAU5sJaPSR4Qw4Z5uOqsX --dependency=deriving-compat=deriving-compat-0.6.5-4mB3mHZflXq7KIzNit6xDM --dependency=extra=extra-1.7.14-FIa3oMbm3llFj8MRpxUDQ3 --dependency=flat=flat-0.6-IU9GJ3ix0zJ7Ww5eisY5ra --dependency=list-t=list-t-1.0.5.7-KXnNqxiOPorBJtSzd7iXRf --dependency=foldl=foldl-1.4.15-D1RRN4zQRj360kg2EXFXU --dependency=logict=logict-0.8.1.0-I5IN6ZYb9AvHUyxocC5skS --dependency=mono-traversable=mono-traversable-1.0.15.3-1rVqqQxNCDaH7k1U4kzTaU --dependency=split=split-0.2.4-GaD9FG5ENa53ag9jxGwp7y --dependency=vector-algorithms=vector-algorithms-0.9.0.1.0.0.0.0.1-FpTrAP1IuUX5xdeYT50AkE --dependency=bitvec=bitvec-1.1.5.0-GvEEkSppkSuGTAUUProwxw --dependency=lens=lens-5.2.3-7auM2MYhwfi3DQzIHIvyPs --dependency=call-stack=call-stack-0.4.0-79RoZpD80zqHW3NrGP0L5T --dependency=kan-extensions=kan-extensions-5.2.5-F6633r0FKBh7AlK7EPCT0N --dependency=adjunctions=adjunctions-4.4.2-1rAr0BQXqP52gTDNrO5iCK --dependency=semigroups=semigroups-0.20-26L5Q5SQchH32z5Bjc1qLI --dependency=void=void-0.7.3-K8TIbi5z4w2K6ALRkGXh3p --dependency=invariant=invariant-0.6.2-2nydMTX9VVW2V9Qo23Titz --dependency=parallel=parallel-3.2.2.0-1flvwCsmuZTSYza4JdAOD --dependency=reflection=reflection-2.1.7-5O0aRhib395t9faqkLQNQ --dependency=megaparsec=megaparsec-9.6.1-6dnhCCRxzrKn3umEkfDw4 --dependency=case-insensitive=case-insensitive-1.2.1.0-L8Z3xpv3DaMBDndCcelqN --dependency=parser-combinators=parser-combinators-1.3.0-FmevyzxTNPFJdvYba4M6Z2 --dependency=monoidal-containers=monoidal-containers-0.6.4.0-6B0d0M3sKDuBsdjSRewfQF --dependency=newtype=newtype-0.2.2.0-9gfnesqZ0YbCYZ8cZqcqku --dependency=multiset=multiset-0.3.4.3-3aaxBsMf2POILXWq3Cp8K0 --dependency=index-envs=plutus-core-1.19.0.0-9TDP6VaRYqo4XwCRahPDqT-index-envs --dependency=plutus-core:index-envs=plutus-core-1.19.0.0-9TDP6VaRYqo4XwCRahPDqT-index-envs --dependency=nonempty-vector=nonempty-vector-0.2.3-I8zTC2b6flp4EotOeFWmHK --dependency=ral=ral-0.2.1-AIahQo5UWd2A51pauqp0K1 --dependency=bin=bin-0.1.3-HXDJQwLVB9tFAOJemVdL3z --dependency=dec=dec-0.0.5-7cUhPGDY3ek5zc2pMUDSCo --dependency=fin=fin-0.3-FSAyvqwVWG5IfzpRkiHhJW --dependency=universe-base=universe-base-1.1.3.1-3pqSq0IYjnFCqGFnmPdZ6Z --dependency=satint=plutus-core-1.19.0.0-GJKubws5L5C8Rou084btHL-satint --dependency=plutus-core:satint=plutus-core-1.19.0.0-GJKubws5L5C8Rou084btHL-satint --dependency=prettyprinter-configurable=prettyprinter-configurable-1.19.0.0-DxNkj6TWdEwJFoUdBKSnm1 --dependency=microlens=microlens-0.4.13.1-JrvyYAe61EAJoR2dtLtVLI --dependency=prettyprinter=prettyprinter-1.7.1-3qpod2QeSZuW8EdJO2ntt --dependency=prettyprinter=prettyprinter-1.7.1-3qpod2QeSZuW8EdJO2ntt --dependency=th-lift-instances=th-lift-instances-0.1.20-5yPKkYLQah94IQwfjmO0ud --dependency=th-lift=th-lift-0.8.4-AZC6zg7OkOEBTbuAn3ErLD --dependency=th-lift=th-lift-0.8.4-AZC6zg7OkOEBTbuAn3ErLD --dependency=th-utilities=th-utilities-0.2.5.0-LOLtIfTKdj88nV52n0hHmI --dependency=syb=syb-0.7.2.4-9iM1MeJhENSIV8ib902w0C --dependency=th-orphans=th-orphans-0.13.14-2LoqR62lC1F59oaTDXxGt8 --dependency=th-reify-many=th-reify-many-0.1.10-7WQsrHl37evFol0Q5elAKX --dependency=safe=safe-0.3.19-10Q9N1LJWQ5J9PAwsFEMc2 --dependency=th-expand-syns=th-expand-syns-0.4.11.0-JPJoerwlsKFRo1E0dPmaA --dependency=plutus-core-testlib=plutus-core-1.19.0.0-1bVfIkoqFuU7ZM8UiJ7NWH-plutus-core-testlib --dependency=plutus-core:plutus-core-testlib=plutus-core-1.19.0.0-1bVfIkoqFuU7ZM8UiJ7NWH-plutus-core-testlib --dependency=Stream=Stream-0.4.7.2-AX4ucwQYjh3Eil3x9nS2XS --dependency=lazysmallcheck=lazysmallcheck-0.6-2HycYIJ7vpjETif2tRKlAe --dependency=dependent-map=dependent-map-0.4.0.0-2AgndXmKIL9LPrODiHexBz --dependency=lazy-search=lazy-search-0.1.3.0-25EAqaxuNlxlEIZvc0syt --dependency=size-based=size-based-0.1.3.2-JDHMdTYd85qLcAeVZiv2Um --dependency=dictionary-sharing=dictionary-sharing-0.1.0.0-H7dvzNzzCWJJXndlXkOdKV --dependency=testing-type-modifiers=testing-type-modifiers-0.1.0.1-2DvUj3GNCCGKhv3vBB6hJo --dependency=plutus-ir=plutus-core-1.19.0.0-L9BdAIFWvTVEX8s5TwPYBr-plutus-ir --dependency=plutus-core:plutus-ir=plutus-core-1.19.0.0-L9BdAIFWvTVEX8s5TwPYBr-plutus-ir --dependency=algebraic-graphs=algebraic-graphs-0.7-I8L8SxFQDwvFBVsBeLTErO --dependency=dom-lt=dom-lt-0.2.3-DrMxJk6G8Ex5oaphgebYCA --dependency=quickcheck-instances=quickcheck-instances-0.3.30-Lai6hYUl5y6Ex9xcOC3y2i --dependency=old-time=old-time-1.1.0.3-KGbYjbH8DQW9kEADzXS5FW --dependency=quickcheck-transformer=quickcheck-transformer-0.3.1.2-6l74sKYK8AlFHM8mD4mzlT --dependency=tasty-golden=tasty-golden-2.3.5-5rWNohO0g1ZCg8PaV2dqzo --dependency=optparse-applicative=optparse-applicative-0.18.1.0-COLAVWOA80l5YEeOarwwvf --dependency=prettyprinter-ansi-terminal=prettyprinter-ansi-terminal-1.1.3-FEwveK77lMsI2JWCoNyPD8 --dependency=tasty=tasty-1.5-IdiJaIlfgoX7P9u6iG6eJV --dependency=temporary=temporary-1.3-AqGkTifYrHs6ib1Kwsvrka --dependency=typed-process=typed-process-0.2.11.1-J02iOfdwEJ61rsNrewTSf9 --dependency=tasty-hedgehog=tasty-hedgehog-1.4.0.2-4al1bt4NKsn4F43KSvM2NK --dependency=tasty-hunit=tasty-hunit-0.10.1-B4cDCOArYM0EH9hK0tTSUZ --dependency=plutus-tx=plutus-tx-1.19.0.0-F86dNHus9ww4W5CuQM0kQx --dependency=array=array-0.5.6.0-inplace --dependency=base=base-4.19.0.0-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.1-inplace --dependency=ghc-prim=ghc-prim-0.11.0-inplace --dependency=integer-gmp=integer-gmp-1.1-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 --with-ghc=ghc --with-ghc-pkg=ghc-pkg --with-hsc2hs=hsc2hs --with-gcc=cc --with-ar=ar --with-strip=strip --with-ld=ld --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/hz1df0pa7s99b963nqbha6d90hkln7jp-plutus-tx-test-plutus-tx-test-1.19.0.0-data/share/ghc-9.8.1 --ghc-options=-Werror 
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 1 minutes 32 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 )
[ 2 of 15] Compiling Map.Spec         ( test/Map/Spec.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Map/Spec.o )

test/Map/Spec.hs:106:40: error: [GHC-83865]
    • Couldn't match type ‘Integer’
                     with ‘PlutusTx.These.These Integer Integer’
      Expected: RBTree Integer (PlutusTx.These.These Integer Integer)
        Actual: Map Integer Integer
    • In the second argument of ‘lookup’, namely ‘t1’
      In the first argument of ‘(<|>)’, namely ‘lookup k t1’
      In the second argument of ‘(===)’, namely
        ‘(lookup k t1 <|> lookup k t2)’
    |
106 |   lookup k (union t1 t2) === (lookup k t1 <|> lookup k t2)
    |                                        ^^

test/Map/Spec.hs:106:56: error: [GHC-83865]
    • Couldn't match type ‘Integer’
                     with ‘PlutusTx.These.These Integer Integer’
      Expected: RBTree Integer (PlutusTx.These.These Integer Integer)
        Actual: Map Integer Integer
    • In the second argument of ‘lookup’, namely ‘t2’
      In the second argument of ‘(<|>)’, namely ‘lookup k t2’
      In the second argument of ‘(===)’, namely
        ‘(lookup k t1 <|> lookup k t2)’
    |
106 |   lookup k (union t1 t2) === (lookup k t1 <|> lookup k t2)
    |                                                        ^^

test/Map/Spec.hs:113:52: error: [GHC-83865]
    • Couldn't match type ‘Integer’
                     with ‘PlutusTx.These.These Integer b0’
      Expected: [RBTree Integer (PlutusTx.These.These Integer b0)]
        Actual: [Map Integer Integer]
    • In the third argument of ‘foldr’, namely ‘ts’
      In the second argument of ‘(===)’, namely
        ‘foldr (\ m res -> lookup k m <|> res) empty ts’
      In a stmt of a 'do' block:
        lookup k (foldr (\ m1 m2 -> union m1 m2) Map.empty ts)
          === foldr (\ m res -> lookup k m <|> res) empty ts
    |
113 |     === foldr (\m res -> lookup k m <|> res) empty ts
    |                                                    ^^

test/Map/Spec.hs:170:43: error: [GHC-83865]
    • Couldn't match type ‘Integer’
                     with ‘PlutusTx.These.These Integer Integer’
      Expected: RBTree Integer (PlutusTx.These.These Integer Integer)
        Actual: Map Integer Integer
    • In the first argument of ‘toList’, namely ‘t1’
      In the first argument of ‘(++)’, namely ‘toList t1’
      In the first argument of ‘L.sort’, namely
        ‘(toList t1 ++ foldr deleteKey (toList t2) (keys t1))’
    |
170 |   toList (union t1 t2) === L.sort (toList t1 ++ foldr deleteKey (toList t2) (keys t1))
    |                                           ^^

test/Map/Spec.hs:170:73: error: [GHC-83865]
    • Couldn't match type ‘Integer’
                     with ‘PlutusTx.These.These Integer Integer’
      Expected: RBTree Integer (PlutusTx.These.These Integer Integer)
        Actual: Map Integer Integer
    • In the first argument of ‘toList’, namely ‘t2’
      In the second argument of ‘foldr’, namely ‘(toList t2)’
      In the second argument of ‘(++)’, namely
        ‘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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[ 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 )
[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 )
[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 )
[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 )
[13 of 15] Compiling Rational.Laws    ( test/Rational/Laws.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Rational/Laws.o )
[14 of 15] Compiling Show.Spec        ( test/Show/Spec.hs, dist/build/plutus-tx-test/plutus-tx-test-tmp/Show/Spec.o )