[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#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkshola00%2Fmktplc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Akshola00/mktplc on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-core v0.61.0
[INFO] [stderr]   Downloaded windows-strings v0.4.0
[INFO] [stderr]   Downloaded cc v1.2.22
[INFO] [stderr]   Downloaded windows-result v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0aa4d0a234c4d46bedb2ef584758abb88e92f27014fcdfb86aef8dac5790a321
[INFO] running `Command { std: "docker" "start" "-a" "0aa4d0a234c4d46bedb2ef584758abb88e92f27014fcdfb86aef8dac5790a321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0aa4d0a234c4d46bedb2ef584758abb88e92f27014fcdfb86aef8dac5790a321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0aa4d0a234c4d46bedb2ef584758abb88e92f27014fcdfb86aef8dac5790a321", kill_on_drop: false }`
[INFO] [stdout] 0aa4d0a234c4d46bedb2ef584758abb88e92f27014fcdfb86aef8dac5790a321
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 492412e30d06f565f63415e9c2c2d57b95912325c02cb9944082dc8b67f7715f
[INFO] running `Command { std: "docker" "start" "-a" "492412e30d06f565f63415e9c2c2d57b95912325c02cb9944082dc8b67f7715f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking getrandom v0.3.2
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 2.09s
[INFO] running `Command { std: "docker" "inspect" "492412e30d06f565f63415e9c2c2d57b95912325c02cb9944082dc8b67f7715f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "492412e30d06f565f63415e9c2c2d57b95912325c02cb9944082dc8b67f7715f", kill_on_drop: false }`
[INFO] [stdout] 492412e30d06f565f63415e9c2c2d57b95912325c02cb9944082dc8b67f7715f
