[INFO] cloning repository https://github.com/Curt-White/sql-lint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Curt-White/sql-lint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCurt-White%2Fsql-lint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCurt-White%2Fsql-lint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6649bc299c855655827d1a3c9bff59fe7f591197 [INFO] testing Curt-White/sql-lint against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCurt-White%2Fsql-lint" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Curt-White/sql-lint on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Curt-White/sql-lint [INFO] finished tweaking git repo https://github.com/Curt-White/sql-lint [INFO] tweaked toml for git repo https://github.com/Curt-White/sql-lint written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Curt-White/sql-lint already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8fa6297371f4abb0413b2213085a73fb2079a3057ae283a1685f5891f0616c [INFO] running `Command { std: "docker" "start" "-a" "1f8fa6297371f4abb0413b2213085a73fb2079a3057ae283a1685f5891f0616c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8fa6297371f4abb0413b2213085a73fb2079a3057ae283a1685f5891f0616c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8fa6297371f4abb0413b2213085a73fb2079a3057ae283a1685f5891f0616c", kill_on_drop: false }` [INFO] [stdout] 1f8fa6297371f4abb0413b2213085a73fb2079a3057ae283a1685f5891f0616c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076889848e47353c4bcf8bd87890ec95ad214d966d4cc9dfb17e786462d8da73 [INFO] running `Command { std: "docker" "start" "-a" "076889848e47353c4bcf8bd87890ec95ad214d966d4cc9dfb17e786462d8da73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling phf_generator v0.9.0 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling phf v0.9.0 [INFO] [stderr] Compiling scratch-dbt-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `op_stack` [INFO] [stdout] --> src/parser.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let op_stack: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_stack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_stack` [INFO] [stdout] --> src/parser.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let expr_stack: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Safe` [INFO] [stdout] --> src/lexer.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Safe, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `KeywordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Debug, strum_macros::Display, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(content: &str) -> LexerContext { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidToken` [INFO] [stdout] --> src/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | InvalidToken(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OutOfTokens` [INFO] [stdout] --> src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | OutOfTokens(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `throw_invalid_token_err` [INFO] [stdout] --> src/parser.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn throw_invalid_token_err(expected_sequence: &str, line: usize, col: usize, found: T) -> ParserError [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(mut tokens: Vec) -> ParserContext { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek(&self, skip_whitespace: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parser.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn next(&mut self, skip_whitespace: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn parse_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_as` [INFO] [stdout] --> src/parser.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn parse_as(&mut self) -> Result<(String, String), ParserError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_select_column` [INFO] [stdout] --> src/parser.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn parse_select_column(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_select` [INFO] [stdout] --> src/parser.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn parse_select(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_from` [INFO] [stdout] --> src/parser.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn parse_from(&mut self) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_operation` [INFO] [stdout] --> src/parser.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn parse_operation(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryPlus` [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | UnaryPlus, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryMinus` [INFO] [stdout] --> src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UnaryMinus, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Add, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Substract` [INFO] [stdout] --> src/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Substract, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Multiply, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/ast.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Subtract, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Equal, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEqual` [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NotEqual, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterThan` [INFO] [stdout] --> src/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | GreaterThan, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | LessThan, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FieldAccess` [INFO] [stdout] --> src/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | FieldAccess, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Single` [INFO] [stdout] --> src/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Single, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuoteType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Double` [INFO] [stdout] --> src/ast.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Double [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuoteType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | String(StringAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Float(FloatAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Integer(IntAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/ast.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unresolved` [INFO] [stdout] --> src/ast.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Unresolved, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Name` [INFO] [stdout] --> src/ast.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Name(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionSourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Path` [INFO] [stdout] --> src/ast.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Path(PathAST) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionSourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Name` [INFO] [stdout] --> src/ast.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Name(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Path` [INFO] [stdout] --> src/ast.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Path(PathAST), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SubQuery` [INFO] [stdout] --> src/ast.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | SubQuery(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/ast.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Function(FunctionSourceAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SubQuery` [INFO] [stdout] --> src/ast.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | SubQuery(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/ast.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Literal(LiteralAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BinaryOperation` [INFO] [stdout] --> src/ast.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | BinaryOperation(Box, Operator, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryOperation` [INFO] [stdout] --> src/ast.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | UnaryOperation(Operator, Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Select` [INFO] [stdout] --> src/ast.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | Select(SelectAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OperationAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.03s [INFO] running `Command { std: "docker" "inspect" "076889848e47353c4bcf8bd87890ec95ad214d966d4cc9dfb17e786462d8da73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076889848e47353c4bcf8bd87890ec95ad214d966d4cc9dfb17e786462d8da73", kill_on_drop: false }` [INFO] [stdout] 076889848e47353c4bcf8bd87890ec95ad214d966d4cc9dfb17e786462d8da73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34776d5ca02f1ccaa085e46900c67c317ad3c48a384cd277d443987ae87b102d [INFO] running `Command { std: "docker" "start" "-a" "34776d5ca02f1ccaa085e46900c67c317ad3c48a384cd277d443987ae87b102d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling scratch-dbt-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `op_stack` [INFO] [stdout] --> src/parser.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let op_stack: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_stack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_stack` [INFO] [stdout] --> src/parser.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let expr_stack: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let tokens = lex_string("a = 1 + 2 AND b = 1.0").unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Safe` [INFO] [stdout] --> src/lexer.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Safe, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `KeywordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/lexer.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Debug, strum_macros::Display, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryPlus` [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | UnaryPlus, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryMinus` [INFO] [stdout] --> src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UnaryMinus, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Add, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Substract` [INFO] [stdout] --> src/ast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Substract, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Multiply, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtract` [INFO] [stdout] --> src/ast.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Subtract, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Equal, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEqual` [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | NotEqual, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterThan` [INFO] [stdout] --> src/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | GreaterThan, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | LessThan, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FieldAccess` [INFO] [stdout] --> src/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | FieldAccess, [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Single` [INFO] [stdout] --> src/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Single, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuoteType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Double` [INFO] [stdout] --> src/ast.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Double [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuoteType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | String(StringAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Float(FloatAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Integer(IntAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/ast.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Integer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Name` [INFO] [stdout] --> src/ast.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Name(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionSourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Path` [INFO] [stdout] --> src/ast.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Path(PathAST) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FunctionSourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Path` [INFO] [stdout] --> src/ast.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Path(PathAST), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SubQuery` [INFO] [stdout] --> src/ast.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | SubQuery(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/ast.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Function(FunctionSourceAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SubQuery` [INFO] [stdout] --> src/ast.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | SubQuery(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/ast.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Literal(LiteralAST), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BinaryOperation` [INFO] [stdout] --> src/ast.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | BinaryOperation(Box, Operator, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryOperation` [INFO] [stdout] --> src/ast.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | UnaryOperation(Operator, Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/scratch_dbt_parser-9a55bb77a3e26fc7) [INFO] running `Command { std: "docker" "inspect" "34776d5ca02f1ccaa085e46900c67c317ad3c48a384cd277d443987ae87b102d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34776d5ca02f1ccaa085e46900c67c317ad3c48a384cd277d443987ae87b102d", kill_on_drop: false }` [INFO] [stdout] 34776d5ca02f1ccaa085e46900c67c317ad3c48a384cd277d443987ae87b102d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2b6b8545e459ccb76dbb005b214b2af71809e03c82f329c87c2442f2e2181f9a [INFO] running `Command { std: "docker" "start" "-a" "2b6b8545e459ccb76dbb005b214b2af71809e03c82f329c87c2442f2e2181f9a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `op_stack` [INFO] [stderr] --> src/parser.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | let op_stack: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_stack` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expr_stack` [INFO] [stderr] --> src/parser.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let expr_stack: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_stack` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tokens` [INFO] [stderr] --> src/parser.rs:168:13 [INFO] [stderr] | [INFO] [stderr] 168 | let tokens = lex_string("a = 1 + 2 AND b = 1.0").unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Safe` [INFO] [stderr] --> src/lexer.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Safe, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `KeywordType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lexer.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Clone, Debug, strum_macros::Display, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnaryPlus` [INFO] [stderr] --> src/ast.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | UnaryPlus, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnaryMinus` [INFO] [stderr] --> src/ast.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | UnaryMinus, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Add` [INFO] [stderr] --> src/ast.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Add, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Substract` [INFO] [stderr] --> src/ast.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Substract, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Multiply` [INFO] [stderr] --> src/ast.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Multiply, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Subtract` [INFO] [stderr] --> src/ast.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Subtract, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equal` [INFO] [stderr] --> src/ast.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Equal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotEqual` [INFO] [stderr] --> src/ast.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | NotEqual, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GreaterThan` [INFO] [stderr] --> src/ast.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | GreaterThan, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LessThan` [INFO] [stderr] --> src/ast.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | LessThan, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FieldAccess` [INFO] [stderr] --> src/ast.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | FieldAccess, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Hash, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Single` [INFO] [stderr] --> src/ast.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | Single, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QuoteType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Double` [INFO] [stderr] --> src/ast.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | Double [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QuoteType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/ast.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | String(StringAST), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/ast.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | Float(FloatAST), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/ast.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | Integer(IntAST), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LiteralAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/ast.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/ast.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | Float, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/ast.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | Integer, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SQLType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Name` [INFO] [stderr] --> src/ast.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | Name(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FunctionSourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Path` [INFO] [stderr] --> src/ast.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | Path(PathAST) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FunctionSourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Path` [INFO] [stderr] --> src/ast.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | Path(PathAST), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SubQuery` [INFO] [stderr] --> src/ast.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | SubQuery(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SourceAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/ast.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | Function(FunctionSourceAST), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SubQuery` [INFO] [stderr] --> src/ast.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | SubQuery(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Literal` [INFO] [stderr] --> src/ast.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | Literal(LiteralAST), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BinaryOperation` [INFO] [stderr] --> src/ast.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | BinaryOperation(Box, Operator, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnaryOperation` [INFO] [stderr] --> src/ast.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | UnaryOperation(Operator, Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `scratch-dbt-parser` (bin "scratch-dbt-parser" test) generated 32 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/scratch_dbt_parser-9a55bb77a3e26fc7) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test parser::tests::test_parse_expression ... ok [INFO] [stdout] test parser::tests::test_parse_select ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b6b8545e459ccb76dbb005b214b2af71809e03c82f329c87c2442f2e2181f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6b8545e459ccb76dbb005b214b2af71809e03c82f329c87c2442f2e2181f9a", kill_on_drop: false }` [INFO] [stdout] 2b6b8545e459ccb76dbb005b214b2af71809e03c82f329c87c2442f2e2181f9a