[INFO] cloning repository https://github.com/sahiljoshi24/RustQL
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sahiljoshi24/RustQL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahiljoshi24%2FRustQL", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahiljoshi24%2FRustQL'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f434cf77094e196d5479db2602907baf15477e84
[INFO] checking sahiljoshi24/RustQL against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahiljoshi24%2FRustQL" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sahiljoshi24/RustQL
[INFO] finished tweaking git repo https://github.com/sahiljoshi24/RustQL
[INFO] tweaked toml for git repo https://github.com/sahiljoshi24/RustQL written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sahiljoshi24/RustQL on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sahiljoshi24/RustQL 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlparser v0.37.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4a6b23458e86cad7f86e849b50cda3e464c57f4e1e441964508e7330dd97811
[INFO] running `Command { std: "docker" "start" "-a" "f4a6b23458e86cad7f86e849b50cda3e464c57f4e1e441964508e7330dd97811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4a6b23458e86cad7f86e849b50cda3e464c57f4e1e441964508e7330dd97811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4a6b23458e86cad7f86e849b50cda3e464c57f4e1e441964508e7330dd97811", kill_on_drop: false }`
[INFO] [stdout] f4a6b23458e86cad7f86e849b50cda3e464c57f4e1e441964508e7330dd97811
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd660546d879aa133c9a2a5b6f1d519cb745818c2e42f5cb7c8d56059ce3505a
[INFO] running `Command { std: "docker" "start" "-a" "cd660546d879aa133c9a2a5b6f1d519cb745818c2e42f5cb7c8d56059ce3505a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking sqlparser v0.37.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking RustQL v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `sqlparser::ast::SetAssignment`
[INFO] [stdout]  --> src/query.rs:2:102
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, SetAssignment};
[INFO] [stdout]   |                                                                                                      ^^^^^^^^^^^^^
[INFO] [stdout]   |                                                                                                      |
[INFO] [stdout]   |                                                                                                      no `SetAssignment` in `ast`
[INFO] [stdout]   |                                                                                                      help: a similar name exists in the module: `Assignment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]   --> src/db.rs:75:36
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 if let Expr::Value(Value::Number(num, _)) = **right {
[INFO] [stdout]    |                                    ^^^^^ use of undeclared type `Value`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_json::Value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlparser::ast::Value;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SetAssignment` in this scope
[INFO] [stdout]   --> src/db.rs:97:26
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assignments: Vec<SetAssignment>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<SetAssignment> Database {
[INFO] [stdout]    |     +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]    --> src/db.rs:108:40
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     if let Expr::Value(Value::SingleQuotedString(new_value)) = &assign.value {
[INFO] [stdout]     |                                        ^^^^^ use of undeclared type `Value`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_json::Value;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlparser::ast::Value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]    --> src/db.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |             if let Expr::Value(Value::Number(num, _)) = **right {
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Value`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_json::Value;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlparser::ast::Value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ident`
[INFO] [stdout]  --> src/query.rs:2:95
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, SetAssignment};
[INFO] [stdout]   |                                                                                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sqlparser::ast::SetAssignment`
[INFO] [stdout]  --> src/query.rs:2:102
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, SetAssignment};
[INFO] [stdout]   |                                                                                                      ^^^^^^^^^^^^^
[INFO] [stdout]   |                                                                                                      |
[INFO] [stdout]   |                                                                                                      no `SetAssignment` in `ast`
[INFO] [stdout]   |                                                                                                      help: a similar name exists in the module: `Assignment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]   --> src/db.rs:75:36
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 if let Expr::Value(Value::Number(num, _)) = **right {
[INFO] [stdout]    |                                    ^^^^^ use of undeclared type `Value`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde_json::Value;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlparser::ast::Value;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SetAssignment` in this scope
[INFO] [stdout]   --> src/db.rs:97:26
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assignments: Vec<SetAssignment>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<SetAssignment> Database {
[INFO] [stdout]    |     +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]    --> src/db.rs:108:40
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     if let Expr::Value(Value::SingleQuotedString(new_value)) = &assign.value {
[INFO] [stdout]     |                                        ^^^^^ use of undeclared type `Value`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_json::Value;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlparser::ast::Value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]    --> src/db.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |             if let Expr::Value(Value::Number(num, _)) = **right {
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Value`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use serde_json::Value;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlparser::ast::Value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ident`
[INFO] [stdout]  --> src/query.rs:2:95
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, SetAssignment};
[INFO] [stdout]   |                                                                                               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `sqlparser::ast::Statement::Update` does not have a field named `table_name`
[INFO] [stdout]   --> src/query.rs:68:33
[INFO] [stdout]    |
[INFO] [stdout] 68 |             Statement::Update { table_name, assignments, selection, .. } => {
[INFO] [stdout]    |                                 ^^^^^^^^^^ variant `sqlparser::ast::Statement::Update` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `sqlparser::ast::Statement::Delete` does not have a field named `table_name`
[INFO] [stdout]   --> src/query.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Statement::Delete { table_name, selection, .. } => {
[INFO] [stdout]    |                                 ^^^^^^^^^^ variant `sqlparser::ast::Statement::Delete` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/db.rs:122:27
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let table = self.tables.get_mut(table_name).ok_or("Table not found")?;
[INFO] [stdout]     |                     ----------- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 122 |         table.rows.retain(|row| !self.matches_condition(row, &condition));
[INFO] [stdout]     |                           ^^^^^  ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           immutable borrow occurs here
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |         let deleted_count = initial_len - table.rows.len();
[INFO] [stdout]     |                                           ---------- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0026, E0412, E0432, E0433, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0026`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustQL` (bin "RustQL" test) due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0026]: variant `sqlparser::ast::Statement::Update` does not have a field named `table_name`
[INFO] [stdout]   --> src/query.rs:68:33
[INFO] [stdout]    |
[INFO] [stdout] 68 |             Statement::Update { table_name, assignments, selection, .. } => {
[INFO] [stdout]    |                                 ^^^^^^^^^^ variant `sqlparser::ast::Statement::Update` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `sqlparser::ast::Statement::Delete` does not have a field named `table_name`
[INFO] [stdout]   --> src/query.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Statement::Delete { table_name, selection, .. } => {
[INFO] [stdout]    |                                 ^^^^^^^^^^ variant `sqlparser::ast::Statement::Delete` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/db.rs:122:27
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let table = self.tables.get_mut(table_name).ok_or("Table not found")?;
[INFO] [stdout]     |                     ----------- mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 122 |         table.rows.retain(|row| !self.matches_condition(row, &condition));
[INFO] [stdout]     |                           ^^^^^  ---- second borrow occurs due to use of `*self` in closure
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           immutable borrow occurs here
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |         let deleted_count = initial_len - table.rows.len();
[INFO] [stdout]     |                                           ---------- mutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0026, E0412, E0432, E0433, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0026`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustQL` (bin "RustQL") due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "cd660546d879aa133c9a2a5b6f1d519cb745818c2e42f5cb7c8d56059ce3505a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd660546d879aa133c9a2a5b6f1d519cb745818c2e42f5cb7c8d56059ce3505a", kill_on_drop: false }`
[INFO] [stdout] cd660546d879aa133c9a2a5b6f1d519cb745818c2e42f5cb7c8d56059ce3505a
