[INFO] cloning repository https://github.com/Zedonboy/icp_rune_launcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zedonboy/icp_rune_launcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Ficp_rune_launcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Ficp_rune_launcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f89cfc34b500b6b5a825bbb12e32a0686fc8567 [INFO] building Zedonboy/icp_rune_launcher against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Ficp_rune_launcher" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Zedonboy/icp_rune_launcher [INFO] finished tweaking git repo https://github.com/Zedonboy/icp_rune_launcher [INFO] tweaked toml for git repo https://github.com/Zedonboy/icp_rune_launcher written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Zedonboy/icp_rune_launcher on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Zedonboy/icp_rune_launcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fc14983961b6bf8c114146d28ed9b7fa641a92a396fdcf98ade9c11483ab81f [INFO] running `Command { std: "docker" "start" "-a" "4fc14983961b6bf8c114146d28ed9b7fa641a92a396fdcf98ade9c11483ab81f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fc14983961b6bf8c114146d28ed9b7fa641a92a396fdcf98ade9c11483ab81f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc14983961b6bf8c114146d28ed9b7fa641a92a396fdcf98ade9c11483ab81f", kill_on_drop: false }` [INFO] [stdout] 4fc14983961b6bf8c114146d28ed9b7fa641a92a396fdcf98ade9c11483ab81f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 23610fbe9c4cec8f58cf842ce1be00d33786958be91e14d72fa718a378e3c8e0 [INFO] running `Command { std: "docker" "start" "-a" "23610fbe9c4cec8f58cf842ce1be00d33786958be91e14d72fa718a378e3c8e0", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling rune v0.1.0 (https://github.com/ordinals-wallet/rune.git#ec4255af) [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.10.6 [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Compiling ic-cdk v0.13.1 [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling rune_launchpad_backend v0.1.0 (/opt/rustwide/workdir/src/rune_launchpad_backend) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:10:70 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bitcoin_api, ecdsa_api::{self, sign_with_ecdsa}, types::{self, Converter, RuneInfo}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PushBytes` and `Script` [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:13:124 [INFO] [stdout] | [INFO] [stdout] 13 | ...pt::{self, PushBytes, PushBytesBuf}, sighash::{EcdsaSighashType, SighashCache}, Address, AddressType, OutPoint, Script, Transacti... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `call` [INFO] [stdout] --> src/rune_launchpad_backend/src/ecdsa_api.rs:1:123 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::{api::{ management_canister::ecdsa::{EcdsaCurve, EcdsaKeyId, EcdsaPublicKeyArgument, SignWithEcdsaArgument}}, call}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/rune_launchpad_backend/src/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(CandidType, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the derive macro `CandidType` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_address` [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | dst_address: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | amount: Satoshi, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fee_per_byte` [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let fee_per_byte = if fee_percentiles.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fee_per_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `own_utxos` [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let own_utxos = bitcoin_api::get_utxos(network, own_address.clone()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_own_utxos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transfer_rune` is never used [INFO] [stdout] --> src/rune_launchpad_backend/src/bitcoin_wallet.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn transfer_rune( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGN_WITH_ECDSA_COST_CYCLES` is never used [INFO] [stdout] --> src/rune_launchpad_backend/src/ecdsa_api.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SIGN_WITH_ECDSA_COST_CYCLES: u64 = 10_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "canister_init" "--export" "canister_query greet" "--export" "canister_update etch_rune" "--export" "canister_update get_balance" "--export" "canister_update get_current_fee_percentiles" "--export" "canister_update get_p2pkh_address" "--export" "canister_update get_utxos" "--export" "canister_update withdraw_btc" "--export" "get_candid_pointer" "--export" "rustsecp256k1_v0_8_1_context_create" "--export" "rustsecp256k1_v0_8_1_context_destroy" "--export" "rustsecp256k1_v0_8_1_default_error_callback_fn" "--export" "rustsecp256k1_v0_8_1_default_illegal_callback_fn" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<9 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libbs58-665836f850c0f188,libripemd-ce3e1ec52e3f37e2,librune-bfe093a135a4c605,libbitcoin-564e2ce0ef5d4c4f,libhex_lit-79ec049674ba22a6,libsecp256k1-695a778a812a66fa,libsecp256k1_sys-fdee6284adbf7d2e,libbitcoin_hashes-db50766d8b44a14f,libbitcoin_private-1aeac3d768c20246,libbech32-19c6f8d474b5762d,libic_cdk-6a2251c28d4b0c8c,libic0-47375e62c62c2ee1,libcandid-6fc86dcf091b495d,libhex-85aa986ef279af61,libserde_bytes-73ff09e966378090,libpretty-85ce64d1e0780194,libunicode_width-9718a35a1702a5af,libarrayvec-2e7d169db69581ec,libtyped_arena-70816aa6787b7878,libleb128-1dee6129498640b0,libbyteorder-529cc76400af54b3,libic_principal-2cc7349fc6bb4b47,libcrc32fast-7eee6fe9ac3f34b0,libdata_encoding-71926b05c6baa478,libsha2-3584603ac31ca7ef,libcfg_if-50b02a9e3502ecf2,libdigest-175d4c26469c7771,libblock_buffer-ff766ba1f1bc2312,libcrypto_common-54f1074c3cc16168,libgeneric_array-143189b5e972f6af,libtypenum-0fe8d28fad3fc2b1,libnum_bigint-e6f8f85d562a7d59,libnum_integer-085c05ea91697d91,libnum_traits-a651f607abd4da78,libanyhow-91db207a2fd0f632,libbinread-b7bbba6b62f2789c,liblazy_static-36da267ce9339a94,libthiserror-a019e133255cd156,libserde-53b7993dc1d64b46}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/secp256k1-sys-b9e163ac061733d1/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rune_launchpad_backend.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib: archive member '3fec8a5f3c4f77fb-wasm.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib: archive member '84f2453a56d059fc-lax_der_parsing.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib: archive member 'c928380082b86401-precomputed_ecmult_gen.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib: archive member 'c928380082b86401-precomputed_ecmult.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib: archive member 'c928380082b86401-secp256k1.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib(secp256k1_sys-fdee6284adbf7d2e.secp256k1_sys.460a787b9a609c74-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_8_1_context_preallocated_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib(secp256k1_sys-fdee6284adbf7d2e.secp256k1_sys.460a787b9a609c74-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_8_1_context_preallocated_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecp256k1_sys-fdee6284adbf7d2e.rlib(secp256k1_sys-fdee6284adbf7d2e.secp256k1_sys.460a787b9a609c74-cgu.0.rcgu.o): undefined symbol: rustsecp256k1_v0_8_1_context_preallocated_destroy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rune_launchpad_backend` (lib) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23610fbe9c4cec8f58cf842ce1be00d33786958be91e14d72fa718a378e3c8e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23610fbe9c4cec8f58cf842ce1be00d33786958be91e14d72fa718a378e3c8e0", kill_on_drop: false }` [INFO] [stdout] 23610fbe9c4cec8f58cf842ce1be00d33786958be91e14d72fa718a378e3c8e0