[INFO] cloning repository https://github.com/Akshola00/mktplc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akshola00/mktplc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkshola00%2Fmktplc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkshola00%2Fmktplc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 07b9d3dde21396ecb569794e6b985e0839a4e8cd
[INFO] checking Akshola00/mktplc against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkshola00%2Fmktplc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Akshola00/mktplc
[INFO] finished tweaking git repo https://github.com/Akshola00/mktplc
[INFO] tweaked toml for git repo https://github.com/Akshola00/mktplc written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Akshola00/mktplc on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Akshola00/mktplc 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e348d659946dbd7561527c54fb75ecbb1fa4f7024ba860d3c3d8ec425a19d302
[INFO] running `Command { std: "docker" "start" "-a" "e348d659946dbd7561527c54fb75ecbb1fa4f7024ba860d3c3d8ec425a19d302", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e348d659946dbd7561527c54fb75ecbb1fa4f7024ba860d3c3d8ec425a19d302", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e348d659946dbd7561527c54fb75ecbb1fa4f7024ba860d3c3d8ec425a19d302", kill_on_drop: false }`
[INFO] [stdout] e348d659946dbd7561527c54fb75ecbb1fa4f7024ba860d3c3d8ec425a19d302
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e7b6bab51b47135aa00f09eb072f354bd79e24194b3743781b5c0061d605736
[INFO] running `Command { std: "docker" "start" "-a" "8e7b6bab51b47135aa00f09eb072f354bd79e24194b3743781b5c0061d605736", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking marketplace v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::products::product_struct::Product`
[INFO] [stdout]  --> src/person/person_validate.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::products::product_struct::Product;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::products::product_struct::Product`
[INFO] [stdout]  --> src/person/person_validate.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::products::product_struct::Product;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUSPENDED` is never constructed
[INFO] [stdout]   --> src/person/person_enum.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum PersonStatus {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] 9  |     ACTIVE,
[INFO] [stdout] 10 |     SUSPENDED,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PersonStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ValidateProductPerson` is never used
[INFO] [stdout]  --> src/person/person_validate.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait ValidateProductPerson {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EDIBLE`, `AUTOMOBILE`, and `OTHERS` are never constructed
[INFO] [stdout]   --> src/products/product_enums.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum Category {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |     CLOTHING,
[INFO] [stdout] 11 |     EDIBLE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     SHOES,
[INFO] [stdout] 13 |     AUTOMOBILE,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     OTHERS,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Category` 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: multiple methods are never used
[INFO] [stdout]   --> src/products/product_getters.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub trait Getters {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] 6  |     fn get_product_id(&self) -> Uuid;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 7  |     fn get_name(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 8  |     fn get_description(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 9  |     fn get_original_price(&self) -> f64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     fn get_discount_percentage(&self) -> f64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     fn get_discount_price(&self) -> Result<f64, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     fn get_size(&self) -> ProductSize;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 13 |     fn get_amount(&self) -> u64;
[INFO] [stdout] 14 |     fn get_available(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     fn get_archived(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 16 |     fn get_category(&self) -> Category;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 17 |     fn get_seller_id(&self) -> u64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 18 |     fn get_created_at(&self) -> DateTime<Local>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     fn get_updated_at(&self) -> DateTime<Local>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     fn get_tags(&self) -> Vec<String>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 21 |     fn get_product_details(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/products/product_management.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub trait Manage {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 9  |     fn decrease_quantity(&mut self, amount: u64) -> Result<u64, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn remove_discount(&mut self) -> Result<(), String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn add_tag(&mut self, tag: String) -> Result<Vec<String>, String>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 18 |     fn remove_tag(&mut self, tag: String) -> Result<Vec<String>, String>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn matches_search(&self, query: String) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     fn is_in_category(&self, category: &Category) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     fn is_in_price_range(&self, min: f64, max: f64) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Setters` is never used
[INFO] [stdout]  --> src/products/product_setters.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Setters {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Validate` is never used
[INFO] [stdout]  --> src/products/product_validate.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Validate {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SUSPENDED` is never constructed
[INFO] [stdout]   --> src/person/person_enum.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub enum PersonStatus {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] 9  |     ACTIVE,
[INFO] [stdout] 10 |     SUSPENDED,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PersonStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ValidateProductPerson` is never used
[INFO] [stdout]  --> src/person/person_validate.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait ValidateProductPerson {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `EDIBLE`, `AUTOMOBILE`, and `OTHERS` are never constructed
[INFO] [stdout]   --> src/products/product_enums.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum Category {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 10 |     CLOTHING,
[INFO] [stdout] 11 |     EDIBLE,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |     SHOES,
[INFO] [stdout] 13 |     AUTOMOBILE,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     OTHERS,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Category` 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: multiple methods are never used
[INFO] [stdout]   --> src/products/product_getters.rs:6:8
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub trait Getters {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] 6  |     fn get_product_id(&self) -> Uuid;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 7  |     fn get_name(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 8  |     fn get_description(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 9  |     fn get_original_price(&self) -> f64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     fn get_discount_percentage(&self) -> f64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     fn get_discount_price(&self) -> Result<f64, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     fn get_size(&self) -> ProductSize;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 13 |     fn get_amount(&self) -> u64;
[INFO] [stdout] 14 |     fn get_available(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     fn get_archived(&self) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 16 |     fn get_category(&self) -> Category;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 17 |     fn get_seller_id(&self) -> u64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 18 |     fn get_created_at(&self) -> DateTime<Local>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     fn get_updated_at(&self) -> DateTime<Local>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     fn get_tags(&self) -> Vec<String>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 21 |     fn get_product_details(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/products/product_management.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub trait Manage {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 9  |     fn decrease_quantity(&mut self, amount: u64) -> Result<u64, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn remove_discount(&mut self) -> Result<(), String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn add_tag(&mut self, tag: String) -> Result<Vec<String>, String>;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 18 |     fn remove_tag(&mut self, tag: String) -> Result<Vec<String>, String>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn matches_search(&self, query: String) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     fn is_in_category(&self, category: &Category) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     fn is_in_price_range(&self, min: f64, max: f64) -> bool;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Setters` is never used
[INFO] [stdout]  --> src/products/product_setters.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Setters {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Validate` is never used
[INFO] [stdout]  --> src/products/product_validate.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Validate {
[INFO] [stdout]   |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.91s
[INFO] running `Command { std: "docker" "inspect" "8e7b6bab51b47135aa00f09eb072f354bd79e24194b3743781b5c0061d605736", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e7b6bab51b47135aa00f09eb072f354bd79e24194b3743781b5c0061d605736", kill_on_drop: false }`
[INFO] [stdout] 8e7b6bab51b47135aa00f09eb072f354bd79e24194b3743781b5c0061d605736
