[INFO] fetching crate grex 1.4.5... [INFO] checking grex-1.4.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate grex 1.4.5 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate grex 1.4.5 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 grex 1.4.5 [INFO] finished tweaking crates.io crate grex 1.4.5 [INFO] tweaked toml for crates.io crate grex 1.4.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate grex 1.4.5 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1d309cfcb1d9157bf2922dff7843d4df2045dbd0e0738d2ffb9eeb45413d1eef [INFO] running `Command { std: "docker" "start" "-a" "1d309cfcb1d9157bf2922dff7843d4df2045dbd0e0738d2ffb9eeb45413d1eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d309cfcb1d9157bf2922dff7843d4df2045dbd0e0738d2ffb9eeb45413d1eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d309cfcb1d9157bf2922dff7843d4df2045dbd0e0738d2ffb9eeb45413d1eef", kill_on_drop: false }` [INFO] [stdout] 1d309cfcb1d9157bf2922dff7843d4df2045dbd0e0738d2ffb9eeb45413d1eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6569131edfac120b3a63ce70ddceb3194c9fb1219a8ce54206da6c8436f47857 [INFO] running `Command { std: "docker" "start" "-a" "6569131edfac120b3a63ce70ddceb3194c9fb1219a8ce54206da6c8436f47857", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking grex v1.4.5 (/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/builder.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn from_file>(file_path: T) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | match std::fs::read_to_string(file_path.into()) { [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/expression.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 130 | expr1: Expression<'a>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | expr2: Expression<'a>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | Box::from(expr1), [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/expression.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 130 | expr1: Expression<'a>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | expr2: Expression<'a>, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | Box::from(expr2), [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/expression.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 151 | fn new_repetition(expr: Expression<'a>, quantifier: Quantifier, config: &RegExpConfig) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | Expression::Repetition( [INFO] [stdout] 153 | Box::from(expr), [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/expression.rs:243:53 [INFO] [stdout] | [INFO] [stdout] 243 | .map(|value| Expression::new_repetition(value.clone(), Quantifier::KleeneStar, config)) [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/regexp.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | .all(|test_case| regex.find_iter(test_case).count() == 1) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grex` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6569131edfac120b3a63ce70ddceb3194c9fb1219a8ce54206da6c8436f47857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6569131edfac120b3a63ce70ddceb3194c9fb1219a8ce54206da6c8436f47857", kill_on_drop: false }` [INFO] [stdout] 6569131edfac120b3a63ce70ddceb3194c9fb1219a8ce54206da6c8436f47857