[INFO] fetching crate driver-cp2130 1.1.0... [INFO] checking driver-cp2130-1.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate driver-cp2130 1.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate driver-cp2130 1.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] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate driver-cp2130 1.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate driver-cp2130 1.1.0 [INFO] tweaked toml for crates.io crate driver-cp2130 1.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate driver-cp2130 1.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 538fc6850a4e035b99264b8724f866eeb60a1dede178ed35d6668507ec57cda5 [INFO] running `Command { std: "docker" "start" "-a" "538fc6850a4e035b99264b8724f866eeb60a1dede178ed35d6668507ec57cda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "538fc6850a4e035b99264b8724f866eeb60a1dede178ed35d6668507ec57cda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538fc6850a4e035b99264b8724f866eeb60a1dede178ed35d6668507ec57cda5", kill_on_drop: false }` [INFO] [stdout] 538fc6850a4e035b99264b8724f866eeb60a1dede178ed35d6668507ec57cda5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 487b83f238e65844f085ff5249602028f6c9278c2d452009ab94d0352441743f [INFO] running `Command { std: "docker" "start" "-a" "487b83f238e65844f085ff5249602028f6c9278c2d452009ab94d0352441743f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling rusb v0.9.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking display-interface-i2c v0.4.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking gpio-cdev v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking ssd1306 v0.8.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simplelog v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking unescaper v0.1.4 [INFO] [stderr] Checking sysfs_gpio v0.6.1 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking driver-cp2130 v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking i2cdev v0.6.0 [INFO] [stderr] Checking serialport v4.3.0 [INFO] [stderr] Checking spidev v0.6.0 [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:90:12 [INFO] [stdout] | [INFO] [stdout] 81 | device: UsbDevice, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let (inner, info) = Inner::new(device, descriptor, options)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let inner = Arc::new(Mutex::new(inner)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(Self { info, inner }) [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:114:12 [INFO] [stdout] | [INFO] [stdout] 104 | let mut inner = self.inner.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(Spi { [INFO] [stdout] | ____________^ [INFO] [stdout] 115 | | inner: self.inner.clone(), [INFO] [stdout] 116 | | _channel: channel, [INFO] [stdout] 117 | | cs: cs_pin, [INFO] [stdout] 118 | | }) [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/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 128 | let mut inner = self.inner.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Ok(OutputPin { [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | index, [INFO] [stdout] 139 | | mode, [INFO] [stdout] 140 | | inner: self.inner.clone(), [INFO] [stdout] 141 | | }) [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/lib.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 146 | let mut inner = self.inner.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(InputPin { [INFO] [stdout] | ____________^ [INFO] [stdout] 156 | | index, [INFO] [stdout] 157 | | inner: self.inner.clone(), [INFO] [stdout] 158 | | }) [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/device.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 213 | device: UsbDevice, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut handle = match device.open() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let config_desc = device.config_descriptor(0)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 348 | | Inner { [INFO] [stdout] 349 | | _device: device, [INFO] [stdout] 350 | | handle, [INFO] [stdout] ... | [INFO] [stdout] 355 | | info, [INFO] [stdout] 356 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/manager.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 106 | let mut matches = Self::devices_filtered(filter)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(matches.remove(index)) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `driver-cp2130` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "487b83f238e65844f085ff5249602028f6c9278c2d452009ab94d0352441743f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487b83f238e65844f085ff5249602028f6c9278c2d452009ab94d0352441743f", kill_on_drop: false }` [INFO] [stdout] 487b83f238e65844f085ff5249602028f6c9278c2d452009ab94d0352441743f