[INFO] fetching crate i2cdev 0.6.1... [INFO] checking i2cdev-0.6.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate i2cdev 0.6.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate i2cdev 0.6.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] started tweaking crates.io crate i2cdev 0.6.1 [INFO] finished tweaking crates.io crate i2cdev 0.6.1 [INFO] tweaked toml for crates.io crate i2cdev 0.6.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate i2cdev 0.6.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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 48d0fbef7bc1c02ea7c4c8a93165bceb4397db458f4dec5f0b1f743cf24ca324 [INFO] running `Command { std: "docker" "start" "-a" "48d0fbef7bc1c02ea7c4c8a93165bceb4397db458f4dec5f0b1f743cf24ca324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48d0fbef7bc1c02ea7c4c8a93165bceb4397db458f4dec5f0b1f743cf24ca324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d0fbef7bc1c02ea7c4c8a93165bceb4397db458f4dec5f0b1f743cf24ca324", kill_on_drop: false }` [INFO] [stdout] 48d0fbef7bc1c02ea7c4c8a93165bceb4397db458f4dec5f0b1f743cf24ca324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1c28536487f04e84b51a5e7b780f43b921a55edaee7eee40c448ecdaa3082ae9 [INFO] running `Command { std: "docker" "start" "-a" "1c28536487f04e84b51a5e7b780f43b921a55edaee7eee40c448ecdaa3082ae9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking i2cdev v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking docopt v1.1.1 [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] --> examples/pca9956b.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | .and_then(|d| d.argv(args()).parse()) [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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `i2cdev` (example "pca9956b") due to 2 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] --> examples/sensors.rs:472:23 [INFO] [stdout] | [INFO] [stdout] 472 | .and_then(|d| d.argv(args()).parse()) [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `i2cdev` (example "sensors") due to 4 previous errors [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> examples/nunchuck.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct NunchuckReading { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | pub joystick_x: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | pub joystick_y: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 63 | pub accel_x: u16, // 10-bit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | pub accel_y: u16, // 10-bit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | pub accel_z: u16, // 10-bit [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | pub c_button_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub z_button_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NunchuckReading` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> examples/nunchuck.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 214 | let i2cdev = LinuxI2CDevice::new(device, NUNCHUCK_SLAVE_ADDR).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | match Nunchuck::new(i2cdev) { [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] --> examples/nunchuck.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | .and_then(|d| d.argv(args()).parse()) [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 2 previous errors; 1 warning emitted [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] --> examples/sensors.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new(mut i2cdev: T) -> Result, T::Error> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok(ADXL345Accelerometer { i2cdev }) [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] [stderr] error: could not compile `i2cdev` (example "nunchuck") due to 3 previous errors; 1 warning emitted [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] --> examples/sensors.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn new(mut i2cdev: T) -> Result, T::Error> { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 359 | let coeff = MPL115A2Coefficients::new(&mut i2cdev)?; [INFO] [stdout] 360 | Ok(MPL115A2BarometerThermometer { i2cdev, coeff }) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c28536487f04e84b51a5e7b780f43b921a55edaee7eee40c448ecdaa3082ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c28536487f04e84b51a5e7b780f43b921a55edaee7eee40c448ecdaa3082ae9", kill_on_drop: false }` [INFO] [stdout] 1c28536487f04e84b51a5e7b780f43b921a55edaee7eee40c448ecdaa3082ae9