[INFO] cloning repository https://github.com/Deepanshuigtm/icp_token_wallet_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deepanshuigtm/icp_token_wallet_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepanshuigtm%2Ficp_token_wallet_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepanshuigtm%2Ficp_token_wallet_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86e74ff720d8f935e68c8f92ede7420388215f52
[INFO] checking Deepanshuigtm/icp_token_wallet_rust against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeepanshuigtm%2Ficp_token_wallet_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  69% (833/1207)
Updating files:  70% (845/1207)
Updating files:  71% (857/1207)
Updating files:  72% (870/1207)
Updating files:  73% (882/1207)
Updating files:  74% (894/1207)
Updating files:  75% (906/1207)
Updating files:  76% (918/1207)
Updating files:  77% (930/1207)
Updating files:  78% (942/1207)
Updating files:  79% (954/1207)
Updating files:  80% (966/1207)
Updating files:  80% (973/1207)
Updating files:  81% (978/1207)
Updating files:  82% (990/1207)
Updating files:  83% (1002/1207)
Updating files:  84% (1014/1207)
Updating files:  85% (1026/1207)
Updating files:  86% (1039/1207)
Updating files:  87% (1051/1207)
Updating files:  88% (1063/1207)
Updating files:  89% (1075/1207)
Updating files:  90% (1087/1207)
Updating files:  91% (1099/1207)
Updating files:  92% (1111/1207)
Updating files:  93% (1123/1207)
Updating files:  94% (1135/1207)
Updating files:  95% (1147/1207)
Updating files:  96% (1159/1207)
Updating files:  97% (1171/1207)
Updating files:  98% (1183/1207)
Updating files:  99% (1195/1207)
Updating files: 100% (1207/1207)
Updating files: 100% (1207/1207), done.
[INFO] started tweaking git repo https://github.com/Deepanshuigtm/icp_token_wallet_rust
[INFO] finished tweaking git repo https://github.com/Deepanshuigtm/icp_token_wallet_rust
[INFO] tweaked toml for git repo https://github.com/Deepanshuigtm/icp_token_wallet_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Deepanshuigtm/icp_token_wallet_rust on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Deepanshuigtm/icp_token_wallet_rust 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-cdk v0.5.7
[INFO] [stderr]   Downloaded ic-cdk-macros v0.5.7
[INFO] [stderr]   Downloaded candid_derive v0.4.5
[INFO] [stderr]   Downloaded ic-types v0.5.0
[INFO] [stderr]   Downloaded candid v0.7.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f09d25e42a1d8f88d5400a7808d27843764319a215d87ecb04f0ad66b4c68bf
[INFO] running `Command { std: "docker" "start" "-a" "4f09d25e42a1d8f88d5400a7808d27843764319a215d87ecb04f0ad66b4c68bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f09d25e42a1d8f88d5400a7808d27843764319a215d87ecb04f0ad66b4c68bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f09d25e42a1d8f88d5400a7808d27843764319a215d87ecb04f0ad66b4c68bf", kill_on_drop: false }`
[INFO] [stdout] 4f09d25e42a1d8f88d5400a7808d27843764319a215d87ecb04f0ad66b4c68bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3eed093054aedb9cfba8818097426c4665a29eea9da6d363767b5ac17c42a2ae
[INFO] running `Command { std: "docker" "start" "-a" "3eed093054aedb9cfba8818097426c4665a29eea9da6d363767b5ac17c42a2ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[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 log v0.4.25
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling data-encoding v2.7.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.15
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling serde_json v1.0.137
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking lalrpop-util v0.19.12
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking ic-types v0.5.0
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling candid v0.7.18
[INFO] [stderr]     Checking ic-cdk v0.5.7
[INFO] [stderr]    Compiling ic-cdk-macros v0.5.7
[INFO] [stderr]     Checking icp_token_wallet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `receive_tokens` in this scope
[INFO] [stdout]  --> src/tests.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         receive_tokens(100);
[INFO] [stdout]   |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]   |
[INFO] [stdout] 3 +     use crate::receive_tokens;
[INFO] [stdout]   |
[INFO] [stdout] 3 +     use crate::wallet::receive_tokens;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_balance` in this scope
[INFO] [stdout]  --> src/tests.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |         assert_eq!(get_balance(), 100);
[INFO] [stdout]   |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]   |
[INFO] [stdout] 3 +     use crate::get_balance;
[INFO] [stdout]   |
[INFO] [stdout] 3 +     use crate::wallet::get_balance;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `receive_tokens` in this scope
[INFO] [stdout]   --> src/tests.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         receive_tokens(100);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::receive_tokens;
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::wallet::receive_tokens;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `send_tokens` in this scope
[INFO] [stdout]   --> src/tests.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let result = send_tokens("recipient_principal".to_string(), 50);
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::send_tokens;
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::wallet::send_tokens;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_balance` in this scope
[INFO] [stdout]   --> src/tests.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 |         assert_eq!(get_balance(), 50);
[INFO] [stdout]    |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::get_balance;
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::wallet::get_balance;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `send_tokens` in this scope
[INFO] [stdout]   --> src/tests.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let result = send_tokens("recipient_principal".to_string(), 200);
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::send_tokens;
[INFO] [stdout]    |
[INFO] [stdout] 3  +     use crate::wallet::send_tokens;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/tests.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `icp_token_wallet` (lib test) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3eed093054aedb9cfba8818097426c4665a29eea9da6d363767b5ac17c42a2ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3eed093054aedb9cfba8818097426c4665a29eea9da6d363767b5ac17c42a2ae", kill_on_drop: false }`
[INFO] [stdout] 3eed093054aedb9cfba8818097426c4665a29eea9da6d363767b5ac17c42a2ae
