[INFO] fetching crate deno_lint 0.67.1... [INFO] checking deno_lint-0.67.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate deno_lint 0.67.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate deno_lint 0.67.1 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] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate deno_lint 0.67.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate deno_lint 0.67.1 [INFO] tweaked toml for crates.io crate deno_lint 0.67.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate deno_lint 0.67.1 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ab2c1226b9d3744538b40fa28e0ed90f5246736b12861173c39a5857f4277796 [INFO] running `Command { std: "docker" "start" "-a" "ab2c1226b9d3744538b40fa28e0ed90f5246736b12861173c39a5857f4277796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2c1226b9d3744538b40fa28e0ed90f5246736b12861173c39a5857f4277796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2c1226b9d3744538b40fa28e0ed90f5246736b12861173c39a5857f4277796", kill_on_drop: false }` [INFO] [stdout] ab2c1226b9d3744538b40fa28e0ed90f5246736b12861173c39a5857f4277796 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e9a14c34ba5b861dcd10989b92c0ef763223aee82bfffc2b66c52579cf1dc048 [INFO] running `Command { std: "docker" "start" "-a" "e9a14c34ba5b861dcd10989b92c0ef763223aee82bfffc2b66c52579cf1dc048", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking deno_terminal v0.1.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking syn v2.0.72 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking vte v0.13.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking console_static_text v0.8.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking swc_macros_common v0.3.13 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling swc_config_macro v0.1.4 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling swc_visit_macros v0.5.13 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking swc_cached v0.3.20 [INFO] [stderr] Checking text_lines v0.6.0 [INFO] [stderr] Checking hstr v0.2.10 [INFO] [stderr] Checking swc_allocator v0.1.8 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Checking deno_media_type v0.1.4 [INFO] [stderr] Checking swc_config v0.1.15 [INFO] [stderr] Checking swc_common v0.37.5 [INFO] [stderr] Checking swc_ecma_ast v0.118.2 [INFO] [stderr] Checking swc_ecma_loader v0.49.1 [INFO] [stderr] Checking swc_ecma_parser v0.149.1 [INFO] [stderr] Checking swc_ecma_visit v0.104.8 [INFO] [stderr] Checking swc_ecma_utils v0.134.2 [INFO] [stderr] Checking swc_ecma_transforms_base v0.145.0 [INFO] [stderr] Checking dprint-swc-ext v0.20.0 [INFO] [stderr] Checking swc_ecma_transforms_react v0.191.0 [INFO] [stderr] Checking deno_ast v0.42.0 [INFO] [stderr] Checking deno_lint v0.67.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ParseDiagnostic` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test_util.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 324 | let linter = Linter::new(LinterOptions { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | let lint_result = linter.lint_file(LintFileOptions { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | Err(e) => panic!( [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 `Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rules.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 360 | let mut sorted_recommended_rules = recommended_rules(get_all_rules()); [INFO] [stdout] | ---------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | .zip(recommended_rules(get_all_rules()).iter()) [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 `Zip>, std::vec::IntoIter>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rules.rs:375:31 [INFO] [stdout] | [INFO] [stdout] 373 | let mut all_rules = get_all_rules_raw(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | all_rules.sort_by_key(|r| r.code()); [INFO] [stdout] 375 | for (sorted, unsorted) in all_rules.iter().zip(get_all_rules_raw()) { [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 `deno_lint` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e9a14c34ba5b861dcd10989b92c0ef763223aee82bfffc2b66c52579cf1dc048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a14c34ba5b861dcd10989b92c0ef763223aee82bfffc2b66c52579cf1dc048", kill_on_drop: false }` [INFO] [stdout] e9a14c34ba5b861dcd10989b92c0ef763223aee82bfffc2b66c52579cf1dc048