[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] 76aa907d152c762932d9ed2c2e287ab6f7ac47e7 [INFO] checking danicampa90/helmod-graphviz against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danicampa90/helmod-graphviz on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking danicampa90/helmod-graphviz against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danicampa90/helmod-graphviz on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking danicampa90/helmod-graphviz against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanicampa90%2Fhelmod-graphviz" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danicampa90/helmod-graphviz on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 119e336414068433adbabdaf0282f7393b9ceb1bf4ed8aa7f23f0ea3cb91ef77 [INFO] running `Command { std: "docker" "start" "-a" "119e336414068433adbabdaf0282f7393b9ceb1bf4ed8aa7f23f0ea3cb91ef77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "119e336414068433adbabdaf0282f7393b9ceb1bf4ed8aa7f23f0ea3cb91ef77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119e336414068433adbabdaf0282f7393b9ceb1bf4ed8aa7f23f0ea3cb91ef77", kill_on_drop: false }` [INFO] [stdout] 119e336414068433adbabdaf0282f7393b9ceb1bf4ed8aa7f23f0ea3cb91ef77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b54c1fdb738ce476033bf0d79d7bf8759d800618fccf00133b79ea5b3be24a25 [INFO] running `Command { std: "docker" "start" "-a" "b54c1fdb738ce476033bf0d79d7bf8759d800618fccf00133b79ea5b3be24a25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [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 rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling block-padding v0.1.5 [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 aho-corasick v0.7.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ucd-util v0.1.5 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking base64 v0.13.0 [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] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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: the item `String` is imported redundantly [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/80d5fe37e16a0befb4128414cb6a11d544788c0a/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [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: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/helmod-planner-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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-8f08b1c6c3f269d3/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: the item `String` is imported redundantly [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/80d5fe37e16a0befb4128414cb6a11d544788c0a/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [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: 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 `generate_makefile` is never used [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 `ItemQtyList` is never used [INFO] [stdout] --> src/productionchain.rs:4:6 [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-8f08b1c6c3f269d3/out/grammar.rs:3680:14 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [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: function `generate_makefile` is never used [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 `ItemQtyList` is never used [INFO] [stdout] --> src/productionchain.rs:4:6 [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-8f08b1c6c3f269d3/out/grammar.rs:3680:14 [INFO] [stdout] | [INFO] [stdout] 3680 | { panic!(format!("{:?}", __0))} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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: 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.17.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b54c1fdb738ce476033bf0d79d7bf8759d800618fccf00133b79ea5b3be24a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54c1fdb738ce476033bf0d79d7bf8759d800618fccf00133b79ea5b3be24a25", kill_on_drop: false }` [INFO] [stdout] b54c1fdb738ce476033bf0d79d7bf8759d800618fccf00133b79ea5b3be24a25