[INFO] cloning repository https://github.com/aweinstock314/factorio_ai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aweinstock314/factorio_ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faweinstock314%2Ffactorio_ai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faweinstock314%2Ffactorio_ai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88f11d0aebb1dabf02e75e1223042a15409c48bd
[INFO] testing aweinstock314/factorio_ai against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faweinstock314%2Ffactorio_ai" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aweinstock314/factorio_ai on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aweinstock314/factorio_ai
[INFO] finished tweaking git repo https://github.com/aweinstock314/factorio_ai
[INFO] tweaked toml for git repo https://github.com/aweinstock314/factorio_ai written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/aweinstock314/factorio_ai 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1edef8b6fc1c4d39be4b4614a80033fcff775582312768ff96d3b3e0113991e
[INFO] running `Command { std: "docker" "start" "-a" "c1edef8b6fc1c4d39be4b4614a80033fcff775582312768ff96d3b3e0113991e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1edef8b6fc1c4d39be4b4614a80033fcff775582312768ff96d3b3e0113991e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1edef8b6fc1c4d39be4b4614a80033fcff775582312768ff96d3b3e0113991e", kill_on_drop: false }`
[INFO] [stdout] c1edef8b6fc1c4d39be4b4614a80033fcff775582312768ff96d3b3e0113991e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5959f413c9356a59b09e421bea48a2afb734bce1194128886c3f5aaacacc49eb
[INFO] running `Command { std: "docker" "start" "-a" "5959f413c9356a59b09e421bea48a2afb734bce1194128886c3f5aaacacc49eb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling fixedbitset v0.4.0
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling bitvec v0.19.5
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]    Compiling ron v0.6.4
[INFO] [stderr]    Compiling factorio_ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read`, `TryInto`
[INFO] [stdout]   --> src/main.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     io::{Read, Write},
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_data_extend`
[INFO] [stdout]   --> src/main.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use lua_parser::{parse_data_extend, LuaContext, LuaObject, LuaStmt};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/main.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nom::{error::convert_error, Finish, Parser};
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mining_speed`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mining_speed = HashMap::<ProductId, ProductsPerSecond>::from_iter([
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mining_speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module_effect`
[INFO] [stdout]    --> src/main.rs:226:25
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     let module_effect: f64 = modules
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_effect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut modded_rate = speed * (ingredient.amount as f64) / (output_amount as f64);
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/main.rs:286:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | struct Technology {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 286 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 287 |     type_: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 288 |     effects: Vec<LuaObject>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 289 |     prerequisites: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 290 |     ingredient_count: LuaObject,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 291 |     ingredients: Vec<Ingredient>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 292 |     ingredient_time: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Technology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "5959f413c9356a59b09e421bea48a2afb734bce1194128886c3f5aaacacc49eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5959f413c9356a59b09e421bea48a2afb734bce1194128886c3f5aaacacc49eb", kill_on_drop: false }`
[INFO] [stdout] 5959f413c9356a59b09e421bea48a2afb734bce1194128886c3f5aaacacc49eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0cae0ae19216380f0e3f1646980ca0167cfe17f446a4051c6b4509a7d2f1d9c
[INFO] running `Command { std: "docker" "start" "-a" "c0cae0ae19216380f0e3f1646980ca0167cfe17f446a4051c6b4509a7d2f1d9c", kill_on_drop: false }`
[INFO] [stderr]    Compiling factorio_ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TryInto`
[INFO] [stdout]   --> src/main.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_data_extend`
[INFO] [stdout]   --> src/main.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use lua_parser::{parse_data_extend, LuaContext, LuaObject, LuaStmt};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/main.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nom::{error::convert_error, Finish, Parser};
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mining_speed`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mining_speed = HashMap::<ProductId, ProductsPerSecond>::from_iter([
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mining_speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module_effect`
[INFO] [stdout]    --> src/main.rs:226:25
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     let module_effect: f64 = modules
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_effect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut modded_rate = speed * (ingredient.amount as f64) / (output_amount as f64);
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |     let mut string_data = std::fs::read_to_string(
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_`, `effects`, `ingredient_count`, `ingredients`, and `ingredient_time` are never read
[INFO] [stdout]    --> src/main.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | struct Technology {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 286 |     name: String,
[INFO] [stdout] 287 |     type_: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 288 |     effects: Vec<LuaObject>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 289 |     prerequisites: Vec<String>,
[INFO] [stdout] 290 |     ingredient_count: LuaObject,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 291 |     ingredients: Vec<Ingredient>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 292 |     ingredient_time: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Technology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "c0cae0ae19216380f0e3f1646980ca0167cfe17f446a4051c6b4509a7d2f1d9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0cae0ae19216380f0e3f1646980ca0167cfe17f446a4051c6b4509a7d2f1d9c", kill_on_drop: false }`
[INFO] [stdout] c0cae0ae19216380f0e3f1646980ca0167cfe17f446a4051c6b4509a7d2f1d9c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] acae9468080dcfb93e11e896c74ce7d88887158b39d03ca593f53fd254202980
[INFO] running `Command { std: "docker" "start" "-a" "acae9468080dcfb93e11e896c74ce7d88887158b39d03ca593f53fd254202980", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `TryInto`
[INFO] [stderr]   --> src/main.rs:10:24
[INFO] [stderr]    |
[INFO] [stderr] 10 |     convert::{TryFrom, TryInto},
[INFO] [stderr]    |                        ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `parse_data_extend`
[INFO] [stderr]   --> src/main.rs:20:18
[INFO] [stderr]    |
[INFO] [stderr] 20 | use lua_parser::{parse_data_extend, LuaContext, LuaObject, LuaStmt};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Parser`
[INFO] [stderr]  --> src/main.rs:4:41
[INFO] [stderr]   |
[INFO] [stderr] 4 | use nom::{error::convert_error, Finish, Parser};
[INFO] [stderr]   |                                         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mining_speed`
[INFO] [stderr]   --> src/main.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let mining_speed = HashMap::<ProductId, ProductsPerSecond>::from_iter([
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mining_speed`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `module_effect`
[INFO] [stderr]    --> src/main.rs:226:25
[INFO] [stderr]     |
[INFO] [stderr] 226 |                     let module_effect: f64 = modules
[INFO] [stderr]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_effect`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:219:21
[INFO] [stderr]     |
[INFO] [stderr] 219 |                 let mut modded_rate = speed * (ingredient.amount as f64) / (output_amount as f64);
[INFO] [stderr]     |                     ----^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:352:9
[INFO] [stderr]     |
[INFO] [stderr] 352 |     let mut string_data = std::fs::read_to_string(
[INFO] [stderr]     |         ----^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `type_`, `effects`, `ingredient_count`, `ingredients`, and `ingredient_time` are never read
[INFO] [stderr]    --> src/main.rs:287:5
[INFO] [stderr]     |
[INFO] [stderr] 285 | struct Technology {
[INFO] [stderr]     |        ---------- fields in this struct
[INFO] [stderr] 286 |     name: String,
[INFO] [stderr] 287 |     type_: String,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 288 |     effects: Vec<LuaObject>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 289 |     prerequisites: Vec<String>,
[INFO] [stderr] 290 |     ingredient_count: LuaObject,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 291 |     ingredients: Vec<Ingredient>,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 292 |     ingredient_time: f64,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Technology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `factorio_ai` (bin "factorio_ai" test) generated 8 warnings (run `cargo fix --bin "factorio_ai" --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/factorio_ai-e678c032d17ba5dc)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test parse_item ... FAILED
[INFO] [stdout] test lua_parser::parse_tests ... ok
[INFO] [stdout] test parse_technology ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- parse_item stdout ----
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] ---- parse_technology stdout ----
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     parse_item
[INFO] [stdout]     parse_technology
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin factorio_ai`
[INFO] running `Command { std: "docker" "inspect" "acae9468080dcfb93e11e896c74ce7d88887158b39d03ca593f53fd254202980", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acae9468080dcfb93e11e896c74ce7d88887158b39d03ca593f53fd254202980", kill_on_drop: false }`
[INFO] [stdout] acae9468080dcfb93e11e896c74ce7d88887158b39d03ca593f53fd254202980
[INFO] testing aweinstock314/factorio_ai against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faweinstock314%2Ffactorio_ai" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aweinstock314/factorio_ai on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aweinstock314/factorio_ai
[INFO] finished tweaking git repo https://github.com/aweinstock314/factorio_ai
[INFO] tweaked toml for git repo https://github.com/aweinstock314/factorio_ai written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/aweinstock314/factorio_ai 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 87752901d689adbd330dc7e36ac1ed1809fb46c6bbdc0f93493d007947c7c266
[INFO] running `Command { std: "docker" "start" "-a" "87752901d689adbd330dc7e36ac1ed1809fb46c6bbdc0f93493d007947c7c266", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87752901d689adbd330dc7e36ac1ed1809fb46c6bbdc0f93493d007947c7c266", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87752901d689adbd330dc7e36ac1ed1809fb46c6bbdc0f93493d007947c7c266", kill_on_drop: false }`
[INFO] [stdout] 87752901d689adbd330dc7e36ac1ed1809fb46c6bbdc0f93493d007947c7c266
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 923c41613aaefa2ee5da9996bfdc8c2569037ac254e7c7e16f24a88cd5623ebb
[INFO] running `Command { std: "docker" "start" "-a" "923c41613aaefa2ee5da9996bfdc8c2569037ac254e7c7e16f24a88cd5623ebb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling fixedbitset v0.4.0
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling bitvec v0.19.5
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]    Compiling ron v0.6.4
[INFO] [stderr]    Compiling factorio_ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read`, `TryInto`
[INFO] [stdout]   --> src/main.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     io::{Read, Write},
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_data_extend`
[INFO] [stdout]   --> src/main.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use lua_parser::{parse_data_extend, LuaContext, LuaObject, LuaStmt};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/main.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nom::{error::convert_error, Finish, Parser};
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mining_speed`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mining_speed = HashMap::<ProductId, ProductsPerSecond>::from_iter([
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mining_speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module_effect`
[INFO] [stdout]    --> src/main.rs:226:25
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     let module_effect: f64 = modules
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_effect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut modded_rate = speed * (ingredient.amount as f64) / (output_amount as f64);
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/main.rs:286:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | struct Technology {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 286 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 287 |     type_: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 288 |     effects: Vec<LuaObject>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 289 |     prerequisites: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 290 |     ingredient_count: LuaObject,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 291 |     ingredients: Vec<Ingredient>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 292 |     ingredient_time: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Technology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.05s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "923c41613aaefa2ee5da9996bfdc8c2569037ac254e7c7e16f24a88cd5623ebb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "923c41613aaefa2ee5da9996bfdc8c2569037ac254e7c7e16f24a88cd5623ebb", kill_on_drop: false }`
[INFO] [stdout] 923c41613aaefa2ee5da9996bfdc8c2569037ac254e7c7e16f24a88cd5623ebb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 088e1a3227d94b04a19b84d3cd522301862a477c09cbc3ac42e09f8f6ce29c11
[INFO] running `Command { std: "docker" "start" "-a" "088e1a3227d94b04a19b84d3cd522301862a477c09cbc3ac42e09f8f6ce29c11", kill_on_drop: false }`
[INFO] [stderr]    Compiling factorio_ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TryInto`
[INFO] [stdout]   --> src/main.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     convert::{TryFrom, TryInto},
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_data_extend`
[INFO] [stdout]   --> src/main.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use lua_parser::{parse_data_extend, LuaContext, LuaObject, LuaStmt};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Parser`
[INFO] [stdout]  --> src/main.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use nom::{error::convert_error, Finish, Parser};
[INFO] [stdout]   |                                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mining_speed`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mining_speed = HashMap::<ProductId, ProductsPerSecond>::from_iter([
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mining_speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module_effect`
[INFO] [stdout]    --> src/main.rs:226:25
[INFO] [stdout]     |
[INFO] [stdout] 226 |                     let module_effect: f64 = modules
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_effect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut modded_rate = speed * (ingredient.amount as f64) / (output_amount as f64);
[INFO] [stdout]     |                     ----^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |     let mut string_data = std::fs::read_to_string(
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_`, `effects`, `ingredient_count`, `ingredients`, and `ingredient_time` are never read
[INFO] [stdout]    --> src/main.rs:287:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | struct Technology {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 286 |     name: String,
[INFO] [stdout] 287 |     type_: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 288 |     effects: Vec<LuaObject>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 289 |     prerequisites: Vec<String>,
[INFO] [stdout] 290 |     ingredient_count: LuaObject,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 291 |     ingredients: Vec<Ingredient>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 292 |     ingredient_time: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Technology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "088e1a3227d94b04a19b84d3cd522301862a477c09cbc3ac42e09f8f6ce29c11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "088e1a3227d94b04a19b84d3cd522301862a477c09cbc3ac42e09f8f6ce29c11", kill_on_drop: false }`
[INFO] [stdout] 088e1a3227d94b04a19b84d3cd522301862a477c09cbc3ac42e09f8f6ce29c11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fdd3b446d3a2b12c0f79e93bf4c31cba69e799ff801e2318f278f85ff1849e92
[INFO] running `Command { std: "docker" "start" "-a" "fdd3b446d3a2b12c0f79e93bf4c31cba69e799ff801e2318f278f85ff1849e92", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `TryInto`
[INFO] [stderr]   --> src/main.rs:10:24
[INFO] [stderr]    |
[INFO] [stderr] 10 |     convert::{TryFrom, TryInto},
[INFO] [stderr]    |                        ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `parse_data_extend`
[INFO] [stderr]   --> src/main.rs:20:18
[INFO] [stderr]    |
[INFO] [stderr] 20 | use lua_parser::{parse_data_extend, LuaContext, LuaObject, LuaStmt};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Parser`
[INFO] [stderr]  --> src/main.rs:4:41
[INFO] [stderr]   |
[INFO] [stderr] 4 | use nom::{error::convert_error, Finish, Parser};
[INFO] [stderr]   |                                         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mining_speed`
[INFO] [stderr]   --> src/main.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let mining_speed = HashMap::<ProductId, ProductsPerSecond>::from_iter([
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mining_speed`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `module_effect`
[INFO] [stderr]    --> src/main.rs:226:25
[INFO] [stderr]     |
[INFO] [stderr] 226 |                     let module_effect: f64 = modules
[INFO] [stderr]     |                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_effect`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:219:21
[INFO] [stderr]     |
[INFO] [stderr] 219 |                 let mut modded_rate = speed * (ingredient.amount as f64) / (output_amount as f64);
[INFO] [stderr]     |                     ----^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:352:9
[INFO] [stderr]     |
[INFO] [stderr] 352 |     let mut string_data = std::fs::read_to_string(
[INFO] [stderr]     |         ----^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `type_`, `effects`, `ingredient_count`, `ingredients`, and `ingredient_time` are never read
[INFO] [stderr]    --> src/main.rs:287:5
[INFO] [stderr]     |
[INFO] [stderr] 285 | struct Technology {
[INFO] [stderr]     |        ---------- fields in this struct
[INFO] [stderr] 286 |     name: String,
[INFO] [stderr] 287 |     type_: String,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 288 |     effects: Vec<LuaObject>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 289 |     prerequisites: Vec<String>,
[INFO] [stderr] 290 |     ingredient_count: LuaObject,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 291 |     ingredients: Vec<Ingredient>,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 292 |     ingredient_time: f64,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Technology` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `factorio_ai` (bin "factorio_ai" test) generated 8 warnings (run `cargo fix --bin "factorio_ai" --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/factorio_ai-e678c032d17ba5dc)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test lua_parser::parse_tests ... ok
[INFO] [stdout] test parse_technology ... FAILED
[INFO] [stdout] test parse_item ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- parse_technology stdout ----
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] ---- parse_item stdout ----
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     parse_item
[INFO] [stdout]     parse_technology
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin factorio_ai`
[INFO] running `Command { std: "docker" "inspect" "fdd3b446d3a2b12c0f79e93bf4c31cba69e799ff801e2318f278f85ff1849e92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdd3b446d3a2b12c0f79e93bf4c31cba69e799ff801e2318f278f85ff1849e92", kill_on_drop: false }`
[INFO] [stdout] fdd3b446d3a2b12c0f79e93bf4c31cba69e799ff801e2318f278f85ff1849e92
