[INFO] cloning repository https://github.com/spsaurabh007/rust-db-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spsaurabh007/rust-db-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspsaurabh007%2Frust-db-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspsaurabh007%2Frust-db-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8b0afc0513017e8f9e20534c6a32d5986bb9011
[INFO] checking spsaurabh007/rust-db-engine against e4d5758286bf2cf6f415802f2cf861747a7c6c8c for pr-152972
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspsaurabh007%2Frust-db-engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/spsaurabh007/rust-db-engine
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/spsaurabh007/rust-db-engine
[INFO] tweaked toml for git repo https://github.com/spsaurabh007/rust-db-engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spsaurabh007/rust-db-engine on toolchain e4d5758286bf2cf6f415802f2cf861747a7c6c8c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spsaurabh007/rust-db-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" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6
[INFO] running `Command { std: "docker" "start" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6", 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" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6", 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" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-db-engine v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/common/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/common/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/common/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `std::collections::HashMap`
[INFO] [stdout]  --> src/common/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `DuplicateKey`, and `CorruptData` are never constructed
[INFO] [stdout]   --> src/common/error.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum DbError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     /// Duplicate primary key
[INFO] [stdout] 13 |     DuplicateKey(u32),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     CorruptData(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbError` 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: associated items `serialize` and `deserialize` are never used
[INFO] [stdout]   --> src/common/types.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Row {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn serialize(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn deserialize(line: &str) -> Option<Row> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `page_id` and `slot_index` are never read
[INFO] [stdout]   --> src/common/types.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct RowId {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 91 |     pub page_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 92 |     pub slot_index: u16,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RowId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `count` is never used
[INFO] [stdout]    --> src/common/types.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl Table {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn count(&mut self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_file` is never used
[INFO] [stdout]   --> src/storage/disk_manager.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl DiskManager {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn with_file(path: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `page_id` is never used
[INFO] [stdout]   --> src/storage/page.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Page {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn page_id(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `DuplicateKey`, and `CorruptData` are never constructed
[INFO] [stdout]   --> src/common/error.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum DbError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     /// Duplicate primary key
[INFO] [stdout] 13 |     DuplicateKey(u32),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     CorruptData(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbError` 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: associated items `serialize` and `deserialize` are never used
[INFO] [stdout]   --> src/common/types.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Row {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn serialize(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn deserialize(line: &str) -> Option<Row> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `page_id` and `slot_index` are never read
[INFO] [stdout]   --> src/common/types.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct RowId {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 91 |     pub page_id: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 92 |     pub slot_index: u16,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RowId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `count` is never used
[INFO] [stdout]    --> src/common/types.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl Table {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn count(&mut self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_file` is never used
[INFO] [stdout]   --> src/storage/disk_manager.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl DiskManager {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn with_file(path: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `page_id` is never used
[INFO] [stdout]   --> src/storage/page.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Page {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn page_id(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6", kill_on_drop: false }`
[INFO] [stdout] bb296aa56ab5d10ebf7222f7ffd25ebc0415321b508ea0103cea90478985f1d6
