[INFO] updating cached repository https://github.com/kunalchandan/LatticeBoltzmann
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 16ecba4248602ac341d17862fcfa52afa92095c0
[INFO] checking kunalchandan/LatticeBoltzmann against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kunalchandan/LatticeBoltzmann on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/kunalchandan/LatticeBoltzmann
[INFO] finished tweaking git repo https://github.com/kunalchandan/LatticeBoltzmann
[INFO] tweaked toml for git repo https://github.com/kunalchandan/LatticeBoltzmann written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/kunalchandan/LatticeBoltzmann already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 10818e5bbc682c091b98325685e2efddad3ed63585edfe56d4ced45e8683eecb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "10818e5bbc682c091b98325685e2efddad3ed63585edfe56d4ced45e8683eecb"`
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling derivative v1.0.3
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]    Compiling serde_derive v1.0.102
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking num-complex v0.2.3
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking rusttype v0.8.1
[INFO] [stderr]     Checking num-bigint v0.2.3
[INFO] [stderr]     Checking num-iter v0.1.39
[INFO] [stderr]     Checking alga v0.9.2
[INFO] [stderr]     Checking crossbeam-epoch v0.8.0
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking piston2d-graphics v0.35.0
[INFO] [stderr]     Checking rulinalg v0.4.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking rayon-core v1.6.0
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking rayon v1.2.0
[INFO] [stderr]     Checking num-rational v0.2.2
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking nalgebra v0.19.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.16
[INFO] [stderr]     Checking image v0.22.3
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking piston-gfx_texture v0.40.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.70.0
[INFO] [stderr]     Checking imageproc v0.19.2
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking piston v0.49.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.66.0
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking glutin v0.21.1
[INFO] [stderr]     Checking pistoncore-glutin_window v0.63.0
[INFO] [stderr]     Checking piston_window v0.105.0
[INFO] [stderr]     Checking lattice_boltzmann v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: visibility `pub(crate)` is not followed by an item
[INFO] [stderr]   --> src/lattice/consts.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stderr]    | ^^^^^^^^^^ the visibility
[INFO] [stderr]    |
[INFO] [stderr]    = help: you likely meant to define an item, e.g., `pub(crate) fn foo() {}`
[INFO] [stderr] 
[INFO] [stderr] error: visibility `pub(crate)` is not followed by an item
[INFO] [stderr]   --> src/lattice/consts.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stderr]    | ^^^^^^^^^^ the visibility
[INFO] [stderr]    |
[INFO] [stderr]    = help: you likely meant to define an item, e.g., `pub(crate) fn foo() {}`
[INFO] [stderr] 
[INFO] [stderr] error: expected item, found keyword `pub`
[INFO] [stderr]   --> src/lattice/consts.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stderr]    |           ^^^ expected item
[INFO] [stderr] 
[INFO] [stderr] error: expected item, found keyword `pub`
[INFO] [stderr]   --> src/lattice/consts.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stderr]    |           ^^^ expected item
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lattice::consts::E`
[INFO] [stderr]  --> src/lattice/node.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::lattice::consts::E;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `E` in `lattice::consts`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::lattice::consts::E`
[INFO] [stderr]  --> src/lattice/node.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::lattice::consts::E;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `E` in `lattice::consts`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]  --> src/lattice/funcs.rs:9:32
[INFO] [stderr]   |
[INFO] [stderr] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stderr]   |                                ^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::SCALE_X;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]  --> src/lattice/funcs.rs:9:55
[INFO] [stderr]   |
[INFO] [stderr] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stderr]   |                                                       ^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::SCALE_Y;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:10:38
[INFO] [stderr]    |
[INFO] [stderr] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stderr]    |                                      ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:10:61
[INFO] [stderr]    |
[INFO] [stderr] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stderr]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:11:28
[INFO] [stderr]    |
[INFO] [stderr] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stderr]    |                            ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:11:51
[INFO] [stderr]    |
[INFO] [stderr] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stderr]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:14:38
[INFO] [stderr]    |
[INFO] [stderr] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stderr]    |                                      ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:14:61
[INFO] [stderr]    |
[INFO] [stderr] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stderr]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:15:28
[INFO] [stderr]    |
[INFO] [stderr] 15 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel[vel] = 10. * unsafe { ((vel as f32) * PI/9.0).cos() };
[INFO] [stderr]    |                            ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:15:51
[INFO] [stderr]    |
[INFO] [stderr] 15 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel[vel] = 10. * unsafe { ((vel as f32) * PI/9.0).cos() };
[INFO] [stderr]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:17:39
[INFO] [stderr]    |
[INFO] [stderr] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stderr]    |                                       ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:17:62
[INFO] [stderr]    |
[INFO] [stderr] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stderr]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:18:39
[INFO] [stderr]    |
[INFO] [stderr] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stderr]    |                                       ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:18:62
[INFO] [stderr]    |
[INFO] [stderr] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stderr]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MIN_VEL` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:27:87
[INFO] [stderr]    |
[INFO] [stderr] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stderr]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_VEL` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:27:101
[INFO] [stderr]    |
[INFO] [stderr] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stderr]    |                                                                                                     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MIN_DEN` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:31:87
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stderr]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_DEN` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:31:100
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stderr]    |                                                                                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:81:28
[INFO] [stderr]    |
[INFO] [stderr] 81 |                     if y < U_Y - 1 {
[INFO] [stderr]    |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:87:24
[INFO] [stderr]    |
[INFO] [stderr] 87 |                 if x < U_X - 1 {
[INFO] [stderr]    |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:96:28
[INFO] [stderr]    |
[INFO] [stderr] 96 |                     if y < U_Y - 1 {
[INFO] [stderr]    |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:107:24
[INFO] [stderr]     |
[INFO] [stderr] 107 |                 if y < U_Y - 1 {
[INFO] [stderr]     |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `W` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:149:30
[INFO] [stderr]     |
[INFO] [stderr] 149 |                     let wi = W[i];
[INFO] [stderr]     |                              ^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 149 |                     let wi = c[i];
[INFO] [stderr]     |                              ^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston::Key::W;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston_window::Key::W;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `E` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:150:65
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stderr]     |                                                                 ^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(c[i][0], E[i][1]);
[INFO] [stderr]     |                                                                 ^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f32::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f64::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston::Key::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston_window::Key::E;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `E` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:150:74
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stderr]     |                                                                          ^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], c[i][1]);
[INFO] [stderr]     |                                                                          ^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f32::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f64::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston::Key::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston_window::Key::E;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stderr]   --> src/lattice.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 35 |         }; U_X]; U_Y];
[INFO] [stderr]    |            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]   --> src/lattice.rs:35:18
[INFO] [stderr]    |
[INFO] [stderr] 35 |         }; U_X]; U_Y];
[INFO] [stderr]    |                  ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `C` in this scope
[INFO] [stderr]   --> src/lattice.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 |         c: C,
[INFO] [stderr]    |            ^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston::Key::C;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston_window::Key::C;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `T` in this scope
[INFO] [stderr]   --> src/lattice.rs:45:14
[INFO] [stderr]    |
[INFO] [stderr] 45 |         tau: T
[INFO] [stderr]    |              ^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston::Key::T;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston_window::Key::T;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:10:35
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub const SCALE_X: u32 = lattice::SCALE_X;
[INFO] [stderr]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:11:35
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub const SCALE_Y: u32 = lattice::SCALE_Y;
[INFO] [stderr]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:50:57
[INFO] [stderr]    |
[INFO] [stderr] 50 |         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stderr]    |                                                         ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:66:26
[INFO] [stderr]    |
[INFO] [stderr] 66 |     for x in 0..lattice::X {
[INFO] [stderr]    |                          ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:67:30
[INFO] [stderr]    |
[INFO] [stderr] 67 |         for y in 0..lattice::Y {
[INFO] [stderr]    |                              ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:88:19
[INFO] [stderr]    |
[INFO] [stderr] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stderr]    |                   ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:88:41
[INFO] [stderr]    |
[INFO] [stderr] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stderr]    |                                         ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:99:93
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stderr]    |                                                                                             ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:99:115
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stderr]    |                                                                                                                   ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::exit`
[INFO] [stderr]  --> src/lattice.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::process::exit;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::lattice::consts::*`
[INFO] [stderr]  --> src/lattice.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::lattice::consts::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::lattice::consts::*`
[INFO] [stderr]  --> src/lattice/funcs.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::lattice::consts::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let f: f32 = (a * (f32::exp(-1.0 * ((x0.powf(2.0) / (2.0 * sx.powf(2.0))) + (y0.powf(2.0) / (2.0 * sx.powf(2.0))))) - b));
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]  --> src/lattice/funcs.rs:9:32
[INFO] [stderr]   |
[INFO] [stderr] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stderr]   |                                ^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::SCALE_X;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]  --> src/lattice/funcs.rs:9:55
[INFO] [stderr]   |
[INFO] [stderr] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stderr]   |                                                       ^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::SCALE_Y;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:10:38
[INFO] [stderr]    |
[INFO] [stderr] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stderr]    |                                      ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:10:61
[INFO] [stderr]    |
[INFO] [stderr] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stderr]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:11:28
[INFO] [stderr]    |
[INFO] [stderr] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stderr]    |                            ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:11:51
[INFO] [stderr]    |
[INFO] [stderr] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stderr]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:14:38
[INFO] [stderr]    |
[INFO] [stderr] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stderr]    |                                      ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:14:61
[INFO] [stderr]    |
[INFO] [stderr] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stderr]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:15:28
[INFO] [stderr]    |
[INFO] [stderr] 15 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel[vel] = 10. * unsafe { ((vel as f32) * PI/9.0).cos() };
[INFO] [stderr]    |                            ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:15:51
[INFO] [stderr]    |
[INFO] [stderr] 15 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel[vel] = 10. * unsafe { ((vel as f32) * PI/9.0).cos() };
[INFO] [stderr]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:17:39
[INFO] [stderr]    |
[INFO] [stderr] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stderr]    |                                       ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:17:62
[INFO] [stderr]    |
[INFO] [stderr] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stderr]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:18:39
[INFO] [stderr]    |
[INFO] [stderr] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stderr]    |                                       ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:18:62
[INFO] [stderr]    |
[INFO] [stderr] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stderr]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MIN_VEL` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:27:87
[INFO] [stderr]    |
[INFO] [stderr] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stderr]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_VEL` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:27:101
[INFO] [stderr]    |
[INFO] [stderr] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stderr]    |                                                                                                     ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MIN_DEN` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:31:87
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stderr]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `MAX_DEN` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:31:100
[INFO] [stderr]    |
[INFO] [stderr] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stderr]    |                                                                                                    ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:81:28
[INFO] [stderr]    |
[INFO] [stderr] 81 |                     if y < U_Y - 1 {
[INFO] [stderr]    |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:87:24
[INFO] [stderr]    |
[INFO] [stderr] 87 |                 if x < U_X - 1 {
[INFO] [stderr]    |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]   --> src/lattice/funcs.rs:96:28
[INFO] [stderr]    |
[INFO] [stderr] 96 |                     if y < U_Y - 1 {
[INFO] [stderr]    |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:107:24
[INFO] [stderr]     |
[INFO] [stderr] 107 |                 if y < U_Y - 1 {
[INFO] [stderr]     |                        ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `W` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:149:30
[INFO] [stderr]     |
[INFO] [stderr] 149 |                     let wi = W[i];
[INFO] [stderr]     |                              ^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 149 |                     let wi = c[i];
[INFO] [stderr]     |                              ^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston::Key::W;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston_window::Key::W;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `E` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:150:65
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stderr]     |                                                                 ^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(c[i][0], E[i][1]);
[INFO] [stderr]     |                                                                 ^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f32::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f64::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston::Key::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston_window::Key::E;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `E` in this scope
[INFO] [stderr]    --> src/lattice/funcs.rs:150:74
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stderr]     |                                                                          ^
[INFO] [stderr]     |
[INFO] [stderr] help: a local variable with a similar name exists
[INFO] [stderr]     |
[INFO] [stderr] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], c[i][1]);
[INFO] [stderr]     |                                                                          ^
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f32::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use core::f64::consts::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston::Key::E;
[INFO] [stderr]     |
[INFO] [stderr] 1   | use piston_window::Key::E;
[INFO] [stderr]     |
[INFO] [stderr]       and 2 other candidates
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stderr]   --> src/lattice.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 35 |         }; U_X]; U_Y];
[INFO] [stderr]    |            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stderr]   --> src/lattice.rs:35:18
[INFO] [stderr]    |
[INFO] [stderr] 35 |         }; U_X]; U_Y];
[INFO] [stderr]    |                  ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `C` in this scope
[INFO] [stderr]   --> src/lattice.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 44 |         c: C,
[INFO] [stderr]    |            ^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston::Key::C;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston_window::Key::C;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `T` in this scope
[INFO] [stderr]   --> src/lattice.rs:45:14
[INFO] [stderr]    |
[INFO] [stderr] 45 |         tau: T
[INFO] [stderr]    |              ^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston::Key::T;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use piston_window::Key::T;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:10:35
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub const SCALE_X: u32 = lattice::SCALE_X;
[INFO] [stderr]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::SCALE_X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `SCALE_Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:11:35
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub const SCALE_Y: u32 = lattice::SCALE_Y;
[INFO] [stderr]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use crate::SCALE_Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:50:57
[INFO] [stderr]    |
[INFO] [stderr] 50 |         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stderr]    |                                                         ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:66:26
[INFO] [stderr]    |
[INFO] [stderr] 66 |     for x in 0..lattice::X {
[INFO] [stderr]    |                          ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:67:30
[INFO] [stderr]    |
[INFO] [stderr] 67 |         for y in 0..lattice::Y {
[INFO] [stderr]    |                              ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:88:19
[INFO] [stderr]    |
[INFO] [stderr] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stderr]    |                   ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:88:41
[INFO] [stderr]    |
[INFO] [stderr] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stderr]    |                                         ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stderr]   --> src/main.rs:99:93
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stderr]    |                                                                                             ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::X;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stderr]   --> src/main.rs:99:115
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stderr]    |                                                                                                                   ^ not found in `lattice`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 6  | use piston_window::Key::Y;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::exit`
[INFO] [stderr]  --> src/lattice.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::process::exit;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::lattice::consts::*`
[INFO] [stderr]  --> src/lattice.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::lattice::consts::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::lattice::consts::*`
[INFO] [stderr]  --> src/lattice/funcs.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::lattice::consts::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let f: f32 = (a * (f32::exp(-1.0 * ((x0.powf(2.0) / (2.0 * sx.powf(2.0))) + (y0.powf(2.0) / (2.0 * sx.powf(2.0))))) - b));
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 41 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `lattice_boltzmann`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 41 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `lattice_boltzmann`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "10818e5bbc682c091b98325685e2efddad3ed63585edfe56d4ced45e8683eecb"`
[INFO] running `"docker" "rm" "-f" "10818e5bbc682c091b98325685e2efddad3ed63585edfe56d4ced45e8683eecb"`
[INFO] [stdout] 10818e5bbc682c091b98325685e2efddad3ed63585edfe56d4ced45e8683eecb
