[INFO] fetching crate rs_box 0.0.25... [INFO] checking rs_box-0.0.25 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rs_box 0.0.25 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rs_box 0.0.25 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rs_box 0.0.25 [INFO] finished tweaking crates.io crate rs_box 0.0.25 [INFO] tweaked toml for crates.io crate rs_box 0.0.25 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df215afa23ba49513331ce9ef70340f69427d275143ee4560de3bb4b72a837de [INFO] running `Command { std: "docker" "start" "-a" "df215afa23ba49513331ce9ef70340f69427d275143ee4560de3bb4b72a837de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df215afa23ba49513331ce9ef70340f69427d275143ee4560de3bb4b72a837de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df215afa23ba49513331ce9ef70340f69427d275143ee4560de3bb4b72a837de", kill_on_drop: false }` [INFO] [stdout] df215afa23ba49513331ce9ef70340f69427d275143ee4560de3bb4b72a837de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0adafe22e149ddb43ce79d2317e5b681655932076302f132f3d858508a12b6bc [INFO] running `Command { std: "docker" "start" "-a" "0adafe22e149ddb43ce79d2317e5b681655932076302f132f3d858508a12b6bc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking rs_box v0.0.25 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/rs_box_log/rs_box_log.rs (2 fixes) [INFO] [stderr] Fixed src/block_chain/hash_rate.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/block_chain/hash_rate_test.rs (1 fix) [INFO] [stderr] Fixed src/block_chain/coin_flags.rs (1 fix) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/block_chain/hash_rate.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | HashRateUnitFormat::Hs | _ => (base_hash_rate, HashRateUnitFormat::Hs, HashRateUnitFormat::Hs.to_string()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/block_chain/hash_rate.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 64 | HashRateUnitFormat::YHs => (base_hash_rate / y, HashRateUnitFormat::YHs, HashRateUnitFormat::YHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 65 | HashRateUnitFormat::ZHs => (base_hash_rate / z, HashRateUnitFormat::ZHs, HashRateUnitFormat::ZHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 66 | HashRateUnitFormat::EHs => (base_hash_rate / e, HashRateUnitFormat::EHs, HashRateUnitFormat::EHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 67 | HashRateUnitFormat::PHs => (base_hash_rate / p, HashRateUnitFormat::PHs, HashRateUnitFormat::PHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | HashRateUnitFormat::Hs | _ => (base_hash_rate, HashRateUnitFormat::Hs, HashRateUnitFormat::Hs.to_string()), [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::Hs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:8:78 [INFO] [stdout] | [INFO] [stdout] 8 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::Hs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::Hs, a_seed); [INFO] [stdout] 8 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::Hs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::KHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:11:78 [INFO] [stdout] | [INFO] [stdout] 11 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::KHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::KHs, a_seed); [INFO] [stdout] 11 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::KHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::MHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 15 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::MHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 15 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::MHs, a_seed); [INFO] [stdout] 15 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::MHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::GHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:18:78 [INFO] [stdout] | [INFO] [stdout] 18 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::GHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::GHs, a_seed); [INFO] [stdout] 18 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::GHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::THs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:21:78 [INFO] [stdout] | [INFO] [stdout] 21 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::THs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::THs, a_seed); [INFO] [stdout] 21 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::THs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::PHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:24:78 [INFO] [stdout] | [INFO] [stdout] 24 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::PHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::PHs, a_seed); [INFO] [stdout] 24 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::PHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::EHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::EHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 27 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::EHs, a_seed); [INFO] [stdout] 27 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::EHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::ZHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::ZHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::ZHs, a_seed); [INFO] [stdout] 30 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::ZHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::YHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:33:78 [INFO] [stdout] | [INFO] [stdout] 33 | let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::YHs, a_seed); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate::HashRateUnitFormat; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashRateUnitFormat`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, hash_rate::HashRateUnitFormat::YHs, a_seed); [INFO] [stdout] 33 + let formatted_hash_rate = hash_rate::hash_rate_to_format(base_hash_rate, HashRateUnitFormat::YHs, a_seed); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hash_rate` [INFO] [stdout] --> src/block_chain/hash_rate_test.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | let formatted_hash_rate = hash_rate::hash_rate_format(base_hash_rate); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `hash_rate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::block_chain::hash_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/block_chain/hash_rate.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | HashRateUnitFormat::Hs | _ => (base_hash_rate, HashRateUnitFormat::Hs, HashRateUnitFormat::Hs.to_string()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/block_chain/hash_rate.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 64 | HashRateUnitFormat::YHs => (base_hash_rate / y, HashRateUnitFormat::YHs, HashRateUnitFormat::YHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 65 | HashRateUnitFormat::ZHs => (base_hash_rate / z, HashRateUnitFormat::ZHs, HashRateUnitFormat::ZHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 66 | HashRateUnitFormat::EHs => (base_hash_rate / e, HashRateUnitFormat::EHs, HashRateUnitFormat::EHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 67 | HashRateUnitFormat::PHs => (base_hash_rate / p, HashRateUnitFormat::PHs, HashRateUnitFormat::PHs.to_string()), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | HashRateUnitFormat::Hs | _ => (base_hash_rate, HashRateUnitFormat::Hs, HashRateUnitFormat::Hs.to_string()), [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs_box` (lib test) due to 20 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0adafe22e149ddb43ce79d2317e5b681655932076302f132f3d858508a12b6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0adafe22e149ddb43ce79d2317e5b681655932076302f132f3d858508a12b6bc", kill_on_drop: false }` [INFO] [stdout] 0adafe22e149ddb43ce79d2317e5b681655932076302f132f3d858508a12b6bc