[INFO] fetching crate swimos_agent_protocol 0.1.0... [INFO] checking swimos_agent_protocol-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate swimos_agent_protocol 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate swimos_agent_protocol 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swimos_agent_protocol 0.1.0 [INFO] finished tweaking crates.io crate swimos_agent_protocol 0.1.0 [INFO] tweaked toml for crates.io crate swimos_agent_protocol 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 packages to latest compatible versions [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac3dbd9c677e779f3701b8104e929b74e4ad51bb80bb48d170cdaa142926ca0 [INFO] running `Command { std: "docker" "start" "-a" "eac3dbd9c677e779f3701b8104e929b74e4ad51bb80bb48d170cdaa142926ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac3dbd9c677e779f3701b8104e929b74e4ad51bb80bb48d170cdaa142926ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac3dbd9c677e779f3701b8104e929b74e4ad51bb80bb48d170cdaa142926ca0", kill_on_drop: false }` [INFO] [stdout] eac3dbd9c677e779f3701b8104e929b74e4ad51bb80bb48d170cdaa142926ca0 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b01cdc80cbf90d953e7c8d491bf425f63ef339bcef1d1322af506c02adff773b [INFO] running `Command { std: "docker" "start" "-a" "b01cdc80cbf90d953e7c8d491bf425f63ef339bcef1d1322af506c02adff773b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling swimos_algebra v0.1.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking swimos_num v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling swimos_errors v0.1.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking swimos_format v0.1.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking swimos_fs v0.1.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking swimos_route v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Checking swimos_encoding v0.1.1 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling swimos_utilities v0.1.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking swimos_trigger v0.1.1 [INFO] [stderr] Checking swimos_byte_channel v0.1.1 [INFO] [stderr] Checking swimos_future v0.1.1 [INFO] [stderr] Checking swimos_model v0.1.1 [INFO] [stderr] Compiling swimos_macro_utilities v0.1.1 [INFO] [stderr] Compiling swimos_form_derive v0.1.1 [INFO] [stderr] Checking swimos_form v0.1.1 [INFO] [stderr] Checking swimos_recon v0.1.1 [INFO] [stderr] Checking swimos_api v0.1.1 [INFO] [stderr] Checking swimos_agent_protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result>, FrameIoError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ad_hoc/tests.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut buffer = BytesMut::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | match decoder.decode_eof(&mut buffer) { [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>, FrameIoError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ad_hoc/tests.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 83 | let mut buffer = BytesMut::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | let mut part1 = buffer.split_to(header_len); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | match decoder.decode_eof(&mut buffer) { [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: this value of type `Result>, std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/downlink/tests.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 232 | let mut buffer = BytesMut::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | match DownlinkOperationDecoder.decode(&mut buffer) { [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: this value of type `Result>, std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/downlink/tests.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 255 | let mut buffer = BytesMut::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | match DownlinkOperationDecoder.decode(&mut buffer) { [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: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/map/parser/tests.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 70 | let bytes = buffer.freeze(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | [INFO] [stdout] 72 | let result = super::extract_header(&bytes); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(MapMessage::Remove { key }) => { [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: this value of type `bytes::Bytes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/map/parser/tests.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 90 | let bytes = buffer.freeze(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | [INFO] [stdout] 92 | let result = super::extract_header(&bytes); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | Ok(MapMessage::Update { key, value }) => { [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swimos_agent_protocol` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b01cdc80cbf90d953e7c8d491bf425f63ef339bcef1d1322af506c02adff773b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01cdc80cbf90d953e7c8d491bf425f63ef339bcef1d1322af506c02adff773b", kill_on_drop: false }` [INFO] [stdout] b01cdc80cbf90d953e7c8d491bf425f63ef339bcef1d1322af506c02adff773b