[INFO] fetching crate libcst 1.4.0... [INFO] checking libcst-1.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate libcst 1.4.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate libcst 1.4.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libcst 1.4.0 [INFO] finished tweaking crates.io crate libcst 1.4.0 [INFO] tweaked toml for crates.io crate libcst 1.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate libcst 1.4.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86b80ad19e6fdd1ec7b9398367fd34843c99ac6b4acb13949253d98afd861f5a [INFO] running `Command { std: "docker" "start" "-a" "86b80ad19e6fdd1ec7b9398367fd34843c99ac6b4acb13949253d98afd861f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86b80ad19e6fdd1ec7b9398367fd34843c99ac6b4acb13949253d98afd861f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b80ad19e6fdd1ec7b9398367fd34843c99ac6b4acb13949253d98afd861f5a", kill_on_drop: false }` [INFO] [stdout] 86b80ad19e6fdd1ec7b9398367fd34843c99ac6b4acb13949253d98afd861f5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a144d6de97427adbcb671e1fd43c1794b718e5da0d8d8bb2dfe06438afec099 [INFO] running `Command { std: "docker" "start" "-a" "4a144d6de97427adbcb671e1fd43c1794b718e5da0d8d8bb2dfe06438afec099", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking smallvec v1.8.1 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling peg-runtime v0.8.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking annotate-snippets v0.6.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking chic v1.2.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.4.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling pyo3-build-config v0.20.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling peg-macros v0.8.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking clap v4.4.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Compiling pyo3-ffi v0.20.2 [INFO] [stderr] Compiling pyo3 v0.20.2 [INFO] [stderr] Checking peg v0.8.1 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.2 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling libcst_derive v1.4.0 [INFO] [stderr] Compiling pyo3-macros v0.20.2 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking libcst v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DeflatedAsynchronous as Asynchronous` and `DeflatedFormattedStringText as FormattedStringText` [INFO] [stdout] --> src/nodes/mod.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | DeflatedArg as Arg, DeflatedAsynchronous as Asynchronous, DeflatedAttribute as Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | DeflatedFormattedStringText as FormattedStringText, DeflatedFrom as From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeflatedImportStar as ImportStar` [INFO] [stdout] --> src/nodes/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | DeflatedImportStar as ImportStar, DeflatedSemicolon as Semicolon, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused imports: `DeflatedAsynchronous as Asynchronous` and `DeflatedFormattedStringText as FormattedStringText` [INFO] [stdout] --> src/nodes/mod.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | DeflatedArg as Arg, DeflatedAsynchronous as Asynchronous, DeflatedAttribute as Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | DeflatedFormattedStringText as FormattedStringText, DeflatedFrom as From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeflatedImportStar as ImportStar` [INFO] [stdout] --> src/nodes/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | DeflatedImportStar as ImportStar, DeflatedSemicolon as Semicolon, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<>::Inflated, WhitespaceError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nodes/traits.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 105 | fn inflate(self, config: &Config<'a>) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | match (*self).inflate(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string_start` is never read [INFO] [stdout] --> src/tokenizer/core/string_types.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FStringNode { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub string_start: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FStringNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Details` is never constructed [INFO] [stdout] --> src/parser/errors.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | struct Details { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcst` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result<>::Inflated, WhitespaceError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nodes/traits.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 105 | fn inflate(self, config: &Config<'a>) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | match (*self).inflate(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string_start` is never read [INFO] [stdout] --> src/tokenizer/core/string_types.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FStringNode { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub string_start: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FStringNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Details` is never constructed [INFO] [stdout] --> src/parser/errors.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | struct Details { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcst` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a144d6de97427adbcb671e1fd43c1794b718e5da0d8d8bb2dfe06438afec099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a144d6de97427adbcb671e1fd43c1794b718e5da0d8d8bb2dfe06438afec099", kill_on_drop: false }` [INFO] [stdout] 4a144d6de97427adbcb671e1fd43c1794b718e5da0d8d8bb2dfe06438afec099