[INFO] cloning repository https://github.com/AlexFrederick065/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/AlexFrederick065/icp_token_wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexFrederick065%2Ficp_token_wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexFrederick065%2Ficp_token_wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62c8ad4ad73f4fc3c1aaf51fd8084fd07dd3d582 [INFO] testing AlexFrederick065/icp_token_wallet against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexFrederick065%2Ficp_token_wallet" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlexFrederick065/icp_token_wallet [INFO] finished tweaking git repo https://github.com/AlexFrederick065/icp_token_wallet [INFO] tweaked toml for git repo https://github.com/AlexFrederick065/icp_token_wallet written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlexFrederick065/icp_token_wallet on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AlexFrederick065/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.23.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.1 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded ic-cdk v0.17.1 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded stacker v0.1.18 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded candid v0.10.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c717e890bc03ec38ea274c7ec19f964260ba080b25a95bd00c8ef20e2b542b1 [INFO] running `Command { std: "docker" "start" "-a" "8c717e890bc03ec38ea274c7ec19f964260ba080b25a95bd00c8ef20e2b542b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c717e890bc03ec38ea274c7ec19f964260ba080b25a95bd00c8ef20e2b542b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c717e890bc03ec38ea274c7ec19f964260ba080b25a95bd00c8ef20e2b542b1", kill_on_drop: false }` [INFO] [stdout] 8c717e890bc03ec38ea274c7ec19f964260ba080b25a95bd00c8ef20e2b542b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a63121acf0eb00ce9f2f36875e084d8b322f88a63b37bd4d9e8be2f3d6abd846 [INFO] running `Command { std: "docker" "start" "-a" "a63121acf0eb00ce9f2f36875e084d8b322f88a63b37bd4d9e8be2f3d6abd846", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [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 lalrpop v0.19.12 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling ic-cdk-macros v0.17.1 [INFO] [stderr] Compiling ic-cdk v0.17.1 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling icp_token_wallet_backend v0.1.0 (/opt/rustwide/workdir/src/icp_token_wallet_backend) [INFO] [stdout] warning: unused import: `ic_cdk::println` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::println; // For logging [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.75s [INFO] running `Command { std: "docker" "inspect" "a63121acf0eb00ce9f2f36875e084d8b322f88a63b37bd4d9e8be2f3d6abd846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a63121acf0eb00ce9f2f36875e084d8b322f88a63b37bd4d9e8be2f3d6abd846", kill_on_drop: false }` [INFO] [stdout] a63121acf0eb00ce9f2f36875e084d8b322f88a63b37bd4d9e8be2f3d6abd846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84bc60c6edeb08c2f871aeefc618577a3aacfeb879799c0367d4bfd835d90a0d [INFO] running `Command { std: "docker" "start" "-a" "84bc60c6edeb08c2f871aeefc618577a3aacfeb879799c0367d4bfd835d90a0d", kill_on_drop: false }` [INFO] [stderr] Compiling icp_token_wallet_backend v0.1.0 (/opt/rustwide/workdir/src/icp_token_wallet_backend) [INFO] [stdout] warning: unused import: `ic_cdk::println` [INFO] [stdout] --> src/icp_token_wallet_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk::println; // For logging [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "84bc60c6edeb08c2f871aeefc618577a3aacfeb879799c0367d4bfd835d90a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84bc60c6edeb08c2f871aeefc618577a3aacfeb879799c0367d4bfd835d90a0d", kill_on_drop: false }` [INFO] [stdout] 84bc60c6edeb08c2f871aeefc618577a3aacfeb879799c0367d4bfd835d90a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30218c15a83b02f7ef747da8cd8df79e7d5e680c7c286f1f29c70b265c5c6673 [INFO] running `Command { std: "docker" "start" "-a" "30218c15a83b02f7ef747da8cd8df79e7d5e680c7c286f1f29c70b265c5c6673", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ic_cdk::println` [INFO] [stderr] --> src/icp_token_wallet_backend/src/lib.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ic_cdk::println; // For logging [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `icp_token_wallet_backend` (lib test) generated 1 warning (run `cargo fix --lib -p icp_token_wallet_backend --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_insufficient_funds ... ok [INFO] [stdout] test tests::test_receive_tokens ... ok [INFO] [stdout] test tests::test_send_tokens ... ok [INFO] [stdout] test tests::test_new_wallet ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icp_token_wallet_backend-9ee3a4e4f2137ace) [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30218c15a83b02f7ef747da8cd8df79e7d5e680c7c286f1f29c70b265c5c6673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30218c15a83b02f7ef747da8cd8df79e7d5e680c7c286f1f29c70b265c5c6673", kill_on_drop: false }` [INFO] [stdout] 30218c15a83b02f7ef747da8cd8df79e7d5e680c7c286f1f29c70b265c5c6673