[INFO] fetching crate flatzinc 0.3.20... [INFO] checking flatzinc-0.3.20 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate flatzinc 0.3.20 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate flatzinc 0.3.20 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 flatzinc 0.3.20 [INFO] finished tweaking crates.io crate flatzinc 0.3.20 [INFO] tweaked toml for crates.io crate flatzinc 0.3.20 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate flatzinc 0.3.20 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-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] bf2ee65fb0305131274c4af1f5b022a90d93c3407eb0cdc0cf6fc11d6f996f72 [INFO] running `Command { std: "docker" "start" "-a" "bf2ee65fb0305131274c4af1f5b022a90d93c3407eb0cdc0cf6fc11d6f996f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf2ee65fb0305131274c4af1f5b022a90d93c3407eb0cdc0cf6fc11d6f996f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2ee65fb0305131274c4af1f5b022a90d93c3407eb0cdc0cf6fc11d6f996f72", kill_on_drop: false }` [INFO] [stdout] bf2ee65fb0305131274c4af1f5b022a90d93c3407eb0cdc0cf6fc11d6f996f72 [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] 1403e424a16f11d133f9b2a5c7ebeedeb64a67051241cd89c737ad102c48bc8e [INFO] running `Command { std: "docker" "start" "-a" "1403e424a16f11d133f9b2a5c7ebeedeb64a67051241cd89c737ad102c48bc8e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking flatzinc v0.3.20 (/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/primitive_literals.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 333 | let sign = opt('-'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | [INFO] [stdout] 335 | let pre = take_while(1.., is_dec_digit); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | let post = take_while(1.., is_dec_digit); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | let rest = opt(bpart); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | [INFO] [stdout] 339 | (sign, pre, '.', post, rest).recognize().parse_next(input) [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/primitive_literals.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 343 | let sign = opt('-'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 344 | let digits = take_while(1.., is_dec_digit); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 345 | let e = alt(('e', 'E')); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | let sign2 = opt(alt(("-", "+"))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | let digits2 = take_while(1.., is_dec_digit); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | / (sign, digits, e, sign2, digits2) [INFO] [stdout] 349 | | .recognize() [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/variables/declarations.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 437 | parser: impl Fn(&mut &'a str) -> PResult, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | Ok(if assign { [INFO] [stdout] | ________^ [INFO] [stdout] 441 | | let expr = parser(input)?; [INFO] [stdout] 442 | | Some(expr) [INFO] [stdout] 443 | | } else { [INFO] [stdout] 444 | | None [INFO] [stdout] 445 | | }) [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 `flatzinc` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1403e424a16f11d133f9b2a5c7ebeedeb64a67051241cd89c737ad102c48bc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1403e424a16f11d133f9b2a5c7ebeedeb64a67051241cd89c737ad102c48bc8e", kill_on_drop: false }` [INFO] [stdout] 1403e424a16f11d133f9b2a5c7ebeedeb64a67051241cd89c737ad102c48bc8e