[INFO] cloning repository https://github.com/lamdanghoang/final-project-bootcamp-rust-2024
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lamdanghoang/final-project-bootcamp-rust-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamdanghoang%2Ffinal-project-bootcamp-rust-2024", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamdanghoang%2Ffinal-project-bootcamp-rust-2024'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6f916e2fd04666eaf990559c01edcd7f84bc37fa
[INFO] checking lamdanghoang/final-project-bootcamp-rust-2024/6f916e2fd04666eaf990559c01edcd7f84bc37fa against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flamdanghoang%2Ffinal-project-bootcamp-rust-2024" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lamdanghoang/final-project-bootcamp-rust-2024
[INFO] finished tweaking git repo https://github.com/lamdanghoang/final-project-bootcamp-rust-2024
[INFO] tweaked toml for git repo https://github.com/lamdanghoang/final-project-bootcamp-rust-2024 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lamdanghoang/final-project-bootcamp-rust-2024 on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lamdanghoang/final-project-bootcamp-rust-2024 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" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a
[INFO] running `Command { std: "docker" "start" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking final-project v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `Fuel` is never used
[INFO] [stdout]   --> src/energy.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait Fuel {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Diesel` is never constructed
[INFO] [stdout]   --> src/energy.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Diesel;
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LithiumBattery` is never constructed
[INFO] [stdout]   --> src/energy.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct LithiumBattery;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Uranium` is never constructed
[INFO] [stdout]   --> src/energy.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct Uranium;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuelContainer` is never constructed
[INFO] [stdout]   --> src/energy.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct FuelContainer<F: Fuel> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/energy.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl<F: Fuel> FuelContainer<F> {
[INFO] [stdout]    | ------------------------------ associated function in this implementation
[INFO] [stdout] 92 |     pub fn new(amount: u32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ProvideEnergy` is never used
[INFO] [stdout]    --> src/energy.rs:101:11
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub trait ProvideEnergy<F: Fuel> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NuclearReactor` is never constructed
[INFO] [stdout]    --> src/energy.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct NuclearReactor;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalCombustion` is never constructed
[INFO] [stdout]    --> src/energy.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct InternalCombustion<const DECAY: u32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/energy.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl<const DECAY: u32> InternalCombustion<DECAY> {
[INFO] [stdout]     | ------------------------------------------------ associated function in this implementation
[INFO] [stdout] 159 |     pub fn new(efficiency: u8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OmniGenerator` is never constructed
[INFO] [stdout]    --> src/energy.rs:187:12
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub struct OmniGenerator<const EFFICIENCY: u8>;
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mixed` is never constructed
[INFO] [stdout]    --> src/energy.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct Mixed<F1: Fuel, F2: Fuel>(PhantomData<(F1, F2)>);
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomMixed` is never constructed
[INFO] [stdout]    --> src/energy.rs:222:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub struct CustomMixed<const C: u8, F1, F2>(PhantomData<(F1, F2)>);
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `omni_80_energy` is never used
[INFO] [stdout]    --> src/energy.rs:238:8
[INFO] [stdout]     |
[INFO] [stdout] 238 | pub fn omni_80_energy(amount: u32) -> BTU {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IsRenewable` is never used
[INFO] [stdout]    --> src/energy.rs:248:11
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub trait IsRenewable {}
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GreenEngine` is never constructed
[INFO] [stdout]    --> src/energy.rs:254:12
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub struct GreenEngine<F: Fuel + IsRenewable>(pub PhantomData<F>);
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BritishEngine` is never constructed
[INFO] [stdout]    --> src/energy.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub struct BritishEngine<F: Fuel, Output: From<Joule> + From<Calorie>>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a", kill_on_drop: false }`
[INFO] [stdout] e9b79a44db6ee1c08e0468840ee7c990a5ba6c3ff831388d3c251a5c55eb075a
