[INFO] cloning repository https://github.com/danicampa90/helmod-graphviz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danicampa90/helmod-graphviz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cec5d5bb56d9a7e6162deea32934d74a3d7df3f [INFO] building danicampa90/helmod-graphviz against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danicampa90/helmod-graphviz on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-33/source/Cargo.toml [INFO] crate git repo https://github.com/danicampa90/helmod-graphviz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5de078fe5492c1fa0b8c044505c9718207bab8da5101e90e93cf63639df1fa50 [INFO] running `Command { std: "docker" "start" "-a" "5de078fe5492c1fa0b8c044505c9718207bab8da5101e90e93cf63639df1fa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5de078fe5492c1fa0b8c044505c9718207bab8da5101e90e93cf63639df1fa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de078fe5492c1fa0b8c044505c9718207bab8da5101e90e93cf63639df1fa50", kill_on_drop: false }` [INFO] [stdout] 5de078fe5492c1fa0b8c044505c9718207bab8da5101e90e93cf63639df1fa50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5459300910a1ada00992d5e915233f5d8ff870e387ed4a2cc4acb441cf2afcbb [INFO] running `Command { std: "docker" "start" "-a" "5459300910a1ada00992d5e915233f5d8ff870e387ed4a2cc4acb441cf2afcbb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ena v0.13.1 [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 aho-corasick v0.7.6 [INFO] [stderr] Compiling 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 ascii-canvas v2.0.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [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 string_cache v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling helmod-planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3561:5 [INFO] [stdout] | [INFO] [stdout] 3561 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3561 - (__0) [INFO] [stdout] 3561 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3572:5 [INFO] [stdout] | [INFO] [stdout] 3572 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3572 - (__0) [INFO] [stdout] 3572 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3680:5 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + panic!(format!("{:?}", __0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3817:5 [INFO] [stdout] | [INFO] [stdout] 3817 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3817 - (__0) [INFO] [stdout] 3817 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3875:5 [INFO] [stdout] | [INFO] [stdout] 3875 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3875 - (__0) [INFO] [stdout] 3875 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recipe` [INFO] [stdout] --> src/dot_writer.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipes::{Recipe, RecipeDatabase}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/dot_writer.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] 58 + match recipes.get_recipe(&prod_recipe.name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grammar` [INFO] [stdout] --> src/grammar_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::grammar; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod grammar_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LuaArray`, `LuaValue` [INFO] [stdout] --> src/productionchain/productionchainparser.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{CastError, IndexingError, LuaArray, LuaObject, LuaValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/recipes.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] 68 + if nodes.is_object() && nodes.as_object().unwrap().len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | match (recipes_result) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - match (recipes_result) { [INFO] [stdout] 71 + match recipes_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingredients_node` [INFO] [stdout] --> src/recipes.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_makefile` [INFO] [stdout] --> src/dot_writer.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn generate_makefile(count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ItemQtyList` [INFO] [stdout] --> src/productionchain.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | type ItemQtyList = Vec<(String, f64)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3680:14 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + { panic!("{:?}", __0)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / writeln!( [INFO] [stdout] 35 | | file, [INFO] [stdout] 36 | | r#"digraph "{0} - {1}" {{"#, [INFO] [stdout] 37 | | prod_block.name, prod_block.count [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / writeln!( [INFO] [stdout] 41 | | file, [INFO] [stdout] 42 | | r#" input [label = "" shape=circle color=grey];"# [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / writeln!( [INFO] [stdout] 49 | | file, [INFO] [stdout] 50 | | r#" input -> "{0}" [color="grey", label="{1}"];"#, [INFO] [stdout] 51 | | name, count [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(file, r""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / writeln!( [INFO] [stdout] 61 | | file, [INFO] [stdout] 62 | | r#" "Rec_{0}" [label = "{0}*{1}" shape=circle color=grey]"#, [INFO] [stdout] 63 | | prod_recipe.name, prod_recipe.output_count [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | / writeln!( [INFO] [stdout] 69 | | file, [INFO] [stdout] 70 | | r#" "{0}" -> "Rec_{1}" [label = "{2:.2}" color=red]"#, [INFO] [stdout] 71 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 74 | | / recipe.energy [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | / writeln!( [INFO] [stdout] 81 | | file, [INFO] [stdout] 82 | | r#" "Rec_{1}" -> "{0}" [label = "{2:.2}" color=green]"#, [INFO] [stdout] 83 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 86 | | / recipe.energy [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | / writeln!( [INFO] [stdout] 92 | | file, [INFO] [stdout] 93 | | r#" "Rec_{0}" [label="RECIPE NOT FOUND: {0}" color=red shape=star]"#, [INFO] [stdout] 94 | | prod_recipe.name [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(file, r#"}}"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | write!(makefile, "all:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | write!(makefile, " {0}.png", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | writeln!(makefile, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | writeln!(makefile, ".PHONY: all"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "5459300910a1ada00992d5e915233f5d8ff870e387ed4a2cc4acb441cf2afcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5459300910a1ada00992d5e915233f5d8ff870e387ed4a2cc4acb441cf2afcbb", kill_on_drop: false }` [INFO] [stdout] 5459300910a1ada00992d5e915233f5d8ff870e387ed4a2cc4acb441cf2afcbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d555d5eb1de682347dac940d25c6d25d2c4758f3b8785420f1596aebd82ed623 [INFO] running `Command { std: "docker" "start" "-a" "d555d5eb1de682347dac940d25c6d25d2c4758f3b8785420f1596aebd82ed623", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling helmod-planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3561:5 [INFO] [stdout] | [INFO] [stdout] 3561 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3561 - (__0) [INFO] [stdout] 3561 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3572:5 [INFO] [stdout] | [INFO] [stdout] 3572 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3572 - (__0) [INFO] [stdout] 3572 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3680:5 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + panic!(format!("{:?}", __0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3817:5 [INFO] [stdout] | [INFO] [stdout] 3817 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3817 - (__0) [INFO] [stdout] 3817 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3875:5 [INFO] [stdout] | [INFO] [stdout] 3875 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3875 - (__0) [INFO] [stdout] 3875 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Recipe` [INFO] [stdout] --> src/dot_writer.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipes::{Recipe, RecipeDatabase}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/dot_writer.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - match (recipes.get_recipe(&prod_recipe.name)) { [INFO] [stdout] 58 + match recipes.get_recipe(&prod_recipe.name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LuaArray`, `LuaValue` [INFO] [stdout] --> src/productionchain/productionchainparser.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{CastError, IndexingError, LuaArray, LuaObject, LuaValue}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/recipes.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if (nodes.is_object() && nodes.as_object().unwrap().len() == 0) { [INFO] [stdout] 68 + if nodes.is_object() && nodes.as_object().unwrap().len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/main.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | match (recipes_result) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - match (recipes_result) { [INFO] [stdout] 71 + match recipes_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingredients_node` [INFO] [stdout] --> src/recipes.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let ingredients_node = return Ok(Recipe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_makefile` [INFO] [stdout] --> src/dot_writer.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn generate_makefile(count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ItemQtyList` [INFO] [stdout] --> src/productionchain.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | type ItemQtyList = Vec<(String, f64)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-5719f6ba6c379bac/out/grammar.rs:3680:14 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 3680 - { panic!(format!("{:?}", __0))} [INFO] [stdout] 3680 + { panic!("{:?}", __0)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | writeln!(file, r#" "{0}" [label = "{0}" shape="rectangle"];"#, name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / writeln!( [INFO] [stdout] 35 | | file, [INFO] [stdout] 36 | | r#"digraph "{0} - {1}" {{"#, [INFO] [stdout] 37 | | prod_block.name, prod_block.count [INFO] [stdout] 38 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / writeln!( [INFO] [stdout] 41 | | file, [INFO] [stdout] 42 | | r#" input [label = "" shape=circle color=grey];"# [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | / writeln!( [INFO] [stdout] 49 | | file, [INFO] [stdout] 50 | | r#" input -> "{0}" [color="grey", label="{1}"];"#, [INFO] [stdout] 51 | | name, count [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | writeln!(file, r""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / writeln!( [INFO] [stdout] 61 | | file, [INFO] [stdout] 62 | | r#" "Rec_{0}" [label = "{0}*{1}" shape=circle color=grey]"#, [INFO] [stdout] 63 | | prod_recipe.name, prod_recipe.output_count [INFO] [stdout] 64 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | / writeln!( [INFO] [stdout] 69 | | file, [INFO] [stdout] 70 | | r#" "{0}" -> "Rec_{1}" [label = "{2:.2}" color=red]"#, [INFO] [stdout] 71 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 74 | | / recipe.energy [INFO] [stdout] 75 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | / writeln!( [INFO] [stdout] 81 | | file, [INFO] [stdout] 82 | | r#" "Rec_{1}" -> "{0}" [label = "{2:.2}" color=green]"#, [INFO] [stdout] 83 | | ingr.name, [INFO] [stdout] ... | [INFO] [stdout] 86 | | / recipe.energy [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | / writeln!( [INFO] [stdout] 92 | | file, [INFO] [stdout] 93 | | r#" "Rec_{0}" [label="RECIPE NOT FOUND: {0}" color=red shape=star]"#, [INFO] [stdout] 94 | | prod_recipe.name [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(file, r#"}}"#); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | write!(makefile, "all:"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | write!(makefile, " {0}.png", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | writeln!(makefile, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | writeln!(makefile, ".PHONY: all"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | writeln!(makefile, r#"{0}.png: {0}.dot"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/dot_writer.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | writeln!(makefile, r#" dot -Tpng {0}.dot -o {0}.png"#, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.85s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/helmod_planner-1edfea96cddca9ec) [INFO] running `Command { std: "docker" "inspect" "d555d5eb1de682347dac940d25c6d25d2c4758f3b8785420f1596aebd82ed623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d555d5eb1de682347dac940d25c6d25d2c4758f3b8785420f1596aebd82ed623", kill_on_drop: false }` [INFO] [stdout] d555d5eb1de682347dac940d25c6d25d2c4758f3b8785420f1596aebd82ed623