[INFO] cloning repository https://github.com/kunalrosaili05/icp_token_wallet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kunalrosaili05/icp_token_wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalrosaili05%2Ficp_token_wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalrosaili05%2Ficp_token_wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2aa2df9689c27330e3e65d81342f01da1ab4f08 [INFO] testing kunalrosaili05/icp_token_wallet against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalrosaili05%2Ficp_token_wallet" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 55% (1248/2238) Updating files: 56% (1254/2238) Updating files: 57% (1276/2238) Updating files: 58% (1299/2238) Updating files: 59% (1321/2238) Updating files: 60% (1343/2238) Updating files: 61% (1366/2238) Updating files: 62% (1388/2238) Updating files: 63% (1410/2238) Updating files: 64% (1433/2238) Updating files: 65% (1455/2238) Updating files: 66% (1478/2238) Updating files: 67% (1500/2238) Updating files: 68% (1522/2238) Updating files: 69% (1545/2238) Updating files: 70% (1567/2238) Updating files: 71% (1589/2238) Updating files: 72% (1612/2238) Updating files: 73% (1634/2238) Updating files: 74% (1657/2238) Updating files: 75% (1679/2238) Updating files: 76% (1701/2238) Updating files: 77% (1724/2238) Updating files: 78% (1746/2238) Updating files: 79% (1769/2238) Updating files: 80% (1791/2238) Updating files: 81% (1813/2238) Updating files: 82% (1836/2238) Updating files: 83% (1858/2238) Updating files: 84% (1880/2238) Updating files: 85% (1903/2238) Updating files: 86% (1925/2238) Updating files: 87% (1948/2238) Updating files: 87% (1953/2238) Updating files: 88% (1970/2238) Updating files: 89% (1992/2238) Updating files: 90% (2015/2238) Updating files: 91% (2037/2238) Updating files: 92% (2059/2238) Updating files: 93% (2082/2238) Updating files: 94% (2104/2238) Updating files: 95% (2127/2238) Updating files: 96% (2149/2238) Updating files: 97% (2171/2238) Updating files: 98% (2194/2238) Updating files: 99% (2216/2238) Updating files: 100% (2238/2238) Updating files: 100% (2238/2238), done. [INFO] started tweaking git repo https://github.com/kunalrosaili05/icp_token_wallet [INFO] finished tweaking git repo https://github.com/kunalrosaili05/icp_token_wallet [INFO] tweaked toml for git repo https://github.com/kunalrosaili05/icp_token_wallet written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kunalrosaili05/icp_token_wallet on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kunalrosaili05/icp_token_wallet 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-macros v0.15.0 [INFO] [stderr] Downloaded psm v0.1.23 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded cc v1.1.31 [INFO] [stderr] Downloaded ic-cdk v0.15.1 [INFO] [stderr] Downloaded candid v0.10.10 [INFO] [stderr] Downloaded anyhow v1.0.90 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded proc-macro2 v1.0.88 [INFO] [stderr] Downloaded libc v0.2.161 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d1f2bd969606d5f0ae16288a93f0f065960b4170645590b67670b3d22a40cfd [INFO] running `Command { std: "docker" "start" "-a" "3d1f2bd969606d5f0ae16288a93f0f065960b4170645590b67670b3d22a40cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d1f2bd969606d5f0ae16288a93f0f065960b4170645590b67670b3d22a40cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1f2bd969606d5f0ae16288a93f0f065960b4170645590b67670b3d22a40cfd", kill_on_drop: false }` [INFO] [stdout] 3d1f2bd969606d5f0ae16288a93f0f065960b4170645590b67670b3d22a40cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a4aebb6e58c0e5bfd3580df0fd1ac177b8702ee011ed13b92d479ede50daae7 [INFO] running `Command { std: "docker" "start" "-a" "2a4aebb6e58c0e5bfd3580df0fd1ac177b8702ee011ed13b92d479ede50daae7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling candid v0.10.10 [INFO] [stderr] Compiling ic-cdk-macros v0.15.0 [INFO] [stderr] Compiling ic-cdk v0.15.1 [INFO] [stderr] Compiling wallet_project_backend v0.1.0 (/opt/rustwide/workdir/src/wallet_project_backend) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet_project_backend/src/lib.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let wallet = WALLET.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wallet_project_backend/src/lib.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let wallet = WALLET.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wallet_project_backend/src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let wallet = WALLET.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/wallet_project_backend/src/lib.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let wallet = WALLET.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcPanS7l/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcPanS7l/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-616709c254ed3b49,libic0-472458860f014911,libcandid-820ad94f24350194,libstacker-5c2703fe42594bf0,libpsm-8bfe00c4a0f353ea,liblibc-cef62b3526c55a0f,libhex-28742b4ca144387c,libserde_bytes-4d42a755c8698daf,libpretty-8c04dbed7ba7a195,libunicode_width-08b963676a6677c5,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-24d6702557f3ad3f,libcrc32fast-ec6b1847c42b19ed,libdata_encoding-02a524d0cb7bb851,libsha2-80ac9593c2204767,libcpufeatures-864a46b3d6008197,libcfg_if-33ef6c02a07f9fec,libdigest-2dc9b24df3780685,libblock_buffer-68345a13dc7a8e25,libcrypto_common-58cc5427b4d302c3,libgeneric_array-e7dcb6463547bc23,libtypenum-66c155be53855aa0,libnum_bigint-d86b60de3124e910,libnum_integer-3367a357d6e00808,libnum_traits-1a0074f98e3a6d0e,libanyhow-478c5072297da2cb,libbinread-6b740cf102d3b14c,liblazy_static-b3603208c0de2608,libthiserror-f8656e619c5e704c,libserde-42f397f2518b8a10}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcPanS7l/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-e2b0351df12c10b2/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libwallet_project_backend.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /tmp/rustcPanS7l/list:4: ; expected, but got get_balance [INFO] [stdout] >>> canister_query get_balance; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wallet_project_backend` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a4aebb6e58c0e5bfd3580df0fd1ac177b8702ee011ed13b92d479ede50daae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4aebb6e58c0e5bfd3580df0fd1ac177b8702ee011ed13b92d479ede50daae7", kill_on_drop: false }` [INFO] [stdout] 2a4aebb6e58c0e5bfd3580df0fd1ac177b8702ee011ed13b92d479ede50daae7