[INFO] cloning repository https://github.com/fnky/particle-life-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fnky/particle-life-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Fparticle-life-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Fparticle-life-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd8dfe807882be39a6c47f0b64c724969f6bbca7 [INFO] checking fnky/particle-life-rs against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Fparticle-life-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fnky/particle-life-rs [INFO] finished tweaking git repo https://github.com/fnky/particle-life-rs [INFO] tweaked toml for git repo https://github.com/fnky/particle-life-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fnky/particle-life-rs on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fnky/particle-life-rs 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3621a1c89e69ef6cc82915f5723fce59adcf46ace560c0037949a77287397b20 [INFO] running `Command { std: "docker" "start" "-a" "3621a1c89e69ef6cc82915f5723fce59adcf46ace560c0037949a77287397b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3621a1c89e69ef6cc82915f5723fce59adcf46ace560c0037949a77287397b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3621a1c89e69ef6cc82915f5723fce59adcf46ace560c0037949a77287397b20", kill_on_drop: false }` [INFO] [stdout] 3621a1c89e69ef6cc82915f5723fce59adcf46ace560c0037949a77287397b20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c8bdcf3fda2b87ed49b7e488cd2d5e2bc960be29a10799a08cbc5e30ccee549 [INFO] running `Command { std: "docker" "start" "-a" "0c8bdcf3fda2b87ed49b7e488cd2d5e2bc960be29a10799a08cbc5e30ccee549", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling sapp-linux v0.1.14 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking miniquad v0.3.0-alpha.45 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking macroquad v0.3.15 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking particle-life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/universe.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for mut p in self.particles.iter_mut() { [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: value assigned to `f` is never read [INFO] [stdout] --> src/universe.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut f = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color` is never used [INFO] [stdout] --> src/particle_types.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParticleTypes { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_color(&self, index: usize) -> Option<&Color> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_size` and `set_zoom` are never used [INFO] [stdout] --> src/universe.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Universe { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_size(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn set_zoom(&mut self, cx: f32, cy: f32, zoom: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/universe.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | for mut p in self.particles.iter_mut() { [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: value assigned to `f` is never read [INFO] [stdout] --> src/universe.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut f = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color` is never used [INFO] [stdout] --> src/particle_types.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ParticleTypes { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_color(&self, index: usize) -> Option<&Color> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_size` and `set_zoom` are never used [INFO] [stdout] --> src/universe.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Universe { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_size(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn set_zoom(&mut self, cx: f32, cy: f32, zoom: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 27.70s [INFO] running `Command { std: "docker" "inspect" "0c8bdcf3fda2b87ed49b7e488cd2d5e2bc960be29a10799a08cbc5e30ccee549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8bdcf3fda2b87ed49b7e488cd2d5e2bc960be29a10799a08cbc5e30ccee549", kill_on_drop: false }` [INFO] [stdout] 0c8bdcf3fda2b87ed49b7e488cd2d5e2bc960be29a10799a08cbc5e30ccee549