[INFO] cloning repository https://github.com/wwwbjqcom/my-sqlparse-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wwwbjqcom/my-sqlparse-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmy-sqlparse-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmy-sqlparse-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fbd3679d5f13bb48c06ce9a8aeeccff069a9a7c [INFO] checking wwwbjqcom/my-sqlparse-rs against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmy-sqlparse-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/wwwbjqcom/my-sqlparse-rs [INFO] finished tweaking git repo https://github.com/wwwbjqcom/my-sqlparse-rs [INFO] tweaked toml for git repo https://github.com/wwwbjqcom/my-sqlparse-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wwwbjqcom/my-sqlparse-rs on toolchain 4e55a504843955c97eb06907c71f6f3e99208021 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wwwbjqcom/my-sqlparse-rs 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" "+4e55a504843955c97eb06907c71f6f3e99208021" "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 simple_logger v1.6.0 [INFO] [stderr] Downloaded bigdecimal v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5c85c055e721ff25597a28c7528a102b931fd6c69c005494164b2dff512b3d9 [INFO] running `Command { std: "docker" "start" "-a" "d5c85c055e721ff25597a28c7528a102b931fd6c69c005494164b2dff512b3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5c85c055e721ff25597a28c7528a102b931fd6c69c005494164b2dff512b3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c85c055e721ff25597a28c7528a102b931fd6c69c005494164b2dff512b3d9", kill_on_drop: false }` [INFO] [stdout] d5c85c055e721ff25597a28c7528a102b931fd6c69c005494164b2dff512b3d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95f64c7cf65715789c03cf63fc01d203cc924c4fcd5f332f7f0484ce1166db8f [INFO] running `Command { std: "docker" "start" "-a" "95f64c7cf65715789c03cf63fc01d203cc924c4fcd5f332f7f0484ce1166db8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking sqlparser v0.5.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Auto_Increment` should have an upper camel case name [INFO] [stdout] --> src/ast/ddl.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | Auto_Increment(usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AutoIncrement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOW_PRIORITY` should have an upper camel case name [INFO] [stdout] --> src/ast/mod.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | LOW_PRIORITY, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LowPriority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HIGH_PRIORITY` should have an upper camel case name [INFO] [stdout] --> src/ast/mod.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | HIGH_PRIORITY [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HighPriority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialect::keywords::ALL_KEYWORDS` [INFO] [stdout] --> src/dialect/keywords.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | use crate::dialect::keywords::ALL_KEYWORDS; [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: `crate::ast::Expr::Exists` [INFO] [stdout] --> src/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::ast::Expr::Exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/tokenizer.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 523 | / loop{ [INFO] [stdout] 524 | | chars.next(); // consume the first char [INFO] [stdout] 525 | | match chars.peek() { [INFO] [stdout] 526 | | Some(&ch) => match ch { [INFO] [stdout] ... | [INFO] [stdout] 553 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 554 | [INFO] [stdout] 555 | return Ok(s) [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/ast/mod.rs:967:33 [INFO] [stdout] | [INFO] [stdout] 967 | Statement::ReLoad { variable, selection } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:2897:20 [INFO] [stdout] | [INFO] [stdout] 2897 | if let Err(e) = self.expect_keyword(Keyword::INTO){} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stdout] error[E0063]: missing fields `global` and `selection` in initializer of `sqlparser::ast::Statement` [INFO] [stdout] --> tests/sqlparser_postgres.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | Statement::ShowVariable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `global` and `selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `global` and `selection` in initializer of `sqlparser::ast::Statement` [INFO] [stdout] --> tests/sqlparser_postgres.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | Statement::ShowVariable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `global` and `selection` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlparser` (test "sqlparser_postgres") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `Auto_Increment` should have an upper camel case name [INFO] [stdout] --> src/ast/ddl.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | Auto_Increment(usize) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AutoIncrement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOW_PRIORITY` should have an upper camel case name [INFO] [stdout] --> src/ast/mod.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | LOW_PRIORITY, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LowPriority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HIGH_PRIORITY` should have an upper camel case name [INFO] [stdout] --> src/ast/mod.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | HIGH_PRIORITY [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HighPriority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Expr::Exists` [INFO] [stdout] --> src/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::ast::Expr::Exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/sqlparser_common.rs:1384:24 [INFO] [stdout] | [INFO] [stdout] 1381 | match verified_stmt(add_column) { [INFO] [stdout] | ------------------------- this expression has type `sqlparser::ast::Statement` [INFO] [stdout] ... [INFO] [stdout] 1384 | operation: AlterTableOperation::AddColumn { column_def }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `AlterTableOperation` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/sqlparser_common.rs:1397:24 [INFO] [stdout] | [INFO] [stdout] 1394 | match verified_stmt(rename_table) { [INFO] [stdout] | --------------------------- this expression has type `sqlparser::ast::Statement` [INFO] [stdout] ... [INFO] [stdout] 1397 | operation: AlterTableOperation::RenameTable { table_name }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `AlterTableOperation` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/sqlparser_common.rs:1410:17 [INFO] [stdout] | [INFO] [stdout] 1406 | match verified_stmt(rename_column) { [INFO] [stdout] | ---------------------------- this expression has type `sqlparser::ast::Statement` [INFO] [stdout] ... [INFO] [stdout] 1410 | / AlterTableOperation::RenameColumn { [INFO] [stdout] 1411 | | old_column_name, [INFO] [stdout] 1412 | | new_column_name, [INFO] [stdout] 1413 | | }, [INFO] [stdout] | |_________________^ expected `Vec`, found `AlterTableOperation` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/sqlparser_common.rs:1442:28 [INFO] [stdout] | [INFO] [stdout] 1439 | match verified_stmt(&format!("ALTER TABLE tab ADD {}", constraint_text)) { [INFO] [stdout] | ------------------------------------------------------------------ this expression has type `sqlparser::ast::Statement` [INFO] [stdout] ... [INFO] [stdout] 1442 | operation: AlterTableOperation::AddConstraint(constraint), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `AlterTableOperation` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/sqlparser_common.rs:1470:21 [INFO] [stdout] | [INFO] [stdout] 1466 | match verified_stmt(&format!("ALTER TABLE tab {}", constraint_text)) { [INFO] [stdout] | -------------------------------------------------------------- this expression has type `sqlparser::ast::Statement` [INFO] [stdout] ... [INFO] [stdout] 1470 | / AlterTableOperation::DropColumn { [INFO] [stdout] 1471 | | column_name, [INFO] [stdout] 1472 | | if_exists, [INFO] [stdout] 1473 | | cascade, [INFO] [stdout] 1474 | | }, [INFO] [stdout] | |_____________________^ expected `Vec`, found `AlterTableOperation` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `force` [INFO] [stdout] --> tests/sqlparser_common.rs:1768:9 [INFO] [stdout] | [INFO] [stdout] 1768 | / TableFactor::Table { [INFO] [stdout] 1769 | | name, [INFO] [stdout] 1770 | | alias, [INFO] [stdout] 1771 | | args, [INFO] [stdout] 1772 | | with_hints, [INFO] [stdout] 1773 | | } => { [INFO] [stdout] | |_________^ missing field `force` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 1772 - with_hints, [INFO] [stdout] 1773 - } => { [INFO] [stdout] 1772 + with_hints, force } => { [INFO] [stdout] | [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 1772 - with_hints, [INFO] [stdout] 1773 - } => { [INFO] [stdout] 1772 + with_hints, force: _ } => { [INFO] [stdout] | [INFO] [stdout] help: or always ignore missing fields here [INFO] [stdout] | [INFO] [stdout] 1772 - with_hints, [INFO] [stdout] 1773 - } => { [INFO] [stdout] 1772 + with_hints, .. } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1902:27 [INFO] [stdout] | [INFO] [stdout] 1902 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1911:27 [INFO] [stdout] | [INFO] [stdout] 1911 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1928:27 [INFO] [stdout] | [INFO] [stdout] 1928 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1935:31 [INFO] [stdout] | [INFO] [stdout] 1935 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1945:27 [INFO] [stdout] | [INFO] [stdout] 1945 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1952:31 [INFO] [stdout] | [INFO] [stdout] 1952 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1972:23 [INFO] [stdout] | [INFO] [stdout] 1972 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:1999:23 [INFO] [stdout] | [INFO] [stdout] 1999 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:2052:23 [INFO] [stdout] | [INFO] [stdout] 2052 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:2097:23 [INFO] [stdout] | [INFO] [stdout] 2097 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:2139:9 [INFO] [stdout] | [INFO] [stdout] 2139 | TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `force` in initializer of `sqlparser::ast::TableFactor` [INFO] [stdout] --> tests/sqlparser_common.rs:2338:27 [INFO] [stdout] | [INFO] [stdout] 2338 | relation: TableFactor::Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `on_info` [INFO] [stdout] --> tests/sqlparser_common.rs:2576:9 [INFO] [stdout] | [INFO] [stdout] 2576 | / Statement::Drop { [INFO] [stdout] 2577 | | object_type, [INFO] [stdout] 2578 | | if_exists, [INFO] [stdout] 2579 | | names, [INFO] [stdout] 2580 | | cascade, [INFO] [stdout] 2581 | | } => { [INFO] [stdout] | |_________^ missing field `on_info` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 2580 - cascade, [INFO] [stdout] 2581 - } => { [INFO] [stdout] 2580 + cascade, on_info } => { [INFO] [stdout] | [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 2580 - cascade, [INFO] [stdout] 2581 - } => { [INFO] [stdout] 2580 + cascade, on_info: _ } => { [INFO] [stdout] | [INFO] [stdout] help: or always ignore missing fields here [INFO] [stdout] | [INFO] [stdout] 2580 - cascade, [INFO] [stdout] 2581 - } => { [INFO] [stdout] 2580 + cascade, .. } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `on_info` [INFO] [stdout] --> tests/sqlparser_common.rs:2595:9 [INFO] [stdout] | [INFO] [stdout] 2595 | / Statement::Drop { [INFO] [stdout] 2596 | | object_type, [INFO] [stdout] 2597 | | if_exists, [INFO] [stdout] 2598 | | names, [INFO] [stdout] 2599 | | cascade, [INFO] [stdout] 2600 | | } => { [INFO] [stdout] | |_________^ missing field `on_info` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 2599 - cascade, [INFO] [stdout] 2600 - } => { [INFO] [stdout] 2599 + cascade, on_info } => { [INFO] [stdout] | [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 2599 - cascade, [INFO] [stdout] 2600 - } => { [INFO] [stdout] 2599 + cascade, on_info: _ } => { [INFO] [stdout] | [INFO] [stdout] help: or always ignore missing fields here [INFO] [stdout] | [INFO] [stdout] 2599 - cascade, [INFO] [stdout] 2600 - } => { [INFO] [stdout] 2599 + cascade, .. } => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0027, E0063, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0027`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlparser` (test "sqlparser_common") due to 20 previous errors [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/tokenizer.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 523 | / loop{ [INFO] [stdout] 524 | | chars.next(); // consume the first char [INFO] [stdout] 525 | | match chars.peek() { [INFO] [stdout] 526 | | Some(&ch) => match ch { [INFO] [stdout] ... | [INFO] [stdout] 553 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 554 | [INFO] [stdout] 555 | return Ok(s) [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/ast/mod.rs:967:33 [INFO] [stdout] | [INFO] [stdout] 967 | Statement::ReLoad { variable, selection } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:2897:20 [INFO] [stdout] | [INFO] [stdout] 2897 | if let Err(e) = self.expect_keyword(Keyword::INTO){} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "95f64c7cf65715789c03cf63fc01d203cc924c4fcd5f332f7f0484ce1166db8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f64c7cf65715789c03cf63fc01d203cc924c4fcd5f332f7f0484ce1166db8f", kill_on_drop: false }` [INFO] [stdout] 95f64c7cf65715789c03cf63fc01d203cc924c4fcd5f332f7f0484ce1166db8f