[INFO] fetching crate eeprom24x 0.7.2... [INFO] checking eeprom24x-0.7.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate eeprom24x 0.7.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate eeprom24x 0.7.2 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 eeprom24x 0.7.2 [INFO] finished tweaking crates.io crate eeprom24x 0.7.2 [INFO] tweaked toml for crates.io crate eeprom24x 0.7.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate eeprom24x 0.7.2 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] 1abd5cb0e383f17aefe9be298aa9f6619de5102aa79ae2f349559a0e48354a5d [INFO] running `Command { std: "docker" "start" "-a" "1abd5cb0e383f17aefe9be298aa9f6619de5102aa79ae2f349559a0e48354a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1abd5cb0e383f17aefe9be298aa9f6619de5102aa79ae2f349559a0e48354a5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abd5cb0e383f17aefe9be298aa9f6619de5102aa79ae2f349559a0e48354a5d", kill_on_drop: false }` [INFO] [stdout] 1abd5cb0e383f17aefe9be298aa9f6619de5102aa79ae2f349559a0e48354a5d [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] d10590eb4ff91c9196302eddbafbef102863b72d48acdee041f7c252c7a5d1e1 [INFO] running `Command { std: "docker" "start" "-a" "d10590eb4ff91c9196302eddbafbef102863b72d48acdee041f7c252c7a5d1e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking embedded-storage v0.3.1 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking eeprom24x v0.7.2 (/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/eeprom24x.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / self.i2c [INFO] [stdout] 70 | | .write(devaddr, &payload[..=AS::ADDRESS_BYTES]) [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/eeprom24x.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | / self.i2c [INFO] [stdout] 81 | | .write_read(devaddr, &memaddr[..AS::ADDRESS_BYTES], &mut data) [INFO] [stdout] 82 | | .map_err(Error::I2C) [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/eeprom24x.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | .and(Ok(data[0])) [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/eeprom24x.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | / self.i2c [INFO] [stdout] 92 | | .write_read(devaddr, &memaddr[..AS::ADDRESS_BYTES], data) [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/eeprom24x.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | / self.i2c [INFO] [stdout] 233 | | .write(devaddr, &payload[..$addr_bytes + data.len()]) [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] 301 | / impl_for_page_size!( [INFO] [stdout] 302 | | OneByte, [INFO] [stdout] 303 | | 1, [INFO] [stdout] 304 | | B8, [INFO] [stdout] ... | [INFO] [stdout] 311 | | ["24x02E64", "24AA02E64", 8, No, new_24x02e64] [INFO] [stdout] 312 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_page_size` (in Nightly builds, run with -Z macro-backtrace for more info) [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/eeprom24x.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | / self.i2c [INFO] [stdout] 233 | | .write(devaddr, &payload[..$addr_bytes + data.len()]) [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] 313 | / impl_for_page_size!( [INFO] [stdout] 314 | | OneByte, [INFO] [stdout] 315 | | 1, [INFO] [stdout] 316 | | B16, [INFO] [stdout] ... | [INFO] [stdout] 327 | | ["M24C02", "M24C02", 8, No, new_m24x02] [INFO] [stdout] 328 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_page_size` (in Nightly builds, run with -Z macro-backtrace for more info) [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/eeprom24x.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | / self.i2c [INFO] [stdout] 233 | | .write(devaddr, &payload[..$addr_bytes + data.len()]) [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] 329 | / impl_for_page_size!( [INFO] [stdout] 330 | | TwoBytes, [INFO] [stdout] 331 | | 2, [INFO] [stdout] 332 | | B32, [INFO] [stdout] ... | [INFO] [stdout] 337 | | ["24CSx64", "AT24CS64", 13, Yes, new_24csx64] [INFO] [stdout] 338 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_page_size` (in Nightly builds, run with -Z macro-backtrace for more info) [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/eeprom24x.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | / self.i2c [INFO] [stdout] 233 | | .write(devaddr, &payload[..$addr_bytes + data.len()]) [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] 339 | / impl_for_page_size!( [INFO] [stdout] 340 | | TwoBytes, [INFO] [stdout] 341 | | 2, [INFO] [stdout] 342 | | B64, [INFO] [stdout] ... | [INFO] [stdout] 345 | | ["24x256", "AT24C256", 15, No, new_24x256] [INFO] [stdout] 346 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_page_size` (in Nightly builds, run with -Z macro-backtrace for more info) [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/eeprom24x.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | / self.i2c [INFO] [stdout] 233 | | .write(devaddr, &payload[..$addr_bytes + data.len()]) [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] 347 | / impl_for_page_size!( [INFO] [stdout] 348 | | TwoBytes, [INFO] [stdout] 349 | | 2, [INFO] [stdout] 350 | | B128, [INFO] [stdout] 351 | | 128, [INFO] [stdout] 352 | | ["24x512", "AT24C512", 16, No, new_24x512] [INFO] [stdout] 353 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_page_size` (in Nightly builds, run with -Z macro-backtrace for more info) [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/eeprom24x.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | / self.i2c [INFO] [stdout] 233 | | .write(devaddr, &payload[..$addr_bytes + data.len()]) [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] 354 | / impl_for_page_size!( [INFO] [stdout] 355 | | TwoBytes, [INFO] [stdout] 356 | | 2, [INFO] [stdout] 357 | | B256, [INFO] [stdout] ... | [INFO] [stdout] 360 | | ["24xM02", "AT24CM02", 18, No, new_24xm02] [INFO] [stdout] 361 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_for_page_size` (in Nightly builds, run with -Z macro-backtrace for more info) [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/storage.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn destroy(self) -> (I2C, D) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | (self.eeprom.destroy(), self.delay) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eeprom24x` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d10590eb4ff91c9196302eddbafbef102863b72d48acdee041f7c252c7a5d1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10590eb4ff91c9196302eddbafbef102863b72d48acdee041f7c252c7a5d1e1", kill_on_drop: false }` [INFO] [stdout] d10590eb4ff91c9196302eddbafbef102863b72d48acdee041f7c252c7a5d1e1