[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#15e8bc6907ab2b3623cb52acc726f4787458df64 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgodson-app%2Fgrey-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] validating manifest of git repo https://github.com/godson-app/grey-db on toolchain 15e8bc6907ab2b3623cb52acc726f4787458df64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ce9e3ab015d78d608a34481f506ccfeb6b673d3ce64051939b48c60a10c039 [INFO] running `Command { std: "docker" "start" "-a" "52ce9e3ab015d78d608a34481f506ccfeb6b673d3ce64051939b48c60a10c039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ce9e3ab015d78d608a34481f506ccfeb6b673d3ce64051939b48c60a10c039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ce9e3ab015d78d608a34481f506ccfeb6b673d3ce64051939b48c60a10c039", kill_on_drop: false }` [INFO] [stdout] 52ce9e3ab015d78d608a34481f506ccfeb6b673d3ce64051939b48c60a10c039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+15e8bc6907ab2b3623cb52acc726f4787458df64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e16c3ce37f6592c8e0115419d26367e227f45860dc6038d8dd629543754bd2c3 [INFO] running `Command { std: "docker" "start" "-a" "e16c3ce37f6592c8e0115419d26367e227f45860dc6038d8dd629543754bd2c3", 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: associated functions `append_to_file` and `save_to_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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `filename` are never read [INFO] [stdout] --> src/index/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NoSQLDB { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | data: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | filename: String, // Persistent storage file [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, and `delete` are never used [INFO] [stdout] --> src/index/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoSQLDB { [INFO] [stdout] | ------------ methods in this implementation [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: associated functions `append_to_file` and `save_to_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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `filename` are never read [INFO] [stdout] --> src/index/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NoSQLDB { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | data: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | filename: String, // Persistent storage file [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, and `delete` are never used [INFO] [stdout] --> src/index/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoSQLDB { [INFO] [stdout] | ------------ methods in this implementation [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.29s [INFO] running `Command { std: "docker" "inspect" "e16c3ce37f6592c8e0115419d26367e227f45860dc6038d8dd629543754bd2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16c3ce37f6592c8e0115419d26367e227f45860dc6038d8dd629543754bd2c3", kill_on_drop: false }` [INFO] [stdout] e16c3ce37f6592c8e0115419d26367e227f45860dc6038d8dd629543754bd2c3