[INFO] updating cached repository https://github.com/danicampa90/helmod-graphviz [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 09be196533036586011ee7a118fd1c5f917ff359 [INFO] checking danicampa90/helmod-graphviz against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danicampa90/helmod-graphviz on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/danicampa90/helmod-graphviz [INFO] finished tweaking git repo https://github.com/danicampa90/helmod-graphviz [INFO] tweaked toml for git repo https://github.com/danicampa90/helmod-graphviz written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/danicampa90/helmod-graphviz already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c0d2f17f51efe2928555747e7ab761bdccf527319e0688f09b9c8c54ed87bfb2 [INFO] running `"docker" "start" "-a" "c0d2f17f51efe2928555747e7ab761bdccf527319e0688f09b9c8c54ed87bfb2"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling helmod-planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3561:5 [INFO] [stderr] | [INFO] [stderr] 3561 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3572:5 [INFO] [stderr] | [INFO] [stderr] 3572 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3817:5 [INFO] [stderr] | [INFO] [stderr] 3817 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3875:5 [INFO] [stderr] | [INFO] [stderr] 3875 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `Recipe` [INFO] [stderr] --> src/dot_writer.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::recipes::{Recipe, RecipeDatabase}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/dot_writer.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LuaArray`, `LuaValue` [INFO] [stderr] --> src/productionchain/productionchainparser.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::ast::{CastError, IndexingError, LuaArray, LuaObject, LuaValue}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/recipes.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/main.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | match (recipes_result) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3561:5 [INFO] [stderr] | [INFO] [stderr] 3561 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/main.rs:106:19 [INFO] [stderr] | [INFO] [stderr] 106 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3572:5 [INFO] [stderr] | [INFO] [stderr] 3572 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3817:5 [INFO] [stderr] | [INFO] [stderr] 3817 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/helmod-planner-7e60142323182f31/out/grammar.rs:3875:5 [INFO] [stderr] | [INFO] [stderr] 3875 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `Recipe` [INFO] [stderr] --> src/dot_writer.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::recipes::{Recipe, RecipeDatabase}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/dot_writer.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::grammar` [INFO] [stderr] --> src/grammar_tests.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::grammar; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LuaArray`, `LuaValue` [INFO] [stderr] --> src/productionchain/productionchainparser.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::ast::{CastError, IndexingError, LuaArray, LuaObject, LuaValue}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/recipes.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/main.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | match (recipes_result) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` head expression [INFO] [stderr] --> src/main.rs:106:19 [INFO] [stderr] | [INFO] [stderr] 106 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ingredients_node` [INFO] [stderr] --> src/recipes.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_ingredients_node` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ingredients_node` [INFO] [stderr] --> src/recipes.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_ingredients_node` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ItemQtyList` [INFO] [stderr] --> src/productionchain.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | type ItemQtyList = Vec<(String, f64)>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_print` [INFO] [stderr] --> src/main.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn debug_print(prod_chain: ProductionChain, recipes: RecipeDatabase) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | / writeln!( [INFO] [stderr] 35 | | file, [INFO] [stderr] 36 | | r#"digraph "{0} - {1}" {{"#, [INFO] [stderr] 37 | | prod_block.name, prod_block.count [INFO] [stderr] 38 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / writeln!( [INFO] [stderr] 41 | | file, [INFO] [stderr] 42 | | r#" input [label = "" shape=circle color=grey];"# [INFO] [stderr] 43 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | / writeln!( [INFO] [stderr] 49 | | file, [INFO] [stderr] 50 | | r#" input -> "{0}" [color="grey", label="{1}"];"#, [INFO] [stderr] 51 | | name, count [INFO] [stderr] 52 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | writeln!(file, r""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | / writeln!( [INFO] [stderr] 65 | | file, [INFO] [stderr] 66 | | r#" "Rec_{0}" [label = "{0}*{1}" shape=circle color=grey]"#, [INFO] [stderr] 67 | | prod_recipe.name, prod_recipe.output_count [INFO] [stderr] 68 | | ); [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | / writeln!( [INFO] [stderr] 73 | | file, [INFO] [stderr] 74 | | r#" "{0}" -> "Rec_{1}" [label = "{2:.2}" color=red]"#, [INFO] [stderr] 75 | | ingr.name, [INFO] [stderr] ... | [INFO] [stderr] 78 | | / recipe.energy [INFO] [stderr] 79 | | ); [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | / writeln!( [INFO] [stderr] 85 | | file, [INFO] [stderr] 86 | | r#" "Rec_{1}" -> "{0}" [label = "{2:.2}" color=green]"#, [INFO] [stderr] 87 | | ingr.name, [INFO] [stderr] ... | [INFO] [stderr] 90 | | / recipe.energy [INFO] [stderr] 91 | | ); [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:95:21 [INFO] [stderr] | [INFO] [stderr] 95 | / writeln!( [INFO] [stderr] 96 | | file, [INFO] [stderr] 97 | | r#" "Rec_{0}" [label="RECIPE NOT FOUND: {0}" color=red shape=star]"#, [INFO] [stderr] 98 | | prod_recipe.name [INFO] [stderr] 99 | | ); [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | writeln!(file, r#"}}"#); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | write!(makefile, "all:"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | write!(makefile, " {0}.png", i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | writeln!(makefile, ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | writeln!(makefile, ".PHONY: all"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ItemQtyList` [INFO] [stderr] --> src/productionchain.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | type ItemQtyList = Vec<(String, f64)>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `debug_print` [INFO] [stderr] --> src/main.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn debug_print(prod_chain: ProductionChain, recipes: RecipeDatabase) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | / writeln!( [INFO] [stderr] 35 | | file, [INFO] [stderr] 36 | | r#"digraph "{0} - {1}" {{"#, [INFO] [stderr] 37 | | prod_block.name, prod_block.count [INFO] [stderr] 38 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | / writeln!( [INFO] [stderr] 41 | | file, [INFO] [stderr] 42 | | r#" input [label = "" shape=circle color=grey];"# [INFO] [stderr] 43 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | / writeln!( [INFO] [stderr] 49 | | file, [INFO] [stderr] 50 | | r#" input -> "{0}" [color="grey", label="{1}"];"#, [INFO] [stderr] 51 | | name, count [INFO] [stderr] 52 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | writeln!(file, r""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:64:21 [INFO] [stderr] | [INFO] [stderr] 64 | / writeln!( [INFO] [stderr] 65 | | file, [INFO] [stderr] 66 | | r#" "Rec_{0}" [label = "{0}*{1}" shape=circle color=grey]"#, [INFO] [stderr] 67 | | prod_recipe.name, prod_recipe.output_count [INFO] [stderr] 68 | | ); [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | / writeln!( [INFO] [stderr] 73 | | file, [INFO] [stderr] 74 | | r#" "{0}" -> "Rec_{1}" [label = "{2:.2}" color=red]"#, [INFO] [stderr] 75 | | ingr.name, [INFO] [stderr] ... | [INFO] [stderr] 78 | | / recipe.energy [INFO] [stderr] 79 | | ); [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | / writeln!( [INFO] [stderr] 85 | | file, [INFO] [stderr] 86 | | r#" "Rec_{1}" -> "{0}" [label = "{2:.2}" color=green]"#, [INFO] [stderr] 87 | | ingr.name, [INFO] [stderr] ... | [INFO] [stderr] 90 | | / recipe.energy [INFO] [stderr] 91 | | ); [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:95:21 [INFO] [stderr] | [INFO] [stderr] 95 | / writeln!( [INFO] [stderr] 96 | | file, [INFO] [stderr] 97 | | r#" "Rec_{0}" [label="RECIPE NOT FOUND: {0}" color=red shape=star]"#, [INFO] [stderr] 98 | | prod_recipe.name [INFO] [stderr] 99 | | ); [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | writeln!(file, r#"}}"#); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | write!(makefile, "all:"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | write!(makefile, " {0}.png", i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | writeln!(makefile, ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | writeln!(makefile, ".PHONY: all"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/dot_writer.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 50s [INFO] running `"docker" "inspect" "c0d2f17f51efe2928555747e7ab761bdccf527319e0688f09b9c8c54ed87bfb2"` [INFO] running `"docker" "rm" "-f" "c0d2f17f51efe2928555747e7ab761bdccf527319e0688f09b9c8c54ed87bfb2"` [INFO] [stdout] c0d2f17f51efe2928555747e7ab761bdccf527319e0688f09b9c8c54ed87bfb2