[INFO] fetching crate beancount_parser_2 1.0.0-beta.4... [INFO] checking beancount_parser_2-1.0.0-beta.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate beancount_parser_2 1.0.0-beta.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate beancount_parser_2 1.0.0-beta.4 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 beancount_parser_2 1.0.0-beta.4 [INFO] finished tweaking crates.io crate beancount_parser_2 1.0.0-beta.4 [INFO] tweaked toml for crates.io crate beancount_parser_2 1.0.0-beta.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate beancount_parser_2 1.0.0-beta.4 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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4724a62af6a6ec89f0939a6eed937931746b71af5079704e1d0d1cd6bbb8fd13 [INFO] running `Command { std: "docker" "start" "-a" "4724a62af6a6ec89f0939a6eed937931746b71af5079704e1d0d1cd6bbb8fd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4724a62af6a6ec89f0939a6eed937931746b71af5079704e1d0d1cd6bbb8fd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4724a62af6a6ec89f0939a6eed937931746b71af5079704e1d0d1cd6bbb8fd13", kill_on_drop: false }` [INFO] [stdout] 4724a62af6a6ec89f0939a6eed937931746b71af5079704e1d0d1cd6bbb8fd13 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10c36bc763c3d2fce4814760817f4bffb7d957a8075243dcc5a714dd529b73fd [INFO] running `Command { std: "docker" "start" "-a" "10c36bc763c3d2fce4814760817f4bffb7d957a8075243dcc5a714dd529b73fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Compiling rust_decimal v1.30.0 [INFO] [stderr] Checking clap_builder v4.3.4 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling rstest_macros v0.17.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon-core v1.11.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking clap v4.3.4 [INFO] [stderr] Checking nom_locate v4.1.0 [INFO] [stderr] Checking beancount_parser_2 v1.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(future_incompatible, nonstandard_style, unsafe_code, private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rstest v0.17.0 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/lib.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(future_incompatible, nonstandard_style, unsafe_code, private_in_public)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/rust_decimal_spec.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 36 | let trx = parse_single_transaction(input); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | trx.postings.into_iter().next().unwrap() [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `beancount_parser_2` (test "rust_decimal_spec") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `beancount_parser_2::Balance` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/parser_spec.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 91 | #[case] expected_value: impl Into, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let DirectiveContent::Balance(assertion) = parse_single_directive(input).content else { [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: this value of type `HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/parser_spec.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 317 | #[case] expected_value: metadata::Value, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | ) { [INFO] [stdout] 319 | let metadata = parse_single_directive(input).metadata; [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 `beancount_parser_2` (test "parser_spec") due to 3 previous errors [INFO] [stdout] error: this value of type `Amount` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/trx_parser_spec.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 241 | #[case] expected_value: impl Into, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let PostingPrice::Unit(amount) = parse_single_posting(&input).price.unwrap() else { [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: this value of type `Amount` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/trx_parser_spec.rs:265:29 [INFO] [stdout] | [INFO] [stdout] 261 | #[case] expected_value: impl Into, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let PostingPrice::Total(amount) = parse_single_posting(&input).price.unwrap() else { [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 `std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/trx_parser_spec.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 424 | let trx = parse_single_transaction(input); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | trx.postings.into_iter().next().unwrap() [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 `beancount_parser_2` (test "trx_parser_spec") due to 4 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10c36bc763c3d2fce4814760817f4bffb7d957a8075243dcc5a714dd529b73fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c36bc763c3d2fce4814760817f4bffb7d957a8075243dcc5a714dd529b73fd", kill_on_drop: false }` [INFO] [stdout] 10c36bc763c3d2fce4814760817f4bffb7d957a8075243dcc5a714dd529b73fd