[INFO] fetching crate unit-proc 0.0.3... [INFO] checking unit-proc-0.0.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate unit-proc 0.0.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate unit-proc 0.0.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 unit-proc 0.0.3 [INFO] finished tweaking crates.io crate unit-proc 0.0.3 [INFO] tweaked toml for crates.io crate unit-proc 0.0.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate unit-proc 0.0.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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 69b5e2b9f6b3d8064ce939ec87f045692a24ff9049b65a59f508b5fec53e14c4 [INFO] running `Command { std: "docker" "start" "-a" "69b5e2b9f6b3d8064ce939ec87f045692a24ff9049b65a59f508b5fec53e14c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b5e2b9f6b3d8064ce939ec87f045692a24ff9049b65a59f508b5fec53e14c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b5e2b9f6b3d8064ce939ec87f045692a24ff9049b65a59f508b5fec53e14c4", kill_on_drop: false }` [INFO] [stdout] 69b5e2b9f6b3d8064ce939ec87f045692a24ff9049b65a59f508b5fec53e14c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a4e121878a57cc94997525f9973e1792c2812cb2b4512617977402fbf0c3044a [INFO] running `Command { std: "docker" "start" "-a" "a4e121878a57cc94997525f9973e1792c2812cb2b4512617977402fbf0c3044a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling transition-table v0.0.3 [INFO] [stderr] Compiling disuse v0.0.2 [INFO] [stderr] Compiling physical-quantity v0.0.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking dissimilar v1.0.3 [INFO] [stderr] Compiling gcd v2.1.0 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking quote v1.0.15 [INFO] [stderr] Compiling const-array-attrs v0.0.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking keyword-parser v0.0.3 [INFO] [stderr] Checking const-frac v0.0.4 [INFO] [stderr] Compiling real-proc v0.0.3 [INFO] [stderr] Checking unit-proc v0.0.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/unit.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 55 | let p = match Punctuated::::parse_separated_nonempty(input) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Ok(p) => p, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let mut path = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mut lit= None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut init = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Some(Str(s)) => s.value(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | Some(ByteStr(s)) => String::from_utf8(s.value()).unwrap(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Some(Byte(s)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Some(Char(ch)) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(Self { unit, init, path }) [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/unit.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 112 | let a = self.init_real( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let b = self.init_real( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | tokens.extend(match self.path.as_ref() { [INFO] [stdout] | _______________________^ [INFO] [stdout] 132 | | Some(path) => quote! { [INFO] [stdout] 133 | | #path::Unit { [INFO] [stdout] 134 | | a: #a, [INFO] [stdout] ... | [INFO] [stdout] 145 | | }, [INFO] [stdout] 146 | | }) [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/unit.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | let u: TokenUnit = input.parse()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | [INFO] [stdout] 170 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 171 | | dim: u.unit.dim, [INFO] [stdout] 172 | | path: u.path, [INFO] [stdout] 173 | | }) [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unit-proc` (lib) due to 4 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/unit.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 55 | let p = match Punctuated::::parse_separated_nonempty(input) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | Ok(p) => p, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let mut path = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mut lit= None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let mut init = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Some(Str(s)) => s.value(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | Some(ByteStr(s)) => String::from_utf8(s.value()).unwrap(), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Some(Byte(s)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | Some(Char(ch)) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | Ok(Self { unit, init, path }) [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/unit.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 112 | let a = self.init_real( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let b = self.init_real( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | tokens.extend(match self.path.as_ref() { [INFO] [stdout] | _______________________^ [INFO] [stdout] 132 | | Some(path) => quote! { [INFO] [stdout] 133 | | #path::Unit { [INFO] [stdout] 134 | | a: #a, [INFO] [stdout] ... | [INFO] [stdout] 145 | | }, [INFO] [stdout] 146 | | }) [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/unit.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 168 | let u: TokenUnit = input.parse()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | [INFO] [stdout] 170 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 171 | | dim: u.unit.dim, [INFO] [stdout] 172 | | path: u.path, [INFO] [stdout] 173 | | }) [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unit-proc` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a4e121878a57cc94997525f9973e1792c2812cb2b4512617977402fbf0c3044a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e121878a57cc94997525f9973e1792c2812cb2b4512617977402fbf0c3044a", kill_on_drop: false }` [INFO] [stdout] a4e121878a57cc94997525f9973e1792c2812cb2b4512617977402fbf0c3044a