[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] a181158efbcbe376f12e68c3cbcc1500a87e1292 [INFO] checking wwwbjqcom/my-sqlparse-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwwwbjqcom%2Fmy-sqlparse-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wwwbjqcom/my-sqlparse-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ae13d192b486a6b676f8a6652d645ed3bbcb894c620c2eb811e953b5d063b92 [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" "1ae13d192b486a6b676f8a6652d645ed3bbcb894c620c2eb811e953b5d063b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ae13d192b486a6b676f8a6652d645ed3bbcb894c620c2eb811e953b5d063b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae13d192b486a6b676f8a6652d645ed3bbcb894c620c2eb811e953b5d063b92", kill_on_drop: false }` [INFO] [stdout] 1ae13d192b486a6b676f8a6652d645ed3bbcb894c620c2eb811e953b5d063b92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82e650b04d18c4a3d2521029ca45af52ecd7b761d71a308e605ef76fd0b44b61 [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" "82e650b04d18c4a3d2521029ca45af52ecd7b761d71a308e605ef76fd0b44b61", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking sqlparser v0.5.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking colored v1.9.3 [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:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | use crate::dialect::keywords::ALL_KEYWORDS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parser.rs:2783:20 [INFO] [stdout] | [INFO] [stdout] 2783 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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] [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] [stderr] error: could not compile `sqlparser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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: 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 variable: `e` [INFO] [stdout] --> src/parser.rs:2783:20 [INFO] [stdout] | [INFO] [stdout] 2783 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "82e650b04d18c4a3d2521029ca45af52ecd7b761d71a308e605ef76fd0b44b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e650b04d18c4a3d2521029ca45af52ecd7b761d71a308e605ef76fd0b44b61", kill_on_drop: false }` [INFO] [stdout] 82e650b04d18c4a3d2521029ca45af52ecd7b761d71a308e605ef76fd0b44b61