[INFO] cloning repository https://github.com/xaini-x/rust-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xaini-x/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxaini-x%2Frust-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxaini-x%2Frust-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8941e234b7eb6c7f5c1bbf623b4fc73b19071159
[INFO] checking xaini-x/rust-learning against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxaini-x%2Frust-learning" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xaini-x/rust-learning
[INFO] finished tweaking git repo https://github.com/xaini-x/rust-learning
[INFO] tweaked toml for git repo https://github.com/xaini-x/rust-learning written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xaini-x/rust-learning on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xaini-x/rust-learning 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f63fcc4207fcab66cdae2152eda8721a2999bf6b03d6aee0a85c4cf9b7e6916
[INFO] running `Command { std: "docker" "start" "-a" "4f63fcc4207fcab66cdae2152eda8721a2999bf6b03d6aee0a85c4cf9b7e6916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f63fcc4207fcab66cdae2152eda8721a2999bf6b03d6aee0a85c4cf9b7e6916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f63fcc4207fcab66cdae2152eda8721a2999bf6b03d6aee0a85c4cf9b7e6916", kill_on_drop: false }`
[INFO] [stdout] 4f63fcc4207fcab66cdae2152eda8721a2999bf6b03d6aee0a85c4cf9b7e6916
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a044090dcc52cc1ecc650e88c9210fff0b2a752e495898ff56c0270792724f2
[INFO] running `Command { std: "docker" "start" "-a" "7a044090dcc52cc1ecc650e88c9210fff0b2a752e495898ff56c0270792724f2", kill_on_drop: false }`
[INFO] [stderr]     Checking module v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `Product` is never constructed
[INFO] [stdout]  --> src/product/mod.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub struct Product {
[INFO] [stdout]   |                ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `category` are never read
[INFO] [stdout]  --> src/product/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub struct Product {
[INFO] [stdout]   |                ------- fields in this struct
[INFO] [stdout] 3 |         id: i32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 4 |         name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 5 |         price: f64,
[INFO] [stdout] 6 |         category: Category,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Electronic`, `Clothing`, and `Book` are never constructed
[INFO] [stdout]  --> src/product/category.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 1 |    pub enum Category {
[INFO] [stdout]   |             -------- variants in this enum
[INFO] [stdout] 2 |             Electronic,
[INFO] [stdout]   |             ^^^^^^^^^^
[INFO] [stdout] 3 |             Clothing,
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout] 4 |             Book,
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Customer` is never constructed
[INFO] [stdout]  --> src/customer/mod.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 |  pub struct Customer {
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `id`, and `email` are never read
[INFO] [stdout]  --> src/customer/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 1 |  pub struct Customer {
[INFO] [stdout]   |             -------- fields in this struct
[INFO] [stdout] 2 |         name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 3 |         id: i32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 4 |         email: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]  --> src/order/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     struct Order {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_discount` and `total_bill` are never used
[INFO] [stdout]   --> src/order/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     impl Order {
[INFO] [stdout]    |     ---------- methods in this implementation
[INFO] [stdout] 10 |         fn calculate_discount(& self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |         fn total_bill(& self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `module` (lib test) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: struct `Product` is never constructed
[INFO] [stdout]  --> src/product/mod.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub struct Product {
[INFO] [stdout]   |                ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `category` are never read
[INFO] [stdout]  --> src/product/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     pub struct Product {
[INFO] [stdout]   |                ------- fields in this struct
[INFO] [stdout] 3 |         id: i32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 4 |         name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 5 |         price: f64,
[INFO] [stdout] 6 |         category: Category,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Electronic`, `Clothing`, and `Book` are never constructed
[INFO] [stdout]  --> src/product/category.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 1 |    pub enum Category {
[INFO] [stdout]   |             -------- variants in this enum
[INFO] [stdout] 2 |             Electronic,
[INFO] [stdout]   |             ^^^^^^^^^^
[INFO] [stdout] 3 |             Clothing,
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout] 4 |             Book,
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Customer` is never constructed
[INFO] [stdout]  --> src/customer/mod.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 |  pub struct Customer {
[INFO] [stdout]   |             ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `id`, and `email` are never read
[INFO] [stdout]  --> src/customer/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 1 |  pub struct Customer {
[INFO] [stdout]   |             -------- fields in this struct
[INFO] [stdout] 2 |         name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 3 |         id: i32,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 4 |         email: String,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]  --> src/order/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     struct Order {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_discount` and `total_bill` are never used
[INFO] [stdout]   --> src/order/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 |     impl Order {
[INFO] [stdout]    |     ---------- methods in this implementation
[INFO] [stdout] 10 |         fn calculate_discount(& self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |         fn total_bill(& self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `module` (lib) due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7a044090dcc52cc1ecc650e88c9210fff0b2a752e495898ff56c0270792724f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a044090dcc52cc1ecc650e88c9210fff0b2a752e495898ff56c0270792724f2", kill_on_drop: false }`
[INFO] [stdout] 7a044090dcc52cc1ecc650e88c9210fff0b2a752e495898ff56c0270792724f2
