[INFO] fetching crate preserves-schema 5.995.3... [INFO] checking preserves-schema-5.995.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate preserves-schema 5.995.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate preserves-schema 5.995.3 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 preserves-schema 5.995.3 [INFO] finished tweaking crates.io crate preserves-schema 5.995.3 [INFO] tweaked toml for crates.io crate preserves-schema 5.995.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate preserves-schema 5.995.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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9550e4b88275f2c87babd3a1f035a921b6499a387aa38befad8d2083b02e0fc [INFO] running `Command { std: "docker" "start" "-a" "e9550e4b88275f2c87babd3a1f035a921b6499a387aa38befad8d2083b02e0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9550e4b88275f2c87babd3a1f035a921b6499a387aa38befad8d2083b02e0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9550e4b88275f2c87babd3a1f035a921b6499a387aa38befad8d2083b02e0fc", kill_on_drop: false }` [INFO] [stdout] e9550e4b88275f2c87babd3a1f035a921b6499a387aa38befad8d2083b02e0fc [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc71bec72985bdba73be39e2a2bd77fe9aefd6c749dbddc94d7d3e8538e34f79 [INFO] running `Command { std: "docker" "start" "-a" "fc71bec72985bdba73be39e2a2bd77fe9aefd6c749dbddc94d7d3e8538e34f79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking preserves v4.995.2 [INFO] [stderr] Checking preserves-schema v5.995.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Rc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syntax/block.rs:473:79 [INFO] [stdout] | [INFO] [stdout] 473 | ($($item:expr),*) => {$crate::syntax::block::constructors::seq(vec![$(std::rc::Rc::new($item)),*])} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/types.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | ptr: Item, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let semi = if is_struct { seq![";"] } else { seq![] }; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let ppub = if is_struct { "pub " } else { "" }; [INFO] [stdout] 326 | / seq![ [INFO] [stdout] 327 | | names::render_constructor(n), [INFO] [stdout] 328 | | ptr.to_owned(), [INFO] [stdout] 329 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 348 | | } [INFO] [stdout] 349 | | ] [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | in this macro invocation [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] = note: this error originates in the macro `seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Rc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/syntax/block.rs:473:79 [INFO] [stdout] | [INFO] [stdout] 473 | ($($item:expr),*) => {$crate::syntax::block::constructors::seq(vec![$(std::rc::Rc::new($item)),*])} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/types.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | ptr: Item, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let semi = if is_struct { seq![";"] } else { seq![] }; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let ppub = if is_struct { "pub " } else { "" }; [INFO] [stdout] 326 | / seq![ [INFO] [stdout] 327 | | names::render_constructor(n), [INFO] [stdout] 328 | | ptr.to_owned(), [INFO] [stdout] 329 | | match self { [INFO] [stdout] ... | [INFO] [stdout] 348 | | } [INFO] [stdout] 349 | | ] [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | in this macro invocation [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] = note: this error originates in the macro `seq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 274 | let blob = reader.demand_next(false)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let language = Language::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | [INFO] [stdout] 277 | if let Ok(s) = language.parse(&blob) { [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` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/mod.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 274 | let blob = reader.demand_next(false)?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let language = Language::default(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | [INFO] [stdout] 277 | if let Ok(s) = language.parse(&blob) { [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 `preserves-schema` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `preserves-schema` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fc71bec72985bdba73be39e2a2bd77fe9aefd6c749dbddc94d7d3e8538e34f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc71bec72985bdba73be39e2a2bd77fe9aefd6c749dbddc94d7d3e8538e34f79", kill_on_drop: false }` [INFO] [stdout] fc71bec72985bdba73be39e2a2bd77fe9aefd6c749dbddc94d7d3e8538e34f79