[INFO] fetching crate diffsitter 0.8.4... [INFO] checking diffsitter-0.8.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate diffsitter 0.8.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate diffsitter 0.8.4 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 diffsitter 0.8.4 [INFO] finished tweaking crates.io crate diffsitter 0.8.4 [INFO] tweaked toml for crates.io crate diffsitter 0.8.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate diffsitter 0.8.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" "+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] d6f7367cc02b5a536b41b1627812e80e6730d224be35a32697008c9a2ee3844d [INFO] running `Command { std: "docker" "start" "-a" "d6f7367cc02b5a536b41b1627812e80e6730d224be35a32697008c9a2ee3844d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6f7367cc02b5a536b41b1627812e80e6730d224be35a32697008c9a2ee3844d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f7367cc02b5a536b41b1627812e80e6730d224be35a32697008c9a2ee3844d", kill_on_drop: false }` [INFO] [stdout] d6f7367cc02b5a536b41b1627812e80e6730d224be35a32697008c9a2ee3844d [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] c09e2a8eaf6d03a0a772a0772287f8ddf6b0e4502ec95d5f61bc54c482f6d552 [INFO] running `Command { std: "docker" "start" "-a" "c09e2a8eaf6d03a0a772a0772287f8ddf6b0e4502ec95d5f61bc54c482f6d552", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling cargo-emit v0.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Compiling cc v1.1.11 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling logging_timer_proc_macros v1.1.1 [INFO] [stderr] Checking logging_timer v1.1.1 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Compiling diffsitter v0.8.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking clap_complete v4.5.16 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking human-panic v2.0.1 [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:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | let tree = parse::parse_file(&path, file_type, grammar_config)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(VectorData { text, tree, path }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/diff.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_range(range: Range) -> Range [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | range.start.try_into().unwrap()..range.end.try_into().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/diff.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_range(range: Range) -> Range [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | range.start.try_into().unwrap()..range.end.try_into().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut grammar_candidates = Vec::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Err(LoadingError::NoGrammars) [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:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | let tree = parse::parse_file(&path, file_type, grammar_config)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(VectorData { text, tree, path }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/diff.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_range(range: Range) -> Range [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | range.start.try_into().unwrap()..range.end.try_into().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/diff.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_range(range: Range) -> Range [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | range.start.try_into().unwrap()..range.end.try_into().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parse.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut grammar_candidates = Vec::new(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | Err(LoadingError::NoGrammars) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diffsitter` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diffsitter` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "c09e2a8eaf6d03a0a772a0772287f8ddf6b0e4502ec95d5f61bc54c482f6d552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09e2a8eaf6d03a0a772a0772287f8ddf6b0e4502ec95d5f61bc54c482f6d552", kill_on_drop: false }` [INFO] [stdout] c09e2a8eaf6d03a0a772a0772287f8ddf6b0e4502ec95d5f61bc54c482f6d552