[INFO] cloning repository https://github.com/0xhardman/rust-mnemonic-to-address [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xhardman/rust-mnemonic-to-address" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhardman%2Frust-mnemonic-to-address", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhardman%2Frust-mnemonic-to-address'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f66b827ab77ff7920517aaa88cea08619a74d35 [INFO] checking 0xhardman/rust-mnemonic-to-address/3f66b827ab77ff7920517aaa88cea08619a74d35 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhardman%2Frust-mnemonic-to-address" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xhardman/rust-mnemonic-to-address on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0xhardman/rust-mnemonic-to-address [INFO] finished tweaking git repo https://github.com/0xhardman/rust-mnemonic-to-address [INFO] tweaked toml for git repo https://github.com/0xhardman/rust-mnemonic-to-address written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/0xhardman/rust-mnemonic-to-address 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed0339e416ea80ec72e0ef67452c8bedf46160c55cbb1ec9d030d40530452ae9 [INFO] running `Command { std: "docker" "start" "-a" "ed0339e416ea80ec72e0ef67452c8bedf46160c55cbb1ec9d030d40530452ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed0339e416ea80ec72e0ef67452c8bedf46160c55cbb1ec9d030d40530452ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0339e416ea80ec72e0ef67452c8bedf46160c55cbb1ec9d030d40530452ae9", kill_on_drop: false }` [INFO] [stdout] ed0339e416ea80ec72e0ef67452c8bedf46160c55cbb1ec9d030d40530452ae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e8432eaf28b212e495770851ff7c2a096ebb1e22e5284ff05c9c69ff7170f0 [INFO] running `Command { std: "docker" "start" "-a" "23e8432eaf28b212e495770851ff7c2a096ebb1e22e5284ff05c9c69ff7170f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking secp256k1 v0.29.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tiny-bip39 v1.0.0 [INFO] [stderr] Checking mnemonic2address v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::Bytes` [INFO] [stdout] --> src/step2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Language` [INFO] [stdout] --> src/step2.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use bip39::{Language, Mnemonic, Seed}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Language` and `Mnemonic` [INFO] [stdout] --> src/step1.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use bip39::{Language, Mnemonic}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Bytes` [INFO] [stdout] --> src/step2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `child_number` is never read [INFO] [stdout] --> src/utils.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut child_number: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step1_generate_mnemonic` is never used [INFO] [stdout] --> src/step1.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn step1_generate_mnemonic() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step2_mnemonic_to_seed` is never used [INFO] [stdout] --> src/step2.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn step2_mnemonic_to_seed(mnemonic: &Mnemonic) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step3_seed_to_master_key` is never used [INFO] [stdout] --> src/step3.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn step3_seed_to_master_key(seed_hex: &String) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step3_master_kay_to_private_key` is never used [INFO] [stdout] --> src/step4.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn step3_master_kay_to_private_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step5_private_key_to_public_key` is never used [INFO] [stdout] --> src/step5.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn step5_private_key_to_public_key(private_key_hex: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step6_public_key_to_address` is never used [INFO] [stdout] --> src/step6.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn step6_public_key_to_address(pub_key_hex: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/step4.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | SecretKey::from_slice(master_secret_key.clone()).unwrap(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `child_number` is never read [INFO] [stdout] --> src/utils.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut child_number: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/step4.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | SecretKey::from_slice(master_secret_key.clone()).unwrap(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.38s [INFO] running `Command { std: "docker" "inspect" "23e8432eaf28b212e495770851ff7c2a096ebb1e22e5284ff05c9c69ff7170f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e8432eaf28b212e495770851ff7c2a096ebb1e22e5284ff05c9c69ff7170f0", kill_on_drop: false }` [INFO] [stdout] 23e8432eaf28b212e495770851ff7c2a096ebb1e22e5284ff05c9c69ff7170f0