[INFO] fetching crate nrf24l01 0.2.0... [INFO] checking nrf24l01-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nrf24l01 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate nrf24l01 0.2.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] started tweaking crates.io crate nrf24l01 0.2.0 [INFO] finished tweaking crates.io crate nrf24l01 0.2.0 [INFO] tweaked toml for crates.io crate nrf24l01 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.3.3 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v0.4.0 (latest: v2.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding nix v0.6.0 (latest: v0.29.0) [INFO] [stderr] Adding nix v0.14.1 (latest: v0.29.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding num-traits v0.1.43 (latest: v0.2.19) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rppal v0.1.3 (latest: v0.19.0) [INFO] [stderr] Adding rustc_version v0.1.7 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (latest: v1.0.23) [INFO] [stderr] Adding spidev v0.3.0 (latest: v0.6.0) [INFO] [stderr] Adding sysfs_gpio v0.5.4 (latest: v0.6.2) [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] 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] ab34c25a93fbb37b02974bf92ac3babf8d7b59cee2c487cdfd2a9bf53f037e51 [INFO] running `Command { std: "docker" "start" "-a" "ab34c25a93fbb37b02974bf92ac3babf8d7b59cee2c487cdfd2a9bf53f037e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab34c25a93fbb37b02974bf92ac3babf8d7b59cee2c487cdfd2a9bf53f037e51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab34c25a93fbb37b02974bf92ac3babf8d7b59cee2c487cdfd2a9bf53f037e51", kill_on_drop: false }` [INFO] [stdout] ab34c25a93fbb37b02974bf92ac3babf8d7b59cee2c487cdfd2a9bf53f037e51 [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] 1728384f06733e177b6b75fe1441fec74fafae5de299734c2d218fff2e11d6f7 [INFO] running `Command { std: "docker" "start" "-a" "1728384f06733e177b6b75fe1441fec74fafae5de299734c2d218fff2e11d6f7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking nrf24l01 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | let mut spi = try!(spidev::Spidev::open(format!("/dev/spidev0.{}", spi_device))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:470:23 [INFO] [stdout] | [INFO] [stdout] 470 | let mut spi = try!(spidev::Spidev::open(format!("/dev/spidev0.{}", spi_device))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/lib.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 470 | let mut spi = try!(spidev::Spidev::open(format!("/dev/spidev0.{}", spi_device))); [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] ... [INFO] [stdout] 478 | Ok(NRF24L01 { [INFO] [stdout] | ____________^ [INFO] [stdout] 479 | | ce, [INFO] [stdout] 480 | | spi, [INFO] [stdout] 481 | | base_config: 0b0000_1101, [INFO] [stdout] 482 | | }) [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] = 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/sysfs_ce.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | ce.export().or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Err(io::Error::new( [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | io::ErrorKind::PermissionDenied, [INFO] [stdout] 18 | | "Unable to export CE", [INFO] [stdout] 19 | | )) [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/sysfs_ce.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | ce.set_direction(sysfs_gpio::Direction::Low).or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Err(io::Error::new( [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | io::ErrorKind::PermissionDenied, [INFO] [stdout] 24 | | "Unable to set CE", [INFO] [stdout] 25 | | )) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf24l01` (lib) due to 4 previous errors; 1 warning emitted [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/lib.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 470 | let mut spi = try!(spidev::Spidev::open(format!("/dev/spidev0.{}", spi_device))); [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] ... [INFO] [stdout] 478 | Ok(NRF24L01 { [INFO] [stdout] | ____________^ [INFO] [stdout] 479 | | ce, [INFO] [stdout] 480 | | spi, [INFO] [stdout] 481 | | base_config: 0b0000_1101, [INFO] [stdout] 482 | | }) [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] = 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/sysfs_ce.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | ce.export().or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Err(io::Error::new( [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | io::ErrorKind::PermissionDenied, [INFO] [stdout] 18 | | "Unable to export CE", [INFO] [stdout] 19 | | )) [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/sysfs_ce.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 21 | ce.set_direction(sysfs_gpio::Direction::Low).or_else(|_| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Err(io::Error::new( [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | io::ErrorKind::PermissionDenied, [INFO] [stdout] 24 | | "Unable to set CE", [INFO] [stdout] 25 | | )) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nrf24l01` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1728384f06733e177b6b75fe1441fec74fafae5de299734c2d218fff2e11d6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1728384f06733e177b6b75fe1441fec74fafae5de299734c2d218fff2e11d6f7", kill_on_drop: false }` [INFO] [stdout] 1728384f06733e177b6b75fe1441fec74fafae5de299734c2d218fff2e11d6f7