[INFO] cloning repository https://github.com/mewosmith/TeleportationWarsWeaponRefactor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mewosmith/TeleportationWarsWeaponRefactor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmewosmith%2FTeleportationWarsWeaponRefactor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmewosmith%2FTeleportationWarsWeaponRefactor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59426f1219d017cca22cf351de651eb68401125c
[INFO] checking mewosmith/TeleportationWarsWeaponRefactor against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmewosmith%2FTeleportationWarsWeaponRefactor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor
[INFO] finished tweaking git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor
[INFO] tweaked toml for git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded xml-rs v0.8.0
[INFO] [stderr]   Downloaded serde-xml-rs v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d5bf687152268ccf2e770315f5fcea3fa8347258413c2122bd6629b837fae18
[INFO] running `Command { std: "docker" "start" "-a" "5d5bf687152268ccf2e770315f5fcea3fa8347258413c2122bd6629b837fae18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d5bf687152268ccf2e770315f5fcea3fa8347258413c2122bd6629b837fae18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d5bf687152268ccf2e770315f5fcea3fa8347258413c2122bd6629b837fae18", kill_on_drop: false }`
[INFO] [stdout] 5d5bf687152268ccf2e770315f5fcea3fa8347258413c2122bd6629b837fae18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36c044f1905268e3e8fe03c7a55995ef606f2338478169976e937331e9a0e7ce
[INFO] running `Command { std: "docker" "start" "-a" "36c044f1905268e3e8fe03c7a55995ef606f2338478169976e937331e9a0e7ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling cc v1.0.45
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking xml-rs v0.8.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking backtrace v0.3.38
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]     Checking toml v0.5.3
[INFO] [stderr]     Checking serde-xml-rs v0.3.1
[INFO] [stderr]     Checking weapon_refactor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:307:70
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 307 - fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 307 + fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:397:70
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 397 - fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 397 + fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:485:70
[INFO] [stdout]     |
[INFO] [stdout] 485 | fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 485 - fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 485 + fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:574:73
[INFO] [stdout]     |
[INFO] [stdout] 574 | fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 574 - fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 574 + fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:662:73
[INFO] [stdout]     |
[INFO] [stdout] 662 | fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 662 - fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 662 + fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:307:70
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 307 - fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 307 + fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:397:70
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 397 - fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 397 + fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:485:70
[INFO] [stdout]     |
[INFO] [stdout] 485 | fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 485 - fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 485 + fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:574:73
[INFO] [stdout]     |
[INFO] [stdout] 574 | fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 574 - fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 574 + fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:662:73
[INFO] [stdout]     |
[INFO] [stdout] 662 | fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 662 - fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 662 + fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |     for i in 1..*weaponcount {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prng`
[INFO] [stdout]    --> src/main.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_prng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let mut toml_str = include_str!("Config.toml");
[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:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |     for i in 1..*weaponcount {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prng`
[INFO] [stdout]    --> src/main.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_prng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toml_parsed`
[INFO] [stdout]    --> src/main.rs:836:15
[INFO] [stdout]     |
[INFO] [stdout] 836 | fn gen_bullet(toml_parsed: &Toml, current: &Current, bullet_string: &mut String) {
[INFO] [stdout]     |               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let mut toml_str = include_str!("Config.toml");
[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:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toml_parsed`
[INFO] [stdout]    --> src/main.rs:836:15
[INFO] [stdout]     |
[INFO] [stdout] 836 | fn gen_bullet(toml_parsed: &Toml, current: &Current, bullet_string: &mut String) {
[INFO] [stdout]     |               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.95s
[INFO] running `Command { std: "docker" "inspect" "36c044f1905268e3e8fe03c7a55995ef606f2338478169976e937331e9a0e7ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36c044f1905268e3e8fe03c7a55995ef606f2338478169976e937331e9a0e7ce", kill_on_drop: false }`
[INFO] [stdout] 36c044f1905268e3e8fe03c7a55995ef606f2338478169976e937331e9a0e7ce
[INFO] checking mewosmith/TeleportationWarsWeaponRefactor against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmewosmith%2FTeleportationWarsWeaponRefactor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor
[INFO] finished tweaking git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor
[INFO] tweaked toml for git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mewosmith/TeleportationWarsWeaponRefactor 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c30e82d6846ea2fd0ff3e78cfb90f57503998c3913994e601d6fe03809757ce8
[INFO] running `Command { std: "docker" "start" "-a" "c30e82d6846ea2fd0ff3e78cfb90f57503998c3913994e601d6fe03809757ce8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c30e82d6846ea2fd0ff3e78cfb90f57503998c3913994e601d6fe03809757ce8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c30e82d6846ea2fd0ff3e78cfb90f57503998c3913994e601d6fe03809757ce8", kill_on_drop: false }`
[INFO] [stdout] c30e82d6846ea2fd0ff3e78cfb90f57503998c3913994e601d6fe03809757ce8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07eba1e4f7ee80b712e8f1c9821cc5eb8c015df5e2bf342fc19dcb3abd4a804c
[INFO] running `Command { std: "docker" "start" "-a" "07eba1e4f7ee80b712e8f1c9821cc5eb8c015df5e2bf342fc19dcb3abd4a804c", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.45
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling getrandom v0.1.12
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking xml-rs v0.8.0
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]    Compiling backtrace-sys v0.1.31
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking backtrace v0.3.38
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]     Checking serde-xml-rs v0.3.1
[INFO] [stderr]     Checking toml v0.5.3
[INFO] [stderr]     Checking weapon_refactor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:307:70
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 307 - fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 307 + fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:397:70
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 397 - fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 397 + fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:485:70
[INFO] [stdout]     |
[INFO] [stdout] 485 | fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 485 - fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 485 + fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:574:73
[INFO] [stdout]     |
[INFO] [stdout] 574 | fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 574 - fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 574 + fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:662:73
[INFO] [stdout]     |
[INFO] [stdout] 662 | fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 662 - fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 662 + fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:307:70
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 307 - fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 307 + fn current_sgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:397:70
[INFO] [stdout]     |
[INFO] [stdout] 397 | fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 397 - fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 397 + fn current_mgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:485:70
[INFO] [stdout]     |
[INFO] [stdout] 485 | fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                      ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 485 - fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 485 + fn current_lgun(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:574:73
[INFO] [stdout]     |
[INFO] [stdout] 574 | fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 574 - fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 574 + fn current_mturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:662:73
[INFO] [stdout]     |
[INFO] [stdout] 662 | fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout]     |                                                                         ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 662 - fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> (Current) {
[INFO] [stdout] 662 + fn current_lturret(toml_parsed: &Toml, tcount: i32, macroname: &str) -> Current {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |     for i in 1..*weaponcount {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prng`
[INFO] [stdout]    --> src/main.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_prng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let mut toml_str = include_str!("Config.toml");
[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:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:238:9
[INFO] [stdout]     |
[INFO] [stdout] 238 |     for i in 1..*weaponcount {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prng`
[INFO] [stdout]    --> src/main.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_prng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:214:9
[INFO] [stdout]     |
[INFO] [stdout] 214 |     let mut toml_str = include_str!("Config.toml");
[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:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut prng = rand::thread_rng();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toml_parsed`
[INFO] [stdout]    --> src/main.rs:836:15
[INFO] [stdout]     |
[INFO] [stdout] 836 | fn gen_bullet(toml_parsed: &Toml, current: &Current, bullet_string: &mut String) {
[INFO] [stdout]     |               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Toml`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SmallWeapon`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MediumWeapon`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LargeWeapon`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 120 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MediumTurret`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LargeTurret`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `toml_parsed`
[INFO] [stdout]    --> src/main.rs:836:15
[INFO] [stdout]     |
[INFO] [stdout] 836 | fn gen_bullet(toml_parsed: &Toml, current: &Current, bullet_string: &mut String) {
[INFO] [stdout]     |               ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_parsed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Toml`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SmallWeapon`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MediumWeapon`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/main.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LargeWeapon`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 120 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_MediumTurret`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[derive(Deserialize, Debug, Default, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LargeTurret`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weapon_refactor` (bin "weapon_refactor" test) due to 8 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 7 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weapon_refactor` (bin "weapon_refactor") due to 8 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "07eba1e4f7ee80b712e8f1c9821cc5eb8c015df5e2bf342fc19dcb3abd4a804c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07eba1e4f7ee80b712e8f1c9821cc5eb8c015df5e2bf342fc19dcb3abd4a804c", kill_on_drop: false }`
[INFO] [stdout] 07eba1e4f7ee80b712e8f1c9821cc5eb8c015df5e2bf342fc19dcb3abd4a804c
