[INFO] cloning repository https://github.com/LynxFusee/NeuralNetwork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LynxFusee/NeuralNetwork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLynxFusee%2FNeuralNetwork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLynxFusee%2FNeuralNetwork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff0fc591aaa07c504cdf82f95f0d9e1c24259157 [INFO] checking LynxFusee/NeuralNetwork against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLynxFusee%2FNeuralNetwork" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LynxFusee/NeuralNetwork [INFO] finished tweaking git repo https://github.com/LynxFusee/NeuralNetwork [INFO] tweaked toml for git repo https://github.com/LynxFusee/NeuralNetwork written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LynxFusee/NeuralNetwork on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LynxFusee/NeuralNetwork 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3 [INFO] running `Command { std: "docker" "start" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Compiling crc32fast v1.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Compiling miniquad v0.4.11 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking chacha20 v0.10.2 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking either v1.18.0 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking fontdue v0.9.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Checking rand v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Checking rand_distr v0.6.0 [INFO] [stderr] Checking macroquad v0.4.16 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking NeuralNetwork v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CAR_SPEED` [INFO] [stdout] --> src/bin/play.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use game::{CarDodgeEnv, GAME_W, GAME_H, CAR_W, CAR_H, CAR_Y, CAR_SPEED, OBSTACLE_W, OBSTACLE_H}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CAR_SPEED` [INFO] [stdout] --> src/bin/play.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use game::{CarDodgeEnv, GAME_W, GAME_H, CAR_W, CAR_H, CAR_Y, CAR_SPEED, OBSTACLE_W, OBSTACLE_H}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_states` is never used [INFO] [stdout] --> src/bin/../game.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl CarDodgeEnv { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_states(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_states` is never used [INFO] [stdout] --> src/bin/../game.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl CarDodgeEnv { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_states(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUT_CHANCE` is never used [INFO] [stdout] --> src/bin/../ia.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MUT_CHANCE: f32 = 0.02; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUT_FORCE` is never used [INFO] [stdout] --> src/bin/../ia.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MUT_FORCE: f32 = 0.05; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RND_MUT_CHANCE` is never used [INFO] [stdout] --> src/bin/../ia.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const RND_MUT_CHANCE: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `mutate` are never used [INFO] [stdout] --> src/bin/../ia.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(entry_size: usize, weights_given: Option>, bias_given: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `mutate` are never used [INFO] [stdout] --> src/bin/../ia.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 92 | pub fn new(size: usize, entry_size: usize, mut weights: Option>>, mut bias_given: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `logic`, and `mutate` are never used [INFO] [stdout] --> src/bin/../ia.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 124 | pub fn new(per_layer: Vec, mut entry_size: usize, mut weights: Option>>>, mut bias_given: Option) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUT_CHANCE` is never used [INFO] [stdout] --> src/bin/../ia.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MUT_CHANCE: f32 = 0.02; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUT_FORCE` is never used [INFO] [stdout] --> src/bin/../ia.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MUT_FORCE: f32 = 0.05; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RND_MUT_CHANCE` is never used [INFO] [stdout] --> src/bin/../ia.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const RND_MUT_CHANCE: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `mutate` are never used [INFO] [stdout] --> src/bin/../ia.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Neuron { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(entry_size: usize, weights_given: Option>, bias_given: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `mutate` are never used [INFO] [stdout] --> src/bin/../ia.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Layer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 92 | pub fn new(size: usize, entry_size: usize, mut weights: Option>>, mut bias_given: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `logic`, and `mutate` are never used [INFO] [stdout] --> src/bin/../ia.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Network { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 124 | pub fn new(per_layer: Vec, mut entry_size: usize, mut weights: Option>>>, mut bias_given: Option) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn mutate(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `forward_all` is never used [INFO] [stdout] --> src/ia.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn forward_all(&self, mut entries: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `forward_all` is never used [INFO] [stdout] --> src/ia.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn forward_all(&self, mut entries: Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.79s [INFO] running `Command { std: "docker" "inspect" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3", kill_on_drop: false }` [INFO] [stdout] 9c9a502189fe21e588040ddc51b118076a0488f762c7c7aaef11915989408ae3