[INFO] fetching crate octane_macros 0.1.2... [INFO] checking octane_macros-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate octane_macros 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate octane_macros 0.1.2 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 octane_macros 0.1.2 [INFO] finished tweaking crates.io crate octane_macros 0.1.2 [INFO] tweaked toml for crates.io crate octane_macros 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f7135317818370a63b998a08c908be7ee90d2daa4c5699c5fde64f7dce474979 [INFO] running `Command { std: "docker" "start" "-a" "f7135317818370a63b998a08c908be7ee90d2daa4c5699c5fde64f7dce474979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7135317818370a63b998a08c908be7ee90d2daa4c5699c5fde64f7dce474979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7135317818370a63b998a08c908be7ee90d2daa4c5699c5fde64f7dce474979", kill_on_drop: false }` [INFO] [stdout] f7135317818370a63b998a08c908be7ee90d2daa4c5699c5fde64f7dce474979 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c50b59705acaf148541733e035dc32d705e3dfb0ab3ebc8729ff232767d108ee [INFO] running `Command { std: "docker" "start" "-a" "c50b59705acaf148541733e035dc32d705e3dfb0ab3ebc8729ff232767d108ee", kill_on_drop: false }` [INFO] [stderr] Checking octane_macros v0.1.2 (/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/json.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 15 | toks: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | process_braces: F, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | process_parens: K, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> TokenStream { [INFO] [stdout] 19 | let mut tok_iter = toks.into_iter(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let mut gen_between = TokenStream::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let mut where_between = TokenStream::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | / r#"compile_error!("Could not find compatible struct body."# [INFO] [stdout] 92 | | .parse() [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/json.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 100 | fn fromjson_braces(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 154 | / format!( [INFO] [stdout] 155 | | "\ [INFO] [stdout] 156 | | impl{} octane_json::FromJSON for {}{} where {} {{\ [INFO] [stdout] 157 | | fn from_json(val: octane_json::Value) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 172 | | ) [INFO] [stdout] 173 | | .parse() [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/json.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 177 | fn fromjson_parens(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 228 | / format!( [INFO] [stdout] 229 | | "\ [INFO] [stdout] 230 | | impl{} octane_json::FromJSON for {}{} where {} {{\ [INFO] [stdout] 231 | | fn from_json(val: octane_json::Value) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 247 | | ) [INFO] [stdout] 248 | | .parse() [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/json.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 256 | fn tojson_braces(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 310 | / format!( [INFO] [stdout] 311 | | "\ [INFO] [stdout] 312 | | impl{} octane_json::ToJSON for {}{} where {} {{\ [INFO] [stdout] 313 | | fn to_json(self) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 320 | | ) [INFO] [stdout] 321 | | .parse() [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/json.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 325 | fn tojson_parens(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 379 | / format!( [INFO] [stdout] 380 | | "\ [INFO] [stdout] 381 | | impl{} octane_json::ToJSON for {}{} where {} {{\ [INFO] [stdout] 382 | | fn to_json(self) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 389 | | ) [INFO] [stdout] 390 | | .parse() [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `octane_macros` (lib test) due to 6 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/json.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 15 | toks: TokenStream, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | process_braces: F, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | process_parens: K, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> TokenStream { [INFO] [stdout] 19 | let mut tok_iter = toks.into_iter(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let mut gen_between = TokenStream::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let mut where_between = TokenStream::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | / r#"compile_error!("Could not find compatible struct body."# [INFO] [stdout] 92 | | .parse() [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/json.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 100 | fn fromjson_braces(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 154 | / format!( [INFO] [stdout] 155 | | "\ [INFO] [stdout] 156 | | impl{} octane_json::FromJSON for {}{} where {} {{\ [INFO] [stdout] 157 | | fn from_json(val: octane_json::Value) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 172 | | ) [INFO] [stdout] 173 | | .parse() [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/json.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 177 | fn fromjson_parens(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 228 | / format!( [INFO] [stdout] 229 | | "\ [INFO] [stdout] 230 | | impl{} octane_json::FromJSON for {}{} where {} {{\ [INFO] [stdout] 231 | | fn from_json(val: octane_json::Value) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 247 | | ) [INFO] [stdout] 248 | | .parse() [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/json.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 256 | fn tojson_braces(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 310 | / format!( [INFO] [stdout] 311 | | "\ [INFO] [stdout] 312 | | impl{} octane_json::ToJSON for {}{} where {} {{\ [INFO] [stdout] 313 | | fn to_json(self) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 320 | | ) [INFO] [stdout] 321 | | .parse() [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/json.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 325 | fn tojson_parens(toks: TokenStream, mut info: StructInfo) -> TokenStream { [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] ... [INFO] [stdout] 379 | / format!( [INFO] [stdout] 380 | | "\ [INFO] [stdout] 381 | | impl{} octane_json::ToJSON for {}{} where {} {{\ [INFO] [stdout] 382 | | fn to_json(self) -> Option {{\ [INFO] [stdout] ... | [INFO] [stdout] 389 | | ) [INFO] [stdout] 390 | | .parse() [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `octane_macros` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c50b59705acaf148541733e035dc32d705e3dfb0ab3ebc8729ff232767d108ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50b59705acaf148541733e035dc32d705e3dfb0ab3ebc8729ff232767d108ee", kill_on_drop: false }` [INFO] [stdout] c50b59705acaf148541733e035dc32d705e3dfb0ab3ebc8729ff232767d108ee