[INFO] cloning repository https://github.com/ami-boop/console_simple_db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ami-boop/console_simple_db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fami-boop%2Fconsole_simple_db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fami-boop%2Fconsole_simple_db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81fb7c08e1397c51d0dc527303bf1ed533fd5986 [INFO] checking ami-boop/console_simple_db against f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 for pr-160235-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fami-boop%2Fconsole_simple_db" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ami-boop/console_simple_db [INFO] finished tweaking git repo https://github.com/ami-boop/console_simple_db [INFO] tweaked toml for git repo https://github.com/ami-boop/console_simple_db written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ami-boop/console_simple_db on toolchain f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ami-boop/console_simple_db 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" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: binary `console_simple_db` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /workspace/builds/worker-5-tc2/source/target/.../console_simple_db [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `console-simple-db`, convert `package.name` [INFO] [stderr] --> Cargo.toml:6:8 [INFO] [stderr] | [INFO] [stderr] 6 - name = "console_simple_db" [INFO] [stderr] 6 + name = "console-simple-db" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `console-simple-db`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:7:19 [INFO] [stderr] | [INFO] [stderr] 7 ~ version = "0.1.0" [INFO] [stderr] 8 + [[bin]] [INFO] [stderr] 9 + name = "console-simple-db" [INFO] [stderr] 10 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `console_simple_db` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea [INFO] running `Command { std: "docker" "start" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea" "/opt/rustwide/cargo-home/bin/cargo" "+f99a7560a6b5f0a5e6894aea7e8afe0e01d3edd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: binary `console_simple_db` should have a kebab-case name [INFO] [stderr] | [INFO] [stderr] 1 | /opt/rustwide/target/.../console_simple_db [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::non_kebab_case_bins` is set to `warn` by default [INFO] [stderr] help: to change the binary name to `console-simple-db`, convert `package.name` [INFO] [stderr] --> Cargo.toml:6:8 [INFO] [stderr] | [INFO] [stderr] 6 - name = "console_simple_db" [INFO] [stderr] 6 + name = "console-simple-db" [INFO] [stderr] | [INFO] [stderr] help: to change the binary name to `console-simple-db`, specify `bin.name` [INFO] [stderr] --> Cargo.toml:7:19 [INFO] [stderr] | [INFO] [stderr] 7 ~ version = "0.1.0" [INFO] [stderr] 8 + [[bin]] [INFO] [stderr] 9 + name = "console-simple-db" [INFO] [stderr] 10 + path = "src/main.rs" [INFO] [stderr] | [INFO] [stderr] warning: `console_simple_db` (manifest) generated 1 warning [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking console_simple_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> src/database/connection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct DatabaseConnection { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_connection` and `end_connection` are never used [INFO] [stdout] --> src/database/connection.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl DatabaseConnection { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn add_connection(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn end_connection(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_table` is never used [INFO] [stdout] --> src/database/database.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn remove_table(&mut self, table_key: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/database/row.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Row { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Row` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> src/database/row.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Row { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn get_value(&self, field_name: &str) -> Option<&Value> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_row` and `get_value` are never used [INFO] [stdout] --> src/database/table.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Table { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn get_row(&self, key: usize) -> Option<&Row> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn get_value( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> src/database/connection.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct DatabaseConnection { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_connection` and `end_connection` are never used [INFO] [stdout] --> src/database/connection.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl DatabaseConnection { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn add_connection(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn end_connection(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_table` is never used [INFO] [stdout] --> src/database/database.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn remove_table(&mut self, table_key: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/database/row.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Row { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 9 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Row` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_value` is never used [INFO] [stdout] --> src/database/row.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Row { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn get_value(&self, field_name: &str) -> Option<&Value> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_row` and `get_value` are never used [INFO] [stdout] --> src/database/table.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Table { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn get_row(&self, key: usize) -> Option<&Row> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn get_value( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea", kill_on_drop: false }` [INFO] [stdout] 8feee1db0048d4aff18f0696a8129307dcd36d9d390df9f65c2135ae5f599fea