[INFO] fetching crate async-mavlink 0.1.3... [INFO] checking async-mavlink-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate async-mavlink 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate async-mavlink 0.1.3 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 async-mavlink 0.1.3 [INFO] finished tweaking crates.io crate async-mavlink 0.1.3 [INFO] tweaked toml for crates.io crate async-mavlink 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate async-mavlink 0.1.3 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] bb1db38b00670f30cbf43d4c5d1f515801a713f8445ffcfa2adc9ba68e7c3f23 [INFO] running `Command { std: "docker" "start" "-a" "bb1db38b00670f30cbf43d4c5d1f515801a713f8445ffcfa2adc9ba68e7c3f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb1db38b00670f30cbf43d4c5d1f515801a713f8445ffcfa2adc9ba68e7c3f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1db38b00670f30cbf43d4c5d1f515801a713f8445ffcfa2adc9ba68e7c3f23", kill_on_drop: false }` [INFO] [stdout] bb1db38b00670f30cbf43d4c5d1f515801a713f8445ffcfa2adc9ba68e7c3f23 [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] a25ab058a756cc01490c69a8a4d3e56419d459561fe625e08d56358cee49acdc [INFO] running `Command { std: "docker" "start" "-a" "a25ab058a756cc01490c69a8a4d3e56419d459561fe625e08d56358cee49acdc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling debug-helper v0.3.10 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling crc-any v2.3.5 [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking arc-swap v1.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Checking async-net v1.5.0 [INFO] [stderr] Checking async-process v1.0.1 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Compiling mavlink v0.8.6 [INFO] [stderr] Checking async-mavlink v0.1.3 (/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/lib.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 146 | let mut conn = mavlink::connect::(address)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | conn.set_protocol_version(mavlink_version); [INFO] [stdout] 148 | let (task_dispatcher, incoming_tasks) = mpsc::unbounded(); [INFO] [stdout] | --------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let last_heartbeat = Arc::new(ArcSwapOption::from(None)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | [INFO] [stdout] 151 | let f = { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | let last_heartbeat = last_heartbeat.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 221 | | Arc::new(Self { [INFO] [stdout] 222 | | task_dispatcher, [INFO] [stdout] 223 | | last_heartbeat, [INFO] [stdout] 224 | | }), [INFO] [stdout] 225 | | Box::pin(f), [INFO] [stdout] 226 | | )) [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] | [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/lib.rs:200:61 [INFO] [stdout] | [INFO] [stdout] 200 | ... last_heartbeat.rcu(|_| Some(Arc::new(Instant::now()))); [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-mavlink` (lib) due to 3 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] --> src/lib.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 146 | let mut conn = mavlink::connect::(address)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | conn.set_protocol_version(mavlink_version); [INFO] [stdout] 148 | let (task_dispatcher, incoming_tasks) = mpsc::unbounded(); [INFO] [stdout] | --------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let last_heartbeat = Arc::new(ArcSwapOption::from(None)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | [INFO] [stdout] 151 | let f = { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | let last_heartbeat = last_heartbeat.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 221 | | Arc::new(Self { [INFO] [stdout] 222 | | task_dispatcher, [INFO] [stdout] 223 | | last_heartbeat, [INFO] [stdout] 224 | | }), [INFO] [stdout] 225 | | Box::pin(f), [INFO] [stdout] 226 | | )) [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] | [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/lib.rs:200:61 [INFO] [stdout] | [INFO] [stdout] 200 | ... last_heartbeat.rcu(|_| Some(Arc::new(Instant::now()))); [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/lib.rs:413:41 [INFO] [stdout] | [INFO] [stdout] 412 | let (conn, future) = AsyncMavConn::new(arg, mavlink::MavlinkVersion::V1).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | smol::spawn(async move { future.await }).detach(); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-mavlink` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a25ab058a756cc01490c69a8a4d3e56419d459561fe625e08d56358cee49acdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25ab058a756cc01490c69a8a4d3e56419d459561fe625e08d56358cee49acdc", kill_on_drop: false }` [INFO] [stdout] a25ab058a756cc01490c69a8a4d3e56419d459561fe625e08d56358cee49acdc