[INFO] cloning repository https://github.com/Bhushan-04/ICP_Wallet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bhushan-04/ICP_Wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhushan-04%2FICP_Wallet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhushan-04%2FICP_Wallet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee384dd084f090f08daf4858165dd913e8ba7ea2
[INFO] testing Bhushan-04/ICP_Wallet against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhushan-04%2FICP_Wallet" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bhushan-04/ICP_Wallet
[INFO] finished tweaking git repo https://github.com/Bhushan-04/ICP_Wallet
[INFO] tweaked toml for git repo https://github.com/Bhushan-04/ICP_Wallet written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bhushan-04/ICP_Wallet on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bhushan-04/ICP_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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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 anyhow v1.0.93
[INFO] [stderr]   Downloaded ena v0.14.3
[INFO] [stderr]   Downloaded libc v0.2.162
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ae621fd8eb0381d8a5bb63d25ce72cc10b80d9e9902ee9c67f9848ccf585a9d
[INFO] running `Command { std: "docker" "start" "-a" "4ae621fd8eb0381d8a5bb63d25ce72cc10b80d9e9902ee9c67f9848ccf585a9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ae621fd8eb0381d8a5bb63d25ce72cc10b80d9e9902ee9c67f9848ccf585a9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ae621fd8eb0381d8a5bb63d25ce72cc10b80d9e9902ee9c67f9848ccf585a9d", kill_on_drop: false }`
[INFO] [stdout] 4ae621fd8eb0381d8a5bb63d25ce72cc10b80d9e9902ee9c67f9848ccf585a9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f13689229df06e69aea5fab2b0ef6f9219d8621d46c9ea716a5a16a239ba8a7
[INFO] running `Command { std: "docker" "start" "-a" "5f13689229df06e69aea5fab2b0ef6f9219d8621d46c9ea716a5a16a239ba8a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling hashbrown v0.15.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cpufeatures v0.2.15
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling candid_derive v0.5.0
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling candid v0.8.4
[INFO] [stderr]    Compiling ic-cdk-macros v0.6.10
[INFO] [stderr]    Compiling ic-cdk v0.7.4
[INFO] [stderr]    Compiling example_backend v0.1.0 (/opt/rustwide/workdir/src/example_backend)
[INFO] [stdout] warning: struct `TokenBalance` is never constructed
[INFO] [stdout]  --> src/example_backend/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct TokenBalance {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/example_backend/src/lib.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |         match &WALLET {
[INFO] [stdout]    |               ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 31 |         match &raw const WALLET {
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/example_backend/src/lib.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | /         WALLET
[INFO] [stdout] 42 | |             .as_ref()
[INFO] [stdout]    | |_____________________^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/example_backend/src/lib.rs:52:31
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if let Some(wallet) = WALLET.as_mut() {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/example_backend/src/lib.rs:65:31
[INFO] [stdout]    |
[INFO] [stdout] 65 |         if let Some(wallet) = WALLET.as_mut() {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/tmp/rustccoq2DF/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustccoq2DF/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-696da74bce571d1a,libic0-ffac5c3a91b50e91,libcandid-00be1606a3e3ab52,libcrc32fast-ec6b1847c42b19ed,libdata_encoding-02a524d0cb7bb851,libserde_bytes-7a1bda40aab51a33,libhex-28742b4ca144387c,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,liblogos-95d39ed4909c3828,libsha2-2ba4b47eeff246d0,libcpufeatures-fe114a1e469cc2f8,libcfg_if-33ef6c02a07f9fec,libdigest-2dc9b24df3780685,libblock_buffer-68345a13dc7a8e25,libcrypto_common-58cc5427b4d302c3,libgeneric_array-e7dcb6463547bc23,libtypenum-66c155be53855aa0,libnum_bigint-eb777b91f957ed99,libnum_integer-3367a357d6e00808,libnum_traits-1a0074f98e3a6d0e,libanyhow-177c4b900692f370,libnum_enum-971e19eb70e98b4e,libbinread-82f1175a920c8c2c,liblazy_static-b3603208c0de2608,liblalrpop_util-9a2205370e3c0ffc,libthiserror-446afa562337ff69,libcodespan_reporting-95536f9d6a0ef0d8,libunicode_width-08b963676a6677c5,libtermcolor-96a9ed65821a6544,libpretty-90d63a9d2fe1aa9e,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libserde-4a03f1a736e73730}.rlib" "<sysroot>/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/rustccoq2DF/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libexample_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/rustccoq2DF/list:3: ; 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 `example_backend` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5f13689229df06e69aea5fab2b0ef6f9219d8621d46c9ea716a5a16a239ba8a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f13689229df06e69aea5fab2b0ef6f9219d8621d46c9ea716a5a16a239ba8a7", kill_on_drop: false }`
[INFO] [stdout] 5f13689229df06e69aea5fab2b0ef6f9219d8621d46c9ea716a5a16a239ba8a7
