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

Typed Protocols: new API #870

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

Updated to new version of cardano-api

20e817e
Select commit
Loading
Failed to load commit list.
Draft

Typed Protocols: new API #870

Updated to new version of cardano-api
20e817e
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/hydra-build:x86_64-darwin.packages.cardano-cli:lib:cardano-cli failed Nov 5, 2024 in 17s

Build dependency failed

1 failed steps

Details

Failed Steps

Step 1

Derivation

/nix/store/bsmqi2ffnpjbnxr58spay1qircgmhb48-cabal-doctest-lib-cabal-doctest-1.0.10.drv

Log

Running phase: unpackPhase
unpacking source archive /nix/store/qh0c6yqzdg4937g56qdlwvvscwpp2519-cabal-doctest-1.0.10.tar.gz
source root is cabal-doctest-1.0.10
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file cabal-doctest-1.0.10/src/Distribution/Extra/Doctest.hs
Running phase: patchPhase
'/private/tmp/nix-build-cabal-doctest-lib-cabal-doctest-1.0.10.drv-0/.attr-0h9ydb7s8pfhl5kfs3rmmwnmpi49yyiw7jgr5dpw9rmvv8sy0f2b' -> 'cabal-doctest.cabal'
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/v3xkskjg3l316qxfzq1fcmps3yzzdsfn-cabal-doctest-lib-cabal-doctest-1.0.10 lib:cabal-doctest --package-db=clear --package-db=/private/tmp/nix-build-cabal-doctest-lib-cabal-doctest-1.0.10.drv-0/tmp.9m78pKtsIf/lib/ghc-9.8.2/lib/package.conf.d --exact-configuration --dependency=Cabal=Cabal-3.14.0.0-76jI2s62aorGqZ5M2BeKu7 --dependency=Cabal-syntax=Cabal-syntax-3.14.0.0-BK7SyW6LlqwKw5ezTEmv0o --dependency=directory=directory-1.3.9.0-2RnAOOnqicIIT9U6M8ipjI --dependency=file-io=file-io-0.1.4-4RqkyF6RlYgDmC3aK7OpGM --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=unix=unix-2.8.5.1-809IZAFXw5W2PebNvF4srM --dependency=unix=unix-2.8.5.1-809IZAFXw5W2PebNvF4srM --dependency=parsec=parsec-3.1.17.0-HIRcPS3r97K6ng54FT4YPL --dependency=text=text-2.1.1-HxvB8fXGzb8JxRpipR0d3T --dependency=text=text-2.1.1-HxvB8fXGzb8JxRpipR0d3T --dependency=process=process-1.6.25.0-7kWQNsTXGwy7CNCe4muN63 --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-compact=ghc-compact-0.1.0.0-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=pretty=pretty-1.1.3.6-inplace --dependency=rts=rts-1.0.2 --dependency=template-haskell=template-haskell-2.21.0.0-inplace --dependency=terminfo=terminfo-0.4.1.6-inplace --dependency=time=time-1.12.2-inplace --dependency=transformers=transformers-0.6.1.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/l0f7lw0gb58hsn20z2z4n1q7lw6dqzmn-cabal-doctest-lib-cabal-doctest-1.0.10-data/share/ghc-9.8.2 
Configuring library for cabal-doctest-1.0.10..
Running phase: buildPhase
Preprocessing library for cabal-doctest-1.0.10..
Building library for cabal-doctest-1.0.10..
[1 of 1] Compiling Distribution.Extra.Doctest ( src/Distribution/Extra/Doctest.hs, dist/build/Distribution/Extra/Doctest.o, dist/build/Distribution/Extra/Doctest.dyn_o )

src/Distribution/Extra/Doctest.hs:464:8: error: [GHC-76037]
    Not in scope: data constructor ‘GlobalPackageDB’
    Suggested fix:
      Add ‘GlobalPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
464 |       (GlobalPackageDB:UserPackageDB:dbs) -> concatMap specific dbs
    |        ^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:464:24: error: [GHC-76037]
    Not in scope: data constructor ‘UserPackageDB’
    Suggested fix:
      Add ‘UserPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
464 |       (GlobalPackageDB:UserPackageDB:dbs) -> concatMap specific dbs
    |                        ^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:465:8: error: [GHC-76037]
    Not in scope: data constructor ‘GlobalPackageDB’
    Suggested fix:
      Add ‘GlobalPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
465 |       (GlobalPackageDB:dbs)               -> ("-no-user-package-conf")
    |        ^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:469:19: error: [GHC-76037]
    Not in scope: data constructor ‘SpecificPackageDB’
    Suggested fix:
      Add ‘SpecificPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
469 |         specific (SpecificPackageDB db) = [ "-package-conf=" ++ db ]
    |                   ^^^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:479:8: error: [GHC-76037]
    Not in scope: data constructor ‘GlobalPackageDB’
    Suggested fix:
      Add ‘GlobalPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
479 |       (GlobalPackageDB:UserPackageDB:dbs)
    |        ^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:479:24: error: [GHC-76037]
    Not in scope: data constructor ‘UserPackageDB’
    Suggested fix:
      Add ‘UserPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
479 |       (GlobalPackageDB:UserPackageDB:dbs)
    |                        ^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:481:8: error: [GHC-76037]
    Not in scope: data constructor ‘GlobalPackageDB’
    Suggested fix:
      Add ‘GlobalPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
481 |       (GlobalPackageDB:dbs)
    |        ^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:487:16: error: [GHC-76037]
    Not in scope: data constructor ‘SpecificPackageDB’
    Suggested fix:
      Add ‘SpecificPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
487 |        single (SpecificPackageDB db) = [ "-package-db=" ++ db ]
    |                ^^^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:488:15: error: [GHC-76037]
    Not in scope: data constructor ‘GlobalPackageDB’
    Suggested fix:
      Add ‘GlobalPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
488 |        single GlobalPackageDB        = [ "-global-package-db" ]
    |               ^^^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:489:15: error: [GHC-76037]
    Not in scope: data constructor ‘UserPackageDB’
    Suggested fix:
      Add ‘UserPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
489 |        single UserPackageDB          = [ "-user-package-db" ]
    |               ^^^^^^^^^^^^^

src/Distribution/Extra/Doctest.hs:490:20: error: [GHC-76037]
    Not in scope: data constructor ‘SpecificPackageDB’
    Suggested fix:
      Add ‘SpecificPackageDB’ to one of these import lists:
        ‘Distribution.Simple’ (at src/Distribution/Extra/Doctest.hs:(66,1)-(68,23))
        ‘Distribution.Simple.Compiler’ (at src/Distribution/Extra/Doctest.hs:(69,1)-(70,74))
    |
490 |        isSpecific (SpecificPackageDB _) = True
    |                    ^^^^^^^^^^^^^^^^^