[INFO] fetching crate mouse-keyboard-input 0.9.1... [INFO] checking mouse-keyboard-input-0.9.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mouse-keyboard-input 0.9.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate mouse-keyboard-input 0.9.1 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate mouse-keyboard-input 0.9.1 [INFO] finished tweaking crates.io crate mouse-keyboard-input 0.9.1 [INFO] tweaked toml for crates.io crate mouse-keyboard-input 0.9.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate mouse-keyboard-input 0.9.1 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 40e1dd1524f765d74d738f36d60b5d3bf49f2c868408391d3db4de6d9bcba228 [INFO] running `Command { std: "docker" "start" "-a" "40e1dd1524f765d74d738f36d60b5d3bf49f2c868408391d3db4de6d9bcba228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40e1dd1524f765d74d738f36d60b5d3bf49f2c868408391d3db4de6d9bcba228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e1dd1524f765d74d738f36d60b5d3bf49f2c868408391d3db4de6d9bcba228", kill_on_drop: false }` [INFO] [stdout] 40e1dd1524f765d74d738f36d60b5d3bf49f2c868408391d3db4de6d9bcba228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 57171c22e7eb5b2bc26ee3ef18dff356f013e4558398af0ffea11e5fd93afed4 [INFO] running `Command { std: "docker" "start" "-a" "57171c22e7eb5b2bc26ee3ef18dff356f013e4558398af0ffea11e5fd93afed4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ioctl-sys v0.8.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking mouse-keyboard-input v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/virtual_device.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, mem, ptr, slice, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/virtual_device.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::gettimeofday` [INFO] [stdout] --> src/virtual_device.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::gettimeofday; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/virtual_device.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, mem, ptr, slice, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/virtual_device.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::gettimeofday` [INFO] [stdout] --> src/virtual_device.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::gettimeofday; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut device_name: String; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut device_name: String; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtual_device.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let mut input_event = input_event { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_event_for_writing` is never used [INFO] [stdout] --> src/virtual_device.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn convert_event_for_writing(kind: u16, code: u16, value: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/virtual_device.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn flush_channel_every_interval(mut self) -> JoinHandle<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 285 | | loop { [INFO] [stdout] 286 | | let start = Instant::now(); [INFO] [stdout] ... | [INFO] [stdout] 295 | | } [INFO] [stdout] 296 | | }) [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_event_for_writing` is never used [INFO] [stdout] --> src/virtual_device.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn convert_event_for_writing(kind: u16, code: u16, value: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/virtual_device.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn flush_channel_every_interval(mut self) -> JoinHandle<()> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | thread::spawn(move || { [INFO] [stdout] | _______________________^ [INFO] [stdout] 285 | | loop { [INFO] [stdout] 286 | | let start = Instant::now(); [INFO] [stdout] ... | [INFO] [stdout] 295 | | } [INFO] [stdout] 296 | | }) [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] [stderr] error: could not compile `mouse-keyboard-input` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mouse-keyboard-input` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57171c22e7eb5b2bc26ee3ef18dff356f013e4558398af0ffea11e5fd93afed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57171c22e7eb5b2bc26ee3ef18dff356f013e4558398af0ffea11e5fd93afed4", kill_on_drop: false }` [INFO] [stdout] 57171c22e7eb5b2bc26ee3ef18dff356f013e4558398af0ffea11e5fd93afed4