Typed Protocols: new API #870
+31
−10
Draft
IOG Hydra / ci/hydra-build:aarch64-darwin.packages.cardano-cli:lib:cardano-cli-test-lib
failed
Nov 5, 2024 in 7s
Build dependency failed
1 failed steps
Details
Failed Steps
Step 1
Derivation
/nix/store/9hz6qizsb8n8iddzanpy0rx6vw25fq0g-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: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/5cnx8rrn4kdkmj1cnh4bsc93x0ijg5qm-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.Vv7L4NVFFy/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/22xrfdg2qdh8d9yjf4cg6fkwadk668zm-cabal-doctest-lib-cabal-doctest-1.0.10-data/share/ghc-9.8.2
Configuring library for cabal-doctest-1.0.10..
Warning: --enable-library-for-ghci is not supported with the current linker;
ignoring...
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
| ^^^^^^^^^^^^^^^^^
Loading