[INFO] cloning repository https://github.com/bigbass1997/reaction-diffusion-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bigbass1997/reaction-diffusion-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Freaction-diffusion-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Freaction-diffusion-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b1a1b6778cc04e1bd8cf7e783d0755ba7ea421a [INFO] checking bigbass1997/reaction-diffusion-rust against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbigbass1997%2Freaction-diffusion-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bigbass1997/reaction-diffusion-rust on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bigbass1997/reaction-diffusion-rust [INFO] finished tweaking git repo https://github.com/bigbass1997/reaction-diffusion-rust [INFO] tweaked toml for git repo https://github.com/bigbass1997/reaction-diffusion-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/bigbass1997/reaction-diffusion-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 036c1bbc97375fc218a7a6ccd8f443e41e69e73a09cecfe738623012db708e11 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "036c1bbc97375fc218a7a6ccd8f443e41e69e73a09cecfe738623012db708e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "036c1bbc97375fc218a7a6ccd8f443e41e69e73a09cecfe738623012db708e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036c1bbc97375fc218a7a6ccd8f443e41e69e73a09cecfe738623012db708e11", kill_on_drop: false }` [INFO] [stdout] 036c1bbc97375fc218a7a6ccd8f443e41e69e73a09cecfe738623012db708e11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39f184ef86f58e0d58d41fb3beb850196353751ba7a0de0530832e259610967 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f39f184ef86f58e0d58d41fb3beb850196353751ba7a0de0530832e259610967", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.1.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking reaction-diffusion-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/main.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use gif::{Encoder, Repeat, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | for i in 0..64 { [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: `counter` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut counter = -350; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut total = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gif` [INFO] [stdout] --> src/main.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | fn update(sim: &mut SimulationState, buf: &mut [u32], gif: &mut [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut image = File::create(format!("gifs/{}.gif", dt)).unwrap(); [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: unused import: `Frame` [INFO] [stdout] --> src/main.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use gif::{Encoder, Repeat, Frame}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut counter = -350; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut total = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut r = 1.0 - (val * 0.5f64); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut g = 1.0 - (val * 0.1f64); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_f64_rgb_gray` [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_f64_rgb_gray(v: f64) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `initGif` [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn initGif() -> Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | for i in 0..64 { [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: `counter` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut counter = -350; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut total = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gif` [INFO] [stdout] --> src/main.rs:134:55 [INFO] [stdout] | [INFO] [stdout] 134 | fn update(sim: &mut SimulationState, buf: &mut [u32], gif: &mut [u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gif` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut image = File::create(format!("gifs/{}.gif", dt)).unwrap(); [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:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut counter = -350; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut total = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut r = 1.0 - (val * 0.5f64); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut g = 1.0 - (val * 0.1f64); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_f64_rgb_gray` [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn from_f64_rgb_gray(v: f64) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `initGif` [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn initGif() -> Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "f39f184ef86f58e0d58d41fb3beb850196353751ba7a0de0530832e259610967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39f184ef86f58e0d58d41fb3beb850196353751ba7a0de0530832e259610967", kill_on_drop: false }` [INFO] [stdout] f39f184ef86f58e0d58d41fb3beb850196353751ba7a0de0530832e259610967