[INFO] cloning repository https://github.com/kusorovictor/CLI-carbon-footprint-calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kusorovictor/CLI-carbon-footprint-calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkusorovictor%2FCLI-carbon-footprint-calculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkusorovictor%2FCLI-carbon-footprint-calculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 564469ee0fad6ed8f47de7040d614b5118dd2b2a
[INFO] checking kusorovictor/CLI-carbon-footprint-calculator against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkusorovictor%2FCLI-carbon-footprint-calculator" "/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/kusorovictor/CLI-carbon-footprint-calculator
[INFO] finished tweaking git repo https://github.com/kusorovictor/CLI-carbon-footprint-calculator
[INFO] tweaked toml for git repo https://github.com/kusorovictor/CLI-carbon-footprint-calculator written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kusorovictor/CLI-carbon-footprint-calculator on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kusorovictor/CLI-carbon-footprint-calculator 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 66e3f8afeac833a6dbd6b4ac43d251a841a1dce812050fdae6c32ec5b0ad6a2e
[INFO] running `Command { std: "docker" "start" "-a" "66e3f8afeac833a6dbd6b4ac43d251a841a1dce812050fdae6c32ec5b0ad6a2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66e3f8afeac833a6dbd6b4ac43d251a841a1dce812050fdae6c32ec5b0ad6a2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66e3f8afeac833a6dbd6b4ac43d251a841a1dce812050fdae6c32ec5b0ad6a2e", kill_on_drop: false }`
[INFO] [stdout] 66e3f8afeac833a6dbd6b4ac43d251a841a1dce812050fdae6c32ec5b0ad6a2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f59d4a1575f20198eab9e9dab46e424b7b1b81cdf71f876737df42058ba48bde
[INFO] running `Command { std: "docker" "start" "-a" "f59d4a1575f20198eab9e9dab46e424b7b1b81cdf71f876737df42058ba48bde", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking carbon-footprint v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/fuel_consumption.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/vehicle_usage.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/waste_generation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/fuel_consumption.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/vehicle_usage.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/waste_generation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `food_type` and `emission_factor` are never read
[INFO] [stdout]  --> src/food_consumption.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FoodConsumption {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 4 |     food_type: String,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 5 |     food_consumed: f64,        // in kg per month
[INFO] [stdout] 6 |     emission_factor: f64,      // in kg of CO2 per kg of food
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `emission_factor` is never read
[INFO] [stdout]  --> src/fuel_consumption.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FuelConsumption {
[INFO] [stdout]   |            --------------- field in this struct
[INFO] [stdout] 5 |     fuel_usage: f64,           //in litres per month
[INFO] [stdout] 6 |     emission_factor: f64,      //in kg of CO2 per kg
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `emission_factor` is never read
[INFO] [stdout]  --> src/vehicle_usage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VehicleUsage {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     emission_factor: f64,       // in kg of CO2 per litre
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `waste_type` and `emission_factor` are never read
[INFO] [stdout]  --> src/waste_generation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct WasteGeneration {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 5 |     waste_type: String,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     waste_generated: f64,      //in kg per month
[INFO] [stdout] 7 |     emission_factor: f64,      //in kg of CO2 per kg of waste
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `energy_intensity` and `carbon_intensity` are never read
[INFO] [stdout]  --> src/water_usage.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct WaterUsage {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 4 |     water_consumption: f64,    //in litres per month
[INFO] [stdout] 5 |     energy_intensity: f64,     //in kwh per litre per month
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     carbon_intensity: f64,     //in kg per
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `food_type` and `emission_factor` are never read
[INFO] [stdout]  --> src/food_consumption.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FoodConsumption {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 4 |     food_type: String,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 5 |     food_consumed: f64,        // in kg per month
[INFO] [stdout] 6 |     emission_factor: f64,      // in kg of CO2 per kg of food
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `emission_factor` is never read
[INFO] [stdout]  --> src/fuel_consumption.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FuelConsumption {
[INFO] [stdout]   |            --------------- field in this struct
[INFO] [stdout] 5 |     fuel_usage: f64,           //in litres per month
[INFO] [stdout] 6 |     emission_factor: f64,      //in kg of CO2 per kg
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `emission_factor` is never read
[INFO] [stdout]  --> src/vehicle_usage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VehicleUsage {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     emission_factor: f64,       // in kg of CO2 per litre
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `waste_type` and `emission_factor` are never read
[INFO] [stdout]  --> src/waste_generation.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct WasteGeneration {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 5 |     waste_type: String,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     waste_generated: f64,      //in kg per month
[INFO] [stdout] 7 |     emission_factor: f64,      //in kg of CO2 per kg of waste
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `energy_intensity` and `carbon_intensity` are never read
[INFO] [stdout]  --> src/water_usage.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct WaterUsage {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 4 |     water_consumption: f64,    //in litres per month
[INFO] [stdout] 5 |     energy_intensity: f64,     //in kwh per litre per month
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     carbon_intensity: f64,     //in kg per
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s
[INFO] running `Command { std: "docker" "inspect" "f59d4a1575f20198eab9e9dab46e424b7b1b81cdf71f876737df42058ba48bde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f59d4a1575f20198eab9e9dab46e424b7b1b81cdf71f876737df42058ba48bde", kill_on_drop: false }`
[INFO] [stdout] f59d4a1575f20198eab9e9dab46e424b7b1b81cdf71f876737df42058ba48bde
