[INFO] cloning repository https://github.com/utshomh/rusql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/utshomh/rusql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futshomh%2Frusql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futshomh%2Frusql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6456981294606df4f89382f488b1b69ce955be80 [INFO] checking utshomh/rusql against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futshomh%2Frusql" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/utshomh/rusql [INFO] finished tweaking git repo https://github.com/utshomh/rusql [INFO] tweaked toml for git repo https://github.com/utshomh/rusql written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/utshomh/rusql on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/utshomh/rusql 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9 [INFO] running `Command { std: "docker" "start" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rusql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LiteralExpression` [INFO] [stdout] --> src/backend.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | CreateTableStatement, Expression, InsertStatement, LiteralExpression, SelectStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LiteralExpression` [INFO] [stdout] --> src/backend.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | CreateTableStatement, Expression, InsertStatement, LiteralExpression, SelectStatement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/backend.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | fn select(&mut self, stmt: SelectStatement) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/backend.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | fn expression(table: &mut Table, expr: Expression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `items` and `from` are never read [INFO] [stdout] --> src/ast.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SelectStatement { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 38 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | pub from: Token, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `datatype` are never read [INFO] [stdout] --> src/backend.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Column { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub datatype: Datatype, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Column` 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` and `rows` are never read [INFO] [stdout] --> src/backend.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct QueryResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 54 | pub columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub rows: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResult` 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 `Rows` is never constructed [INFO] [stdout] --> src/backend.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ExecutionResult { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 60 | Ok, [INFO] [stdout] 61 | Rows(QueryResult), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` 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 `message` and `tokens` are never read [INFO] [stdout] --> src/backend.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ExecutionError { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 66 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` 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/error.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Lex(LexError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Lex(LexError), [INFO] [stdout] 5 + Lex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Parse(ParseError), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - Parse(ParseError), [INFO] [stdout] 6 + Parse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Execution(ExecutionError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 - Execution(ExecutionError), [INFO] [stdout] 7 + Execution(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `message`, and `loc` are never read [INFO] [stdout] --> src/lexer.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct LexError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 100 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 101 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | pub loc: Location, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexError` 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 `message` and `tokens` are never read [INFO] [stdout] --> src/parser.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 11 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_token` is never used [INFO] [stdout] --> src/parser.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn next_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/backend.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | fn select(&mut self, stmt: SelectStatement) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/backend.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | fn expression(table: &mut Table, expr: Expression) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `datatype` are never read [INFO] [stdout] --> src/backend.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Column { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub datatype: Datatype, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Column` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `columns` and `rows` are never read [INFO] [stdout] --> src/backend.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct QueryResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 54 | pub columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | pub rows: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResult` 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 `Rows` is never constructed [INFO] [stdout] --> src/backend.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum ExecutionResult { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 60 | Ok, [INFO] [stdout] 61 | Rows(QueryResult), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` 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 `message` and `tokens` are never read [INFO] [stdout] --> src/backend.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ExecutionError { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 66 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | pub tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` 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/error.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Lex(LexError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 5 - Lex(LexError), [INFO] [stdout] 5 + Lex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | Parse(ParseError), [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] 6 - Parse(ParseError), [INFO] [stdout] 6 + Parse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Execution(ExecutionError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 - Execution(ExecutionError), [INFO] [stdout] 7 + Execution(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_token` is never used [INFO] [stdout] --> src/parser.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn next_token(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9", kill_on_drop: false }` [INFO] [stdout] f6cf14290ce014c376cfc49cdaa5bed8f1cbfca018f417b751d2d9720045d7a9