[INFO] fetching crate bluez 0.4.0... [INFO] checking bluez-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bluez 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate bluez 0.4.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 bluez 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bluez 0.4.0 [INFO] tweaked toml for crates.io crate bluez 0.4.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate bluez 0.4.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-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] 2863558a28f6a20cdaa741c54db95c7ecdb12fc913afca03c5405fcef5b9d824 [INFO] running `Command { std: "docker" "start" "-a" "2863558a28f6a20cdaa741c54db95c7ecdb12fc913afca03c5405fcef5b9d824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2863558a28f6a20cdaa741c54db95c7ecdb12fc913afca03c5405fcef5b9d824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2863558a28f6a20cdaa741c54db95c7ecdb12fc913afca03c5405fcef5b9d824", kill_on_drop: false }` [INFO] [stdout] 2863558a28f6a20cdaa741c54db95c7ecdb12fc913afca03c5405fcef5b9d824 [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] f3031dc155e7053db885914110ae4c6b0d78d2743bf23464878eff69ffcebe2e [INFO] running `Command { std: "docker" "start" "-a" "f3031dc155e7053db885914110ae4c6b0d78d2743bf23464878eff69ffcebe2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking wyz v0.5.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking enumflags2 v0.7.5 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling clap v3.2.14 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling bluez-sys v0.4.0 [INFO] [stderr] Checking bluez v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_flags_u16_le` is never used [INFO] [stdout] --> src/util.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait BufExt: Buf { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_flags_u16_le>(&mut self) -> BitFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> src/communication/discovery/serialization.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn with_parameter(id: PduId, txn: u16, parameter: F) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut buf = BytesMut::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | parameter: buf.freeze(), [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/communication/stream.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(BluetoothListener { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | inner: AsyncFd::new(fd)?, [INFO] [stdout] 108 | | proto, [INFO] [stdout] 109 | | }) [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/management/interface/response.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(mut buf: T) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | controller, [INFO] [stdout] 28 | | event: match evt_code { [INFO] [stdout] 29 | | 0x0001 | 0x0002 => { [INFO] [stdout] ... | [INFO] [stdout] 237 | | }, [INFO] [stdout] 238 | | }) [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] [stdout] warning: method `get_flags_u16_le` is never used [INFO] [stdout] --> src/util.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait BufExt: Buf { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn get_flags_u16_le>(&mut self) -> BitFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] --> src/communication/discovery/serialization.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn with_parameter(id: PduId, txn: u16, parameter: F) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let mut buf = BytesMut::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | parameter: buf.freeze(), [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/communication/stream.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(BluetoothListener { [INFO] [stdout] | ____________^ [INFO] [stdout] 107 | | inner: AsyncFd::new(fd)?, [INFO] [stdout] 108 | | proto, [INFO] [stdout] 109 | | }) [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/management/interface/response.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(mut buf: T) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(Response { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | controller, [INFO] [stdout] 28 | | event: match evt_code { [INFO] [stdout] 29 | | 0x0001 | 0x0002 => { [INFO] [stdout] ... | [INFO] [stdout] 237 | | }, [INFO] [stdout] 238 | | }) [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 `bluez` (lib test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bluez` (lib) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f3031dc155e7053db885914110ae4c6b0d78d2743bf23464878eff69ffcebe2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3031dc155e7053db885914110ae4c6b0d78d2743bf23464878eff69ffcebe2e", kill_on_drop: false }` [INFO] [stdout] f3031dc155e7053db885914110ae4c6b0d78d2743bf23464878eff69ffcebe2e