[INFO] fetching crate bytor 0.1.0... [INFO] checking bytor-0.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate bytor 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bytor 0.1.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 bytor 0.1.0 [INFO] finished tweaking crates.io crate bytor 0.1.0 [INFO] tweaked toml for crates.io crate bytor 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate bytor 0.1.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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a026a348916bb22bb6c25aedd6c605fdec9e2e1016ddc62ff9981d9d91067510 [INFO] running `Command { std: "docker" "start" "-a" "a026a348916bb22bb6c25aedd6c605fdec9e2e1016ddc62ff9981d9d91067510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a026a348916bb22bb6c25aedd6c605fdec9e2e1016ddc62ff9981d9d91067510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a026a348916bb22bb6c25aedd6c605fdec9e2e1016ddc62ff9981d9d91067510", kill_on_drop: false }` [INFO] [stdout] a026a348916bb22bb6c25aedd6c605fdec9e2e1016ddc62ff9981d9d91067510 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 151fd88fcf350a064535cb09b5df28df415aac12d637e5767a4b713b9b9fc115 [INFO] running `Command { std: "docker" "start" "-a" "151fd88fcf350a064535cb09b5df28df415aac12d637e5767a4b713b9b9fc115", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking wasm-encoder v0.207.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking wasmparser v0.207.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Compiling bytor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/backends/c.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 128 | fn translate_type(&mut self, type_t: Type) -> String { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | match type_t.clone() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_sub(sub: Vec, t: Type) -> Option { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | match sub.into_iter().find(|s| s.0 == t) { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 127 | fn subst(sub: Vec, t: Type) -> Type { [INFO] [stdout] | --- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | match t.clone() { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer.rs:860:15 [INFO] [stdout] | [INFO] [stdout] 859 | fn type_is_determined(t: Type) -> bool { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 860 | match t.clone() { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/backends/c.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 128 | fn translate_type(&mut self, type_t: Type) -> String { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | match type_t.clone() { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_sub(sub: Vec, t: Type) -> Option { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | match sub.into_iter().find(|s| s.0 == t) { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 127 | fn subst(sub: Vec, t: Type) -> Type { [INFO] [stdout] | --- - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | match t.clone() { [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 `types::Type` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer.rs:860:15 [INFO] [stdout] | [INFO] [stdout] 859 | fn type_is_determined(t: Type) -> bool { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 860 | match t.clone() { [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytor` (bin "bytor") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bytor` (bin "bytor" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "151fd88fcf350a064535cb09b5df28df415aac12d637e5767a4b713b9b9fc115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151fd88fcf350a064535cb09b5df28df415aac12d637e5767a4b713b9b9fc115", kill_on_drop: false }` [INFO] [stdout] 151fd88fcf350a064535cb09b5df28df415aac12d637e5767a4b713b9b9fc115