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

Scrap hex and rely on bech32 for converting to hex #291

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

coding standards

1f88908
Select commit
Loading
Failed to load commit list.
Open

Scrap hex and rely on bech32 for converting to hex #291

coding standards
1f88908
Select commit
Loading
Failed to load commit list.
Garnix CI / package ghc810-javascript-unknown-ghcjs:cardano-addresses-cli:exe:cardano-address [x86_64-linux] succeeded Jan 13, 2025 in 5m 3s

Run results

Build succeeded

Details

Last 100 lines of logs:

https://cache.nixos.org/g114b21xqw8rggvwmzd8zd6dnwz9picg.narinfo
https://cache.nixos.org/smbf4a83bnknr73lqs2h4xcgl6q14jil.narinfo
https://cache.garnix.io/g114b21xqw8rggvwmzd8zd6dnwz9picg.narinfo
https://cache.garnix.io/smbf4a83bnknr73lqs2h4xcgl6q14jil.narinfo
https://cache.garnix.io/nar/g114b21xqw8rggvwmzd8zd6dnwz9picg-08dnslnxrlpmh26xay4ancwfss7452xzc7zlv0whama35pjly1k4.nar
https://cache.garnix.io/nar/smbf4a83bnknr73lqs2h4xcgl6q14jil-0g3v299g4xm6h6mgjwknj2iiycp8rcijgj6n1ygbwdynsls0npg0.nar
https://cache.nixos.org/46zn94w4snh63cac5jrkwvwr4pwvm83r.narinfo
https://cache.garnix.io/46zn94w4snh63cac5jrkwvwr4pwvm83r.narinfo
https://cache.nixos.org/zjhjsr12m9zig5bw58jxmzhhsfzsil8w.narinfo
https://cache.garnix.io/zjhjsr12m9zig5bw58jxmzhhsfzsil8w.narinfo
@nix {"action":"setPhase","phase":"unpackPhase"}
unpacking sources
unpacking source archive /nix/store/k5l231833phnniy2naj9bm9kyx8v1jvm-cardano-addresses-src-root-command-line-exe-cardano-address-root
source root is cardano-addresses-src-root-command-line-exe-cardano-address-root
@nix {"action":"setPhase","phase":"patchPhase"}
patching sources
@nix {"action":"setPhase","phase":"updateAutotoolsGnuConfigScriptsPhase"}
updateAutotoolsGnuConfigScriptsPhase
@nix {"action":"setPhase","phase":"configurePhase"}
configuring
Configure flags:
--prefix=/nix/store/46zn94w4snh63cac5jrkwvwr4pwvm83r-cardano-addresses-cli-exe-cardano-address-3.12.0 exe:cardano-address --package-db=clear --package-db=/build/tmp.3bCPqeP5qP/lib/js-unknown-ghcjs-ghc-8.10.7/package.conf.d --flags=-release --exact-configuration --dependency=cardano-addresses-cli=cardano-addresses-cli-3.12.0-3QaEWJrlJbb4qQqZXJkuwf --dependency=aeson=aeson-2.0.3.0-LmI1IXYgiquAt1Yk6dC5YC --dependency=OneTuple=OneTuple-0.3.1-F33emkaOYeF2hD4tO5K2f2 --dependency=base-orphans=base-orphans-0.9.2-IV8m6UKXFanGxBdDI7jKUp --dependency=hashable=hashable-1.4.4.0-GNsel2WUJ62BwugKC5JdWB --dependency=data-array-byte=data-array-byte-0.1.0.1-J…
Configuring executable 'cardano-address' for cardano-addresses-cli-3.12.0..
Warning: 'hs-source-dirs: lib' specifies a directory which does not exist.
Warning: 'hs-source-dirs: test' specifies a directory which does not exist.
["/nix/store/p8b736k07gbp4bmwy002gwk4fm9gkl6d-digest-lib-digest-0.0.1.2/lib/js-ghcjs-ghcjs-8.10.7-ghc8_10_7/digest-0.0.1.2-6yacafbf86H9EGI19L4rhQ/libEMCCdigest.exported.js_a","/nix/store/6l9dmibcpffpqxvqn6kwd9yl5qnc7i7i-foundation-lib-foundation-0.0.30/lib/js-ghcjs-ghcjs-8.10.7-ghc8_10_7/foundation-0.0.30-8BFUHCJSPgG1PDWhC9k6WZ/libEMCCfoundation.exported.js_a","/nix/store/kxbhl9imxbq0bpsi49p1p6n40qm66xbw-cryptonite-lib-cryptonite-0.30/lib/js-ghcjs-ghcjs-8.10.7-ghc8_10_7/cryptonite-0.30-6Ikko7TPHgLEb3hnHQwYiz/libEMCCcryptonite.exported.js_a","/nix/store/i0wyh3pny2w97iq7v27dykn92nk1aqi4-cardano-addresses-jsbits-lib-cardano-addresses-jsbits-3.1…
creating dist/build/cardano-address/cardano-address-tmp
creating dist/build/cardano-address
creating dist/build/cardano-address/cardano-address-tmp
Running: /nix/store/rmcbdbv3mcv59hpm3qrlpjxy72z0xbkj-emscripten-3.1.24/bin/emcc -o dist/build/cardano-address/cardano-address-tmp/th-support.js -s 'WASM=0' -s ALLOW_TABLE_GROWTH -s 'EXPORTED_RUNTIME_METHODS=['\''printErr'\'','\''addFunction'\'','\''removeFunction'\'','\''getTempRet0'\'','\''setTempRet0'\'']' -s 'EXPORTED_FUNCTIONS=['\''_malloc'\'', '\''_free'\'', '\''_adler32'\'', '\''_crc32'\'', '\''_malloc'\'', '\''_free'\'', '\''_foundation_rngV1_generate'\'', '\''_malloc'\'', '\''_free'\'', '\''_cryptonite_md5_init'\'', '\''_cryptonite_md5_update'\'', '\''_cryptonite_md5_finalize'\'', '\''_cryptonite_sha256_init'\'', '\''_cryptonite_sha2…
cache:INFO: generating system headers: sysroot_install.stamp... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot_install.stamp" for subsequent builds)
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libGL.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libGL.a" for subsequent builds)
system_libs:INFO: compiled 3 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libal.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libal.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libhtml5.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libhtml5.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libstubs-debug.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libstubs-debug.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libnoexit.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libnoexit.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libc-debug.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libc-debug.a" for subsequent builds)
system_libs:INFO: compiled 998 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libdlmalloc.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libdlmalloc.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libcompiler_rt.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libcompiler_rt.a" for subsequent builds)
system_libs:INFO: compiled 175 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libc++-noexcept.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libc++-noexcept.a" for subsequent builds)
system_libs:INFO: compiled 46 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libc++abi-debug-noexcept.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libc++abi-debug-noexcept.a" for subsequent builds)
system_libs:INFO: compiled 16 inputs
cache:INFO:  - ok
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/libsockets.a... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/libsockets.a" for subsequent builds)
system_libs:INFO: compiled 21 inputs
cache:INFO:  - ok
cache:INFO: generating system asset: sysroot/lib/wasm32-emscripten/struct_info.json... (this will be cached in "/build/tmp.AOAyV4fjNp/sysroot/lib/wasm32-emscripten/struct_info.json" for subsequent builds)
cache:INFO:  - ok
"OK. Exe (Link)"
["/nix/store/p8b736k07gbp4bmwy002gwk4fm9gkl6d-digest-lib-digest-0.0.1.2/lib/js-ghcjs-ghcjs-8.10.7-ghc8_10_7/digest-0.0.1.2-6yacafbf86H9EGI19L4rhQ/libEMCCdigest.exported.js_a","/nix/store/6l9dmibcpffpqxvqn6kwd9yl5qnc7i7i-foundation-lib-foundation-0.0.30/lib/js-ghcjs-ghcjs-8.10.7-ghc8_10_7/foundation-0.0.30-8BFUHCJSPgG1PDWhC9k6WZ/libEMCCfoundation.exported.js_a","/nix/store/kxbhl9imxbq0bpsi49p1p6n40qm66xbw-cryptonite-lib-cryptonite-0.30/lib/js-ghcjs-ghcjs-8.10.7-ghc8_10_7/cryptonite-0.30-6Ikko7TPHgLEb3hnHQwYiz/libEMCCcryptonite.exported.js_a","/nix/store/i0wyh3pny2w97iq7v27dykn92nk1aqi4-cardano-addresses-jsbits-lib-cardano-addresses-jsbits-3.1…
creating dist/build/emcc
Running: /nix/store/rmcbdbv3mcv59hpm3qrlpjxy72z0xbkj-emscripten-3.1.24/bin/emcc -o dist/build/emcc/lib.js -s 'WASM=0' -s ALLOW_TABLE_GROWTH -s 'EXPORTED_RUNTIME_METHODS=['\''printErr'\'','\''addFunction'\'','\''removeFunction'\'','\''getTempRet0'\'','\''setTempRet0'\'']' -s 'EXPORTED_FUNCTIONS=['\''_malloc'\'', '\''_free'\'', '\''_adler32'\'', '\''_crc32'\'', '\''_malloc'\'', '\''_free'\'', '\''_foundation_rngV1_generate'\'', '\''_malloc'\'', '\''_free'\'', '\''_cryptonite_md5_init'\'', '\''_cryptonite_md5_update'\'', '\''_cryptonite_md5_finalize'\'', '\''_cryptonite_sha256_init'\'', '\''_cryptonite_sha256_update'\'', '\''_cryptonite_sha256_…
configurePhase completed in 37 seconds
@nix {"action":"setPhase","phase":"buildPhase"}
building
"dist/build/emcc/lib.js exists"
Preprocessing executable 'cardano-address' for cardano-addresses-cli-3.12.0..
Building executable 'cardano-address' for cardano-addresses-cli-3.12.0..
[1 of 2] Compiling Main             ( exe/Main.hs, dist/build/cardano-address/cardano-address-tmp/Main.js_o )
[2 of 2] Compiling Paths_cardano_addresses_cli ( dist/build/cardano-address/autogen/Paths_cardano_addresses_cli.hs, dist/build/cardano-address/cardano-address-tmp/Paths_cardano_addresses_cli.js_o )
Linking dist/build/cardano-address/cardano-address.jsexe (Main,Paths_cardano_addresses_cli)
"OK. Exe"
@nix {"action":"setPhase","phase":"installPhase"}
installing
"EMCC extra lib files: "
Installing executable cardano-address in /nix/store/46zn94w4snh63cac5jrkwvwr4pwvm83r-cardano-addresses-cli-exe-cardano-address-3.12.0/bin
Warning: The directory
/nix/store/46zn94w4snh63cac5jrkwvwr4pwvm83r-cardano-addresses-cli-exe-cardano-address-3.12.0/bin
is not in the system search path.
@nix {"action":"setPhase","phase":"fixupPhase"}
post-installation fixup
checking for references to /build/ in /nix/store/46zn94w4snh63cac5jrkwvwr4pwvm83r-cardano-addresses-cli-exe-cardano-address-3.12.0...
patching script interpreter paths in /nix/store/46zn94w4snh63cac5jrkwvwr4pwvm83r-cardano-addresses-cli-exe-cardano-address-3.12.0
checking for references to /build/ in /nix/store/zjhjsr12m9zig5bw58jxmzhhsfzsil8w-cardano-addresses-cli-exe-cardano-address-3.12.0-data...
patching script interpreter paths in /nix/store/zjhjsr12m9zig5bw58jxmzhhsfzsil8w-cardano-addresses-cli-exe-cardano-address-3.12.0-data