[INFO] cloning repository https://github.com/AmosAidoo/kleindb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmosAidoo/kleindb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmosAidoo%2Fkleindb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmosAidoo%2Fkleindb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b5ad58be0f395fde9004bdc8ce0d4fc96a0981f6
[INFO] checking AmosAidoo/kleindb against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmosAidoo%2Fkleindb" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AmosAidoo/kleindb
[INFO] finished tweaking git repo https://github.com/AmosAidoo/kleindb
[INFO] tweaked toml for git repo https://github.com/AmosAidoo/kleindb written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AmosAidoo/kleindb on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AmosAidoo/kleindb 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 456e21f0a0f3639e6ab44428d3c380f013aac1a46bd56de585485a609e4952b3
[INFO] running `Command { std: "docker" "start" "-a" "456e21f0a0f3639e6ab44428d3c380f013aac1a46bd56de585485a609e4952b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "456e21f0a0f3639e6ab44428d3c380f013aac1a46bd56de585485a609e4952b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "456e21f0a0f3639e6ab44428d3c380f013aac1a46bd56de585485a609e4952b3", kill_on_drop: false }`
[INFO] [stdout] 456e21f0a0f3639e6ab44428d3c380f013aac1a46bd56de585485a609e4952b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80b36f46bfbff944b815bb6082a36c71a258ba9f0cd403626c11ee78b66bcc24
[INFO] running `Command { std: "docker" "start" "-a" "80b36f46bfbff944b815bb6082a36c71a258ba9f0cd403626c11ee78b66bcc24", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling chumsky v0.10.1
[INFO] [stderr]     Checking unicode-ident v1.0.18
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]     Checking kleindb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `SQLite3Stmt`, `SQLite3`, and `VdbeOp`
[INFO] [stdout]  --> src/compiler/codegen.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |   Opcode, Parse, SQLite3, SQLite3Stmt, SelectDest, SelectResultType, TokenType, VdbeOp,
[INFO] [stdout]   |                  ^^^^^^^  ^^^^^^^^^^^                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CURRENT_DATE` should have an upper camel case name
[INFO] [stdout]    --> src/lib.rs:105:3
[INFO] [stdout]     |
[INFO] [stdout] 105 |   CURRENT_DATE,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CurrentDate`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CURRENT_TIME` should have an upper camel case name
[INFO] [stdout]    --> src/lib.rs:106:3
[INFO] [stdout]     |
[INFO] [stdout] 106 |   CURRENT_TIME,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CurrentTime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CURRENT_TIMESTAMP` should have an upper camel case name
[INFO] [stdout]    --> src/lib.rs:107:3
[INFO] [stdout]     |
[INFO] [stdout] 107 |   CURRENT_TIMESTAMP,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CurrentTimestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/compiler/parser.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |   let expr = recursive(|expr| choice((null, float, blob, string, integer)));
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SQLite3Stmt`, `SQLite3`, and `VdbeOp`
[INFO] [stdout]  --> src/compiler/codegen.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |   Opcode, Parse, SQLite3, SQLite3Stmt, SelectDest, SelectResultType, TokenType, VdbeOp,
[INFO] [stdout]   |                  ^^^^^^^  ^^^^^^^^^^^                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CURRENT_DATE` should have an upper camel case name
[INFO] [stdout]    --> src/lib.rs:105:3
[INFO] [stdout]     |
[INFO] [stdout] 105 |   CURRENT_DATE,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CurrentDate`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CURRENT_TIME` should have an upper camel case name
[INFO] [stdout]    --> src/lib.rs:106:3
[INFO] [stdout]     |
[INFO] [stdout] 106 |   CURRENT_TIME,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CurrentTime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CURRENT_TIMESTAMP` should have an upper camel case name
[INFO] [stdout]    --> src/lib.rs:107:3
[INFO] [stdout]     |
[INFO] [stdout] 107 |   CURRENT_TIMESTAMP,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CurrentTimestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/compiler/parser.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |   let expr = recursive(|expr| choice((null, float, blob, string, integer)));
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vdbe`
[INFO] [stdout]   --> src/compiler/codegen.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |   let vdbe = &mut p_parse.vdbe;
[INFO] [stdout]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_vdbe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compiler/codegen.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 |   let mut n = p_list.items.len();
[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: `reg_origin`
[INFO] [stdout]   --> src/compiler/codegen.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |   let reg_origin = dest.i_sdst;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compiler/codegen.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut ecel_flags: u8 = if matches!(
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vdbe`
[INFO] [stdout]   --> src/compiler/codegen.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |   let vdbe = &mut p_parse.vdbe;
[INFO] [stdout]    |       ^^^^ help: if this is intentional, prefix it with an underscore: `_vdbe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compiler/codegen.rs:38:7
[INFO] [stdout]    |
[INFO] [stdout] 38 |   let mut n = p_list.items.len();
[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: `reg_origin`
[INFO] [stdout]   --> src/compiler/codegen.rs:91:7
[INFO] [stdout]    |
[INFO] [stdout] 91 |   let reg_origin = dest.i_sdst;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_origin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/compiler/codegen.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut ecel_flags: u8 = if matches!(
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `status` is never read
[INFO] [stdout]    --> src/lib.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let mut status = StepStatus::Ok;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]    --> src/lib.rs:237:3
[INFO] [stdout]     |
[INFO] [stdout] 235 | pub struct Parse<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 236 |   /// The main database structure
[INFO] [stdout] 237 |   db: &'a SQLite3,
[INFO] [stdout]     |   ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQLITE_ECEL_FACTOR` is never used
[INFO] [stdout]   --> src/compiler/codegen.rs:63:7
[INFO] [stdout]    |
[INFO] [stdout] 63 | const SQLITE_ECEL_FACTOR: u8 = 0x02; /* Factor out constant terms */
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQLITE_ECEL_REF` is never used
[INFO] [stdout]   --> src/compiler/codegen.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 | const SQLITE_ECEL_REF: u8 = 0x04; /* Use ExprList.u.x.iOrderByCol */
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQLITE_ECEL_OMITREF` is never used
[INFO] [stdout]   --> src/compiler/codegen.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | const SQLITE_ECEL_OMITREF: u8 = 0x08; /* Omit if ExprList.u.x.iOrderByCol */
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `status` is never read
[INFO] [stdout]    --> src/lib.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |     let mut status = StepStatus::Ok;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]    --> src/lib.rs:237:3
[INFO] [stdout]     |
[INFO] [stdout] 235 | pub struct Parse<'a> {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 236 |   /// The main database structure
[INFO] [stdout] 237 |   db: &'a SQLite3,
[INFO] [stdout]     |   ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQLITE_ECEL_FACTOR` is never used
[INFO] [stdout]   --> src/compiler/codegen.rs:63:7
[INFO] [stdout]    |
[INFO] [stdout] 63 | const SQLITE_ECEL_FACTOR: u8 = 0x02; /* Factor out constant terms */
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQLITE_ECEL_REF` is never used
[INFO] [stdout]   --> src/compiler/codegen.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 | const SQLITE_ECEL_REF: u8 = 0x04; /* Use ExprList.u.x.iOrderByCol */
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQLITE_ECEL_OMITREF` is never used
[INFO] [stdout]   --> src/compiler/codegen.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | const SQLITE_ECEL_OMITREF: u8 = 0x08; /* Omit if ExprList.u.x.iOrderByCol */
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `z_line` is never read
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut z_line: Option<String> = None;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let mut err_cnt = 0;
[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: `startline`
[INFO] [stdout]    --> src/main.rs:191:47
[INFO] [stdout]     |
[INFO] [stdout] 191 |   fn run_one_sql_line(&mut self, z_sql: &str, startline: usize) {
[INFO] [stdout]     |                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_startline`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Normal`, `AppendVFS`, `Zipfile`, `ReadOnly`, `Deserialize`, and `HexDB` are never constructed
[INFO] [stdout]   --> src/main.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ShellOpenModes {
[INFO] [stdout]    |      -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |   Normal,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 19 |   /// Use appendvfs
[INFO] [stdout] 20 |   AppendVFS,
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 21 |   /// Use the zipfile virtual table
[INFO] [stdout] 22 |   Zipfile,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 23 |   /// Open a normal database read-only
[INFO] [stdout] 24 |   ReadOnly,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 25 |   /// Open using sqlite3_deserialize()
[INFO] [stdout] 26 |   Deserialize,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 27 |   /// Use "dbtotxt" output as data source
[INFO] [stdout] 28 |   HexDB,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `open_mode` is never read
[INFO] [stdout]   --> src/main.rs:44:3
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct ShellState<'a> {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |   open_mode: ShellOpenModes,
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `open_db` is never used
[INFO] [stdout]    --> src/main.rs:166:6
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl ShellState<'_> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |   fn open_db(&self) {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `z_line` is never read
[INFO] [stdout]    --> src/main.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut z_line: Option<String> = None;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let mut err_cnt = 0;
[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: `startline`
[INFO] [stdout]    --> src/main.rs:191:47
[INFO] [stdout]     |
[INFO] [stdout] 191 |   fn run_one_sql_line(&mut self, z_sql: &str, startline: usize) {
[INFO] [stdout]     |                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_startline`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Normal`, `AppendVFS`, `Zipfile`, `ReadOnly`, `Deserialize`, and `HexDB` are never constructed
[INFO] [stdout]   --> src/main.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ShellOpenModes {
[INFO] [stdout]    |      -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |   Normal,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 19 |   /// Use appendvfs
[INFO] [stdout] 20 |   AppendVFS,
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 21 |   /// Use the zipfile virtual table
[INFO] [stdout] 22 |   Zipfile,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 23 |   /// Open a normal database read-only
[INFO] [stdout] 24 |   ReadOnly,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 25 |   /// Open using sqlite3_deserialize()
[INFO] [stdout] 26 |   Deserialize,
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 27 |   /// Use "dbtotxt" output as data source
[INFO] [stdout] 28 |   HexDB,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `open_mode` is never read
[INFO] [stdout]   --> src/main.rs:44:3
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct ShellState<'a> {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |   open_mode: ShellOpenModes,
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `open_db` is never used
[INFO] [stdout]    --> src/main.rs:166:6
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl ShellState<'_> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 166 |   fn open_db(&self) {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.32s
[INFO] running `Command { std: "docker" "inspect" "80b36f46bfbff944b815bb6082a36c71a258ba9f0cd403626c11ee78b66bcc24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80b36f46bfbff944b815bb6082a36c71a258ba9f0cd403626c11ee78b66bcc24", kill_on_drop: false }`
[INFO] [stdout] 80b36f46bfbff944b815bb6082a36c71a258ba9f0cd403626c11ee78b66bcc24
