[INFO] cloning repository https://github.com/tuyentm101/RustBootcamp2024
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuyentm101/RustBootcamp2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuyentm101%2FRustBootcamp2024", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuyentm101%2FRustBootcamp2024'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27d0b8e126b4eceaf2905b6519e80382093cdce7
[INFO] checking tuyentm101/RustBootcamp2024 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuyentm101%2FRustBootcamp2024" "/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/tuyentm101/RustBootcamp2024
[INFO] finished tweaking git repo https://github.com/tuyentm101/RustBootcamp2024
[INFO] tweaked toml for git repo https://github.com/tuyentm101/RustBootcamp2024 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tuyentm101/RustBootcamp2024 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tuyentm101/RustBootcamp2024 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 938c4375d98a2767b239ecc4e1e991f2bfd03af1be79d431e88e50a91fba22bd
[INFO] running `Command { std: "docker" "start" "-a" "938c4375d98a2767b239ecc4e1e991f2bfd03af1be79d431e88e50a91fba22bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "938c4375d98a2767b239ecc4e1e991f2bfd03af1be79d431e88e50a91fba22bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "938c4375d98a2767b239ecc4e1e991f2bfd03af1be79d431e88e50a91fba22bd", kill_on_drop: false }`
[INFO] [stdout] 938c4375d98a2767b239ecc4e1e991f2bfd03af1be79d431e88e50a91fba22bd
[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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b6913212ea9e78192986cfa7358e6d54902e8e8db9c6d45e5a9a6359bd2fe57
[INFO] running `Command { std: "docker" "start" "-a" "5b6913212ea9e78192986cfa7358e6d54902e8e8db9c6d45e5a9a6359bd2fe57", kill_on_drop: false }`
[INFO] [stderr]     Checking final-project v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `provide_energy_with_efficiency` is never used
[INFO] [stdout]    --> src/energy.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub trait ProvideEnergy<F: Fuel> {
[INFO] [stdout]     |           ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 131 |     fn provide_energy_with_efficiency(&self, f: FuelContainer<F>, e: u8) -> <F as Fuel>::Output {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `omni_80_energy` is never used
[INFO] [stdout]    --> src/energy.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 | pub fn omni_80_energy(amount: u32) -> BTU {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u32, Infallible>
[INFO] [stdout]    --> src/energy.rs:292:22
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let result = TryInto::<BTU>::try_into(F::energy_density());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u32, Infallible>
[INFO] [stdout]    --> src/energy.rs:293:15
[INFO] [stdout]     |
[INFO] [stdout] 293 |         match result {
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `final-project` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `final-project` (lib) due to 2 previous errors; 17 warnings emitted
[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:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct LithiumBattery;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Uranium` is never constructed
[INFO] [stdout]   --> src/energy.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct Uranium;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuelContainer` is never constructed
[INFO] [stdout]   --> src/energy.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct FuelContainer<F: Fuel> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `energy_with_efficiency` are never used
[INFO] [stdout]    --> src/energy.rs:98:12
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl<F: Fuel> FuelContainer<F> {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout]  98 |     pub fn new(amount: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn energy_with_efficiency(&self, e: u8) -> <F as Fuel>::Output {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ProvideEnergy` is never used
[INFO] [stdout]    --> src/energy.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub trait ProvideEnergy<F: Fuel> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NuclearReactor` is never constructed
[INFO] [stdout]    --> src/energy.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct NuclearReactor;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalCombustion` is never constructed
[INFO] [stdout]    --> src/energy.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub struct InternalCombustion<const DECAY: u32>(/* Fill the fields as needed */ pub RefCell<u8>, pub RefCell<u32>);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/energy.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | impl<const DECAY: u32> InternalCombustion<DECAY> {
[INFO] [stdout]     | ------------------------------------------------ associated function in this implementation
[INFO] [stdout] 164 |     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:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | 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:210:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | 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:235:12
[INFO] [stdout]     |
[INFO] [stdout] 235 | 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:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 | 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:268:11
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub trait IsRenewable {}
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GreenEngine` is never constructed
[INFO] [stdout]    --> src/energy.rs:274:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub struct GreenEngine<F: Fuel>(pub PhantomData<F>);
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BritishEngine` is never constructed
[INFO] [stdout]    --> src/energy.rs:287:12
[INFO] [stdout]     |
[INFO] [stdout] 287 | pub struct BritishEngine<F: Fuel>(pub PhantomData<F>);
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u32, Infallible>
[INFO] [stdout]    --> src/energy.rs:292:22
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let result = TryInto::<BTU>::try_into(F::energy_density());
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<u32, Infallible>
[INFO] [stdout]    --> src/energy.rs:293:15
[INFO] [stdout]     |
[INFO] [stdout] 293 |         match result {
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5b6913212ea9e78192986cfa7358e6d54902e8e8db9c6d45e5a9a6359bd2fe57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b6913212ea9e78192986cfa7358e6d54902e8e8db9c6d45e5a9a6359bd2fe57", kill_on_drop: false }`
[INFO] [stdout] 5b6913212ea9e78192986cfa7358e6d54902e8e8db9c6d45e5a9a6359bd2fe57
