[INFO] cloning repository https://github.com/yamen225/ya_sql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yamen225/ya_sql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamen225%2Fya_sql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamen225%2Fya_sql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1b1a365aa8ed9f714bbdfe7c27190ccc3bd8790 [INFO] checking yamen225/ya_sql against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamen225%2Fya_sql" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamen225/ya_sql on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yamen225/ya_sql [INFO] finished tweaking git repo https://github.com/yamen225/ya_sql [INFO] tweaked toml for git repo https://github.com/yamen225/ya_sql written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yamen225/ya_sql 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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c484eefccd7cfbbf064a1ff529fd9a391ad713bf6a7d47279a6f54a397e0cc [INFO] running `Command { std: "docker" "start" "-a" "89c484eefccd7cfbbf064a1ff529fd9a391ad713bf6a7d47279a6f54a397e0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c484eefccd7cfbbf064a1ff529fd9a391ad713bf6a7d47279a6f54a397e0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c484eefccd7cfbbf064a1ff529fd9a391ad713bf6a7d47279a6f54a397e0cc", kill_on_drop: false }` [INFO] [stdout] 89c484eefccd7cfbbf064a1ff529fd9a391ad713bf6a7d47279a6f54a397e0cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd0fe0a9b6db03b8edfa3181f492be0a85229cea97c32d97cf1310901af32e7a [INFO] running `Command { std: "docker" "start" "-a" "bd0fe0a9b6db03b8edfa3181f492be0a85229cea97c32d97cf1310901af32e7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ya_sql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use db::{executor::ExecutionEngine, parser::Parser, query::QueryPlanner, schema::Row, storage_engine::{self, FileSystem}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/db/storage_engine.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::{File, OpenOptions}, io::Write, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/executor.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{query::QueryPlan, schema::Row, storage_engine::{self, StorageEngine}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Err` [INFO] [stdout] --> src/db/parser.rs:1:101 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{bytes::complete::tag, character::complete::{alphanumeric1, multispace0}, combinator::map, Err, IResult}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use db::{executor::ExecutionEngine, parser::Parser, query::QueryPlanner, schema::Row, storage_engine::{self, FileSystem}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/db/storage_engine.rs:1:82 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fs::{File, OpenOptions}, io::Write, path::{Path, PathBuf}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/db/executor.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{query::QueryPlan, schema::Row, storage_engine::{self, StorageEngine}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Err` [INFO] [stdout] --> src/db/parser.rs:1:101 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::{bytes::complete::tag, character::complete::{alphanumeric1, multispace0}, combinator::map, Err, IResult}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/db/storage_engine.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let file = File::open(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/executor.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | TableNotFound(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] = 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] 36 - TableNotFound(String), [INFO] [stdout] 36 + TableNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/db/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Literal(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Operator(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | LeftParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | RightParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Identifier` is never constructed [INFO] [stdout] --> src/db/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ASTNode{ [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Identifier(String) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens` and `current` are never read [INFO] [stdout] --> src/db/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Parser{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 29 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | current: usize [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse_v2`, `parse_select_statement`, and `next_token` are never used [INFO] [stdout] --> src/db/parser.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Parser{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn parse_v2(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn parse_select_statement(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn next_token(&mut self) -> Token{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/db/storage_engine.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let file = File::open(file_path)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/db/executor.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | TableNotFound(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] = 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] 36 - TableNotFound(String), [INFO] [stdout] 36 + TableNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/db/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Literal(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Operator(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | LeftParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | RightParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Identifier` is never constructed [INFO] [stdout] --> src/db/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ASTNode{ [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Identifier(String) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens` and `current` are never read [INFO] [stdout] --> src/db/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Parser{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 29 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | current: usize [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse_v2`, `parse_select_statement`, and `next_token` are never used [INFO] [stdout] --> src/db/parser.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Parser{ [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn parse_v2(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn parse_select_statement(&mut self) -> ASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn next_token(&mut self) -> Token{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.08s [INFO] running `Command { std: "docker" "inspect" "bd0fe0a9b6db03b8edfa3181f492be0a85229cea97c32d97cf1310901af32e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0fe0a9b6db03b8edfa3181f492be0a85229cea97c32d97cf1310901af32e7a", kill_on_drop: false }` [INFO] [stdout] bd0fe0a9b6db03b8edfa3181f492be0a85229cea97c32d97cf1310901af32e7a