[INFO] crate workerbee 0.1.0 is already in cache [INFO] checking workerbee-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate workerbee 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate workerbee 0.1.0 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 workerbee 0.1.0 [INFO] finished tweaking crates.io crate workerbee 0.1.0 [INFO] tweaked toml for crates.io crate workerbee 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate workerbee 0.1.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 09fe1b9fbea7c9508bf405b39f7ae1ea24cbc56b0b58c7b09615a18a014a5bbd [INFO] running `Command { std: "docker" "start" "-a" "09fe1b9fbea7c9508bf405b39f7ae1ea24cbc56b0b58c7b09615a18a014a5bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09fe1b9fbea7c9508bf405b39f7ae1ea24cbc56b0b58c7b09615a18a014a5bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09fe1b9fbea7c9508bf405b39f7ae1ea24cbc56b0b58c7b09615a18a014a5bbd", kill_on_drop: false }` [INFO] [stdout] 09fe1b9fbea7c9508bf405b39f7ae1ea24cbc56b0b58c7b09615a18a014a5bbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ae55ebcafed6b389bd3a87846f8e52d9bf7d1c998dc762acbf846a8e1f4b77d0 [INFO] running `Command { std: "docker" "start" "-a" "ae55ebcafed6b389bd3a87846f8e52d9bf7d1c998dc762acbf846a8e1f4b77d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking uuid v1.2.2 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking workerbee v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/worker.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinError` [INFO] [stdout] --> src/worker.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/builder.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::runtime::{Builder as RuntimeBuilder, Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/builder.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/worker.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinError` [INFO] [stdout] --> src/worker.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::task::{JoinError, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/builder.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::runtime::{Builder as RuntimeBuilder, Handle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/builder.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `handle` is never read [INFO] [stdout] --> src/worker.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | /// Tokio handle [INFO] [stdout] 15 | pub(crate) handle: Handle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn`, `spawn_blocking`, and `block_on` are never used [INFO] [stdout] --> src/worker.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max_blocking_threads` and `thread_keep_alive` are never used [INFO] [stdout] --> src/builder.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_blocking_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn thread_keep_alive(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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/builder.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 66 | let worker = self [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let handle = worker.handle().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let (send_stop, recv_stop) = oneshot::channel(); [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(Worker { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | handle, [INFO] [stdout] 81 | | _dropper: Arc::new(Dropper { [INFO] [stdout] 82 | | close: Some(send_stop), [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/worker.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn`, `spawn_blocking`, and `block_on` are never used [INFO] [stdout] --> src/worker.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn spawn(&self, future: F) -> JoinHandle [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn spawn_blocking(&self, func: F) -> JoinHandle [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn block_on(&self, future: F) -> F::Output { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workerbee` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stdout] warning: fields `id` and `builder` are never read [INFO] [stdout] --> src/builder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | /// The id of this worker [INFO] [stdout] 17 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 20 | builder: RuntimeBuilder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `worker_threads`, `max_blocking_threads`, `thread_keep_alive`, `thread_name`, and `build` are never used [INFO] [stdout] --> src/builder.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Builder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn worker_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn max_blocking_threads(&mut self, val: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn thread_keep_alive(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn thread_name(&mut self, val: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn build(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [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/builder.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 66 | let worker = self [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let handle = worker.handle().clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let (send_stop, recv_stop) = oneshot::channel(); [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(Worker { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | handle, [INFO] [stdout] 81 | | _dropper: Arc::new(Dropper { [INFO] [stdout] 82 | | close: Some(send_stop), [INFO] [stdout] 83 | | }), [INFO] [stdout] 84 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workerbee` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae55ebcafed6b389bd3a87846f8e52d9bf7d1c998dc762acbf846a8e1f4b77d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae55ebcafed6b389bd3a87846f8e52d9bf7d1c998dc762acbf846a8e1f4b77d0", kill_on_drop: false }` [INFO] [stdout] ae55ebcafed6b389bd3a87846f8e52d9bf7d1c998dc762acbf846a8e1f4b77d0