[INFO] cloning repository https://github.com/echaligha25/Store-Inventory-Management-System [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/echaligha25/Store-Inventory-Management-System" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechaligha25%2FStore-Inventory-Management-System", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechaligha25%2FStore-Inventory-Management-System'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54a5395b024c72159f6d41b7873d051d3879e2e6 [INFO] checking echaligha25/Store-Inventory-Management-System against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechaligha25%2FStore-Inventory-Management-System" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/echaligha25/Store-Inventory-Management-System [INFO] finished tweaking git repo https://github.com/echaligha25/Store-Inventory-Management-System [INFO] tweaked toml for git repo https://github.com/echaligha25/Store-Inventory-Management-System written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/echaligha25/Store-Inventory-Management-System on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/echaligha25/Store-Inventory-Management-System 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "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 echaligha25/Store-Inventory-Management-System against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechaligha25%2FStore-Inventory-Management-System" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/echaligha25/Store-Inventory-Management-System [INFO] finished tweaking git repo https://github.com/echaligha25/Store-Inventory-Management-System [INFO] tweaked toml for git repo https://github.com/echaligha25/Store-Inventory-Management-System written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/echaligha25/Store-Inventory-Management-System on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/echaligha25/Store-Inventory-Management-System 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbcc598aa18cbd1fa2ca78f75b125788b7a5574d52bf2a448659587451eb2a67 [INFO] running `Command { std: "docker" "start" "-a" "bbcc598aa18cbd1fa2ca78f75b125788b7a5574d52bf2a448659587451eb2a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbcc598aa18cbd1fa2ca78f75b125788b7a5574d52bf2a448659587451eb2a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcc598aa18cbd1fa2ca78f75b125788b7a5574d52bf2a448659587451eb2a67", kill_on_drop: false }` [INFO] [stdout] bbcc598aa18cbd1fa2ca78f75b125788b7a5574d52bf2a448659587451eb2a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f75133b3a59a91f2d886bd39d52da7bca5ecb8a5c5a6df593497d4fc65a576 [INFO] running `Command { std: "docker" "start" "-a" "b6f75133b3a59a91f2d886bd39d52da7bca5ecb8a5c5a6df593497d4fc65a576", kill_on_drop: false }` [INFO] [stderr] Checking my_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Product` [INFO] [stdout] --> src/purchases.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{Product, Purchase}; [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: `crate::models::Product` [INFO] [stdout] --> src/reports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::Product; [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: `crate::models::Product` [INFO] [stdout] --> src/reports.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::Product; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Product` [INFO] [stdout] --> src/sales.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{Product, Sale}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Product` [INFO] [stdout] --> src/sales.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::{Product, Sale}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> src/purchases.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(product) = inventory.get_product(product_id) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `edit_product` and `delete_prouct` are never used [INFO] [stdout] --> src/inventory.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Inventory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn edit_product(&mut self, id: u32, new_product: Product) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn delete_prouct(&mut self, id: u32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/models.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Product { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: field `product_id` is never read [INFO] [stdout] --> src/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sale { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 13 | pub product_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sale` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `product` [INFO] [stdout] --> src/purchases.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(product) = inventory.get_product(product_id) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_product` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `product_id` is never read [INFO] [stdout] --> src/models.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Purchase { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | pub product_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Purchase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `edit_product` and `delete_prouct` are never used [INFO] [stdout] --> src/inventory.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Inventory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn edit_product(&mut self, id: u32, new_product: Product) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn delete_prouct(&mut self, id: u32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/models.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Product { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: field `product_id` is never read [INFO] [stdout] --> src/models.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sale { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 13 | pub product_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sale` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "b6f75133b3a59a91f2d886bd39d52da7bca5ecb8a5c5a6df593497d4fc65a576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f75133b3a59a91f2d886bd39d52da7bca5ecb8a5c5a6df593497d4fc65a576", kill_on_drop: false }` [INFO] [stdout] b6f75133b3a59a91f2d886bd39d52da7bca5ecb8a5c5a6df593497d4fc65a576