[INFO] cloning repository https://github.com/makargravanov/OmnissiahDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/makargravanov/OmnissiahDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakargravanov%2FOmnissiahDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakargravanov%2FOmnissiahDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9334f5cc18d59e315fd8ed7864f8a38e0dca3739 [INFO] testing makargravanov/OmnissiahDB against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakargravanov%2FOmnissiahDB" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/makargravanov/OmnissiahDB on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/makargravanov/OmnissiahDB [INFO] finished tweaking git repo https://github.com/makargravanov/OmnissiahDB [INFO] tweaked toml for git repo https://github.com/makargravanov/OmnissiahDB written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/makargravanov/OmnissiahDB 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f16d8f5daf7c62dcf95f994e138a06c64572ee77466fe8064348f637b506300e [INFO] running `Command { std: "docker" "start" "-a" "f16d8f5daf7c62dcf95f994e138a06c64572ee77466fe8064348f637b506300e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f16d8f5daf7c62dcf95f994e138a06c64572ee77466fe8064348f637b506300e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16d8f5daf7c62dcf95f994e138a06c64572ee77466fe8064348f637b506300e", kill_on_drop: false }` [INFO] [stdout] f16d8f5daf7c62dcf95f994e138a06c64572ee77466fe8064348f637b506300e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e2583e86f807bec9af1f3b7af81ceaaf266a3035abea872653766dff3b7daa [INFO] running `Command { std: "docker" "start" "-a" "14e2583e86f807bec9af1f3b7af81ceaaf266a3035abea872653766dff3b7daa", kill_on_drop: false }` [INFO] [stderr] Compiling OmnissiahDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | ... if (column.to_string() == "PRIMARY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - if (column.to_string() == "PRIMARY") { [INFO] [stdout] 174 + if column.to_string() == "PRIMARY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | ... } else if (column.to_string() == "NOTNULL") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - } else if (column.to_string() == "NOTNULL") { [INFO] [stdout] 176 + } else if column.to_string() == "NOTNULL" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | ... } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] 178 + } else if column.to_string() == "IDENTITY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | ... } else if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - } else if (column.to_string() == ",") { [INFO] [stdout] 180 + } else if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - } else if (column.to_string() == ")") { [INFO] [stdout] 189 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:202:40 [INFO] [stdout] | [INFO] [stdout] 202 | ... if (column.to_string() == "NOTNULL") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - if (column.to_string() == "NOTNULL") { [INFO] [stdout] 202 + if column.to_string() == "NOTNULL" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:204:47 [INFO] [stdout] | [INFO] [stdout] 204 | ... } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] 204 + } else if column.to_string() == "IDENTITY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:206:47 [INFO] [stdout] | [INFO] [stdout] 206 | ... } else if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - } else if (column.to_string() == ",") { [INFO] [stdout] 206 + } else if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 - } else if (column.to_string() == ")") { [INFO] [stdout] 215 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 228 | ... if (column.to_string() == "IDENTITY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if (column.to_string() == "IDENTITY") { [INFO] [stdout] 228 + if column.to_string() == "IDENTITY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | ... } else if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - } else if (column.to_string() == ",") { [INFO] [stdout] 230 + } else if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:239:51 [INFO] [stdout] | [INFO] [stdout] 239 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - } else if (column.to_string() == ")") { [INFO] [stdout] 239 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:252:48 [INFO] [stdout] | [INFO] [stdout] 252 | ... if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 252 - if (column.to_string() == ",") { [INFO] [stdout] 252 + if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:261:55 [INFO] [stdout] | [INFO] [stdout] 261 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - } else if (column.to_string() == ")") { [INFO] [stdout] 261 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/parser.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data_type_case; [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: type `SelectQuery` is more private than the item `SQLQuery::Select::0` [INFO] [stdout] --> src/compiler/parser.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Select(SelectQuery), [INFO] [stdout] | ^^^^^^^^^^^ field `SQLQuery::Select::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SelectQuery` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compiler/parser.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct SelectQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InsertQuery` is more private than the item `SQLQuery::Insert::0` [INFO] [stdout] --> src/compiler/parser.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Insert(InsertQuery), [INFO] [stdout] | ^^^^^^^^^^^ field `SQLQuery::Insert::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InsertQuery` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compiler/parser.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct InsertQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateQuery` is more private than the item `SQLQuery::Create::0` [INFO] [stdout] --> src/compiler/parser.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Create(CreateQuery), [INFO] [stdout] | ^^^^^^^^^^^ field `SQLQuery::Create::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateQuery` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compiler/parser.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | struct CreateQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` 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] 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] 6 | Identifier(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is 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] 7 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator`, `left`, and `right` are never read [INFO] [stdout] --> src/compiler/parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | BinaryExpression { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 10 | operator: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `data_type`, `is_primary`, `not_null`, and `identity` are never read [INFO] [stdout] --> src/compiler/parser.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | CreateColumn { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | not_null: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | identity: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Operator` is never constructed [INFO] [stdout] --> src/compiler/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum SQLExpression { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Operator(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/compiler/parser.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | TEXT { length: i32 }, [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | FLOAT { unsigned: bool }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | DOUBLE { unsigned: bool }, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | BYTE { unsigned: bool }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | SHORT { unsigned: bool }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | INT { unsigned: bool }, [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | LONG { unsigned: bool }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | BIGINT { unsigned: bool }, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | UUID { unsigned: bool }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `columns`, `table`, and `conditions` are never read [INFO] [stdout] --> src/compiler/parser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct SelectQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | table: SQLExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | conditions: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table`, `columns`, and `values` are never read [INFO] [stdout] --> src/compiler/parser.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct InsertQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | table: SQLExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | values: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created`, `name`, and `columns` are never read [INFO] [stdout] --> src/compiler/parser.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct CreateQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 56 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | columns: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Select(SelectQuery), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is 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] 63 | Select(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Insert(InsertQuery), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is 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] 64 | Insert(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Create(CreateQuery), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is 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] 65 | Create(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "14e2583e86f807bec9af1f3b7af81ceaaf266a3035abea872653766dff3b7daa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e2583e86f807bec9af1f3b7af81ceaaf266a3035abea872653766dff3b7daa", kill_on_drop: false }` [INFO] [stdout] 14e2583e86f807bec9af1f3b7af81ceaaf266a3035abea872653766dff3b7daa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb88fb04eb3ed0076a52ae81f689fc4c311a8598ef3305bff87feadf3f9d2753 [INFO] running `Command { std: "docker" "start" "-a" "fb88fb04eb3ed0076a52ae81f689fc4c311a8598ef3305bff87feadf3f9d2753", kill_on_drop: false }` [INFO] [stderr] Compiling OmnissiahDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | ... if (column.to_string() == "PRIMARY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 - if (column.to_string() == "PRIMARY") { [INFO] [stdout] 174 + if column.to_string() == "PRIMARY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | ... } else if (column.to_string() == "NOTNULL") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - } else if (column.to_string() == "NOTNULL") { [INFO] [stdout] 176 + } else if column.to_string() == "NOTNULL" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | ... } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] 178 + } else if column.to_string() == "IDENTITY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | ... } else if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - } else if (column.to_string() == ",") { [INFO] [stdout] 180 + } else if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - } else if (column.to_string() == ")") { [INFO] [stdout] 189 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:202:40 [INFO] [stdout] | [INFO] [stdout] 202 | ... if (column.to_string() == "NOTNULL") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 202 - if (column.to_string() == "NOTNULL") { [INFO] [stdout] 202 + if column.to_string() == "NOTNULL" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:204:47 [INFO] [stdout] | [INFO] [stdout] 204 | ... } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - } else if (column.to_string() == "IDENTITY") { [INFO] [stdout] 204 + } else if column.to_string() == "IDENTITY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:206:47 [INFO] [stdout] | [INFO] [stdout] 206 | ... } else if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - } else if (column.to_string() == ",") { [INFO] [stdout] 206 + } else if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 - } else if (column.to_string() == ")") { [INFO] [stdout] 215 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 228 | ... if (column.to_string() == "IDENTITY") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if (column.to_string() == "IDENTITY") { [INFO] [stdout] 228 + if column.to_string() == "IDENTITY" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | ... } else if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 230 - } else if (column.to_string() == ",") { [INFO] [stdout] 230 + } else if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:239:51 [INFO] [stdout] | [INFO] [stdout] 239 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - } else if (column.to_string() == ")") { [INFO] [stdout] 239 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:252:48 [INFO] [stdout] | [INFO] [stdout] 252 | ... if (column.to_string() == ",") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 252 - if (column.to_string() == ",") { [INFO] [stdout] 252 + if column.to_string() == "," { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compiler/parser.rs:261:55 [INFO] [stdout] | [INFO] [stdout] 261 | ... } else if (column.to_string() == ")") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 261 - } else if (column.to_string() == ")") { [INFO] [stdout] 261 + } else if column.to_string() == ")" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/parser.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut data_type_case; [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: type `SelectQuery` is more private than the item `SQLQuery::Select::0` [INFO] [stdout] --> src/compiler/parser.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Select(SelectQuery), [INFO] [stdout] | ^^^^^^^^^^^ field `SQLQuery::Select::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SelectQuery` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compiler/parser.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct SelectQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `InsertQuery` is more private than the item `SQLQuery::Insert::0` [INFO] [stdout] --> src/compiler/parser.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Insert(InsertQuery), [INFO] [stdout] | ^^^^^^^^^^^ field `SQLQuery::Insert::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `InsertQuery` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compiler/parser.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct InsertQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateQuery` is more private than the item `SQLQuery::Create::0` [INFO] [stdout] --> src/compiler/parser.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Create(CreateQuery), [INFO] [stdout] | ^^^^^^^^^^^ field `SQLQuery::Create::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateQuery` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/compiler/parser.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | struct CreateQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` 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] 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] 6 | Identifier(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is 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] 7 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator`, `left`, and `right` are never read [INFO] [stdout] --> src/compiler/parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | BinaryExpression { [INFO] [stdout] | ---------------- fields in this variant [INFO] [stdout] 10 | operator: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | left: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | right: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `data_type`, `is_primary`, `not_null`, and `identity` are never read [INFO] [stdout] --> src/compiler/parser.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | CreateColumn { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | data_type: DataType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | is_primary: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | not_null: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | identity: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Operator` is never constructed [INFO] [stdout] --> src/compiler/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum SQLExpression { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | Operator(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/compiler/parser.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | TEXT { length: i32 }, [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | FLOAT { unsigned: bool }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | DOUBLE { unsigned: bool }, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | BYTE { unsigned: bool }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | SHORT { unsigned: bool }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | INT { unsigned: bool }, [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | LONG { unsigned: bool }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | BIGINT { unsigned: bool }, [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unsigned` is never read [INFO] [stdout] --> src/compiler/parser.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | UUID { unsigned: bool }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `columns`, `table`, and `conditions` are never read [INFO] [stdout] --> src/compiler/parser.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct SelectQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 42 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 43 | table: SQLExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | conditions: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table`, `columns`, and `values` are never read [INFO] [stdout] --> src/compiler/parser.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct InsertQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | table: SQLExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | values: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InsertQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created`, `name`, and `columns` are never read [INFO] [stdout] --> src/compiler/parser.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct CreateQuery { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 56 | created: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 57 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | columns: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Select(SelectQuery), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is 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] 63 | Select(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Insert(InsertQuery), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is 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] 64 | Insert(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parser.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | Create(CreateQuery), [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is 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] 65 | Create(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "fb88fb04eb3ed0076a52ae81f689fc4c311a8598ef3305bff87feadf3f9d2753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb88fb04eb3ed0076a52ae81f689fc4c311a8598ef3305bff87feadf3f9d2753", kill_on_drop: false }` [INFO] [stdout] fb88fb04eb3ed0076a52ae81f689fc4c311a8598ef3305bff87feadf3f9d2753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ac2c2528eb1eecd696b6975f99bd1800c34b08e8084f35261f6f4ff48a43ddb [INFO] running `Command { std: "docker" "start" "-a" "0ac2c2528eb1eecd696b6975f99bd1800c34b08e8084f35261f6f4ff48a43ddb", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:174:36 [INFO] [stderr] | [INFO] [stderr] 174 | ... if (column.to_string() == "PRIMARY") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 174 - if (column.to_string() == "PRIMARY") { [INFO] [stderr] 174 + if column.to_string() == "PRIMARY" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:176:43 [INFO] [stderr] | [INFO] [stderr] 176 | ... } else if (column.to_string() == "NOTNULL") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 176 - } else if (column.to_string() == "NOTNULL") { [INFO] [stderr] 176 + } else if column.to_string() == "NOTNULL" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:178:43 [INFO] [stderr] | [INFO] [stderr] 178 | ... } else if (column.to_string() == "IDENTITY") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 178 - } else if (column.to_string() == "IDENTITY") { [INFO] [stderr] 178 + } else if column.to_string() == "IDENTITY" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:180:43 [INFO] [stderr] | [INFO] [stderr] 180 | ... } else if (column.to_string() == ",") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 180 - } else if (column.to_string() == ",") { [INFO] [stderr] 180 + } else if column.to_string() == "," { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:189:43 [INFO] [stderr] | [INFO] [stderr] 189 | ... } else if (column.to_string() == ")") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 189 - } else if (column.to_string() == ")") { [INFO] [stderr] 189 + } else if column.to_string() == ")" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:202:40 [INFO] [stderr] | [INFO] [stderr] 202 | ... if (column.to_string() == "NOTNULL") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 202 - if (column.to_string() == "NOTNULL") { [INFO] [stderr] 202 + if column.to_string() == "NOTNULL" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:204:47 [INFO] [stderr] | [INFO] [stderr] 204 | ... } else if (column.to_string() == "IDENTITY") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 204 - } else if (column.to_string() == "IDENTITY") { [INFO] [stderr] 204 + } else if column.to_string() == "IDENTITY" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:206:47 [INFO] [stderr] | [INFO] [stderr] 206 | ... } else if (column.to_string() == ",") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 206 - } else if (column.to_string() == ",") { [INFO] [stderr] 206 + } else if column.to_string() == "," { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:215:47 [INFO] [stderr] | [INFO] [stderr] 215 | ... } else if (column.to_string() == ")") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 215 - } else if (column.to_string() == ")") { [INFO] [stderr] 215 + } else if column.to_string() == ")" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:228:44 [INFO] [stderr] | [INFO] [stderr] 228 | ... if (column.to_string() == "IDENTITY") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 228 - if (column.to_string() == "IDENTITY") { [INFO] [stderr] 228 + if column.to_string() == "IDENTITY" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:230:51 [INFO] [stderr] | [INFO] [stderr] 230 | ... } else if (column.to_string() == ",") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 230 - } else if (column.to_string() == ",") { [INFO] [stderr] 230 + } else if column.to_string() == "," { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:239:51 [INFO] [stderr] | [INFO] [stderr] 239 | ... } else if (column.to_string() == ")") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 239 - } else if (column.to_string() == ")") { [INFO] [stderr] 239 + } else if column.to_string() == ")" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:252:48 [INFO] [stderr] | [INFO] [stderr] 252 | ... if (column.to_string() == ",") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 252 - if (column.to_string() == ",") { [INFO] [stderr] 252 + if column.to_string() == "," { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/compiler/parser.rs:261:55 [INFO] [stderr] | [INFO] [stderr] 261 | ... } else if (column.to_string() == ")") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 261 - } else if (column.to_string() == ")") { [INFO] [stderr] 261 + } else if column.to_string() == ")" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/compiler/parser.rs:138:25 [INFO] [stderr] | [INFO] [stderr] 138 | let mut data_type_case; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `SelectQuery` is more private than the item `SQLQuery::Select::0` [INFO] [stderr] --> src/compiler/parser.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | Select(SelectQuery), [INFO] [stderr] | ^^^^^^^^^^^ field `SQLQuery::Select::0` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `SelectQuery` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/compiler/parser.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | struct SelectQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `InsertQuery` is more private than the item `SQLQuery::Insert::0` [INFO] [stderr] --> src/compiler/parser.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | Insert(InsertQuery), [INFO] [stderr] | ^^^^^^^^^^^ field `SQLQuery::Insert::0` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `InsertQuery` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/compiler/parser.rs:48:1 [INFO] [stderr] | [INFO] [stderr] 48 | struct InsertQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `CreateQuery` is more private than the item `SQLQuery::Create::0` [INFO] [stderr] --> src/compiler/parser.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | Create(CreateQuery), [INFO] [stderr] | ^^^^^^^^^^^ field `SQLQuery::Create::0` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `CreateQuery` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/compiler/parser.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | struct CreateQuery { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/compiler/parser.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | Identifier(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 6 | Identifier(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/compiler/parser.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | Literal(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 | Literal(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `operator`, `left`, and `right` are never read [INFO] [stderr] --> src/compiler/parser.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | BinaryExpression { [INFO] [stderr] | ---------------- fields in this variant [INFO] [stderr] 10 | operator: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | left: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] 12 | right: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `data_type`, `is_primary`, `not_null`, and `identity` are never read [INFO] [stderr] --> src/compiler/parser.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | CreateColumn { [INFO] [stderr] | ------------ fields in this variant [INFO] [stderr] 15 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 16 | data_type: DataType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 17 | is_primary: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | not_null: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | identity: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Operator` is never constructed [INFO] [stderr] --> src/compiler/parser.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 5 | enum SQLExpression { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 8 | Operator(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SQLExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `length` is never read [INFO] [stderr] --> src/compiler/parser.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | TEXT { length: i32 }, [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | FLOAT { unsigned: bool }, [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | DOUBLE { unsigned: bool }, [INFO] [stderr] | ------ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | BYTE { unsigned: bool }, [INFO] [stderr] | ---- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | SHORT { unsigned: bool }, [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | INT { unsigned: bool }, [INFO] [stderr] | --- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | LONG { unsigned: bool }, [INFO] [stderr] | ---- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | BIGINT { unsigned: bool }, [INFO] [stderr] | ------ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unsigned` is never read [INFO] [stderr] --> src/compiler/parser.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | UUID { unsigned: bool }, [INFO] [stderr] | ---- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `DataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `columns`, `table`, and `conditions` are never read [INFO] [stderr] --> src/compiler/parser.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 41 | struct SelectQuery { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 42 | columns: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 43 | table: SQLExpression, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 44 | conditions: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SelectQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `table`, `columns`, and `values` are never read [INFO] [stderr] --> src/compiler/parser.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 48 | struct InsertQuery { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 49 | table: SQLExpression, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 50 | columns: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 51 | values: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InsertQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `created`, `name`, and `columns` are never read [INFO] [stderr] --> src/compiler/parser.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 55 | struct CreateQuery { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 56 | created: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 57 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 58 | columns: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/compiler/parser.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | Select(SelectQuery), [INFO] [stderr] | ------ ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 63 | Select(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/compiler/parser.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | Insert(InsertQuery), [INFO] [stderr] | ------ ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 64 | Insert(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/compiler/parser.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | Create(CreateQuery), [INFO] [stderr] | ------ ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SQLQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 65 | Create(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `OmnissiahDB` (bin "OmnissiahDB" test) generated 38 warnings (run `cargo fix --bin "OmnissiahDB" --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/OmnissiahDB-d64c17602e81c283) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0ac2c2528eb1eecd696b6975f99bd1800c34b08e8084f35261f6f4ff48a43ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac2c2528eb1eecd696b6975f99bd1800c34b08e8084f35261f6f4ff48a43ddb", kill_on_drop: false }` [INFO] [stdout] 0ac2c2528eb1eecd696b6975f99bd1800c34b08e8084f35261f6f4ff48a43ddb