[INFO] fetching crate deno_lint 0.64.0... [INFO] checking deno_lint-0.64.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate deno_lint 0.64.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate deno_lint 0.64.0 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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate deno_lint 0.64.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate deno_lint 0.64.0 [INFO] tweaked toml for crates.io crate deno_lint 0.64.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate deno_lint 0.64.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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2904885848ed9b09b4242aae0ea87449ea8af8edeac6f037948a1aea500efac [INFO] running `Command { std: "docker" "start" "-a" "e2904885848ed9b09b4242aae0ea87449ea8af8edeac6f037948a1aea500efac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2904885848ed9b09b4242aae0ea87449ea8af8edeac6f037948a1aea500efac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2904885848ed9b09b4242aae0ea87449ea8af8edeac6f037948a1aea500efac", kill_on_drop: false }` [INFO] [stdout] e2904885848ed9b09b4242aae0ea87449ea8af8edeac6f037948a1aea500efac [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6797d4842c63f9f5c11794e85479a91de81a5db072d396801ec6a89efa47223f [INFO] running `Command { std: "docker" "start" "-a" "6797d4842c63f9f5c11794e85479a91de81a5db072d396801ec6a89efa47223f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking swc_visit v0.6.2 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking deno_terminal v0.1.1 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking vte v0.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking unicase v2.7.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking os_pipe v1.2.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking console_static_text v0.8.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking globwalk v0.9.1 [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 ast_node v0.9.9 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [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 thiserror v1.0.63 [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 deno_media_type v0.1.4 [INFO] [stderr] Checking swc_atoms v0.6.7 [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.64.0 (/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/context.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 47 | parsed_source: ParsedSource, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let scope = Scope::analyze(program); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let mut jsx_factory = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut jsx_fragment_factory = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | diagnostics: Vec::new(), [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/control_flow/mod.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(parent: Option<&'a Scope<'a>>, kind: BlockKind) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | used_hoistable_ids: Default::default(), [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/control_flow/mod.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(parent: Option<&'a Scope<'a>>, kind: BlockKind) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | found_break: None, [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/ignore_directives.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | Lazy::new(|| Regex::new(r"\s*--.*").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/ignore_directives.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | Lazy::new(|| Regex::new(r",\s*|\s").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/js_regex/unicode.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | es2018: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 28 | | "C", [INFO] [stdout] 29 | | "Cased_Letter", [INFO] [stdout] 30 | | "Cc", [INFO] [stdout] ... | [INFO] [stdout] 110 | | .copied() [INFO] [stdout] 111 | | .collect(), [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/js_regex/unicode.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | es2019: HashSet::new(), [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/js_regex/unicode.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | es2020: HashSet::new(), [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/js_regex/unicode.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | es2018: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 119 | | "Adlam", [INFO] [stdout] 120 | | "Adlm", [INFO] [stdout] 121 | | "Aghb", [INFO] [stdout] ... | [INFO] [stdout] 399 | | .copied() [INFO] [stdout] 400 | | .collect(), [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/js_regex/unicode.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | es2019: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 403 | | "Dogr", [INFO] [stdout] 404 | | "Dogra", [INFO] [stdout] 405 | | "Gong", [INFO] [stdout] ... | [INFO] [stdout] 419 | | .copied() [INFO] [stdout] 420 | | .collect(), [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/js_regex/unicode.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | es2020: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 423 | | "Elym", [INFO] [stdout] 424 | | "Elymaic", [INFO] [stdout] 425 | | "Hmnp", [INFO] [stdout] ... | [INFO] [stdout] 433 | | .copied() [INFO] [stdout] 434 | | .collect(), [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/js_regex/unicode.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | es2018: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 439 | | "AHex", [INFO] [stdout] 440 | | "ASCII", [INFO] [stdout] 441 | | "ASCII_Hex_Digit", [INFO] [stdout] ... | [INFO] [stdout] 533 | | .copied() [INFO] [stdout] 534 | | .collect(), [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/js_regex/unicode.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | es2019: ["Extended_Pictographic"].iter().copied().collect(), [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/js_regex/unicode.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | es2020: HashSet::new(), [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/linter.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 98 | let _mark = PerformanceMark::new("Linter::lint"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let parse_result = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let _mark = PerformanceMark::new("ast_parser.parse_program"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let parsed_source = parse_result?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let diagnostics = self.lint_inner( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | Ok((parsed_source, diagnostics)) [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] | [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/rules.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 159 | all_rules: Vec>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> Vec> { [INFO] [stdout] 161 | / all_rules [INFO] [stdout] 162 | | .into_iter() [INFO] [stdout] 163 | | .filter(|r| r.tags().contains(&"recommended")) [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/rules/ban_ts_comment.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | Lazy::new(|| Regex::new(r"^/*\s*@ts-expect-error\s*$").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/rules/ban_ts_comment.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Lazy::new(|| Regex::new(r"^/*\s*@ts-ignore\s*$").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/rules/ban_ts_comment.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | Lazy::new(|| Regex::new(r"^/*\s*@ts-nocheck\s*$").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/rules/ban_untagged_todo.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Lazy::new(|| Regex::new(r"todo\((#|@)?\S+\)").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/rules/camelcase.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Lazy::new(|| Regex::new(r"([^_])_([a-z])").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/rules/camelcase.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | Lazy::new(|| Regex::new(r"^[a-z]").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/rules/no_dupe_else_if.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|current_or_operands| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | / current_or_operands [INFO] [stdout] 113 | | .into_iter() [INFO] [stdout] 114 | | .filter(|current_or_operand| { [INFO] [stdout] 115 | | !ap_cond.iter().any(|ap_or_operand| { [INFO] [stdout] 116 | | is_subset(ap_or_operand, current_or_operand) [INFO] [stdout] 117 | | }) [INFO] [stdout] 118 | | }) [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/rules/no_dupe_else_if.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 187 | fn split_by_or_then_and(expr: Expr) -> Vec> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | split_by_or(expr).into_iter().map(split_by_and).collect() [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/rules/no_invalid_triple_slash_reference.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | Lazy::new(|| Regex::new(r"(?i)^/\s*").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/rules/no_invalid_triple_slash_reference.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | Lazy::new(|| Regex::new(r#"(?i)\stypes\s*=\s*["']([^"']*)["']"#).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/rules/no_invalid_triple_slash_reference.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | Lazy::new(|| Regex::new(r#"(?i)\slib\s*=\s*["']([^"']*)["']"#).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/rules/no_irregular_whitespace.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | Lazy::new(|| Regex::new(r"[\u2028\u2029]").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/rules/no_octal.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | static OCTAL: Lazy = Lazy::new(|| Regex::new(r"^0[0-9]").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/rules/no_regex_spaces.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | Lazy::new(|| regex::Regex::new(r"(?u) {2}").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/rules/no_regex_spaces.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | Lazy::new(|| regex::Regex::new(r"\[.*?[^\\]\]").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/rules/prefer_const.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(parent: Option) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | variables: BTreeMap::new(), [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/rules/prefer_const.rs:774:41 [INFO] [stdout] | [INFO] [stdout] 774 | .filter_map(|i| get_decl_by_ident(Rc::clone(&scope), i)) [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/rules/prefer_namespace_keyword.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | Lazy::new(|| Regex::new(r"(declare\s)?(?P\w+)").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/rules/require_await.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | .find(|t| t.token == Token::Word(Word::Ident("async".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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deno_lint` (lib) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/context.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 47 | parsed_source: ParsedSource, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let scope = Scope::analyze(program); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let mut jsx_factory = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut jsx_fragment_factory = None; [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | diagnostics: Vec::new(), [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/control_flow/mod.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(parent: Option<&'a Scope<'a>>, kind: BlockKind) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | used_hoistable_ids: Default::default(), [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/control_flow/mod.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(parent: Option<&'a Scope<'a>>, kind: BlockKind) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | found_break: None, [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/ignore_directives.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | Lazy::new(|| Regex::new(r"\s*--.*").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/ignore_directives.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | Lazy::new(|| Regex::new(r",\s*|\s").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/ignore_directives.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 182 | codes: impl IntoIterator, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | ) -> HashMap { [INFO] [stdout] 184 | / codes [INFO] [stdout] 185 | | .into_iter() [INFO] [stdout] 186 | | .map(|code| (code.to_string(), CodeStatus::default())) [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/js_regex/unicode.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | es2018: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 28 | | "C", [INFO] [stdout] 29 | | "Cased_Letter", [INFO] [stdout] 30 | | "Cc", [INFO] [stdout] ... | [INFO] [stdout] 110 | | .copied() [INFO] [stdout] 111 | | .collect(), [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/js_regex/unicode.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | es2019: HashSet::new(), [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/js_regex/unicode.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | es2020: HashSet::new(), [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/js_regex/unicode.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | es2018: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 119 | | "Adlam", [INFO] [stdout] 120 | | "Adlm", [INFO] [stdout] 121 | | "Aghb", [INFO] [stdout] ... | [INFO] [stdout] 399 | | .copied() [INFO] [stdout] 400 | | .collect(), [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/js_regex/unicode.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | es2019: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 403 | | "Dogr", [INFO] [stdout] 404 | | "Dogra", [INFO] [stdout] 405 | | "Gong", [INFO] [stdout] ... | [INFO] [stdout] 419 | | .copied() [INFO] [stdout] 420 | | .collect(), [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/js_regex/unicode.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | es2020: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 423 | | "Elym", [INFO] [stdout] 424 | | "Elymaic", [INFO] [stdout] 425 | | "Hmnp", [INFO] [stdout] ... | [INFO] [stdout] 433 | | .copied() [INFO] [stdout] 434 | | .collect(), [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/js_regex/unicode.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | es2018: [ [INFO] [stdout] | _____________^ [INFO] [stdout] 439 | | "AHex", [INFO] [stdout] 440 | | "ASCII", [INFO] [stdout] 441 | | "ASCII_Hex_Digit", [INFO] [stdout] ... | [INFO] [stdout] 533 | | .copied() [INFO] [stdout] 534 | | .collect(), [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/js_regex/unicode.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | es2019: ["Extended_Pictographic"].iter().copied().collect(), [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/js_regex/unicode.rs:538:13 [INFO] [stdout] | [INFO] [stdout] 538 | es2020: HashSet::new(), [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/linter.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 98 | let _mark = PerformanceMark::new("Linter::lint"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | [INFO] [stdout] 100 | let parse_result = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let _mark = PerformanceMark::new("ast_parser.parse_program"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let parsed_source = parse_result?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let diagnostics = self.lint_inner( [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | Ok((parsed_source, diagnostics)) [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] | [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/rules.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 159 | all_rules: Vec>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | ) -> Vec> { [INFO] [stdout] 161 | / all_rules [INFO] [stdout] 162 | | .into_iter() [INFO] [stdout] 163 | | .filter(|r| r.tags().contains(&"recommended")) [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/rules/ban_ts_comment.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | Lazy::new(|| Regex::new(r"^/*\s*@ts-expect-error\s*$").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/rules/ban_ts_comment.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Lazy::new(|| Regex::new(r"^/*\s*@ts-ignore\s*$").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/rules/ban_ts_comment.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | Lazy::new(|| Regex::new(r"^/*\s*@ts-nocheck\s*$").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/rules/ban_untagged_todo.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Lazy::new(|| Regex::new(r"todo\((#|@)?\S+\)").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/rules/camelcase.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Lazy::new(|| Regex::new(r"([^_])_([a-z])").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/rules/camelcase.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | Lazy::new(|| Regex::new(r"^[a-z]").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/rules/no_dupe_else_if.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|current_or_operands| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | / current_or_operands [INFO] [stdout] 113 | | .into_iter() [INFO] [stdout] 114 | | .filter(|current_or_operand| { [INFO] [stdout] 115 | | !ap_cond.iter().any(|ap_or_operand| { [INFO] [stdout] 116 | | is_subset(ap_or_operand, current_or_operand) [INFO] [stdout] 117 | | }) [INFO] [stdout] 118 | | }) [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/rules/no_dupe_else_if.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 187 | fn split_by_or_then_and(expr: Expr) -> Vec> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | split_by_or(expr).into_iter().map(split_by_and).collect() [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/rules/no_invalid_triple_slash_reference.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | Lazy::new(|| Regex::new(r"(?i)^/\s*").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/rules/no_invalid_triple_slash_reference.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | Lazy::new(|| Regex::new(r#"(?i)\stypes\s*=\s*["']([^"']*)["']"#).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/rules/no_invalid_triple_slash_reference.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | Lazy::new(|| Regex::new(r#"(?i)\slib\s*=\s*["']([^"']*)["']"#).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/rules/no_irregular_whitespace.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | Lazy::new(|| Regex::new(r"[\u2028\u2029]").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/rules/no_octal.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | static OCTAL: Lazy = Lazy::new(|| Regex::new(r"^0[0-9]").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/rules/no_regex_spaces.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | Lazy::new(|| regex::Regex::new(r"(?u) {2}").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/rules/no_regex_spaces.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | Lazy::new(|| regex::Regex::new(r"\[.*?[^\\]\]").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/rules/prefer_const.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 93 | fn new(parent: Option) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | variables: BTreeMap::new(), [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/rules/prefer_const.rs:774:41 [INFO] [stdout] | [INFO] [stdout] 774 | .filter_map(|i| get_decl_by_ident(Rc::clone(&scope), i)) [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/rules/prefer_namespace_keyword.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | Lazy::new(|| Regex::new(r"(declare\s)?(?P\w+)").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/rules/require_await.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | .find(|t| t.token == Token::Word(Word::Ident("async".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] [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/rules.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 458 | let rules = Arc::clone(&rules); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 459 | spawn(move || { [INFO] [stdout] | _______________^ [INFO] [stdout] 460 | | for rule in rules.iter() { [INFO] [stdout] 461 | | assert!(rule.tags().contains(&"recommended")); [INFO] [stdout] 462 | | } [INFO] [stdout] 463 | | }) [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:117:7 [INFO] [stdout] | [INFO] [stdout] 111 | rule: Box, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | / get_all_rules() [INFO] [stdout] 118 | | .into_iter() [INFO] [stdout] 119 | | .map(|rule| rule.code()) [INFO] [stdout] 120 | | .collect(), [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 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deno_lint` (lib test) due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "6797d4842c63f9f5c11794e85479a91de81a5db072d396801ec6a89efa47223f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6797d4842c63f9f5c11794e85479a91de81a5db072d396801ec6a89efa47223f", kill_on_drop: false }` [INFO] [stdout] 6797d4842c63f9f5c11794e85479a91de81a5db072d396801ec6a89efa47223f