[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] 631b84c927be979a6b51d84222930d8796e1b137 [INFO] checking wwwbjqcom/my-sqlparse-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmy-sqlparse-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wwwbjqcom/my-sqlparse-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/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-1/source/Cargo.toml [INFO] crate git repo https://github.com/wwwbjqcom/my-sqlparse-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae082456fe93e3aa8873b86eb257514c424e440cbd16a313abf50aae7fbde574 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ae082456fe93e3aa8873b86eb257514c424e440cbd16a313abf50aae7fbde574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae082456fe93e3aa8873b86eb257514c424e440cbd16a313abf50aae7fbde574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae082456fe93e3aa8873b86eb257514c424e440cbd16a313abf50aae7fbde574", kill_on_drop: false }` [INFO] [stdout] ae082456fe93e3aa8873b86eb257514c424e440cbd16a313abf50aae7fbde574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dbd88a28b553f7497a837a571791f7221dcc8a67b0c53f7920a65e95a8dbdd9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5dbd88a28b553f7497a837a571791f7221dcc8a67b0c53f7920a65e95a8dbdd9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking sqlparser v0.5.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dialect::keywords::ALL_KEYWORDS` [INFO] [stdout] --> src/dialect/keywords.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | use crate::dialect::keywords::ALL_KEYWORDS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/ast/mod.rs:933:33 [INFO] [stdout] | [INFO] [stdout] 933 | Statement::ReLoad { variable, selection } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:2832:20 [INFO] [stdout] | [INFO] [stdout] 2832 | 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 atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stdout] warning: 4 warnings emitted [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] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlparser` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 struct `Vec`, found enum `sqlparser::ast::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 struct `Vec`, found enum `sqlparser::ast::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 struct `Vec`, found enum `sqlparser::ast::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 struct `Vec`, found enum `sqlparser::ast::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 struct `Vec`, found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `sqlparser::ast::AlterTableOperation` [INFO] [stdout] [INFO] [stdout] [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)]` on by default [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, 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] | ^^^^^^ [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, 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] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0027, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0027`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/ast/mod.rs:933:33 [INFO] [stdout] | [INFO] [stdout] 933 | Statement::ReLoad { variable, selection } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `variable: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:2832:20 [INFO] [stdout] | [INFO] [stdout] 2832 | 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5dbd88a28b553f7497a837a571791f7221dcc8a67b0c53f7920a65e95a8dbdd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dbd88a28b553f7497a837a571791f7221dcc8a67b0c53f7920a65e95a8dbdd9", kill_on_drop: false }` [INFO] [stdout] 5dbd88a28b553f7497a837a571791f7221dcc8a67b0c53f7920a65e95a8dbdd9