[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] building 0xhardman/rust-mnemonic-to-address against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xhardman%2Frust-mnemonic-to-address" "/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/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xhardman/rust-mnemonic-to-address on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.61 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded thiserror v1.0.61 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded secp256k1 v0.29.0 [INFO] [stderr] Downloaded syn v2.0.66 [INFO] [stderr] Downloaded secp256k1-sys v0.10.0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65f4bb84368135c2e5969043db19c030cd78d917bcba82b85df87e6f4072f257 [INFO] running `Command { std: "docker" "start" "-a" "65f4bb84368135c2e5969043db19c030cd78d917bcba82b85df87e6f4072f257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65f4bb84368135c2e5969043db19c030cd78d917bcba82b85df87e6f4072f257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f4bb84368135c2e5969043db19c030cd78d917bcba82b85df87e6f4072f257", kill_on_drop: false }` [INFO] [stdout] 65f4bb84368135c2e5969043db19c030cd78d917bcba82b85df87e6f4072f257 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4bfc6bc652f53d7fbdb6f29d9e48350d2c54f81cbf2a9ace5c71dfe18456744a [INFO] running `Command { std: "docker" "start" "-a" "4bfc6bc652f53d7fbdb6f29d9e48350d2c54f81cbf2a9ace5c71dfe18456744a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling secp256k1 v0.29.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling tiny-bip39 v1.0.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: value assigned to `child_number` is never read [INFO] [stdout] --> src/utils.rs:87:41 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.13s [INFO] running `Command { std: "docker" "inspect" "4bfc6bc652f53d7fbdb6f29d9e48350d2c54f81cbf2a9ace5c71dfe18456744a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bfc6bc652f53d7fbdb6f29d9e48350d2c54f81cbf2a9ace5c71dfe18456744a", kill_on_drop: false }` [INFO] [stdout] 4bfc6bc652f53d7fbdb6f29d9e48350d2c54f81cbf2a9ace5c71dfe18456744a [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 208e63f46dcbce970b18e93cf89b0c4a7d1cba2ed5d3de2c48508eaff9764931 [INFO] running `Command { std: "docker" "start" "-a" "208e63f46dcbce970b18e93cf89b0c4a7d1cba2ed5d3de2c48508eaff9764931", kill_on_drop: false }` [INFO] [stderr] Compiling mnemonic2address v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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:41 [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)]` (part of `#[warn(unused)]`) on by default [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "208e63f46dcbce970b18e93cf89b0c4a7d1cba2ed5d3de2c48508eaff9764931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "208e63f46dcbce970b18e93cf89b0c4a7d1cba2ed5d3de2c48508eaff9764931", kill_on_drop: false }` [INFO] [stdout] 208e63f46dcbce970b18e93cf89b0c4a7d1cba2ed5d3de2c48508eaff9764931