[INFO] cloning repository https://github.com/Gruuttttt/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/Gruuttttt/icp_token_wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGruuttttt%2Ficp_token_wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGruuttttt%2Ficp_token_wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71c5a564b2dba92fe061b8079172849b38a1dcf4 [INFO] checking Gruuttttt/icp_token_wallet against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGruuttttt%2Ficp_token_wallet" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Gruuttttt/icp_token_wallet [INFO] finished tweaking git repo https://github.com/Gruuttttt/icp_token_wallet [INFO] tweaked toml for git repo https://github.com/Gruuttttt/icp_token_wallet written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Gruuttttt/icp_token_wallet on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Gruuttttt/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" "+987a165cfab916796a8315782b83ac460a651ce2" "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 ic0 v0.18.11 [INFO] [stderr] Downloaded ic-cdk v0.10.1 [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.7.1 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d29d2ccd08a48823299f24042a0ef58c68b76f303470b97ddcbd7de02e6c69d9 [INFO] running `Command { std: "docker" "start" "-a" "d29d2ccd08a48823299f24042a0ef58c68b76f303470b97ddcbd7de02e6c69d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d29d2ccd08a48823299f24042a0ef58c68b76f303470b97ddcbd7de02e6c69d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29d2ccd08a48823299f24042a0ef58c68b76f303470b97ddcbd7de02e6c69d9", kill_on_drop: false }` [INFO] [stdout] d29d2ccd08a48823299f24042a0ef58c68b76f303470b97ddcbd7de02e6c69d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd47eee1fad2bc053d6088e0d441feb5f81ff8403329026bf1018c9e732afb09 [INFO] running `Command { std: "docker" "start" "-a" "cd47eee1fad2bc053d6088e0d441feb5f81ff8403329026bf1018c9e732afb09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking ic-stable-structures v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.1 [INFO] [stderr] Checking icp_token_wallet_backend v0.1.0 (/opt/rustwide/workdir/src/icp_token_wallet_backend) [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::time` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::time` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::api::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CandidType` and `Deserialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use candid::{CandidType, Deserialize, Principal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionStatus` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:9:94 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::types::{TokenMetadata, Transaction, TransactionResult, TokenBalance, WalletError, TransactionStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransactionStatus` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:9:94 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::types::{TokenMetadata, Transaction, TransactionResult, TokenBalance, WalletError, TransactionStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | from: Principal, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | to: Principal, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/icp_token_wallet_backend/src/wallet.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | from: Principal, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/icp_token_wallet_backend/src/token.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | to: Principal, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "cd47eee1fad2bc053d6088e0d441feb5f81ff8403329026bf1018c9e732afb09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd47eee1fad2bc053d6088e0d441feb5f81ff8403329026bf1018c9e732afb09", kill_on_drop: false }` [INFO] [stdout] cd47eee1fad2bc053d6088e0d441feb5f81ff8403329026bf1018c9e732afb09