[INFO] fetching crate qjs-derive-support 0.1.1... [INFO] checking qjs-derive-support-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate qjs-derive-support 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate qjs-derive-support 0.1.1 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 qjs-derive-support 0.1.1 [INFO] finished tweaking crates.io crate qjs-derive-support 0.1.1 [INFO] tweaked toml for crates.io crate qjs-derive-support 0.1.1 written to /workspace/builds/worker-2-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding pretty_env_logger v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eb0e0dcd4865d7edf9915e6a8bc8e39f7e027486d8ebd5028aa351020eb8f6a8 [INFO] running `Command { std: "docker" "start" "-a" "eb0e0dcd4865d7edf9915e6a8bc8e39f7e027486d8ebd5028aa351020eb8f6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb0e0dcd4865d7edf9915e6a8bc8e39f7e027486d8ebd5028aa351020eb8f6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0e0dcd4865d7edf9915e6a8bc8e39f7e027486d8ebd5028aa351020eb8f6a8", kill_on_drop: false }` [INFO] [stdout] eb0e0dcd4865d7edf9915e6a8bc8e39f7e027486d8ebd5028aa351020eb8f6a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] bc2b88d397bb43e5935fdbc63bbab6e4da27735ade8d8fea3ca86d73c417ce06 [INFO] running `Command { std: "docker" "start" "-a" "bc2b88d397bb43e5935fdbc63bbab6e4da27735ade8d8fea3ca86d73c417ce06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking qjs-derive-support v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Item` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | match syn::parse2(input)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let expanded = quote! {{ [INFO] [stdout] | ____________________________- [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] 81 | | #context [INFO] [stdout] 82 | | #global [INFO] [stdout] 83 | | #(#captures)* [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | ctxt.eval(#interpolated_script, qjs::Eval::GLOBAL) [INFO] [stdout] 86 | | }}; [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] | |______________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] 173 | let expanded = quote! { [INFO] [stdout] | ____________________________- [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] 174 | | move | #(#args),* | #output { [INFO] [stdout] 175 | | let rt = qjs::Runtime::new(); [INFO] [stdout] 176 | | let ctxt = qjs::Context::new(&rt); [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | }; [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] | |_____________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] = 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] warning: field `fat_arrow_token` is never read [INFO] [stdout] --> src/lib.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 231 | struct WithContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 232 | pub ident: Ident, [INFO] [stdout] 233 | pub fat_arrow_token: FatArrow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `paren_token`, `fat_arrow_token`, and `brace_token` are never read [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 245 | struct Closure { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 246 | pub captures: Option, [INFO] [stdout] 247 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fat_arrow_token: FatArrow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub brace_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Item` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | match syn::parse2(input)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let expanded = quote! {{ [INFO] [stdout] | ____________________________- [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] 81 | | #context [INFO] [stdout] 82 | | #global [INFO] [stdout] 83 | | #(#captures)* [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | ctxt.eval(#interpolated_script, qjs::Eval::GLOBAL) [INFO] [stdout] 86 | | }}; [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] | |______________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] 173 | let expanded = quote! { [INFO] [stdout] | ____________________________- [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] | |____________________________| [INFO] [stdout] 174 | | move | #(#args),* | #output { [INFO] [stdout] 175 | | let rt = qjs::Runtime::new(); [INFO] [stdout] 176 | | let ctxt = qjs::Context::new(&rt); [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | }; [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] | |_____________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] = 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: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qjs-derive-support` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `fat_arrow_token` is never read [INFO] [stdout] --> src/lib.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 231 | struct WithContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 232 | pub ident: Ident, [INFO] [stdout] 233 | pub fat_arrow_token: FatArrow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `paren_token`, `fat_arrow_token`, and `brace_token` are never read [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 245 | struct Closure { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 246 | pub captures: Option, [INFO] [stdout] 247 | pub paren_token: Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fat_arrow_token: FatArrow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub brace_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qjs-derive-support` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc2b88d397bb43e5935fdbc63bbab6e4da27735ade8d8fea3ca86d73c417ce06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2b88d397bb43e5935fdbc63bbab6e4da27735ade8d8fea3ca86d73c417ce06", kill_on_drop: false }` [INFO] [stdout] bc2b88d397bb43e5935fdbc63bbab6e4da27735ade8d8fea3ca86d73c417ce06