[INFO] fetching crate autocxx-integration-tests 0.27.0... [INFO] checking autocxx-integration-tests-0.27.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate autocxx-integration-tests 0.27.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate autocxx-integration-tests 0.27.0 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 autocxx-integration-tests 0.27.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate autocxx-integration-tests 0.27.0 [INFO] tweaked toml for crates.io crate autocxx-integration-tests 0.27.0 written to /workspace/builds/worker-0-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] [stderr] Updating crates.io index [INFO] [stderr] Locking 123 packages to latest compatible versions [INFO] [stderr] Adding aquamarine v0.1.12 (latest: v0.5.0) [INFO] [stderr] Adding env_logger v0.9.3 (latest: v0.11.5) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding indoc v1.0.9 (latest: v2.0.5) [INFO] [stderr] Adding itertools v0.9.0 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding miette v5.10.0 (latest: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (latest: v7.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4dc431c5d9b27e40f3d7e5b2463cc02342fc9b397054c7adf3c486c4849c46ea [INFO] running `Command { std: "docker" "start" "-a" "4dc431c5d9b27e40f3d7e5b2463cc02342fc9b397054c7adf3c486c4849c46ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dc431c5d9b27e40f3d7e5b2463cc02342fc9b397054c7adf3c486c4849c46ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc431c5d9b27e40f3d7e5b2463cc02342fc9b397054c7adf3c486c4849c46ea", kill_on_drop: false }` [INFO] [stdout] 4dc431c5d9b27e40f3d7e5b2463cc02342fc9b397054c7adf3c486c4849c46ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e7fd04ad98cbd1ab54c392f8b5fd5ce9c4c3420bf889977706b1782180fbfbf2 [INFO] running `Command { std: "docker" "start" "-a" "e7fd04ad98cbd1ab54c392f8b5fd5ce9c4c3420bf889977706b1782180fbfbf2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cxxbridge-flags v1.0.128 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling cxx v1.0.128 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling autocxx-bindgen v0.69.5 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Compiling autocxx v0.27.0 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cc v1.1.15 [INFO] [stderr] Checking version_check v0.9.5 [INFO] [stderr] Compiling autocxx-integration-tests v0.27.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking rust_info v0.3.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling cxxbridge-macro v1.0.128 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling test-log-macros v0.2.16 [INFO] [stderr] Checking cxx-gen v0.7.128 [INFO] [stderr] Checking test-log v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking moveit v0.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking autocxx-parser v0.27.0 [INFO] [stderr] Checking autocxx-engine v0.27.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling autocxx-macro v0.27.0 [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/lib.rs:40:58 [INFO] [stdout] | [INFO] [stdout] 35 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | do_run_test_manual(cxx_code, header_code, rust_code, None, None) [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/lib.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 35 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | do_run_test_manual(cxx_code, header_code, rust_code, None, None) [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/lib.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | INSTANCE.get_or_init(|| Mutex::new(LinkableTryBuilder::new())) [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/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 201 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | / do_run_test( [INFO] [stdout] 206 | | cxx_code, [INFO] [stdout] 207 | | header_code, [INFO] [stdout] 208 | | rust_code, [INFO] [stdout] ... | [INFO] [stdout] 214 | | None, [INFO] [stdout] 215 | | ) [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/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 255 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | directives: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | builder_modifier: Option, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | code_checker: Option, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | extra_rust: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | ) { [INFO] [stdout] 261 | / do_run_test( [INFO] [stdout] 262 | | cxx_code, [INFO] [stdout] 263 | | header_code, [INFO] [stdout] 264 | | rust_code, [INFO] [stdout] ... | [INFO] [stdout] 270 | | None, [INFO] [stdout] 271 | | ) [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 `autocxx-integration-tests` (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/lib.rs:40:58 [INFO] [stdout] | [INFO] [stdout] 35 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | do_run_test_manual(cxx_code, header_code, rust_code, None, None) [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/lib.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 35 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | do_run_test_manual(cxx_code, header_code, rust_code, None, None) [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/lib.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | INSTANCE.get_or_init(|| Mutex::new(LinkableTryBuilder::new())) [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/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 201 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | / do_run_test( [INFO] [stdout] 206 | | cxx_code, [INFO] [stdout] 207 | | header_code, [INFO] [stdout] 208 | | rust_code, [INFO] [stdout] ... | [INFO] [stdout] 214 | | None, [INFO] [stdout] 215 | | ) [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/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 255 | rust_code: TokenStream, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | directives: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | builder_modifier: Option, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | code_checker: Option, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | extra_rust: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | ) { [INFO] [stdout] 261 | / do_run_test( [INFO] [stdout] 262 | | cxx_code, [INFO] [stdout] 263 | | header_code, [INFO] [stdout] 264 | | rust_code, [INFO] [stdout] ... | [INFO] [stdout] 270 | | None, [INFO] [stdout] 271 | | ) [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 `autocxx-integration-tests` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "e7fd04ad98cbd1ab54c392f8b5fd5ce9c4c3420bf889977706b1782180fbfbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7fd04ad98cbd1ab54c392f8b5fd5ce9c4c3420bf889977706b1782180fbfbf2", kill_on_drop: false }` [INFO] [stdout] e7fd04ad98cbd1ab54c392f8b5fd5ce9c4c3420bf889977706b1782180fbfbf2