[INFO] fetching crate sqruff-lib 0.17.0... [INFO] checking sqruff-lib-0.17.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate sqruff-lib 0.17.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate sqruff-lib 0.17.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sqruff-lib 0.17.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sqruff-lib 0.17.0 [INFO] tweaked toml for crates.io crate sqruff-lib 0.17.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding nix v0.26.4 (available: v0.29.0) [INFO] [stderr] Adding quick-xml v0.26.0 (available: v0.36.2) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccb4d7b4b2592acfa64158fb32d4a4e53f55a076e67a6ac7eb65b8e3b442ba99 [INFO] running `Command { std: "docker" "start" "-a" "ccb4d7b4b2592acfa64158fb32d4a4e53f55a076e67a6ac7eb65b8e3b442ba99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccb4d7b4b2592acfa64158fb32d4a4e53f55a076e67a6ac7eb65b8e3b442ba99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb4d7b4b2592acfa64158fb32d4a4e53f55a076e67a6ac7eb65b8e3b442ba99", kill_on_drop: false }` [INFO] [stdout] ccb4d7b4b2592acfa64158fb32d4a4e53f55a076e67a6ac7eb65b8e3b442ba99 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea22c61d4a451baaf95a91b7a4eebb8d350e7e09ea419b47122b7aa6bd6b0dcf [INFO] running `Command { std: "docker" "start" "-a" "ea22c61d4a451baaf95a91b7a4eebb8d350e7e09ea419b47122b7aa6bd6b0dcf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling symbolic-demangle v12.11.1 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking symbolic-common v12.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking quick-xml v0.26.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking str_stack v0.1.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking dissimilar v1.0.9 [INFO] [stderr] Checking smol_str v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking slyce v0.3.1 [INFO] [stderr] Checking dyn_ord v0.2.1 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking common-path v1.0.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking configparser v3.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.3.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking lazy-regex v3.3.0 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking inferno v0.11.21 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tikv-jemallocator v0.6.0 [INFO] [stderr] Checking sqruff-lib v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/core/parser/segments/base.rs:833:9 [INFO] [stdout] | [INFO] [stdout] 833 | use serde::ser::SerializeMap; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/core/parser/segments/base.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `super::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/core/config.rs:445:49 [INFO] [stdout] | [INFO] [stdout] 445 | #[cfg_attr(any(test, feature = "serde"), derive(serde::Deserialize))] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/core/config.rs:446:42 [INFO] [stdout] | [INFO] [stdout] 446 | #[cfg_attr(any(test, feature = "serde"), serde(untagged))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/core/parser/segments/base.rs:839:7 [INFO] [stdout] | [INFO] [stdout] 839 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/functional/context.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> FunctionalContext<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 9 | pub fn new(context: RuleContext<'a>) -> FunctionalContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/core/parser/segments/base.rs:851:16 [INFO] [stdout] | [INFO] [stdout] 851 | S: serde::Serializer, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] | [INFO] [stdout] help: consider importing this crate [INFO] [stdout] | [INFO] [stdout] 833 + use serde_with::serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/utils/functional/context.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> FunctionalContext<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 9 | pub fn new(context: RuleContext<'a>) -> FunctionalContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `S` [INFO] [stdout] --> src/core/parser/segments/base.rs:849:60 [INFO] [stdout] | [INFO] [stdout] 849 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `S` [INFO] [stdout] --> src/core/parser/segments/base.rs:849:67 [INFO] [stdout] | [INFO] [stdout] 849 | fn serialize(&self, serializer: S) -> Result [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqruff-lib` (lib test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `ParsedString` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/parser/segments/test_functions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | let linter = Linter::new(<_>::default(), None, None); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | linter.parse_string(&tables, sql, None, None, None).unwrap().tree.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::cell::Ref<'_, QueryInner<'_, ()>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rules/references/rf03.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn iter_available_targets(query: Query<()>) -> Vec { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | RefCell::borrow(&query.inner) [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 `Segments` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rules/structure/st07.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 152 | fn extract_cols_from_using(join_clause: Segments, using_segs: &ErasedSegment) -> Vec { [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | / join_clause [INFO] [stdout] 154 | | .children(None) [INFO] [stdout] 155 | | .select( [INFO] [stdout] 156 | | Some(|it: &ErasedSegment| it.is_type(SyntaxKind::Bracketed)), [INFO] [stdout] ... | [INFO] [stdout] 160 | | ) [INFO] [stdout] 161 | | .find_first:: bool>(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: 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/structure/st07.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 177 | let mut edit_segments = Vec::new(); [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | / edit_segments [INFO] [stdout] 193 | | .get(..edit_segments.len().saturating_sub(3)) [INFO] [stdout] 194 | | .map_or(Vec::new(), ToOwned::to_owned) [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 `ErasedSegment` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/reflow/elements.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 122 | after: Option, [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] 123 | before: Option, [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] ... [INFO] [stdout] 129 | let indent_seg = self.get_indent_segment(); [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] ... [INFO] [stdout] 191 | let new_indent = SegmentBuilder::whitespace(tables.next_id(), desired_indent); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | / vec![LintResult::new( [INFO] [stdout] 210 | | if let Some(before) = before { before.into() } else { unimplemented!() }, [INFO] [stdout] 211 | | vec![LintFix::replace( [INFO] [stdout] 212 | | last_newline.clone(), [INFO] [stdout] ... | [INFO] [stdout] 218 | | None, [INFO] [stdout] 219 | | )], [INFO] [stdout] | |______________________- these local bindings with significant drop implementation may 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: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqruff-lib` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ea22c61d4a451baaf95a91b7a4eebb8d350e7e09ea419b47122b7aa6bd6b0dcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea22c61d4a451baaf95a91b7a4eebb8d350e7e09ea419b47122b7aa6bd6b0dcf", kill_on_drop: false }` [INFO] [stdout] ea22c61d4a451baaf95a91b7a4eebb8d350e7e09ea419b47122b7aa6bd6b0dcf