[INFO] fetching crate etherage 0.5.0... [INFO] checking etherage-0.5.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate etherage 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate etherage 0.5.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate etherage 0.5.0 [INFO] finished tweaking crates.io crate etherage 0.5.0 [INFO] tweaked toml for crates.io crate etherage 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate etherage 0.5.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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f98c96850b40f8e9c442e9f8afc3fa54541630c148ba35b4a6b489b6dcac9e36 [INFO] running `Command { std: "docker" "start" "-a" "f98c96850b40f8e9c442e9f8afc3fa54541630c148ba35b4a6b489b6dcac9e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f98c96850b40f8e9c442e9f8afc3fa54541630c148ba35b4a6b489b6dcac9e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f98c96850b40f8e9c442e9f8afc3fa54541630c148ba35b4a6b489b6dcac9e36", kill_on_drop: false }` [INFO] [stdout] f98c96850b40f8e9c442e9f8afc3fa54541630c148ba35b4a6b489b6dcac9e36 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 474915b9aab5de30e727201e6a25fa4a8908b4a00ca9b6e9a65eda13161d3ff6 [INFO] running `Command { std: "docker" "start" "-a" "474915b9aab5de30e727201e6a25fa4a8908b4a00ca9b6e9a65eda13161d3ff6", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling packed_struct v0.10.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling packed_struct_codegen v0.10.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking nix v0.21.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking arbitrary-int v1.2.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking thread-priority v1.1.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking timerfd v1.5.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling bilge-impl v0.2.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking ioprio v0.2.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.29 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking bilge v0.2.0 [INFO] [stderr] Checking futures-concurrency v7.4.3 [INFO] [stderr] Checking tokio-timerfd v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking etherage v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum fills its bitsize [INFO] [stdout] --> src/registers.rs:675:10 [INFO] [stdout] | [INFO] [stdout] 675 | #[derive(TryFromBits, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites) [INFO] [stdout] = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum fills its bitsize [INFO] [stdout] --> src/registers.rs:685:10 [INFO] [stdout] | [INFO] [stdout] 685 | #[derive(TryFromBits, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites) [INFO] [stdout] = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum fills its bitsize [INFO] [stdout] --> src/registers.rs:675:10 [INFO] [stdout] | [INFO] [stdout] 675 | #[derive(TryFromBits, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites) [INFO] [stdout] = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum fills its bitsize [INFO] [stdout] --> src/registers.rs:685:10 [INFO] [stdout] | [INFO] [stdout] 685 | #[derive(TryFromBits, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: you can use `#[derive(FromBits)]` instead, rust will provide `TryFrom` for you (so you don't necessarily have to update call-sites) [INFO] [stdout] = note: this warning originates in the derive macro `TryFromBits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/data.rs:382:62 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> Cursor<&'a mut [u8]> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn read(&'a mut self, size: usize) -> PackingResult<&'_ [u8]> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/data.rs:382:62 [INFO] [stdout] | [INFO] [stdout] 374 | impl<'a> Cursor<&'a mut [u8]> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn read(&'a mut self, size: usize) -> PackingResult<&'_ [u8]> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/data.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | fn uninit() -> Self {unsafe {core::mem::uninitialized()}} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/data.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | fn uninit() -> Self {unsafe {core::mem::uninitialized()}} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mailbox.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn new(master: Arc, slave: u16, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | panic!("mailbox error before init: {:?}", master.fprd(slave, registers::al::error).await.one()); [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mailbox.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn new(master: Arc, slave: u16, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | panic!("mailbox error before init: {:?}", master.fprd(slave, registers::al::error).await.one()); [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etherage` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `etherage` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "474915b9aab5de30e727201e6a25fa4a8908b4a00ca9b6e9a65eda13161d3ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474915b9aab5de30e727201e6a25fa4a8908b4a00ca9b6e9a65eda13161d3ff6", kill_on_drop: false }` [INFO] [stdout] 474915b9aab5de30e727201e6a25fa4a8908b4a00ca9b6e9a65eda13161d3ff6