[INFO] cloning repository https://github.com/XerusN/how_to_ficsit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XerusN/how_to_ficsit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXerusN%2Fhow_to_ficsit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXerusN%2Fhow_to_ficsit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58746a893f6c79c3346ecbe25f3e00f6cf8df087 [INFO] checking XerusN/how_to_ficsit against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXerusN%2Fhow_to_ficsit" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/XerusN/how_to_ficsit [INFO] finished tweaking git repo https://github.com/XerusN/how_to_ficsit [INFO] tweaked toml for git repo https://github.com/XerusN/how_to_ficsit written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XerusN/how_to_ficsit on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/XerusN/how_to_ficsit 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba0aec42044519ec9eb4885833f1f9202126f1decc5d8401996f49eced5557b5 [INFO] running `Command { std: "docker" "start" "-a" "ba0aec42044519ec9eb4885833f1f9202126f1decc5d8401996f49eced5557b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba0aec42044519ec9eb4885833f1f9202126f1decc5d8401996f49eced5557b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0aec42044519ec9eb4885833f1f9202126f1decc5d8401996f49eced5557b5", kill_on_drop: false }` [INFO] [stdout] ba0aec42044519ec9eb4885833f1f9202126f1decc5d8401996f49eced5557b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12afee0475ceb792226ccc86bf12f6ce882b6ee24873ed8863c4bd75797960c7 [INFO] running `Command { std: "docker" "start" "-a" "12afee0475ceb792226ccc86bf12f6ce882b6ee24873ed8863c4bd75797960c7", kill_on_drop: false }` [INFO] [stderr] Checking how_to_ficsit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use base::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `items::Item` and `self` [INFO] [stdout] --> src/main.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{base::manual_definition::{items::Item, recipes::Recipe}, save_manager::factory_manager::{production_unit::{self, ProductionUn... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::linux::raw` [INFO] [stdout] --> src/base/manual_definition/items.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::{AddAssign, Mul, MulAssign}, os::linux::raw}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::manual_definition::recipes` [INFO] [stdout] --> src/base/manual_definition/items.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{base::manual_definition::recipes, save_manager::factory_manager::production_unit::Rate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AveragedItemIO` and `self` [INFO] [stdout] --> src/save_manager/factory_manager.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::{manual_definition::{buildings::{self, Building}, items::{AveragedItemIO, Item, MultipleItemsIO}}, power::Power}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use base::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `items::Item` and `self` [INFO] [stdout] --> src/main.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{base::manual_definition::{items::Item, recipes::Recipe}, save_manager::factory_manager::{production_unit::{self, ProductionUn... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::linux::raw` [INFO] [stdout] --> src/base/manual_definition/items.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::{AddAssign, Mul, MulAssign}, os::linux::raw}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::manual_definition::recipes` [INFO] [stdout] --> src/base/manual_definition/items.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{base::manual_definition::recipes, save_manager::factory_manager::production_unit::Rate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AveragedItemIO` and `self` [INFO] [stdout] --> src/save_manager/factory_manager.rs:3:51 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::base::{manual_definition::{buildings::{self, Building}, items::{AveragedItemIO, Item, MultipleItemsIO}}, power::Power}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/base/manual_definition/items.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::{AddAssign, Mul, MulAssign}, os::linux::raw}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/base/manual_definition/items.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::{AddAssign, Mul, MulAssign}, os::linux::raw}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/save_manager/factory_manager.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/save_manager/factory_manager.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 78 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let factory = Factory::new("A1".to_owned(), production_unit, vec![], vec![]).expect(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `consumption` are never used [INFO] [stdout] --> src/base/manual_definition/buildings.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 14 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn consumption(&self) -> Power { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | / generate_building_getters! { [INFO] [stdout] 35 | | Smelter => { [INFO] [stdout] 36 | | name: "Smelter", [INFO] [stdout] 37 | | consumption: Power(50.), // Not accurate [INFO] [stdout] ... | [INFO] [stdout] 42 | | }, [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_building_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `recipes`, and `is_fluid` are never used [INFO] [stdout] --> src/base/manual_definition/items.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 18 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 19 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn recipes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_fluid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | / generate_item_getters! { [INFO] [stdout] 54 | | IronOre => { [INFO] [stdout] 55 | | name: "Iron Ore", [INFO] [stdout] 56 | | recipes: vec![], [INFO] [stdout] ... | [INFO] [stdout] 63 | | }, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_item_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `item` is never used [INFO] [stdout] --> src/base/manual_definition/items.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl RawItemIO { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn item(&self) -> Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/base/manual_definition/recipes.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 19 | impl Recipe { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / generate_recipe_getters! { [INFO] [stdout] 71 | | IronMining => { [INFO] [stdout] 72 | | name: "Iron Mining", [INFO] [stdout] 73 | | input: vec![], [INFO] [stdout] ... | [INFO] [stdout] 84 | | }, [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_recipe_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Power` is never constructed [INFO] [stdout] --> src/base/power.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Power(pub f32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MegaFactory` is never constructed [INFO] [stdout] --> src/save_manager/factory_manager.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MegaFactory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/save_manager/factory_manager.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MegaFactory { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(name: String, factories: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `consumption` and `adjust_rates` are never used [INFO] [stdout] --> src/save_manager/factory_manager.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Factory { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn consumption(&self) -> Power { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn adjust_rates(&mut self) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/save_manager/factory_manager/production_unit.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ProductionUnit { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn building(&self) -> Building { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn recipe(&self) -> Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_absolute(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn rate(&self) -> Rate { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_rate(&mut self, rate: Rate) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn consumption(&self) -> Power { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn prev(&self) -> &[String] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_consuming_item(&self, item: Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn remove_prev(&mut self, remove_name: &str) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn next(&self) -> &[String] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn remove_next(&mut self, remove_name: &str) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let factory = Factory::new("A1".to_owned(), production_unit, vec![], vec![]).expect(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `consumption` are never used [INFO] [stdout] --> src/base/manual_definition/buildings.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 13 | impl Building { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 14 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn consumption(&self) -> Power { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | / generate_building_getters! { [INFO] [stdout] 35 | | Smelter => { [INFO] [stdout] 36 | | name: "Smelter", [INFO] [stdout] 37 | | consumption: Power(50.), // Not accurate [INFO] [stdout] ... | [INFO] [stdout] 42 | | }, [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `generate_building_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `recipes`, and `is_fluid` are never used [INFO] [stdout] --> src/base/manual_definition/items.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 18 | impl Item { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 19 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn recipes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn is_fluid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | / generate_item_getters! { [INFO] [stdout] 54 | | IronOre => { [INFO] [stdout] 55 | | name: "Iron Ore", [INFO] [stdout] 56 | | recipes: vec![], [INFO] [stdout] ... | [INFO] [stdout] 63 | | }, [INFO] [stdout] 64 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_item_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `item` is never used [INFO] [stdout] --> src/base/manual_definition/items.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl RawItemIO { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn item(&self) -> Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/base/manual_definition/recipes.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 19 | impl Recipe { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | / generate_recipe_getters! { [INFO] [stdout] 71 | | IronMining => { [INFO] [stdout] 72 | | name: "Iron Mining", [INFO] [stdout] 73 | | input: vec![], [INFO] [stdout] ... | [INFO] [stdout] 84 | | }, [INFO] [stdout] 85 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `generate_recipe_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Power` is never constructed [INFO] [stdout] --> src/base/power.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Power(pub f32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MegaFactory` is never constructed [INFO] [stdout] --> src/save_manager/factory_manager.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MegaFactory { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/save_manager/factory_manager.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl MegaFactory { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(name: String, factories: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `consumption` and `adjust_rates` are never used [INFO] [stdout] --> src/save_manager/factory_manager.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Factory { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn consumption(&self) -> Power { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn adjust_rates(&mut self) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/save_manager/factory_manager/production_unit.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ProductionUnit { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn building(&self) -> Building { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn recipe(&self) -> Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_absolute(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn rate(&self) -> Rate { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_rate(&mut self, rate: Rate) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn consumption(&self) -> Power { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn prev(&self) -> &[String] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_consuming_item(&self, item: Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn remove_prev(&mut self, remove_name: &str) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn next(&self) -> &[String] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn remove_next(&mut self, remove_name: &str) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "12afee0475ceb792226ccc86bf12f6ce882b6ee24873ed8863c4bd75797960c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12afee0475ceb792226ccc86bf12f6ce882b6ee24873ed8863c4bd75797960c7", kill_on_drop: false }` [INFO] [stdout] 12afee0475ceb792226ccc86bf12f6ce882b6ee24873ed8863c4bd75797960c7