[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 try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkusorovictor%2FCLI-carbon-footprint-calculator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kusorovictor/CLI-carbon-footprint-calculator on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f161642c8bca8dee67d3399250d3ce4676a1ba23d569431a0f5b2aed55a9e793 [INFO] running `Command { std: "docker" "start" "-a" "f161642c8bca8dee67d3399250d3ce4676a1ba23d569431a0f5b2aed55a9e793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f161642c8bca8dee67d3399250d3ce4676a1ba23d569431a0f5b2aed55a9e793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f161642c8bca8dee67d3399250d3ce4676a1ba23d569431a0f5b2aed55a9e793", kill_on_drop: false }` [INFO] [stdout] f161642c8bca8dee67d3399250d3ce4676a1ba23d569431a0f5b2aed55a9e793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] def1cd31d266332212a61b065cfb115e8a95afa858cd8287b838a0cba7197d8d [INFO] running `Command { std: "docker" "start" "-a" "def1cd31d266332212a61b065cfb115e8a95afa858cd8287b838a0cba7197d8d", 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.77s [INFO] running `Command { std: "docker" "inspect" "def1cd31d266332212a61b065cfb115e8a95afa858cd8287b838a0cba7197d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def1cd31d266332212a61b065cfb115e8a95afa858cd8287b838a0cba7197d8d", kill_on_drop: false }` [INFO] [stdout] def1cd31d266332212a61b065cfb115e8a95afa858cd8287b838a0cba7197d8d