[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 master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgodson-app%2Fgrey-db" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/godson-app/grey-db on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "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-0-tc1/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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77706435d4a5cd5075c35235d2b43a105f0e487cb3351f542812a3946be55113
[INFO] running `Command { std: "docker" "start" "-a" "77706435d4a5cd5075c35235d2b43a105f0e487cb3351f542812a3946be55113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77706435d4a5cd5075c35235d2b43a105f0e487cb3351f542812a3946be55113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77706435d4a5cd5075c35235d2b43a105f0e487cb3351f542812a3946be55113", kill_on_drop: false }`
[INFO] [stdout] 77706435d4a5cd5075c35235d2b43a105f0e487cb3351f542812a3946be55113
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 750fab984779d452f05c9dfe67d376261171c4cf399d6c1e06bfa9070b728ed7
[INFO] running `Command { std: "docker" "start" "-a" "750fab984779d452f05c9dfe67d376261171c4cf399d6c1e06bfa9070b728ed7", 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<String, String>) {
[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<String, String>,
[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<Option<String>, 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<String, String>) {
[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<String, String>,
[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<Option<String>, 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.35s
[INFO] running `Command { std: "docker" "inspect" "750fab984779d452f05c9dfe67d376261171c4cf399d6c1e06bfa9070b728ed7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "750fab984779d452f05c9dfe67d376261171c4cf399d6c1e06bfa9070b728ed7", kill_on_drop: false }`
[INFO] [stdout] 750fab984779d452f05c9dfe67d376261171c4cf399d6c1e06bfa9070b728ed7
