[INFO] cloning repository https://github.com/godson-app/grey-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/godson-app/grey-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgodson-app%2Fgrey-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgodson-app%2Fgrey-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9381f12c5e81140a3c72bdddb1f58ecb6fee0679 [INFO] checking godson-app/grey-db against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgodson-app%2Fgrey-db" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/godson-app/grey-db [INFO] finished tweaking git repo https://github.com/godson-app/grey-db [INFO] tweaked toml for git repo https://github.com/godson-app/grey-db written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/godson-app/grey-db on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/godson-app/grey-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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking godson-app/grey-db against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgodson-app%2Fgrey-db" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/godson-app/grey-db [INFO] finished tweaking git repo https://github.com/godson-app/grey-db [INFO] tweaked toml for git repo https://github.com/godson-app/grey-db written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/godson-app/grey-db on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/godson-app/grey-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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18ab6ed1168dc14233f67fcef5a5fbdeb25756cc380d1935ca7452c6d9291de3 [INFO] running `Command { std: "docker" "start" "-a" "18ab6ed1168dc14233f67fcef5a5fbdeb25756cc380d1935ca7452c6d9291de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18ab6ed1168dc14233f67fcef5a5fbdeb25756cc380d1935ca7452c6d9291de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ab6ed1168dc14233f67fcef5a5fbdeb25756cc380d1935ca7452c6d9291de3", kill_on_drop: false }` [INFO] [stdout] 18ab6ed1168dc14233f67fcef5a5fbdeb25756cc380d1935ca7452c6d9291de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c4d9a6905018d56884b329a3a052ca2f4179e82ff166fb2f689b2984ce546cc [INFO] running `Command { std: "docker" "start" "-a" "3c4d9a6905018d56884b329a3a052ca2f4179e82ff166fb2f689b2984ce546cc", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking grey-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/storage/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Storage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `append_to_file`, `save_to_file`, and `load_from_file` are never used [INFO] [stdout] --> src/storage/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Storage { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 8 | /// Appends a new key-value pair to the file instead of overwriting it. [INFO] [stdout] 9 | pub fn append_to_file(filename: &str, key: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn save_to_file(filename: &str, data: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn load_from_file(filename: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoSQLDB` is never constructed [INFO] [stdout] --> src/index/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NoSQLDB { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, and `delete` are never used [INFO] [stdout] --> src/index/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoSQLDB { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | /// Initializes the database, loading existing data from a file. [INFO] [stdout] 11 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn insert(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn delete(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/server/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn insert(key: String, value: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/server/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(key: &str) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/server/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn delete(key: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/storage/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Storage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `append_to_file`, `save_to_file`, and `load_from_file` are never used [INFO] [stdout] --> src/storage/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Storage { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 8 | /// Appends a new key-value pair to the file instead of overwriting it. [INFO] [stdout] 9 | pub fn append_to_file(filename: &str, key: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn save_to_file(filename: &str, data: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn load_from_file(filename: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoSQLDB` is never constructed [INFO] [stdout] --> src/index/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NoSQLDB { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, and `delete` are never used [INFO] [stdout] --> src/index/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoSQLDB { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 10 | /// Initializes the database, loading existing data from a file. [INFO] [stdout] 11 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn insert(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn delete(&mut self, key: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> src/server/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn insert(key: String, value: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/server/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(key: &str) -> Result, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/server/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn delete(key: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "3c4d9a6905018d56884b329a3a052ca2f4179e82ff166fb2f689b2984ce546cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4d9a6905018d56884b329a3a052ca2f4179e82ff166fb2f689b2984ce546cc", kill_on_drop: false }` [INFO] [stdout] 3c4d9a6905018d56884b329a3a052ca2f4179e82ff166fb2f689b2984ce546cc