[INFO] cloning repository https://github.com/oeb25/sql-fmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oeb25/sql-fmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fsql-fmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fsql-fmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 051b2c866c417aaf7321f641c493263a2cf77db5 [INFO] checking oeb25/sql-fmt against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fsql-fmt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/sql-fmt on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oeb25/sql-fmt [INFO] finished tweaking git repo https://github.com/oeb25/sql-fmt [INFO] tweaked toml for git repo https://github.com/oeb25/sql-fmt written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/oeb25/sql-fmt 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v1.7.0 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] [stderr] Downloaded pest v1.0.0-beta.16 [INFO] [stderr] Downloaded pest_derive v1.0.0-beta.16 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded coco v0.1.1 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded rayon-core v1.3.0 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded lazy_static v0.2.10 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef079fb93149bcc2d6f64a4a2fa59e1c4ccbbaa361d06a09449f28b7d3e9eb7 [INFO] running `Command { std: "docker" "start" "-a" "4ef079fb93149bcc2d6f64a4a2fa59e1c4ccbbaa361d06a09449f28b7d3e9eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef079fb93149bcc2d6f64a4a2fa59e1c4ccbbaa361d06a09449f28b7d3e9eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef079fb93149bcc2d6f64a4a2fa59e1c4ccbbaa361d06a09449f28b7d3e9eb7", kill_on_drop: false }` [INFO] [stdout] 4ef079fb93149bcc2d6f64a4a2fa59e1c4ccbbaa361d06a09449f28b7d3e9eb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a82d04c95acab43e730cc13dee47de02f215b272222621118be11117495316eb [INFO] running `Command { std: "docker" "start" "-a" "a82d04c95acab43e730cc13dee47de02f215b272222621118be11117495316eb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pest v1.0.0-beta.16 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Compiling pest_derive v1.0.0-beta.16 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking sql-fmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> src/format.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `w` [INFO] [stdout] --> src/format.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! w { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> src/format.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `w` [INFO] [stdout] --> src/format.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! w { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `match_default_bindings` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(match_default_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `match_default_bindings` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(match_default_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parser.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | Ok(match t.as_rule() { [INFO] [stdout] | _____^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 313 | | Rule::insert_conflict_action_update_item => unimplemented!(), // TODO [INFO] [stdout] 314 | | _ => unparseable!(t) [INFO] [stdout] 315 | | }) [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parser.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | Ok(match t.as_rule() { [INFO] [stdout] | _____^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 313 | | Rule::insert_conflict_action_update_item => unimplemented!(), // TODO [INFO] [stdout] 314 | | _ => unparseable!(t) [INFO] [stdout] 315 | | }) [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut inp = t.into_inner(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/parser.rs:778:10 [INFO] [stdout] | [INFO] [stdout] 778 | let (t, limit) = match t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:763:15 [INFO] [stdout] | [INFO] [stdout] 763 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:781:15 [INFO] [stdout] | [INFO] [stdout] 781 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut inp = t.into_inner(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/parser.rs:778:10 [INFO] [stdout] | [INFO] [stdout] 778 | let (t, limit) = match t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:763:15 [INFO] [stdout] | [INFO] [stdout] 763 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:781:15 [INFO] [stdout] | [INFO] [stdout] 781 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `align_table_types` is never read [INFO] [stdout] --> src/format.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | align_table_types: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uppercase_keywords` and `lowercase_keywords` are never used [INFO] [stdout] --> src/format.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 42 | impl Context { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn uppercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn lowercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inners` is never used [INFO] [stdout] --> src/format.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 128 | impl Context> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 129 | pub fn inners(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Full`, `Partial`, and `Simple` are never constructed [INFO] [stdout] --> src/ast.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ColumnConstraintReferencesMatch { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] 64 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | Partial, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnConstraintReferencesMatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AsDef` is never constructed [INFO] [stdout] --> src/ast.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum CreateFunctionBody { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 115 | AsDef(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunctionBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `As` is never constructed [INFO] [stdout] --> src/ast.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum Operator { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | As, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `if_not_exsists` is never read [INFO] [stdout] --> src/ast.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct CreateTable { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 252 | pub name: TableIdent, [INFO] [stdout] 253 | pub if_not_exsists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `or_replace` is never read [INFO] [stdout] --> src/ast.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct CreateFunction { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 289 | pub name: TableIdent, [INFO] [stdout] 290 | pub or_replace: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default` is never constructed [INFO] [stdout] --> src/ast.rs:322:3 [INFO] [stdout] | [INFO] [stdout] 321 | pub enum InsertValues { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 322 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `align_table_types` is never read [INFO] [stdout] --> src/format.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | align_table_types: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uppercase_keywords` and `lowercase_keywords` are never used [INFO] [stdout] --> src/format.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 42 | impl Context { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn uppercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn lowercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inners` is never used [INFO] [stdout] --> src/format.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 128 | impl Context> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 129 | pub fn inners(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Full`, `Partial`, and `Simple` are never constructed [INFO] [stdout] --> src/ast.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ColumnConstraintReferencesMatch { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] 64 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | Partial, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnConstraintReferencesMatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AsDef` is never constructed [INFO] [stdout] --> src/ast.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum CreateFunctionBody { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 115 | AsDef(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunctionBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `As` is never constructed [INFO] [stdout] --> src/ast.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum Operator { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | As, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `if_not_exsists` is never read [INFO] [stdout] --> src/ast.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct CreateTable { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 252 | pub name: TableIdent, [INFO] [stdout] 253 | pub if_not_exsists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `or_replace` is never read [INFO] [stdout] --> src/ast.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct CreateFunction { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 289 | pub name: TableIdent, [INFO] [stdout] 290 | pub or_replace: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default` is never constructed [INFO] [stdout] --> src/ast.rs:322:3 [INFO] [stdout] | [INFO] [stdout] 321 | pub enum InsertValues { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 322 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / std::fs::File::open(name).map(|mut file| { [INFO] [stdout] 31 | | file.read_to_string(&mut d).unwrap(); [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | let a = prettify(&d, None).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | debug_assert_eq!(a, prettify(&a, None).unwrap()); [INFO] [stdout] 37 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = std::fs::File::open(name).map(|mut file| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / std::fs::File::open(name).map(|mut file| { [INFO] [stdout] 31 | | file.read_to_string(&mut d).unwrap(); [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | let a = prettify(&d, None).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 36 | | debug_assert_eq!(a, prettify(&a, None).unwrap()); [INFO] [stdout] 37 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = std::fs::File::open(name).map(|mut file| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a82d04c95acab43e730cc13dee47de02f215b272222621118be11117495316eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82d04c95acab43e730cc13dee47de02f215b272222621118be11117495316eb", kill_on_drop: false }` [INFO] [stdout] a82d04c95acab43e730cc13dee47de02f215b272222621118be11117495316eb [INFO] checking oeb25/sql-fmt against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foeb25%2Fsql-fmt" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oeb25/sql-fmt on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oeb25/sql-fmt [INFO] finished tweaking git repo https://github.com/oeb25/sql-fmt [INFO] tweaked toml for git repo https://github.com/oeb25/sql-fmt written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oeb25/sql-fmt 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f640791d5fac780c9e07564c44634701aabcf79adc3e4781ced2820244a63461 [INFO] running `Command { std: "docker" "start" "-a" "f640791d5fac780c9e07564c44634701aabcf79adc3e4781ced2820244a63461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f640791d5fac780c9e07564c44634701aabcf79adc3e4781ced2820244a63461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f640791d5fac780c9e07564c44634701aabcf79adc3e4781ced2820244a63461", kill_on_drop: false }` [INFO] [stdout] f640791d5fac780c9e07564c44634701aabcf79adc3e4781ced2820244a63461 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76014f24231691bb2362b51b962f975fa19ec8178ca5d38afd3ea3f035133f35 [INFO] running `Command { std: "docker" "start" "-a" "76014f24231691bb2362b51b962f975fa19ec8178ca5d38afd3ea3f035133f35", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling pest v1.0.0-beta.16 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Compiling pest_derive v1.0.0-beta.16 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking sql-fmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> src/format.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `w` [INFO] [stdout] --> src/format.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! w { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> src/format.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `w` [INFO] [stdout] --> src/format.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | macro_rules! w { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `match_default_bindings` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(match_default_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `match_default_bindings` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(match_default_bindings)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parser.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | Ok(match t.as_rule() { [INFO] [stdout] | _____^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 313 | | Rule::insert_conflict_action_update_item => unimplemented!(), // TODO [INFO] [stdout] 314 | | _ => unparseable!(t) [INFO] [stdout] 315 | | }) [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/parser.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | Ok(match t.as_rule() { [INFO] [stdout] | _____^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 313 | | Rule::insert_conflict_action_update_item => unimplemented!(), // TODO [INFO] [stdout] 314 | | _ => unparseable!(t) [INFO] [stdout] 315 | | }) [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut inp = t.into_inner(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/parser.rs:778:10 [INFO] [stdout] | [INFO] [stdout] 778 | let (t, limit) = match t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:763:15 [INFO] [stdout] | [INFO] [stdout] 763 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:781:15 [INFO] [stdout] | [INFO] [stdout] 781 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let mut inp = t.into_inner(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `align_table_types` is never read [INFO] [stdout] --> src/format.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | align_table_types: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uppercase_keywords` and `lowercase_keywords` are never used [INFO] [stdout] --> src/format.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 42 | impl Context { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn uppercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn lowercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inners` is never used [INFO] [stdout] --> src/format.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 128 | impl Context> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 129 | pub fn inners(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Full`, `Partial`, and `Simple` are never constructed [INFO] [stdout] --> src/ast.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ColumnConstraintReferencesMatch { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] 64 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | Partial, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnConstraintReferencesMatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AsDef` is never constructed [INFO] [stdout] --> src/ast.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum CreateFunctionBody { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 115 | AsDef(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunctionBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `As` is never constructed [INFO] [stdout] --> src/ast.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum Operator { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | As, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `if_not_exsists` is never read [INFO] [stdout] --> src/ast.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct CreateTable { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 252 | pub name: TableIdent, [INFO] [stdout] 253 | pub if_not_exsists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `or_replace` is never read [INFO] [stdout] --> src/ast.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct CreateFunction { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 289 | pub name: TableIdent, [INFO] [stdout] 290 | pub or_replace: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default` is never constructed [INFO] [stdout] --> src/ast.rs:322:3 [INFO] [stdout] | [INFO] [stdout] 321 | pub enum InsertValues { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 322 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | let ctx = Arc::new(format::Context::default()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(parser::parse(&s)?.format(&ctx)) [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/parser.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let args = match t { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | Ok(FunctionCall { [INFO] [stdout] | ________^ [INFO] [stdout] 181 | | base: name, [INFO] [stdout] 182 | | args: args, [INFO] [stdout] 183 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | let t = inp.pop()?; [INFO] [stdout] 190 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Cast(expr, ttype)) [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/parser.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 215 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let t = inp.pop()?; [INFO] [stdout] 217 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | / inp.fold(Ok((expr, None)), |z, t| { [INFO] [stdout] 252 | | let (expr, operator) = z?; [INFO] [stdout] 253 | | Ok(match t.as_rule() { [INFO] [stdout] 254 | | Rule::comment => (expr, operator), [INFO] [stdout] ... | [INFO] [stdout] 272 | | }) [INFO] [stdout] 273 | | }).map(|(expr, _)| expr) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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/parser.rs:225:62 [INFO] [stdout] | [INFO] [stdout] 225 | Cast::parse(t.into_inner()).map(|c| Expression::Cast(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:237:66 [INFO] [stdout] | [INFO] [stdout] 237 | Select::parse(t.into_inner()).map(|c| Expression::Select(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:243:67 [INFO] [stdout] | [INFO] [stdout] 243 | Expression::parse(t.into_inner()).map(|c| Expression::Not(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:246:70 [INFO] [stdout] | [INFO] [stdout] 246 | Expression::parse(t.into_inner()).map(|c| Expression::Exists(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 251 | inp.fold(Ok((expr, None)), |z, t| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | let (expr, operator) = z?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Ok(match t.as_rule() { [INFO] [stdout] | __________^ [INFO] [stdout] 254 | | Rule::comment => (expr, operator), [INFO] [stdout] 255 | | Rule::as_infix => { [INFO] [stdout] 256 | | let mut inp = t.into_inner(); [INFO] [stdout] ... | [INFO] [stdout] 271 | | } [INFO] [stdout] 272 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______| [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/parser.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | Ok(WithItem { [INFO] [stdout] | ________^ [INFO] [stdout] 292 | | name: name, [INFO] [stdout] 293 | | expr: expr [INFO] [stdout] 294 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn parse<'a, I: Ps<'a>>(inp: I) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let xs = a(inp.map(|t| match t.as_rule() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | Ok(ast::With(xs)) [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/parser.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let (t, with) = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | let values = match t.as_rule() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(InsertStmt { [INFO] [stdout] | ________^ [INFO] [stdout] 419 | | with: with, [INFO] [stdout] 420 | | table: table, [INFO] [stdout] 421 | | columns: columns, [INFO] [stdout] ... | [INFO] [stdout] 424 | | ret: ret, [INFO] [stdout] 425 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parser.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 507 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 508 | let t = inp.pop()?; [INFO] [stdout] 509 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | Ok(CreateTableExcludeWith(expr, operator)) [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/parser.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 532 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let with = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 554 | Ok(CreateTableExclude { [INFO] [stdout] | ________^ [INFO] [stdout] 555 | | using: using, [INFO] [stdout] 556 | | with: with, [INFO] [stdout] 557 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 620 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 634 | let fields = match t.as_rule() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | Ok(CreateTable { [INFO] [stdout] | ________^ [INFO] [stdout] 664 | | name: name, [INFO] [stdout] 665 | | if_not_exsists: if_not_exsists, [INFO] [stdout] 666 | | fields: fields, [INFO] [stdout] ... | [INFO] [stdout] 670 | | }, [INFO] [stdout] 671 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 676 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 677 | let t = inp.pop()?; [INFO] [stdout] 678 | let expr_or_all = match t.as_rule() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | Ok(SelectClauseItem { [INFO] [stdout] | ________^ [INFO] [stdout] 695 | | expr_or_all: expr_or_all, [INFO] [stdout] 696 | | ass: ass, [INFO] [stdout] 697 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:703:8 [INFO] [stdout] | [INFO] [stdout] 702 | fn parse<'a, I: Ps<'a>>(inp: I) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 703 | Ok(SelectClause( [INFO] [stdout] | ________^ [INFO] [stdout] 704 | | a(inp.map(|t| SelectClauseItem::parse(t.into_inner())))?, [INFO] [stdout] 705 | | )) [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/parser.rs:726:8 [INFO] [stdout] | [INFO] [stdout] 710 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 711 | let t = inp.pop()?; [INFO] [stdout] 712 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 726 | Ok(FromClause { [INFO] [stdout] | ________^ [INFO] [stdout] 727 | | from: expr, [INFO] [stdout] 728 | | ass: ass, [INFO] [stdout] 729 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:797:8 [INFO] [stdout] | [INFO] [stdout] 734 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let t = inp.pop()?; [INFO] [stdout] 736 | let (t, with) = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 742 | let select_clause = match t.as_rule() { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | let (t, from_clause) = match t { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 760 | let (t, condition) = match t { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 778 | let (t, limit) = match t { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 797 | Ok(Select { [INFO] [stdout] | ________^ [INFO] [stdout] 798 | | with: with, [INFO] [stdout] 799 | | clause: select_clause, [INFO] [stdout] 800 | | from: from_clause, [INFO] [stdout] 801 | | condition: condition, [INFO] [stdout] 802 | | limit: limit, [INFO] [stdout] 803 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] | [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/parser.rs:857:8 [INFO] [stdout] | [INFO] [stdout] 823 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 842 | let default = match t { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 857 | Ok(CreateFunctionArg { [INFO] [stdout] | ________^ [INFO] [stdout] 858 | | mode: mode, [INFO] [stdout] 859 | | name: name, [INFO] [stdout] 860 | | ttype: ttype, [INFO] [stdout] 861 | | default: default, [INFO] [stdout] 862 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:925:8 [INFO] [stdout] | [INFO] [stdout] 923 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 924 | let t = inp.pop()?; [INFO] [stdout] 925 | Ok(match t.as_rule() { [INFO] [stdout] | ________^ [INFO] [stdout] 926 | | Rule::create_function_body_as_def => { [INFO] [stdout] 927 | | let mut inp = t.into_inner(); [INFO] [stdout] 928 | | let t = inp.pop()?; [INFO] [stdout] ... | [INFO] [stdout] 950 | | _ => unparseable!(t), [INFO] [stdout] 951 | | }) [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/parser.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 956 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 968 | let args = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 976 | let returns = rule!(t, { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 980 | let body = rule!(t, { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 986 | Ok(CreateFunction { [INFO] [stdout] | ________^ [INFO] [stdout] 987 | | name: name, [INFO] [stdout] 988 | | or_replace: or_replace, [INFO] [stdout] 989 | | args: args, [INFO] [stdout] 990 | | returns: returns, [INFO] [stdout] 991 | | body: body, [INFO] [stdout] 992 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parser.rs:1029:8 [INFO] [stdout] | [INFO] [stdout] 1017 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1024 | let ass = match t.as_rule() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1029 | Ok(View { [INFO] [stdout] | ________^ [INFO] [stdout] 1030 | | name: name, [INFO] [stdout] 1031 | | ass: ass [INFO] [stdout] 1032 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] warning: unused variable: `t` [INFO] [stdout] --> src/parser.rs:778:10 [INFO] [stdout] | [INFO] [stdout] 778 | let (t, limit) = match t { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/format.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 150 | items: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | / items [INFO] [stdout] 155 | | .into_iter() [INFO] [stdout] 156 | | .map(|c| c.format(&ctx)) [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:763:15 [INFO] [stdout] | [INFO] [stdout] 763 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:781:15 [INFO] [stdout] | [INFO] [stdout] 781 | let mut old_inp = &mut inp; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sql-fmt` (lib) due to 25 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `align_table_types` is never read [INFO] [stdout] --> src/format.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | align_table_types: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uppercase_keywords` and `lowercase_keywords` are never used [INFO] [stdout] --> src/format.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 42 | impl Context { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn uppercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn lowercase_keywords(&self) -> Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inners` is never used [INFO] [stdout] --> src/format.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 128 | impl Context> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 129 | pub fn inners(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Full`, `Partial`, and `Simple` are never constructed [INFO] [stdout] --> src/ast.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum ColumnConstraintReferencesMatch { [INFO] [stdout] | ------------------------------- variants in this enum [INFO] [stdout] 64 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | Partial, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | Simple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnConstraintReferencesMatch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AsDef` is never constructed [INFO] [stdout] --> src/ast.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum CreateFunctionBody { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] 115 | AsDef(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunctionBody` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `As` is never constructed [INFO] [stdout] --> src/ast.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 219 | pub enum Operator { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 223 | As, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `if_not_exsists` is never read [INFO] [stdout] --> src/ast.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct CreateTable { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 252 | pub name: TableIdent, [INFO] [stdout] 253 | pub if_not_exsists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateTable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `or_replace` is never read [INFO] [stdout] --> src/ast.rs:290:7 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct CreateFunction { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 289 | pub name: TableIdent, [INFO] [stdout] 290 | pub or_replace: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default` is never constructed [INFO] [stdout] --> src/ast.rs:322:3 [INFO] [stdout] | [INFO] [stdout] 321 | pub enum InsertValues { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 322 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertValues` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | let ctx = Arc::new(format::Context::default()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(parser::parse(&s)?.format(&ctx)) [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/parser.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let args = match t { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 180 | Ok(FunctionCall { [INFO] [stdout] | ________^ [INFO] [stdout] 181 | | base: name, [INFO] [stdout] 182 | | args: args, [INFO] [stdout] 183 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | let t = inp.pop()?; [INFO] [stdout] 190 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | Ok(Cast(expr, ttype)) [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/parser.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 215 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let t = inp.pop()?; [INFO] [stdout] 217 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | / inp.fold(Ok((expr, None)), |z, t| { [INFO] [stdout] 252 | | let (expr, operator) = z?; [INFO] [stdout] 253 | | Ok(match t.as_rule() { [INFO] [stdout] 254 | | Rule::comment => (expr, operator), [INFO] [stdout] ... | [INFO] [stdout] 272 | | }) [INFO] [stdout] 273 | | }).map(|(expr, _)| expr) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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/parser.rs:225:62 [INFO] [stdout] | [INFO] [stdout] 225 | Cast::parse(t.into_inner()).map(|c| Expression::Cast(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:237:66 [INFO] [stdout] | [INFO] [stdout] 237 | Select::parse(t.into_inner()).map(|c| Expression::Select(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:243:67 [INFO] [stdout] | [INFO] [stdout] 243 | Expression::parse(t.into_inner()).map(|c| Expression::Not(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:246:70 [INFO] [stdout] | [INFO] [stdout] 246 | Expression::parse(t.into_inner()).map(|c| Expression::Exists(Box::new(c))) [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/parser.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 251 | inp.fold(Ok((expr, None)), |z, t| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | let (expr, operator) = z?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 253 | Ok(match t.as_rule() { [INFO] [stdout] | __________^ [INFO] [stdout] 254 | | Rule::comment => (expr, operator), [INFO] [stdout] 255 | | Rule::as_infix => { [INFO] [stdout] 256 | | let mut inp = t.into_inner(); [INFO] [stdout] ... | [INFO] [stdout] 271 | | } [INFO] [stdout] 272 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______| [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/parser.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | Ok(WithItem { [INFO] [stdout] | ________^ [INFO] [stdout] 292 | | name: name, [INFO] [stdout] 293 | | expr: expr [INFO] [stdout] 294 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn parse<'a, I: Ps<'a>>(inp: I) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let xs = a(inp.map(|t| match t.as_rule() { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | Ok(ast::With(xs)) [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/parser.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 368 | let (t, with) = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | let values = match t.as_rule() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | Ok(InsertStmt { [INFO] [stdout] | ________^ [INFO] [stdout] 419 | | with: with, [INFO] [stdout] 420 | | table: table, [INFO] [stdout] 421 | | columns: columns, [INFO] [stdout] ... | [INFO] [stdout] 424 | | ret: ret, [INFO] [stdout] 425 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parser.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 507 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 508 | let t = inp.pop()?; [INFO] [stdout] 509 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 527 | Ok(CreateTableExcludeWith(expr, operator)) [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/parser.rs:554:8 [INFO] [stdout] | [INFO] [stdout] 532 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let with = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 554 | Ok(CreateTableExclude { [INFO] [stdout] | ________^ [INFO] [stdout] 555 | | using: using, [INFO] [stdout] 556 | | with: with, [INFO] [stdout] 557 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 620 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 634 | let fields = match t.as_rule() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 663 | Ok(CreateTable { [INFO] [stdout] | ________^ [INFO] [stdout] 664 | | name: name, [INFO] [stdout] 665 | | if_not_exsists: if_not_exsists, [INFO] [stdout] 666 | | fields: fields, [INFO] [stdout] ... | [INFO] [stdout] 670 | | }, [INFO] [stdout] 671 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 676 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 677 | let t = inp.pop()?; [INFO] [stdout] 678 | let expr_or_all = match t.as_rule() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | Ok(SelectClauseItem { [INFO] [stdout] | ________^ [INFO] [stdout] 695 | | expr_or_all: expr_or_all, [INFO] [stdout] 696 | | ass: ass, [INFO] [stdout] 697 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:703:8 [INFO] [stdout] | [INFO] [stdout] 702 | fn parse<'a, I: Ps<'a>>(inp: I) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 703 | Ok(SelectClause( [INFO] [stdout] | ________^ [INFO] [stdout] 704 | | a(inp.map(|t| SelectClauseItem::parse(t.into_inner())))?, [INFO] [stdout] 705 | | )) [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/parser.rs:726:8 [INFO] [stdout] | [INFO] [stdout] 710 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 711 | let t = inp.pop()?; [INFO] [stdout] 712 | let expr = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 726 | Ok(FromClause { [INFO] [stdout] | ________^ [INFO] [stdout] 727 | | from: expr, [INFO] [stdout] 728 | | ass: ass, [INFO] [stdout] 729 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:797:8 [INFO] [stdout] | [INFO] [stdout] 734 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 735 | let t = inp.pop()?; [INFO] [stdout] 736 | let (t, with) = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 742 | let select_clause = match t.as_rule() { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 748 | let (t, from_clause) = match t { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 760 | let (t, condition) = match t { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 778 | let (t, limit) = match t { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 797 | Ok(Select { [INFO] [stdout] | ________^ [INFO] [stdout] 798 | | with: with, [INFO] [stdout] 799 | | clause: select_clause, [INFO] [stdout] 800 | | from: from_clause, [INFO] [stdout] 801 | | condition: condition, [INFO] [stdout] 802 | | limit: limit, [INFO] [stdout] 803 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | 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] | [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/parser.rs:857:8 [INFO] [stdout] | [INFO] [stdout] 823 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 842 | let default = match t { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 857 | Ok(CreateFunctionArg { [INFO] [stdout] | ________^ [INFO] [stdout] 858 | | mode: mode, [INFO] [stdout] 859 | | name: name, [INFO] [stdout] 860 | | ttype: ttype, [INFO] [stdout] 861 | | default: default, [INFO] [stdout] 862 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/parser.rs:925:8 [INFO] [stdout] | [INFO] [stdout] 923 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 924 | let t = inp.pop()?; [INFO] [stdout] 925 | Ok(match t.as_rule() { [INFO] [stdout] | ________^ [INFO] [stdout] 926 | | Rule::create_function_body_as_def => { [INFO] [stdout] 927 | | let mut inp = t.into_inner(); [INFO] [stdout] 928 | | let t = inp.pop()?; [INFO] [stdout] ... | [INFO] [stdout] 950 | | _ => unparseable!(t), [INFO] [stdout] 951 | | }) [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/parser.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 956 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 968 | let args = match t.as_rule() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 976 | let returns = rule!(t, { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 980 | let body = rule!(t, { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 986 | Ok(CreateFunction { [INFO] [stdout] | ________^ [INFO] [stdout] 987 | | name: name, [INFO] [stdout] 988 | | or_replace: or_replace, [INFO] [stdout] 989 | | args: args, [INFO] [stdout] 990 | | returns: returns, [INFO] [stdout] 991 | | body: body, [INFO] [stdout] 992 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [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/parser.rs:1029:8 [INFO] [stdout] | [INFO] [stdout] 1017 | fn parse<'a, I: Ps<'a>>(mut inp: I) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1024 | let ass = match t.as_rule() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1029 | Ok(View { [INFO] [stdout] | ________^ [INFO] [stdout] 1030 | | name: name, [INFO] [stdout] 1031 | | ass: ass [INFO] [stdout] 1032 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/format.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 150 | items: I, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | / items [INFO] [stdout] 155 | | .into_iter() [INFO] [stdout] 156 | | .map(|c| c.format(&ctx)) [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 24 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sql-fmt` (lib test) due to 25 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76014f24231691bb2362b51b962f975fa19ec8178ca5d38afd3ea3f035133f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76014f24231691bb2362b51b962f975fa19ec8178ca5d38afd3ea3f035133f35", kill_on_drop: false }` [INFO] [stdout] 76014f24231691bb2362b51b962f975fa19ec8178ca5d38afd3ea3f035133f35