[INFO] cloning repository https://github.com/ZhenQian-keystone/test_account [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhenQian-keystone/test_account" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhenQian-keystone%2Ftest_account", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhenQian-keystone%2Ftest_account'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d201719b8440d7889aa34548cddcb6564e4bc973 [INFO] checking ZhenQian-keystone/test_account/d201719b8440d7889aa34548cddcb6564e4bc973 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhenQian-keystone%2Ftest_account" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZhenQian-keystone/test_account on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZhenQian-keystone/test_account [INFO] finished tweaking git repo https://github.com/ZhenQian-keystone/test_account [INFO] tweaked toml for git repo https://github.com/ZhenQian-keystone/test_account written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZhenQian-keystone/test_account 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded bip32 v0.5.1 [INFO] [stderr] Downloaded candid v0.10.8 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded tiny-bip39 v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3b3a0e9b3e2120211e5e0284e357aad7e27f632fe1a6f04d493b390b11b3d10 [INFO] running `Command { std: "docker" "start" "-a" "d3b3a0e9b3e2120211e5e0284e357aad7e27f632fe1a6f04d493b390b11b3d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3b3a0e9b3e2120211e5e0284e357aad7e27f632fe1a6f04d493b390b11b3d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b3a0e9b3e2120211e5e0284e357aad7e27f632fe1a6f04d493b390b11b3d10", kill_on_drop: false }` [INFO] [stdout] d3b3a0e9b3e2120211e5e0284e357aad7e27f632fe1a6f04d493b390b11b3d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29f9757ec88da8f4459f61be819f3c44e7d802998f0c2ede15045c3e3a6a291f [INFO] running `Command { std: "docker" "start" "-a" "29f9757ec88da8f4459f61be819f3c44e7d802998f0c2ede15045c3e3a6a291f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking tiny-bip39 v1.0.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking bip32 v0.5.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking candid v0.10.8 [INFO] [stderr] Checking account_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing_code` [INFO] [stdout] --> src/icp/principal_id.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | #[cfg(feature = "fuzzing_code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing_code` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fuzzing_code` [INFO] [stdout] --> src/icp/principal_id.rs:309:7 [INFO] [stdout] | [INFO] [stdout] 309 | #[cfg(feature = "fuzzing_code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `fuzzing_code` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Subaccount` and `self` [INFO] [stdout] --> src/lib.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::icp::account_id::{self, AccountIdentifier, Subaccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/lib.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use bip32::{PrivateKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::types::principal` [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use candid::types::principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `k256::elliptic_curve::sec1::ToEncodedPoint` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use k256::elliptic_curve::sec1::ToEncodedPoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Document`, `SecretKey`, `SigningKey`, `VerifyingKey`, `self`, and `signature::Signer` [INFO] [stdout] --> src/lib.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | ecdsa::{self, signature::Signer, SigningKey, VerifyingKey}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 19 | pkcs8::{Document, EncodePublicKey}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | SecretKey, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sec1::der::Encode` [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use sec1::der::Encode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrivateKey` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use bip32::{PrivateKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_opaque_from_array` is never used [INFO] [stdout] --> src/icp/principal_id.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 168 | impl PrincipalId { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub(crate) const fn new_opaque_from_array( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/icp/key_manager.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let public_key = priv_key.public_key(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_opaque_from_array` is never used [INFO] [stdout] --> src/icp/principal_id.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 168 | impl PrincipalId { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub(crate) const fn new_opaque_from_array( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.93s [INFO] running `Command { std: "docker" "inspect" "29f9757ec88da8f4459f61be819f3c44e7d802998f0c2ede15045c3e3a6a291f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f9757ec88da8f4459f61be819f3c44e7d802998f0c2ede15045c3e3a6a291f", kill_on_drop: false }` [INFO] [stdout] 29f9757ec88da8f4459f61be819f3c44e7d802998f0c2ede15045c3e3a6a291f