[INFO] cloning repository https://github.com/importwu/seq [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/importwu/seq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportwu%2Fseq", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportwu%2Fseq'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4480dfffda76e9154d29bbd0def12e3744e33962 [INFO] checking importwu/seq against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimportwu%2Fseq" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/importwu/seq 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/importwu/seq [INFO] finished tweaking git repo https://github.com/importwu/seq [INFO] tweaked toml for git repo https://github.com/importwu/seq written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/importwu/seq 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] Updating git repository `https://github.com/importwu/rtor.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b865775566314835044d85ea3d968a3cb74f0f22bae650115354645a30f9eaf1 [INFO] running `Command { std: "docker" "start" "-a" "b865775566314835044d85ea3d968a3cb74f0f22bae650115354645a30f9eaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b865775566314835044d85ea3d968a3cb74f0f22bae650115354645a30f9eaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b865775566314835044d85ea3d968a3cb74f0f22bae650115354645a30f9eaf1", kill_on_drop: false }` [INFO] [stdout] b865775566314835044d85ea3d968a3cb74f0f22bae650115354645a30f9eaf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c415cee9f233c5c0c1877c07328004afe32fdb3047bec55fb409d819a37a1f74 [INFO] running `Command { std: "docker" "start" "-a" "c415cee9f233c5c0c1877c07328004afe32fdb3047bec55fb409d819a37a1f74", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rtor v0.1.0 (https://github.com/importwu/rtor.git#c6f6c58f) [INFO] [stderr] Checking seq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/parser/tokenizer.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | recognize(skip_many(not((end_quote)).andr(anychar))).andl(end_quote) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - recognize(skip_many(not((end_quote)).andr(anychar))).andl(end_quote) [INFO] [stdout] 197 + recognize(skip_many(not(end_quote).andr(anychar))).andl(end_quote) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer::tokenize` [INFO] [stdout] --> src/parser/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use tokenizer::tokenize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/parser/tokenizer.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | recognize(skip_many(not((end_quote)).andr(anychar))).andl(end_quote) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 197 - recognize(skip_many(not((end_quote)).andr(anychar))).andl(end_quote) [INFO] [stdout] 197 + recognize(skip_many(not(end_quote).andr(anychar))).andl(end_quote) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | fn data_type(mut input: I) -> ParseResult [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: unused variable: `token` [INFO] [stdout] --> src/parser/mod.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | Some(TokenWithLocation { token, location }) => Err(ParseError(format!("{}, {}", location.line(), location.column()))), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/mod.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | Some(TokenWithLocation { token, location }) => Err(ParseError(format!("{}, {}", location.line(), location.column()))), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/mod.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | Some(TokenWithLocation { token, location }) => Err(ParseError(format!("{}, {}", location.line(), location.column()))), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | fn unary_op(mut input: I) -> ParseResult<(UnaryOperator, u8), I> [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ParseError(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/tokenizer.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TokenizeError(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TokenizeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stmt` is never used [INFO] [stdout] --> src/parser/ast/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTable` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CreateTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Definition` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnDef` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ColumnDef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnConstraint` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ColumnConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColumnOption` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum ColumnOption { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReferentialAction` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ReferentialAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableConstraint` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct TableConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableOption` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum TableOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Eq` and `NotEq` are never constructed [INFO] [stdout] --> src/parser/ast/expr.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Literal(Literal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | BinaryOp { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 43 | op: BinaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `op` and `expr` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | UnaryOp { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 48 | op: UnaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | expr: Box [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `not`, `expr`, `begin`, and `end` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | Between { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 52 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | begin: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | end: Box [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `not`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | IsDistinctFrom { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 59 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `operand`, `when_then`, and `else` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | Case { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 64 | operand: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | when_then: Vec<(Expr, Expr)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | r#else: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `not`, `expr`, and `list` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | InList { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 69 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | list: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `not`, `expr`, and `subquery` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | InSubquery { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 74 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | subquery: Box [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `not` and `subquery` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | Exists { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 79 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 80 | subquery: Box [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `table` and `column` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | Column { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 84 | table: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | column: Ident [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `not` and `expr` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | IsNull { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 88 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 89 | expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `not`, `expr`, `pattern`, and `escape` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | Like { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 92 | not: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 93 | expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | pattern: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | escape: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `expr` and `data_type` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 97 | Cast { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 98 | expr: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | Function(Function) [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Function(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Subquery` is never constructed [INFO] [stdout] --> src/parser/ast/expr.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 82 | Subquery(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `name` and `arg` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 106 | Simple { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 107 | name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 108 | arg: FunctionArg [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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: fields `name`, `arg`, `distinct`, and `filter` are never read [INFO] [stdout] --> src/parser/ast/expr.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | Aggregate { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 111 | name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 112 | arg: FunctionArg, [INFO] [stdout] | ^^^ [INFO] [stdout] 113 | distinct: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 114 | filter: Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/expr.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 120 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body`, `order_by`, `limit`, and `offset` are never read [INFO] [stdout] --> src/parser/ast/query.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Query { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | pub body: QueryCore, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub order_by: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub offset: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` 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: fields `expr`, `asc`, and `nulls_first` are never read [INFO] [stdout] --> src/parser/ast/query.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OrderItem { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub asc: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | pub nulls_first: Option [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderItem` 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: fields `distinct`, `result`, `from`, `where`, `group_by`, and `having` are never read [INFO] [stdout] --> src/parser/ast/query.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | Select { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 22 | distinct: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | result: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | r#where: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | group_by: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | having: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryCore` 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: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/ast/query.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | Compound { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 31 | op: SetOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | right: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryCore` 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 `Values` is never constructed [INFO] [stdout] --> src/parser/ast/query.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum QueryCore { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Values(Vec>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryCore` 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: fields `name` and `alias` are never read [INFO] [stdout] --> src/parser/ast/query.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Table { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 39 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub alias: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/query.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | Table(Table), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FromItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 | Table(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query` and `alias` are never read [INFO] [stdout] --> src/parser/ast/query.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | Subquery { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 47 | query: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | alias: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromItem` 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: fields `op`, `left`, `right`, and `constraint` are never read [INFO] [stdout] --> src/parser/ast/query.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | Join { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 51 | op: JoinOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 52 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | constraint: Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromItem` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/query.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | On(Expr), [INFO] [stdout] | -- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JoinConstraint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 | On(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast/query.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Using(Vec) [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JoinConstraint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 | Using(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `natural` is never read [INFO] [stdout] --> src/parser/ast/query.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | LeftOuter { natural: bool }, [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JoinOperator` 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 `natural` is never read [INFO] [stdout] --> src/parser/ast/query.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | RightOuter { natural: bool }, [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JoinOperator` 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 `natural` is never read [INFO] [stdout] --> src/parser/ast/query.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | FullOuter { natural: bool }, [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JoinOperator` 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 `natural` is never read [INFO] [stdout] --> src/parser/ast/query.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | Inner { natural: bool }, [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `JoinOperator` 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: fields `expr` and `alias` are never read [INFO] [stdout] --> src/parser/ast/query.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | Expr { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 76 | expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | alias: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectItem` 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 `0` is never read [INFO] [stdout] --> src/parser/ast/query.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | TableWildcard(Ident) [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SelectItem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 | TableWildcard(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | fn data_type(mut input: I) -> ParseResult [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: unused variable: `token` [INFO] [stdout] --> src/parser/mod.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | Some(TokenWithLocation { token, location }) => Err(ParseError(format!("{}, {}", location.line(), location.column()))), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/mod.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | Some(TokenWithLocation { token, location }) => Err(ParseError(format!("{}, {}", location.line(), location.column()))), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser/mod.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | Some(TokenWithLocation { token, location }) => Err(ParseError(format!("{}, {}", location.line(), location.column()))), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | fn unary_op(mut input: I) -> ParseResult<(UnaryOperator, u8), I> [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ParseError(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseResult` is never used [INFO] [stdout] --> src/parser/mod.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | type ParseResult = Result<(T, I), ParseError>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_type` is never used [INFO] [stdout] --> src/parser/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn data_type(mut input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `literal` is never used [INFO] [stdout] --> src/parser/mod.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn literal(mut input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident` is never used [INFO] [stdout] --> src/parser/mod.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn ident(mut input: I) -> ParseResult [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binary_op` is never used [INFO] [stdout] --> src/parser/mod.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn binary_op(mut input: I) -> ParseResult<(BinaryOperator, u8, u8), I> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unary_op` is never used [INFO] [stdout] --> src/parser/mod.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn unary_op(mut input: I) -> ParseResult<(UnaryOperator, u8), I> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_tuple` is never used [INFO] [stdout] --> src/parser/mod.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn expr_tuple(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_unary` is never used [INFO] [stdout] --> src/parser/mod.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn expr_unary(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_case` is never used [INFO] [stdout] --> src/parser/mod.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn expr_case(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_column` is never used [INFO] [stdout] --> src/parser/mod.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn expr_column(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_cast` is never used [INFO] [stdout] --> src/parser/mod.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | fn expr_cast(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_function` is never used [INFO] [stdout] --> src/parser/mod.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn expr_function(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr_exists` is never used [INFO] [stdout] --> src/parser/mod.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn expr_exists(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PARSE_BETWEEN_EXPR` is never used [INFO] [stdout] --> src/parser/mod.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | static mut PARSE_BETWEEN_EXPR: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expr` is never used [INFO] [stdout] --> src/parser/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn expr(min: u8) -> impl Parser [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select` is never used [INFO] [stdout] --> src/parser/mod.rs:399:8 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn select(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `order_by` is never used [INFO] [stdout] --> src/parser/mod.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | fn order_by(input: I) -> ParseResult, I> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_core` is never used [INFO] [stdout] --> src/parser/mod.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn query_core(min: u8) -> impl Parser [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_op` is never used [INFO] [stdout] --> src/parser/mod.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn set_op(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_item` is never used [INFO] [stdout] --> src/parser/mod.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | fn from_item(min: u8) -> impl Parser [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_constraint` is never used [INFO] [stdout] --> src/parser/mod.rs:521:4 [INFO] [stdout] | [INFO] [stdout] 521 | fn join_constraint(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join_op` is never used [INFO] [stdout] --> src/parser/mod.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | fn join_op(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_item` is never used [INFO] [stdout] --> src/parser/mod.rs:548:4 [INFO] [stdout] | [INFO] [stdout] 548 | fn select_item(input: I) -> ParseResult [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenizeError` is never constructed [INFO] [stdout] --> src/parser/tokenizer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TokenizeError(String); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenizeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocatedInput` is never constructed [INFO] [stdout] --> src/parser/tokenizer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct LocatedInput { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `location` are never used [INFO] [stdout] --> src/parser/tokenizer.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl LocatedInput { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new(inner: I) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn location(&self) -> Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/parser/tokenizer.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn tokenize(query: I) -> Result, TokenizeError> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_token` is never used [INFO] [stdout] --> src/parser/tokenizer.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn next_token(mut input: I) -> ParseResult, I> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/token.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Punct { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | Comma, // , [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Tilde, // ~ [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Plus, // + [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Minus, // - [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | StringConcat, // || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | Star, // * [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | Slash, // / [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Percent, // % [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Ampersand, // & [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Vertical, // | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | ShiftLeft, // << [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | ShiftRight, // >> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Lt, // < [INFO] [stdout] | ^^ [INFO] [stdout] 18 | Gt, // > [INFO] [stdout] | ^^ [INFO] [stdout] 19 | LtEq, // <= [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | GtEq, // >= [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Eq, // = [INFO] [stdout] | ^^ [INFO] [stdout] 22 | DoubleEq, // == [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | NotEq, // <> [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | NotEq2, // != [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Period, // . [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | LParen, // ( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | RParen, // ) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Punct` 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: variants `Keyword`, `Ident`, `Punct`, `Number`, `String`, and `Space` are never constructed [INFO] [stdout] --> src/parser/token.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 159 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 160 | Ident { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Punct(Punct), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 166 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 167 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: associated items `new` and `move_by_char` are never used [INFO] [stdout] --> src/parser/token.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl Location { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 177 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn move_by_char(&mut self, ch: char) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Number`, `Boolean`, `String`, and `Null` are never constructed [INFO] [stdout] --> src/parser/ast/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 17 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Null [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: enum `DataType` is never used [INFO] [stdout] --> src/parser/ast/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataType` 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: enum `Stmt` is never used [INFO] [stdout] --> src/parser/ast/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum Stmt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTable` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CreateTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Definition` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnDef` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ColumnDef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColumnConstraint` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ColumnConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColumnOption` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum ColumnOption { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReferentialAction` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ReferentialAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableConstraint` is never constructed [INFO] [stdout] --> src/parser/ast/ddl.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct TableConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableOption` is never used [INFO] [stdout] --> src/parser/ast/ddl.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum TableOption { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast/expr.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 11 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Modulo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | StringConcat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 18 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | GtEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | LtEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | BitwiseAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | BitwiseOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | ShiftRight, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | ShiftLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: enum `UnaryOperator` is never used [INFO] [stdout] --> src/parser/ast/expr.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum UnaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` 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: enum `Expr` is never used [INFO] [stdout] --> src/parser/ast/expr.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: enum `Function` is never used [INFO] [stdout] --> src/parser/ast/expr.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` 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: enum `FunctionArg` is never used [INFO] [stdout] --> src/parser/ast/expr.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | pub enum FunctionArg { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionArg` 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: struct `Query` is never constructed [INFO] [stdout] --> src/parser/ast/query.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` 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: struct `OrderItem` is never constructed [INFO] [stdout] --> src/parser/ast/query.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OrderItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderItem` 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: enum `QueryCore` is never used [INFO] [stdout] --> src/parser/ast/query.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum QueryCore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryCore` 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: struct `Table` is never constructed [INFO] [stdout] --> src/parser/ast/query.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Table { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` 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: enum `FromItem` is never used [INFO] [stdout] --> src/parser/ast/query.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum FromItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FromItem` 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: enum `JoinConstraint` is never used [INFO] [stdout] --> src/parser/ast/query.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum JoinConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JoinConstraint` 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: enum `JoinOperator` is never used [INFO] [stdout] --> src/parser/ast/query.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum JoinOperator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JoinOperator` 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: enum `SelectItem` is never used [INFO] [stdout] --> src/parser/ast/query.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum SelectItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectItem` 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: enum `SetOperator` is never used [INFO] [stdout] --> src/parser/ast/query.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum SetOperator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetOperator` 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: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "c415cee9f233c5c0c1877c07328004afe32fdb3047bec55fb409d819a37a1f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c415cee9f233c5c0c1877c07328004afe32fdb3047bec55fb409d819a37a1f74", kill_on_drop: false }` [INFO] [stdout] c415cee9f233c5c0c1877c07328004afe32fdb3047bec55fb409d819a37a1f74