[INFO] cloning repository https://github.com/wesley-lewis/crypto-wallet-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wesley-lewis/crypto-wallet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-lewis%2Fcrypto-wallet-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-lewis%2Fcrypto-wallet-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 149327454792428e44e61e6024873a463f4b5ddd [INFO] testing wesley-lewis/crypto-wallet-rs against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwesley-lewis%2Fcrypto-wallet-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wesley-lewis/crypto-wallet-rs on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wesley-lewis/crypto-wallet-rs [INFO] finished tweaking git repo https://github.com/wesley-lewis/crypto-wallet-rs [INFO] tweaked toml for git repo https://github.com/wesley-lewis/crypto-wallet-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wesley-lewis/crypto-wallet-rs 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 027c9d73cf7a0810e49c36136c4c65d0df8805ed32ded4c68a493cc75b532f6b [INFO] running `Command { std: "docker" "start" "-a" "027c9d73cf7a0810e49c36136c4c65d0df8805ed32ded4c68a493cc75b532f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "027c9d73cf7a0810e49c36136c4c65d0df8805ed32ded4c68a493cc75b532f6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027c9d73cf7a0810e49c36136c4c65d0df8805ed32ded4c68a493cc75b532f6b", kill_on_drop: false }` [INFO] [stdout] 027c9d73cf7a0810e49c36136c4c65d0df8805ed32ded4c68a493cc75b532f6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d34d0b33511b696f61c968dd94eb50041693bb5038904936d2d14693a64091a8 [INFO] running `Command { std: "docker" "start" "-a" "d34d0b33511b696f61c968dd94eb50041693bb5038904936d2d14693a64091a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling indexmap v2.0.1 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling soketto v0.5.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling crypto-wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/eth_wallet.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{ rand::{rngs, SeedableRng}, PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/eth_wallet.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_to_file`, `get_secret_key`, and `get_public_key` are never used [INFO] [stdout] --> src/eth_wallet.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(secret_key: &SecretKey, public_key: &PublicKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn save_to_file(&self, file_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_secret_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_public_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_keypair` is never used [INFO] [stdout] --> src/eth_wallet.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn generate_keypair() -> (SecretKey, PublicKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_address` is never used [INFO] [stdout] --> src/eth_wallet.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn public_key_address(public_key: &PublicKey) -> Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nstime` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_nstime() -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "d34d0b33511b696f61c968dd94eb50041693bb5038904936d2d14693a64091a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34d0b33511b696f61c968dd94eb50041693bb5038904936d2d14693a64091a8", kill_on_drop: false }` [INFO] [stdout] d34d0b33511b696f61c968dd94eb50041693bb5038904936d2d14693a64091a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec4a8c659c929e3641b69ab2856af3716bad6d35a5d9a37a4a76c0ce16c566fe [INFO] running `Command { std: "docker" "start" "-a" "ec4a8c659c929e3641b69ab2856af3716bad6d35a5d9a37a4a76c0ce16c566fe", kill_on_drop: false }` [INFO] [stderr] Compiling crypto-wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> src/eth_wallet.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{ rand::{rngs, SeedableRng}, PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/eth_wallet.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_to_file`, `get_secret_key`, and `get_public_key` are never used [INFO] [stdout] --> src/eth_wallet.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(secret_key: &SecretKey, public_key: &PublicKey) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn save_to_file(&self, file_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_secret_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_public_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_keypair` is never used [INFO] [stdout] --> src/eth_wallet.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn generate_keypair() -> (SecretKey, PublicKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_address` is never used [INFO] [stdout] --> src/eth_wallet.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn public_key_address(public_key: &PublicKey) -> Address { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nstime` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_nstime() -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "ec4a8c659c929e3641b69ab2856af3716bad6d35a5d9a37a4a76c0ce16c566fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec4a8c659c929e3641b69ab2856af3716bad6d35a5d9a37a4a76c0ce16c566fe", kill_on_drop: false }` [INFO] [stdout] ec4a8c659c929e3641b69ab2856af3716bad6d35a5d9a37a4a76c0ce16c566fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0d2bf734699897c35b1cdf448f542cf446d7b6585fc51d2c76e4f9e78b6b836 [INFO] running `Command { std: "docker" "start" "-a" "b0d2bf734699897c35b1cdf448f542cf446d7b6585fc51d2c76e4f9e78b6b836", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `SeedableRng` [INFO] [stderr] --> src/eth_wallet.rs:2:31 [INFO] [stderr] | [INFO] [stderr] 2 | use secp256k1::{ rand::{rngs, SeedableRng}, PublicKey, SecretKey}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bail` [INFO] [stderr] --> src/eth_wallet.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use anyhow::{bail, Result}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `save_to_file`, `get_secret_key`, and `get_public_key` are never used [INFO] [stderr] --> src/eth_wallet.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Wallet { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 24 | pub fn new(secret_key: &SecretKey, public_key: &PublicKey) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn save_to_file(&self, file_path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn get_secret_key(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn get_public_key(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `generate_keypair` is never used [INFO] [stderr] --> src/eth_wallet.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn generate_keypair() -> (SecretKey, PublicKey) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `public_key_address` is never used [INFO] [stderr] --> src/eth_wallet.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn public_key_address(public_key: &PublicKey) -> Address { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_nstime` is never used [INFO] [stderr] --> src/utils.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn get_nstime() -> u64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `crypto-wallet` (bin "crypto-wallet" test) generated 6 warnings (run `cargo fix --bin "crypto-wallet" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/crypto_wallet-b39fc79a1326e26e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0d2bf734699897c35b1cdf448f542cf446d7b6585fc51d2c76e4f9e78b6b836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d2bf734699897c35b1cdf448f542cf446d7b6585fc51d2c76e4f9e78b6b836", kill_on_drop: false }` [INFO] [stdout] b0d2bf734699897c35b1cdf448f542cf446d7b6585fc51d2c76e4f9e78b6b836