[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#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahiljoshi24%2FRustQL" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sahiljoshi24/RustQL on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking sahiljoshi24/RustQL against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsahiljoshi24%2FRustQL" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sahiljoshi24/RustQL on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f76e02bba568b0f6f328fdb42dd6a3aaec8a19becfa02e509dd6f1c65f128cf
[INFO] running `Command { std: "docker" "start" "-a" "9f76e02bba568b0f6f328fdb42dd6a3aaec8a19becfa02e509dd6f1c65f128cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f76e02bba568b0f6f328fdb42dd6a3aaec8a19becfa02e509dd6f1c65f128cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f76e02bba568b0f6f328fdb42dd6a3aaec8a19becfa02e509dd6f1c65f128cf", kill_on_drop: false }`
[INFO] [stdout] 9f76e02bba568b0f6f328fdb42dd6a3aaec8a19becfa02e509dd6f1c65f128cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 769ec37cbcfa8af7dbb30e4b36bab9dbaab166f60719501cea9c9bacf0a86580
[INFO] running `Command { std: "docker" "start" "-a" "769ec37cbcfa8af7dbb30e4b36bab9dbaab166f60719501cea9c9bacf0a86580", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[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]   |                                                                                                      ^^^^^^^^^^^^^ no `SetAssignment` in `ast`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 2 - use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, SetAssignment};
[INFO] [stdout] 2 + use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, Assignment};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[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[E0425]: 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]: cannot find type `Value` in this scope
[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]: cannot find type `Value` in this scope
[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, E0425, 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] [stderr] warning: build failed, waiting for other jobs to finish...
[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]   |                                                                                                      ^^^^^^^^^^^^^ no `SetAssignment` in `ast`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 2 - use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, SetAssignment};
[INFO] [stdout] 2 + use sqlparser::ast::{Expr, Query, SelectItem, SetExpr, Statement, TableFactor, Value, Values, Ident, Assignment};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[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[E0425]: 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]: cannot find type `Value` in this scope
[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]: cannot find type `Value` in this scope
[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, E0425, 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] running `Command { std: "docker" "inspect" "769ec37cbcfa8af7dbb30e4b36bab9dbaab166f60719501cea9c9bacf0a86580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "769ec37cbcfa8af7dbb30e4b36bab9dbaab166f60719501cea9c9bacf0a86580", kill_on_drop: false }`
[INFO] [stdout] 769ec37cbcfa8af7dbb30e4b36bab9dbaab166f60719501cea9c9bacf0a86580
