[INFO] fetching crate lsm303agr 1.1.0... [INFO] checking lsm303agr-1.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lsm303agr 1.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate lsm303agr 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-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate lsm303agr 1.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lsm303agr 1.1.0 [INFO] tweaked toml for crates.io crate lsm303agr 1.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate lsm303agr 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c802c6d2e6971c634edf3c4cd11abc27c57343322d0be3413203164b982bf233 [INFO] running `Command { std: "docker" "start" "-a" "c802c6d2e6971c634edf3c4cd11abc27c57343322d0be3413203164b982bf233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c802c6d2e6971c634edf3c4cd11abc27c57343322d0be3413203164b982bf233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c802c6d2e6971c634edf3c4cd11abc27c57343322d0be3413203164b982bf233", kill_on_drop: false }` [INFO] [stdout] c802c6d2e6971c634edf3c4cd11abc27c57343322d0be3413203164b982bf233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1fd0eefdf7d13e1ee513061f093ba531f4d588cf4552c9e85aeef83594a58f8f [INFO] running `Command { std: "docker" "start" "-a" "1fd0eefdf7d13e1ee513061f093ba531f4d588cf4552c9e85aeef83594a58f8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling pulldown-cmark v0.11.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking gpio-cdev v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking unescaper v0.1.3 [INFO] [stderr] Checking sysfs_gpio v0.6.1 [INFO] [stderr] Compiling maybe-async-cfg v0.2.4 [INFO] [stderr] Checking serialport v4.3.0 [INFO] [stderr] Checking i2cdev v0.6.0 [INFO] [stderr] Checking spidev v0.6.0 [INFO] [stderr] Checking linux-embedded-hal v0.4.0 [INFO] [stderr] Checking lsm303agr v1.1.0 (/opt/rustwide/workdir) [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_impl.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_with_i2c(i2c: I2C) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Lsm303agr { [INFO] [stdout] 18 | iface: I2cInterface { i2c }, [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/device_impl.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new_with_spi(spi_accel: SPIXL, spi_mag: SPIMAG) -> Self { [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] 44 | Lsm303agr { [INFO] [stdout] 45 | iface: SpiInterface { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | spi_xl: spi_accel, [INFO] [stdout] 47 | | spi_mag, [INFO] [stdout] 48 | | }, [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/interface.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | async fn write_accel_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let payload: [u8; 2] = [R::ADDR, reg.data()]; [INFO] [stdout] 59 | / self.i2c [INFO] [stdout] 60 | | .write(ACCEL_ADDR, &payload) [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/interface.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | async fn write_mag_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let payload: [u8; 2] = [R::ADDR, reg.data()]; [INFO] [stdout] 67 | / self.i2c [INFO] [stdout] 68 | | .write(MAG_ADDR, &payload) [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/interface.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | async fn write_accel_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | self.spi_xl.write(&payload).await.map_err(Error::Comm) [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/interface.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | async fn write_mag_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | self.spi_mag.write(&payload).await.map_err(Error::Comm) [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/mag_mode_change.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 18 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | match self.iface.write_mag_register(cfg).await { [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/mag_mode_change.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 54 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | match self.iface.write_mag_register(cfg).await { [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lsm303agr` (lib test) due to 9 previous errors [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] --> src/device_impl.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_with_i2c(i2c: I2C) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Lsm303agr { [INFO] [stdout] 18 | iface: I2cInterface { i2c }, [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/device_impl.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new_with_spi(spi_accel: SPIXL, spi_mag: SPIMAG) -> Self { [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] 44 | Lsm303agr { [INFO] [stdout] 45 | iface: SpiInterface { [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | spi_xl: spi_accel, [INFO] [stdout] 47 | | spi_mag, [INFO] [stdout] 48 | | }, [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/interface.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 57 | async fn write_accel_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let payload: [u8; 2] = [R::ADDR, reg.data()]; [INFO] [stdout] 59 | / self.i2c [INFO] [stdout] 60 | | .write(ACCEL_ADDR, &payload) [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/interface.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 65 | async fn write_mag_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let payload: [u8; 2] = [R::ADDR, reg.data()]; [INFO] [stdout] 67 | / self.i2c [INFO] [stdout] 68 | | .write(MAG_ADDR, &payload) [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/interface.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 85 | async fn write_accel_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | self.spi_xl.write(&payload).await.map_err(Error::Comm) [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/interface.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | async fn write_mag_register(&mut self, reg: R) -> Result<(), Self::Error> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | self.spi_mag.write(&payload).await.map_err(Error::Comm) [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/mag_mode_change.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 18 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | match self.iface.write_mag_register(cfg).await { [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/mag_mode_change.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 54 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | match self.iface.write_mag_register(cfg).await { [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lsm303agr` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "1fd0eefdf7d13e1ee513061f093ba531f4d588cf4552c9e85aeef83594a58f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd0eefdf7d13e1ee513061f093ba531f4d588cf4552c9e85aeef83594a58f8f", kill_on_drop: false }` [INFO] [stdout] 1fd0eefdf7d13e1ee513061f093ba531f4d588cf4552c9e85aeef83594a58f8f