[INFO] cloning repository https://github.com/cmc-labo/minisql-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmc-labo/minisql-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmc-labo%2Fminisql-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmc-labo%2Fminisql-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f46ad03024fab143cbf11953c585be44ec047fc5 [INFO] checking cmc-labo/minisql-engine against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmc-labo%2Fminisql-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cmc-labo/minisql-engine [INFO] finished tweaking git repo https://github.com/cmc-labo/minisql-engine [INFO] tweaked toml for git repo https://github.com/cmc-labo/minisql-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cmc-labo/minisql-engine on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cmc-labo/minisql-engine 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.30 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3f67f8827747bbed77082ad9581f6da3fd3bfc085b46025bec985cf405e263a [INFO] running `Command { std: "docker" "start" "-a" "f3f67f8827747bbed77082ad9581f6da3fd3bfc085b46025bec985cf405e263a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3f67f8827747bbed77082ad9581f6da3fd3bfc085b46025bec985cf405e263a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f67f8827747bbed77082ad9581f6da3fd3bfc085b46025bec985cf405e263a", kill_on_drop: false }` [INFO] [stdout] f3f67f8827747bbed77082ad9581f6da3fd3bfc085b46025bec985cf405e263a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99fa2e3063577052315b1f37c4796433accb30f821ec0f64783b2955bbaf91ef [INFO] running `Command { std: "docker" "start" "-a" "99fa2e3063577052315b1f37c4796433accb30f821ec0f64783b2955bbaf91ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking rds v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/table.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | Value::Binary(b) => json!(base64::encode(b)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/table.rs:524:49 [INFO] [stdout] | [INFO] [stdout] 524 | ColumnType::Binary => Ok(Binary(base64::decode(j.as_str().ok_or("Invalid base64")?).map_err(|e| e.to_string())?)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/table.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | Value::Binary(b) => json!(base64::encode(b)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/table.rs:524:49 [INFO] [stdout] | [INFO] [stdout] 524 | ColumnType::Binary => Ok(Binary(base64::decode(j.as_str().ok_or("Invalid base64")?).map_err(|e| e.to_string())?)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/table.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | Value::Binary(b) => json!(base64::encode(b)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/table.rs:524:49 [INFO] [stdout] | [INFO] [stdout] 524 | ColumnType::Binary => Ok(Binary(base64::decode(j.as_str().ok_or("Invalid base64")?).map_err(|e| e.to_string())?)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/table.rs:506:43 [INFO] [stdout] | [INFO] [stdout] 506 | Value::Binary(b) => json!(base64::encode(b)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/table.rs:524:49 [INFO] [stdout] | [INFO] [stdout] 524 | ColumnType::Binary => Ok(Binary(base64::decode(j.as_str().ok_or("Invalid base64")?).map_err(|e| e.to_string())?)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let result = table.insert_row(vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let result = table.insert_row(vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sample_table` is never used [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn create_sample_table() -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_sql` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn execute_sql(tables: &mut HashMap, stmt: SQLStatement) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_rows_by_column_value`, `update_value_by_column_condition`, `delete_rows_by_column_value`, `get_column_index_and_type`, `update_by_condition`, and `delete_by_condition` are never used [INFO] [stdout] --> src/table.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Table { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn find_rows_by_column_value(&self, column_name: &str, target: &Value) -> Vec<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn update_value_by_column_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn delete_rows_by_column_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn get_column_index_and_type(&self, col_name: &str) -> Option<(usize, &ColumnType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn update_by_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn delete_by_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_matches_condition_static` is never used [INFO] [stdout] --> src/table.rs:536:4 [INFO] [stdout] | [INFO] [stdout] 536 | fn row_matches_condition_static( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_name` and `columns` are never read [INFO] [stdout] --> src/sql.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | CreateTable { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 7 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `col_type`, and `constraint` are never read [INFO] [stdout] --> src/sql.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ColumnDef { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub col_type: ColumnType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub constraint: Constraint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let result = table.insert_row(vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let result = table.insert_row(vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sample_table` is never used [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn create_sample_table() -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_sql` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn execute_sql(tables: &mut HashMap, stmt: SQLStatement) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_rows_by_column_value`, `update_value_by_column_condition`, `delete_rows_by_column_value`, `get_column_index_and_type`, `update_by_condition`, and `delete_by_condition` are never used [INFO] [stdout] --> src/table.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Table { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn find_rows_by_column_value(&self, column_name: &str, target: &Value) -> Vec<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn update_value_by_column_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn delete_rows_by_column_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn get_column_index_and_type(&self, col_name: &str) -> Option<(usize, &ColumnType)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn update_by_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn delete_by_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_matches_condition_static` is never used [INFO] [stdout] --> src/table.rs:536:4 [INFO] [stdout] | [INFO] [stdout] 536 | fn row_matches_condition_static( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table_name` and `columns` are never read [INFO] [stdout] --> src/sql.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | CreateTable { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 7 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | columns: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SQLStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `col_type`, and `constraint` are never read [INFO] [stdout] --> src/sql.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ColumnDef { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub col_type: ColumnType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub constraint: Constraint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnDef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.87s [INFO] running `Command { std: "docker" "inspect" "99fa2e3063577052315b1f37c4796433accb30f821ec0f64783b2955bbaf91ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fa2e3063577052315b1f37c4796433accb30f821ec0f64783b2955bbaf91ef", kill_on_drop: false }` [INFO] [stdout] 99fa2e3063577052315b1f37c4796433accb30f821ec0f64783b2955bbaf91ef