[INFO] cloning repository https://github.com/robbiehammond/flip-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robbiehammond/flip-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbiehammond%2Fflip-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbiehammond%2Fflip-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f4c2e67e67e7e435fb9ee05831be5777e7339ac8
[INFO] checking robbiehammond/flip-sim against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbiehammond%2Fflip-sim" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robbiehammond/flip-sim
[INFO] finished tweaking git repo https://github.com/robbiehammond/flip-sim
[INFO] tweaked toml for git repo https://github.com/robbiehammond/flip-sim written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robbiehammond/flip-sim on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robbiehammond/flip-sim 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded c_vec v2.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d365fb16f3e39768d56644095d34d185db7771352959386be29f1bee2f731e61
[INFO] running `Command { std: "docker" "start" "-a" "d365fb16f3e39768d56644095d34d185db7771352959386be29f1bee2f731e61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d365fb16f3e39768d56644095d34d185db7771352959386be29f1bee2f731e61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d365fb16f3e39768d56644095d34d185db7771352959386be29f1bee2f731e61", kill_on_drop: false }`
[INFO] [stdout] d365fb16f3e39768d56644095d34d185db7771352959386be29f1bee2f731e61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42ce59ec40b4c1c05b6136b77b7ebe43c0b7c313cd21220f878edce5675dc24a
[INFO] running `Command { std: "docker" "start" "-a" "42ce59ec40b4c1c05b6136b77b7ebe43c0b7c313cd21220f878edce5675dc24a", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking flip-sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `particle`
[INFO] [stdout]  --> src/grid.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod particle;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `particle`, create file "src/grid/particle.rs" or "src/grid/particle/mod.rs"
[INFO] [stdout]   = note: if there is a `mod particle` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `particle`
[INFO] [stdout]  --> src/grid.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod particle;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `particle`, create file "src/grid/particle.rs" or "src/grid/particle/mod.rs"
[INFO] [stdout]   = note: if there is a `mod particle` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Util::util::mag`
[INFO] [stdout]  --> src/grid.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use crate::{grid::particle::Particle, Util::util::mag};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/grid.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...   particles[(i as usize)] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range...
[INFO] [stdout]    |                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -                 particles[(i as usize)] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range(0..PLAYGROUND_HEIGHT) as f32);
[INFO] [stdout] 46 +                 particles[i as usize ] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range(0..PLAYGROUND_HEIGHT) as f32);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/grid.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 particles[(i as usize)].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout]    |                           ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -                 particles[(i as usize)].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout] 47 +                 particles[i as usize ].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/grid.rs:81:47
[INFO] [stdout]    |
[INFO] [stdout] 81 |         pub fn particles(&self) -> [Particle; (NUM_PARTICLES as usize)] {
[INFO] [stdout]    |                                               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -         pub fn particles(&self) -> [Particle; (NUM_PARTICLES as usize)] {
[INFO] [stdout] 81 +         pub fn particles(&self) -> [Particle; NUM_PARTICLES as usize ] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Util::util::mag`
[INFO] [stdout]  --> src/grid.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use crate::{grid::particle::Particle, Util::util::mag};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/grid.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...   particles[(i as usize)] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range...
[INFO] [stdout]    |                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -                 particles[(i as usize)] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range(0..PLAYGROUND_HEIGHT) as f32);
[INFO] [stdout] 46 +                 particles[i as usize ] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range(0..PLAYGROUND_HEIGHT) as f32);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/grid.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 particles[(i as usize)].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout]    |                           ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -                 particles[(i as usize)].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout] 47 +                 particles[i as usize ].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/grid.rs:81:47
[INFO] [stdout]    |
[INFO] [stdout] 81 |         pub fn particles(&self) -> [Particle; (NUM_PARTICLES as usize)] {
[INFO] [stdout]    |                                               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -         pub fn particles(&self) -> [Particle; (NUM_PARTICLES as usize)] {
[INFO] [stdout] 81 +         pub fn particles(&self) -> [Particle; NUM_PARTICLES as usize ] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/grid.rs:256:31
[INFO] [stdout]     |
[INFO] [stdout] 256 |         fn measure_divergence(x: u32, y: u32) -> Option<f32> {
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/grid.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |         fn measure_divergence(x: u32, y: u32) -> Option<f32> {
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_grid`
[INFO] [stdout]    --> src/grid.rs:260:53
[INFO] [stdout]     |
[INFO] [stdout] 260 |         pub fn enforce_incompressibility(&mut self, old_grid: [(f32, f32); (NUM_WIDTH_CELLS * NUM_HEIGHT_CELLS) as usize]) {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_grid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/grid.rs:256:31
[INFO] [stdout]     |
[INFO] [stdout] 256 |         fn measure_divergence(x: u32, y: u32) -> Option<f32> {
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/grid.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |         fn measure_divergence(x: u32, y: u32) -> Option<f32> {
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_grid`
[INFO] [stdout]    --> src/grid.rs:260:53
[INFO] [stdout]     |
[INFO] [stdout] 260 |         pub fn enforce_incompressibility(&mut self, old_grid: [(f32, f32); (NUM_WIDTH_CELLS * NUM_HEIGHT_CELLS) as usize]) {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_grid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flip-sim` (bin "flip-sim" test) due to 1 previous error; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `flip-sim` (bin "flip-sim") due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "42ce59ec40b4c1c05b6136b77b7ebe43c0b7c313cd21220f878edce5675dc24a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42ce59ec40b4c1c05b6136b77b7ebe43c0b7c313cd21220f878edce5675dc24a", kill_on_drop: false }`
[INFO] [stdout] 42ce59ec40b4c1c05b6136b77b7ebe43c0b7c313cd21220f878edce5675dc24a
