[INFO] fetching crate kaspa-miner 0.2.5... [INFO] checking kaspa-miner-0.2.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kaspa-miner 0.2.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate kaspa-miner 0.2.5 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kaspa-miner 0.2.5 [INFO] finished tweaking crates.io crate kaspa-miner 0.2.5 [INFO] tweaked toml for crates.io crate kaspa-miner 0.2.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate kaspa-miner 0.2.5 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f1dbe66a07d4c078f66af5ffd6c2b5f4e7a0b27c0802ec3185c9c9e2705c57a [INFO] running `Command { std: "docker" "start" "-a" "0f1dbe66a07d4c078f66af5ffd6c2b5f4e7a0b27c0802ec3185c9c9e2705c57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f1dbe66a07d4c078f66af5ffd6c2b5f4e7a0b27c0802ec3185c9c9e2705c57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1dbe66a07d4c078f66af5ffd6c2b5f4e7a0b27c0802ec3185c9c9e2705c57a", kill_on_drop: false }` [INFO] [stdout] 0f1dbe66a07d4c078f66af5ffd6c2b5f4e7a0b27c0802ec3185c9c9e2705c57a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 889760264cc41d5012eaba9d7d7a3a9605cd54e12f5cbf651bdfdb20cf42dce7 [INFO] running `Command { std: "docker" "start" "-a" "889760264cc41d5012eaba9d7d7a3a9605cd54e12f5cbf651bdfdb20cf42dce7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking strsim v0.10.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking clap_builder v4.4.12 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Checking clap v4.4.13 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling kaspa-miner v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stdout] warning: unused imports: `Barrier` and `thread` [INFO] [stdout] --> src/swap_rust.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | sync::{Arc, Barrier}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 115 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pow.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 52 | send_channel: Sender, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | shutdown: ShutdownHandler, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | ) -> Self { [INFO] [stdout] 57 | let hashes_tried = Arc::new(AtomicU64::new(0)); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let watch = WatchSwap::empty(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let handles = Self::launch_cpu_threads( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | logger_handle: task::spawn(Self::log_hashrate(Arc::clone(&hashes_tried))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | (0..n_cpus).map(move |_| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 91 | | Self::launch_cpu_miner( [INFO] [stdout] 92 | | send_channel.clone(), [INFO] [stdout] 93 | | work_channel.clone(), [INFO] [stdout] ... | [INFO] [stdout] 97 | | ) [INFO] [stdout] 98 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | send_channel.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | work_channel.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | hashes_tried.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | shutdown.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 121 | send_channel: Sender, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | mut block_channel: WatchSwap, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | hashes_tried: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | throttle: Option, [INFO] [stdout] 125 | shutdown: ShutdownHandler, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 138 | | let mut state = None; [INFO] [stdout] 139 | | loop { [INFO] [stdout] 140 | | if state.is_none() { [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swap_rust.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn init(val: impl Into>) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let val = val.into().map(Arc::new); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self { [INFO] [stdout] 27 | shared: Arc::new(Shared { [INFO] [stdout] | _____________________^ [INFO] [stdout] 28 | | inner: ArcSwapOption::new(val.clone()), [INFO] [stdout] 29 | | wait_cv: Condvar::new(), [INFO] [stdout] 30 | | wait_mutex: Mutex::new(()), [INFO] [stdout] 31 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swap_rust.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Self(MutexInternal::new(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/kaspa-miner-701375b5c53ed6e7/out/protowire.rs:1656:28 [INFO] [stdout] | [INFO] [stdout] 1640 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1641 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1656 | P2pClient::new(InterceptedService::new(inner, interceptor)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/kaspa-miner-701375b5c53ed6e7/out/protowire.rs:1768:28 [INFO] [stdout] | [INFO] [stdout] 1752 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1753 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1768 | RpcClient::new(InterceptedService::new(inner, interceptor)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/pow.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 19 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 52 | send_channel: Sender, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | shutdown: ShutdownHandler, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | ) -> Self { [INFO] [stdout] 57 | let hashes_tried = Arc::new(AtomicU64::new(0)); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let watch = WatchSwap::empty(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let handles = Self::launch_cpu_threads( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | logger_handle: task::spawn(Self::log_hashrate(Arc::clone(&hashes_tried))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | (0..n_cpus).map(move |_| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 91 | | Self::launch_cpu_miner( [INFO] [stdout] 92 | | send_channel.clone(), [INFO] [stdout] 93 | | work_channel.clone(), [INFO] [stdout] ... | [INFO] [stdout] 97 | | ) [INFO] [stdout] 98 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | send_channel.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | work_channel.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | hashes_tried.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 81 | send_channel: Sender, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | hashes_tried: Arc, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | work_channel: WatchSwap, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | shutdown: ShutdownHandler, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | shutdown.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/miner.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 121 | send_channel: Sender, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | mut block_channel: WatchSwap, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | hashes_tried: Arc, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | throttle: Option, [INFO] [stdout] 125 | shutdown: ShutdownHandler, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 138 | | let mut state = None; [INFO] [stdout] 139 | | loop { [INFO] [stdout] 140 | | if state.is_none() { [INFO] [stdout] ... | [INFO] [stdout] 166 | | } [INFO] [stdout] 167 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swap_rust.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn init(val: impl Into>) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let val = val.into().map(Arc::new); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | Self { [INFO] [stdout] 27 | shared: Arc::new(Shared { [INFO] [stdout] | _____________________^ [INFO] [stdout] 28 | | inner: ArcSwapOption::new(val.clone()), [INFO] [stdout] 29 | | wait_cv: Condvar::new(), [INFO] [stdout] 30 | | wait_mutex: Mutex::new(()), [INFO] [stdout] 31 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/swap_rust.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Self(MutexInternal::new(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kaspa-miner` (bin "kaspa-miner") due to 12 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/kaspa-miner-701375b5c53ed6e7/out/protowire.rs:1656:28 [INFO] [stdout] | [INFO] [stdout] 1640 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1641 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1656 | P2pClient::new(InterceptedService::new(inner, interceptor)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/kaspa-miner-701375b5c53ed6e7/out/protowire.rs:1768:28 [INFO] [stdout] | [INFO] [stdout] 1752 | inner: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1753 | interceptor: F, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1768 | RpcClient::new(InterceptedService::new(inner, interceptor)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kaspa-miner` (bin "kaspa-miner" test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "889760264cc41d5012eaba9d7d7a3a9605cd54e12f5cbf651bdfdb20cf42dce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889760264cc41d5012eaba9d7d7a3a9605cd54e12f5cbf651bdfdb20cf42dce7", kill_on_drop: false }` [INFO] [stdout] 889760264cc41d5012eaba9d7d7a3a9605cd54e12f5cbf651bdfdb20cf42dce7