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

Added examples of transaction creation to Haddock #698

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Clarify balancing overview explanation and simplify references

390d6a9
Select commit
Loading
Failed to load commit list.
Open

Added examples of transaction creation to Haddock #698

Clarify balancing overview explanation and simplify references
390d6a9
Select commit
Loading
Failed to load commit list.
Garnix CI / package ghc966-x86_64-w64-mingw32:cardano-api:test:cardano-api-test [x86_64-linux] timed out Jan 8, 2025 in 2h 0m 19s

Run results

Build timed out

Details

Last 100 lines of logs:

https://cache.nixos.org/maqr0my1lx6jqqlg00qhfnsprz1km6p5.narinfo
https://cache.garnix.io/maqr0my1lx6jqqlg00qhfnsprz1km6p5.narinfo
https://cache.nixos.org/6ixx9ycd6nxp4wy3ip598jjc1jyarg5h.narinfo
https://cache.garnix.io/6ixx9ycd6nxp4wy3ip598jjc1jyarg5h.narinfo
@nix {"action":"setPhase","phase":"unpackPhase"}
Running phase: unpackPhase
unpacking source archive /nix/store/mqnywbf9xayimg0sk8y8aywkx031wyp1-source-root-cardano-api-test-cardano-api-test-root
source root is source-root-cardano-api-test-cardano-api-test-root
@nix {"action":"setPhase","phase":"patchPhase"}
Running phase: patchPhase
@nix {"action":"setPhase","phase":"updateAutotoolsGnuConfigScriptsPhase"}
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix {"action":"setPhase","phase":"configurePhase"}
Running phase: configurePhase
Configure flags:
--prefix=/nix/store/maqr0my1lx6jqqlg00qhfnsprz1km6p5-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0 test:cardano-api-test --package-db=clear --package-db=/build/tmp.aqSGd989qL/lib/package.conf.d --exact-configuration --dependency=QuickCheck=QuickCheck-2.15.0.1-9PQIhew8u9A5R0l3mQu7Dj --dependency=random=random-1.2.1.2-Daj3TjgzPQ8Lx6Uup6vF1b --dependency=splitmix=splitmix-0.1.0.5-BFex6Gx3IBaGtdqU1pJPtq --dependency=splitmix=splitmix-0.1.0.5-BFex6Gx3IBaGtdqU1pJPtq --dependency=aeson=aeson-2.2.3.0-Ezwf39kAe6OInWQQ0i22kn --dependency=OneTuple=OneTuple-0.4.2-7od06fXUUXRBNk1V3VY0g5 --dependency=QuickCheck=QuickCheck-2.15.0.1-9PQIhew8…
Configuring test suite 'cardano-api-test' for cardano-api-10.3.0.0..
Warning: 'hs-source-dirs: gen' specifies a directory which does not exist.
Warning: 'hs-source-dirs: internal' specifies a directory which does not
exist.
Warning: 'hs-source-dirs: src' specifies a directory which does not exist.
Warning: 'hs-source-dirs: test/cardano-api-golden' specifies a directory which
does not exist.
@nix {"action":"setPhase","phase":"buildPhase"}
Running phase: buildPhase
Preprocessing test suite 'cardano-api-test' for cardano-api-10.3.0.0..
Building test suite 'cardano-api-test' for cardano-api-10.3.0.0..
[ 1 of 22] Compiling Test.Cardano.Api.Bech32 ( test/cardano-api-test/Test/Cardano/Api/Bech32.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Bech32.o )
[ 2 of 22] Compiling Test.Cardano.Api.Crypto ( test/cardano-api-test/Test/Cardano/Api/Crypto.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Crypto.o )
[ 3 of 22] Compiling Test.Cardano.Api.EpochLeadership ( test/cardano-api-test/Test/Cardano/Api/EpochLeadership.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/EpochLeadership.o )
[ 4 of 22] Compiling Test.Cardano.Api.Eras ( test/cardano-api-test/Test/Cardano/Api/Eras.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Eras.o )
[ 5 of 22] Compiling Test.Cardano.Api.Experimental ( test/cardano-api-test/Test/Cardano/Api/Experimental.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Experimental.o )
[ 6 of 22] Compiling Test.Cardano.Api.Genesis ( test/cardano-api-test/Test/Cardano/Api/Genesis.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Genesis.o )
---> Starting iserv-proxy-interpreter.exe on port 9926
[ 7 of 22] Compiling Test.Cardano.Api.IO ( test/cardano-api-test/Test/Cardano/Api/IO.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/IO.o )
[ 8 of 22] Compiling Test.Cardano.Api.Ledger ( test/cardano-api-test/Test/Cardano/Api/Ledger.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Ledger.o )
[ 9 of 22] Compiling Test.Cardano.Api.Metadata ( test/cardano-api-test/Test/Cardano/Api/Metadata.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Metadata.o )
To re-use the same wine-prefix and remote-iserv, set the following environment variables:
export WINEPREFIX=/build/tmp.jKB0IsyiMA
export REMOTE_ISERV=/build/tmp.qMIjx1Njdr
---| iserv-proxy-interpreter.exe should have started on 9926
004c:err:systray:initialize_systray Could not create tray window
0090:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
wine: configuration in L"/build" has been updated.
Listening on port 9926
[10 of 22] Compiling Test.Cardano.Api.Ord ( test/cardano-api-test/Test/Cardano/Api/Ord.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Ord.o )
[11 of 22] Compiling Test.Cardano.Api.Orphans ( test/cardano-api-test/Test/Cardano/Api/Orphans.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Orphans.o )
[12 of 22] Compiling Test.Cardano.Api.KeysByron ( test/cardano-api-test/Test/Cardano/Api/KeysByron.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/KeysByron.o )
[13 of 22] Compiling Test.Cardano.Api.Json ( test/cardano-api-test/Test/Cardano/Api/Json.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Json.o )
[14 of 22] Compiling Test.Cardano.Api.Envelope ( test/cardano-api-test/Test/Cardano/Api/Envelope.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Envelope.o )
[15 of 22] Compiling Test.Cardano.Api.CBOR ( test/cardano-api-test/Test/Cardano/Api/CBOR.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/CBOR.o )
[16 of 22] Compiling Test.Cardano.Api.Address ( test/cardano-api-test/Test/Cardano/Api/Address.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Address.o )
[17 of 22] Compiling Test.Cardano.Api.ProtocolParameters ( test/cardano-api-test/Test/Cardano/Api/ProtocolParameters.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/ProtocolParameters.o )
[18 of 22] Compiling Test.Cardano.Api.RawBytes ( test/cardano-api-test/Test/Cardano/Api/RawBytes.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/RawBytes.o )
[19 of 22] Compiling Test.Cardano.Api.Transaction.Autobalance ( test/cardano-api-test/Test/Cardano/Api/Transaction/Autobalance.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Transaction/Autobalance.o )
[20 of 22] Compiling Test.Cardano.Api.TxBody ( test/cardano-api-test/Test/Cardano/Api/TxBody.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/TxBody.o )
[21 of 22] Compiling Test.Cardano.Api.Value ( test/cardano-api-test/Test/Cardano/Api/Value.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Test/Cardano/Api/Value.o )
[22 of 22] Compiling Main             ( test/cardano-api-test/cardano-api-test.hs, dist/build/cardano-api-test/cardano-api-test-tmp/Main.o )
---> killing iserv-proxy-interpreter.exe...
[23 of 23] Linking dist/build/cardano-api-test/cardano-api-test.exe
buildPhase completed in 42 seconds
@nix {"action":"setPhase","phase":"installPhase"}
Running phase: installPhase
Setup copy success
Symlink libffi and gmp .dlls ...
ln: failed to create symbolic link '/nix/store/maqr0my1lx6jqqlg00qhfnsprz1km6p5-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0/bin/libmcfgthread-1.dll': File exists
The test cardano-api.components.tests.cardano-api-test was built. To run the test build cardano-api.checks.cardano-api-test.
@nix {"action":"setPhase","phase":"fixupPhase"}
Running phase: fixupPhase
DLLPATH='/nix/store/maqr0my1lx6jqqlg00qhfnsprz1km6p5-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0/bin:/nix/store/m33wspff09cb418n1fp1w9c9v92rypsm-x86_64-w64-mingw32-gcc-13.3.0-lib/x86_64-w64-mingw32/lib:/nix/store/m33wspff09cb418n1fp1w9c9v92rypsm-x86_64-w64-mingw32-gcc-13.3.0-lib/x86_64-w64-mingw32/lib64:/nix/store/vvm4mh34avs2s1fjc0cldxbjb1al6376-ncurses-x86_64-w64-mingw32-6.4.20221231/lib:/nix/store/fxhwiadxascm3gkyic043gfkc46bz1f8-ncurses-x86_64-w64-mingw32-6.4.20221231-dev/lib:/nix/store/fxhwiadxascm3gkyic043gfkc46bz1f8-ncurses-x86_64-w64-mingw32-6.4.20221231-dev/bin:/nix/store/5fi7k9hzbka5gihz29niq5fjh9aai5rc-libffi-x86…
Created 0 DLL link(s) in /nix/store/maqr0my1lx6jqqlg00qhfnsprz1km6p5-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0/bin
checking for references to /build/ in /nix/store/maqr0my1lx6jqqlg00qhfnsprz1km6p5-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0...
patching script interpreter paths in /nix/store/maqr0my1lx6jqqlg00qhfnsprz1km6p5-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0
Not linking DLLs in the non-existent folder /nix/store/6ixx9ycd6nxp4wy3ip598jjc1jyarg5h-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0-data/bin
checking for references to /build/ in /nix/store/6ixx9ycd6nxp4wy3ip598jjc1jyarg5h-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0-data...
patching script interpreter paths in /nix/store/6ixx9ycd6nxp4wy3ip598jjc1jyarg5h-cardano-api-test-cardano-api-test-x86_64-w64-mingw32-10.3.0.0-data