[INFO] fetching crate gilrs-core 0.5.15... [INFO] checking gilrs-core-0.5.15 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gilrs-core 0.5.15 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate gilrs-core 0.5.15 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 gilrs-core 0.5.15 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gilrs-core 0.5.15 [INFO] tweaked toml for crates.io crate gilrs-core 0.5.15 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate gilrs-core 0.5.15 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-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] a95ad3ad51e02dde6c3076e6cea0e9c21c4d3ecbb89be93327d3782563293cec [INFO] running `Command { std: "docker" "start" "-a" "a95ad3ad51e02dde6c3076e6cea0e9c21c4d3ecbb89be93327d3782563293cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a95ad3ad51e02dde6c3076e6cea0e9c21c4d3ecbb89be93327d3782563293cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95ad3ad51e02dde6c3076e6cea0e9c21c4d3ecbb89be93327d3782563293cec", kill_on_drop: false }` [INFO] [stdout] a95ad3ad51e02dde6c3076e6cea0e9c21c4d3ecbb89be93327d3782563293cec [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] ea43fc13a339c900465f63cfaa78cd8911405caf783030dc580135b5e3b88c11 [INFO] running `Command { std: "docker" "start" "-a" "ea43fc13a339c900465f63cfaa78cd8911405caf783030dc580135b5e3b88c11", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking gilrs-core v0.5.15 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.10.5 [INFO] [stdout] warning: struct `ff_envelope` is never constructed [INFO] [stdout] --> src/platform/linux/ioctl.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct ff_envelope { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ff_envelope` 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] warning: struct `ff_constant_effect` is never constructed [INFO] [stdout] --> src/platform/linux/ioctl.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ff_constant_effect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ff_constant_effect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ff_ramp_effect` is never constructed [INFO] [stdout] --> src/platform/linux/ioctl.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct ff_ramp_effect { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ff_ramp_effect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ff_condition_effect` is never constructed [INFO] [stdout] --> src/platform/linux/ioctl.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ff_condition_effect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ff_condition_effect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ff_periodic_effect` is never constructed [INFO] [stdout] --> src/platform/linux/ioctl.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ff_periodic_effect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ff_periodic_effect` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/lib.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 106 | let inner = platform::Gilrs::new().map_err(|e| match e { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Gilrs { inner }) [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] = 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/lib.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | gp.map(|gp| &*(gp as *const _ as *const Gamepad)) [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/platform/linux/gamepad.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 62 | let mut gamepads = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let epoll = Epoll::new(EpollCreateFlags::empty()) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let mut hotplug_event = EventFd::from_value_and_flags(1, EfdFlags::EFD_NONBLOCK) [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let udev = match Udev::new() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Some(udev) => udev, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | let en = match udev.enumerate() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Some(en) => en, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let (hotplug_tx, hotplug_rx) = mpsc::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] 199 | Ok(Gilrs { [INFO] [stdout] | ____________^ [INFO] [stdout] 200 | | gamepads, [INFO] [stdout] 201 | | epoll, [INFO] [stdout] 202 | | hotplug_rx, [INFO] [stdout] 203 | | to_check: VecDeque::new(), [INFO] [stdout] 204 | | discovery_backend: DiscoveryBackend::Udev, [INFO] [stdout] 205 | | }) [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] | | 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] [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/platform/linux/gamepad.rs:78:82 [INFO] [stdout] | [INFO] [stdout] 78 | let mut inotify = Inotify::init().map_err(|err| PlatformError::Other(Box::new(err)))?; [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/platform/linux/gamepad.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | .map_err(|err| PlatformError::Other(Box::new(err)))?; [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/platform/linux/gamepad.rs:90:53 [INFO] [stdout] | [INFO] [stdout] 90 | .map_err(|err| PlatformError::Other(Box::new(err)))? [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gilrs-core` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ea43fc13a339c900465f63cfaa78cd8911405caf783030dc580135b5e3b88c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea43fc13a339c900465f63cfaa78cd8911405caf783030dc580135b5e3b88c11", kill_on_drop: false }` [INFO] [stdout] ea43fc13a339c900465f63cfaa78cd8911405caf783030dc580135b5e3b88c11