[INFO] cloning repository https://github.com/kunalchandan/LatticeBoltzmann
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kunalchandan/LatticeBoltzmann" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 16ecba4248602ac341d17862fcfa52afa92095c0
[INFO] checking kunalchandan/LatticeBoltzmann against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kunalchandan/LatticeBoltzmann on toolchain 63132bd615c9bf75e93af8405d00064212331708
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kunalchandan/LatticeBoltzmann 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" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking kunalchandan/LatticeBoltzmann against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkunalchandan%2FLatticeBoltzmann" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kunalchandan/LatticeBoltzmann on toolchain 63132bd615c9bf75e93af8405d00064212331708
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kunalchandan/LatticeBoltzmann 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" "+63132bd615c9bf75e93af8405d00064212331708" "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 piston-viewport v1.0.0
[INFO] [stderr]   Downloaded piston-graphics_api_version v0.2.0
[INFO] [stderr]   Downloaded shader_version v0.6.0
[INFO] [stderr]   Downloaded pistoncore-window v0.44.0
[INFO] [stderr]   Downloaded glutin_emscripten_sys v0.1.0
[INFO] [stderr]   Downloaded num_cpus v1.11.1
[INFO] [stderr]   Downloaded piston-gfx_texture v0.40.0
[INFO] [stderr]   Downloaded piston v0.49.0
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded interpolation v0.2.0
[INFO] [stderr]   Downloaded rawpointer v0.1.0
[INFO] [stderr]   Downloaded downcast-rs v1.1.1
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.4
[INFO] [stderr]   Downloaded num v0.2.0
[INFO] [stderr]   Downloaded serde_derive v1.0.102
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.49.0
[INFO] [stderr]   Downloaded piston2d-graphics v0.35.0
[INFO] [stderr]   Downloaded matrixmultiply v0.1.15
[INFO] [stderr]   Downloaded alga v0.9.2
[INFO] [stderr]   Downloaded derivative v1.0.3
[INFO] [stderr]   Downloaded cocoa v0.18.5
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded rulinalg v0.4.2
[INFO] [stderr]   Downloaded rayon-core v1.6.0
[INFO] [stderr]   Downloaded rayon v1.2.0
[INFO] [stderr]   Downloaded num-bigint v0.2.3
[INFO] [stderr]   Downloaded syn v1.0.8
[INFO] [stderr]   Downloaded cc v1.0.47
[INFO] [stderr]   Downloaded winit v0.19.5
[INFO] [stderr]   Downloaded glutin v0.21.1
[INFO] [stderr]   Downloaded nalgebra v0.19.0
[INFO] [stderr]   Downloaded num-traits v0.2.9
[INFO] [stderr]   Downloaded png v0.15.1
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.66.0
[INFO] [stderr]   Downloaded serde v1.0.102
[INFO] [stderr]   Downloaded generic-array v0.13.2
[INFO] [stderr]   Downloaded hermit-abi v0.1.3
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.70.0
[INFO] [stderr]   Downloaded raw-window-handle v0.3.1
[INFO] [stderr]   Downloaded piston-float v1.0.0
[INFO] [stderr]   Downloaded pistoncore-input v0.28.0
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.63.0
[INFO] [stderr]   Downloaded piston_window v0.105.0
[INFO] [stderr]   Downloaded imageproc v0.19.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1660bbc4d0033841054adb464c27b2425cb6cb6bca869578ada5e9df19fa1d5f
[INFO] running `Command { std: "docker" "start" "-a" "1660bbc4d0033841054adb464c27b2425cb6cb6bca869578ada5e9df19fa1d5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1660bbc4d0033841054adb464c27b2425cb6cb6bca869578ada5e9df19fa1d5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1660bbc4d0033841054adb464c27b2425cb6cb6bca869578ada5e9df19fa1d5f", kill_on_drop: false }`
[INFO] [stdout] 1660bbc4d0033841054adb464c27b2425cb6cb6bca869578ada5e9df19fa1d5f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f109bd0ec2a394f22b41ec113942130d930769bd4632a199d5ae512046acac3
[INFO] running `Command { std: "docker" "start" "-a" "2f109bd0ec2a394f22b41ec113942130d930769bd4632a199d5ae512046acac3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling cc v1.0.47
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling rayon-core v1.6.0
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling syn v1.0.8
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]     Checking png v0.15.1
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking num_cpus v1.11.1
[INFO] [stderr]     Checking nix v0.14.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking raw-window-handle v0.3.1
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking custom_derive v0.1.7
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking rusttype v0.8.1
[INFO] [stderr]     Checking conv v0.3.3
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking rayon v1.2.0
[INFO] [stderr]     Checking rusttype v0.7.9
[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 alga v0.9.2
[INFO] [stderr]     Checking rulinalg v0.4.2
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking glutin_glx_sys v0.1.5
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking nalgebra v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.102
[INFO] [stderr]     Checking jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling derivative v1.0.3
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking wayland-client v0.21.13
[INFO] [stderr]     Checking wayland-protocols v0.21.13
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking image v0.22.3
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking piston-gfx_texture v0.40.0
[INFO] [stderr]     Checking imageproc v0.19.2
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.70.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.66.0
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking piston v0.49.0
[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] [stdout] error: visibility `pub(crate)` is not followed by an item
[INFO] [stdout]   --> src/lattice/consts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stdout]    | ^^^^^^^^^^ the visibility
[INFO] [stdout]    |
[INFO] [stdout]    = help: you likely meant to define an item, e.g., `pub(crate) fn foo() {}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: visibility `pub(crate)` is not followed by an item
[INFO] [stdout]   --> src/lattice/consts.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stdout]    | ^^^^^^^^^^ the visibility
[INFO] [stdout]    |
[INFO] [stdout]    = help: you likely meant to define an item, e.g., `pub(crate) fn foo() {}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `pub`
[INFO] [stdout]   --> src/lattice/consts.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stdout]    |           ^^^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `pub`
[INFO] [stdout]   --> src/lattice/consts.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate)pub(crate) static E: [[f32; 2]; 9] = [[0.,0.],
[INFO] [stdout]    |           ^^^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]  --> src/lattice/funcs.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stdout]   |                                ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::SCALE_X;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]  --> src/lattice/funcs.rs:9:55
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stdout]   |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::SCALE_Y;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:10:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:14:61
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 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] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:15:51
[INFO] [stdout]    |
[INFO] [stdout] 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] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:17:62
[INFO] [stdout]    |
[INFO] [stdout] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stdout]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:18:62
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stdout]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_VEL` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:27:87
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stdout]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_VEL` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:27:101
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stdout]    |                                                                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_DEN` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:31:87
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stdout]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_DEN` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:31:100
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stdout]    |                                                                                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     if y < U_Y - 1 {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 if x < U_X - 1 {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if y < U_Y - 1 {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 if y < U_Y - 1 {
[INFO] [stdout]     |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `W` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:149:30
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     let wi = W[i];
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 149 -                     let wi = W[i];
[INFO] [stdout] 149 +                     let wi = c[i];
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Key::W;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use piston::Key::W;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use piston_window::Key::W;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:150:65
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 -                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout] 150 +                     let ei: na::Vector2<f32> = na::Vector2::new(c[i][0], E[i][1]);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Key::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f128::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f16::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f32::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]     = and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:150:74
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 -                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout] 150 +                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], c[i][1]);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Key::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f128::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f16::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f32::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]     = and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stdout]   --> src/lattice.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         }; U_X]; U_Y];
[INFO] [stdout]    |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |         }; U_X]; U_Y];
[INFO] [stdout]    |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lattice.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |         c: C,
[INFO] [stdout]    |            ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::Key::C;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston::Key::C;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston_window::Key::C;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `T` in this scope
[INFO] [stdout]   --> src/lattice.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |         tau: T
[INFO] [stdout]    |              ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::Key::T;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston::Key::T;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston_window::Key::T;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const SCALE_X: u32 = lattice::SCALE_X;
[INFO] [stdout]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const SCALE_Y: u32 = lattice::SCALE_Y;
[INFO] [stdout]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:50:57
[INFO] [stdout]    |
[INFO] [stdout] 50 |         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stdout]    |                                                         ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 50 -         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stdout] 50 +         *pixel = im::Rgba([gaussian_beam(x, y, X).0 as u8, 0, 0, 255]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     for x in 0..lattice::X {
[INFO] [stdout]    |                          ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 66 -     for x in 0..lattice::X {
[INFO] [stdout] 66 +     for x in 0..X {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |         for y in 0..lattice::Y {
[INFO] [stdout]    |                              ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Y`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 67 -         for y in 0..lattice::Y {
[INFO] [stdout] 67 +         for y in 0..Y {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |                   ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 88 -         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout] 88 +         [X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:88:41
[INFO] [stdout]    |
[INFO] [stdout] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |                                         ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Y`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 88 -         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout] 88 +         [lattice::X * SCALE_X, Y * SCALE_Y])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:99:93
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |                                                                                             ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 99 -     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout] 99 +     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:99:115
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |                                                                                                                   ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Y`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 99 -     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout] 99 +     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, Y * SCALE_Y);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/lattice.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lattice::consts::*`
[INFO] [stdout]  --> src/lattice.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lattice::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lattice::consts::*`
[INFO] [stdout]  --> src/lattice/funcs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::lattice::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]  --> src/lattice/funcs.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stdout]   |                                ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::SCALE_X;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 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] [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] 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] [stdout] 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] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]  --> src/lattice/funcs.rs:9:55
[INFO] [stdout]   |
[INFO] [stdout] 9 |         println!("{}, {}", (c0/SCALE_X) as usize, (c1/SCALE_Y) as usize);
[INFO] [stdout]   |                                                       ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::SCALE_Y;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:10:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for den in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den.len() {
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 11 |             self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_den[den] += 1.;
[INFO] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stdout]    |                                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:14:61
[INFO] [stdout]    |
[INFO] [stdout] 14 |         for vel in 0..self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].micro_vel.len() {
[INFO] [stdout]    |                                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 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] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:15:51
[INFO] [stdout]    |
[INFO] [stdout] 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] [stdout]    |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:17:62
[INFO] [stdout]    |
[INFO] [stdout] 17 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_vel);
[INFO] [stdout]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:18:39
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stdout]    |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_X;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:18:62
[INFO] [stdout]    |
[INFO] [stdout] 18 |         println!("{}", self.nodes[(c0/SCALE_X) as usize][(c1/SCALE_Y) as usize].macro_den);
[INFO] [stdout]    |                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::SCALE_Y;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_VEL` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:27:87
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stdout]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_VEL` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:27:101
[INFO] [stdout]    |
[INFO] [stdout] 27 |                     self.nodes[x][y].micro_vel[i] = self.nodes[x][y].micro_vel[i].max(MIN_VEL).min( MAX_VEL);
[INFO] [stdout]    |                                                                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MIN_DEN` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:31:87
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stdout]    |                                                                                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_DEN` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:31:100
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     self.nodes[x][y].micro_den[i] = self.nodes[x][y].micro_den[i].max(MIN_DEN).min(MAX_DEN);
[INFO] [stdout]    |                                                                                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     if y < U_Y - 1 {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:87:24
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 if x < U_X - 1 {
[INFO] [stdout]    |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice/funcs.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if y < U_Y - 1 {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 if y < U_Y - 1 {
[INFO] [stdout]     |                        ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `W` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:149:30
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     let wi = W[i];
[INFO] [stdout]     |                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 149 -                     let wi = W[i];
[INFO] [stdout] 149 +                     let wi = c[i];
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Key::W;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use piston::Key::W;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use piston_window::Key::W;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:150:65
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 -                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout] 150 +                     let ei: na::Vector2<f32> = na::Vector2::new(c[i][0], E[i][1]);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Key::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f128::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f16::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f32::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]     = and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `E` in this scope
[INFO] [stdout]    --> src/lattice/funcs.rs:150:74
[INFO] [stdout]     |
[INFO] [stdout] 150 |                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 150 -                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout] 150 +                     let ei: na::Vector2<f32> = na::Vector2::new(E[i][0], c[i][1]);
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Key::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f128::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f16::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::f32::consts::E;
[INFO] [stdout]     |
[INFO] [stdout]     = and 3 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_X` in this scope
[INFO] [stdout]   --> src/lattice.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         }; U_X]; U_Y];
[INFO] [stdout]    |            ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `U_Y` in this scope
[INFO] [stdout]   --> src/lattice.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |         }; U_X]; U_Y];
[INFO] [stdout]    |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `C` in this scope
[INFO] [stdout]   --> src/lattice.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |         c: C,
[INFO] [stdout]    |            ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::Key::C;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston::Key::C;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston_window::Key::C;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `T` in this scope
[INFO] [stdout]   --> src/lattice.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |         tau: T
[INFO] [stdout]    |              ^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::Key::T;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston::Key::T;
[INFO] [stdout]    |
[INFO] [stdout]  3 + use piston_window::Key::T;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const SCALE_X: u32 = lattice::SCALE_X;
[INFO] [stdout]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SCALE_Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const SCALE_Y: u32 = lattice::SCALE_Y;
[INFO] [stdout]    |                                   ^^^^^^^ not found in `lattice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:50:57
[INFO] [stdout]    |
[INFO] [stdout] 50 |         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stdout]    |                                                         ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 50 -         *pixel = im::Rgba([gaussian_beam(x, y, lattice::X).0 as u8, 0, 0, 255]);
[INFO] [stdout] 50 +         *pixel = im::Rgba([gaussian_beam(x, y, X).0 as u8, 0, 0, 255]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |     for x in 0..lattice::X {
[INFO] [stdout]    |                          ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 66 -     for x in 0..lattice::X {
[INFO] [stdout] 66 +     for x in 0..X {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:67:30
[INFO] [stdout]    |
[INFO] [stdout] 67 |         for y in 0..lattice::Y {
[INFO] [stdout]    |                              ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Y`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 67 -         for y in 0..lattice::Y {
[INFO] [stdout] 67 +         for y in 0..Y {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |                   ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 88 -         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout] 88 +         [X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:88:41
[INFO] [stdout]    |
[INFO] [stdout] 88 |         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout]    |                                         ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Y`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 88 -         [lattice::X * SCALE_X, lattice::Y * SCALE_Y])
[INFO] [stdout] 88 +         [lattice::X * SCALE_X, Y * SCALE_Y])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `X` in module `lattice`
[INFO] [stdout]   --> src/main.rs:99:93
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |                                                                                             ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::X;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::X;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `X`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 99 -     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout] 99 +     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Y` in module `lattice`
[INFO] [stdout]   --> src/main.rs:99:115
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout]    |                                                                                                                   ^ not found in `lattice`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these unit variants
[INFO] [stdout]    |
[INFO] [stdout]  6 + use crate::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use piston_window::Key::Y;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Y`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 99 -     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, lattice::Y * SCALE_Y);
[INFO] [stdout] 99 +     let mut canvas: im::ImageBuffer<im::Rgba<u8>, Vec<u8>>  = im::ImageBuffer::new(lattice::X * SCALE_X, Y * SCALE_Y);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/lattice.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lattice::consts::*`
[INFO] [stdout]  --> src/lattice.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lattice::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lattice::consts::*`
[INFO] [stdout]  --> src/lattice/funcs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::lattice::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 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] [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] 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] [stdout] 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] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `f32` to `Matrix<{float}, U2, U1, ArrayStorage<{float}, U2, U1>>`
[INFO] [stdout]    --> src/lattice/node.rs:19:17
[INFO] [stdout]     |
[INFO] [stdout]  19 |             sum += self.micro_vel[i]*na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                 ^^ no implementation for `Matrix<{float}, U2, U1, ArrayStorage<{float}, U2, U1>> += f32`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `AddAssign<f32>` is not implemented for `Matrix<{float}, U2, U1, ArrayStorage<{float}, U2, U1>>`
[INFO] [stdout] help: the following other types implement trait `AddAssign<Rhs>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.19.0/src/base/ops.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 | /         impl<'b, N, R1, C1, R2, C2, SA, SB> $TraitAssign<&'b Matrix<N, R2, C2, SB>> for Matrix<N, R1, C1, SA>
[INFO] [stdout] 343 | |             where R1: Dim, C1: Dim, R2: Dim, C2: Dim,
[INFO] [stdout] 344 | |                   N: Scalar + $bound,
[INFO] [stdout] 345 | |                   SA: StorageMut<N, R1, C1>,
[INFO] [stdout] 346 | |                   SB: Storage<N, R2, C2>,
[INFO] [stdout] 347 | |                   ShapeConstraint: SameNumberOfRows<R1, R2> + SameNumberOfColumns<C1, C2> {
[INFO] [stdout]     | |_________________________________________________________________________________________^ `Matrix<N, R1, C1, SA>` implements `AddAssign<&Matrix<N, R2, C2, SB>>`
[INFO] [stdout] ...
[INFO] [stdout] 355 | /         impl<N, R1, C1, R2, C2, SA, SB> $TraitAssign<Matrix<N, R2, C2, SB>> for Matrix<N, R1, C1, SA>
[INFO] [stdout] 356 | |             where R1: Dim, C1: Dim, R2: Dim, C2: Dim,
[INFO] [stdout] 357 | |                   N: Scalar + $bound,
[INFO] [stdout] 358 | |                   SA: StorageMut<N, R1, C1>,
[INFO] [stdout] 359 | |                   SB: Storage<N, R2, C2>,
[INFO] [stdout] 360 | |                   ShapeConstraint: SameNumberOfRows<R1, R2> + SameNumberOfColumns<C1, C2> {
[INFO] [stdout]     | |_________________________________________________________________________________________^ `Matrix<N, R1, C1, SA>` implements `AddAssign<Matrix<N, R2, C2, SB>>`
[INFO] [stdout] ...
[INFO] [stdout] 370 | / componentwise_binop_impl!(Add, add, ClosedAdd;
[INFO] [stdout] 371 | |                           AddAssign, add_assign, add_assign_statically_unchecked, add_assign_statically_unchecked_mut;
[INFO] [stdout] 372 | |                           add_to, add_to_statically_unchecked);
[INFO] [stdout]     | |______________________________________________________________- in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `componentwise_binop_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `f32` to `Matrix<{float}, U2, U1, ArrayStorage<{float}, U2, U1>>`
[INFO] [stdout]    --> src/lattice/node.rs:19:17
[INFO] [stdout]     |
[INFO] [stdout]  19 |             sum += self.micro_vel[i]*na::Vector2::new(E[i][0], E[i][1]);
[INFO] [stdout]     |                 ^^ no implementation for `Matrix<{float}, U2, U1, ArrayStorage<{float}, U2, U1>> += f32`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `AddAssign<f32>` is not implemented for `Matrix<{float}, U2, U1, ArrayStorage<{float}, U2, U1>>`
[INFO] [stdout] help: the following other types implement trait `AddAssign<Rhs>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nalgebra-0.19.0/src/base/ops.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 | /         impl<'b, N, R1, C1, R2, C2, SA, SB> $TraitAssign<&'b Matrix<N, R2, C2, SB>> for Matrix<N, R1, C1, SA>
[INFO] [stdout] 343 | |             where R1: Dim, C1: Dim, R2: Dim, C2: Dim,
[INFO] [stdout] 344 | |                   N: Scalar + $bound,
[INFO] [stdout] 345 | |                   SA: StorageMut<N, R1, C1>,
[INFO] [stdout] 346 | |                   SB: Storage<N, R2, C2>,
[INFO] [stdout] 347 | |                   ShapeConstraint: SameNumberOfRows<R1, R2> + SameNumberOfColumns<C1, C2> {
[INFO] [stdout]     | |_________________________________________________________________________________________^ `Matrix<N, R1, C1, SA>` implements `AddAssign<&Matrix<N, R2, C2, SB>>`
[INFO] [stdout] ...
[INFO] [stdout] 355 | /         impl<N, R1, C1, R2, C2, SA, SB> $TraitAssign<Matrix<N, R2, C2, SB>> for Matrix<N, R1, C1, SA>
[INFO] [stdout] 356 | |             where R1: Dim, C1: Dim, R2: Dim, C2: Dim,
[INFO] [stdout] 357 | |                   N: Scalar + $bound,
[INFO] [stdout] 358 | |                   SA: StorageMut<N, R1, C1>,
[INFO] [stdout] 359 | |                   SB: Storage<N, R2, C2>,
[INFO] [stdout] 360 | |                   ShapeConstraint: SameNumberOfRows<R1, R2> + SameNumberOfColumns<C1, C2> {
[INFO] [stdout]     | |_________________________________________________________________________________________^ `Matrix<N, R1, C1, SA>` implements `AddAssign<Matrix<N, R2, C2, SB>>`
[INFO] [stdout] ...
[INFO] [stdout] 370 | / componentwise_binop_impl!(Add, add, ClosedAdd;
[INFO] [stdout] 371 | |                           AddAssign, add_assign, add_assign_statically_unchecked, add_assign_statically_unchecked_mut;
[INFO] [stdout] 372 | |                           add_to, add_to_statically_unchecked);
[INFO] [stdout]     | |______________________________________________________________- in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `componentwise_binop_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c0`
[INFO] [stdout]   --> src/lattice.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let c0 = cursor[0] as u32;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_c0`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c0`
[INFO] [stdout]   --> src/lattice.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let c0 = cursor[0] as u32;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_c0`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lattice.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let c1 = cursor[1] as u32;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lattice.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let c1 = cursor[1] as u32;
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         for i in 0..1 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/main.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn update(&mut self, args: &UpdateArgs) {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         for i in 0..1 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lattice_boltzmann` (bin "lattice_boltzmann" test) due to 41 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lattice_boltzmann` (bin "lattice_boltzmann") due to 41 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2f109bd0ec2a394f22b41ec113942130d930769bd4632a199d5ae512046acac3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f109bd0ec2a394f22b41ec113942130d930769bd4632a199d5ae512046acac3", kill_on_drop: false }`
[INFO] [stdout] 2f109bd0ec2a394f22b41ec113942130d930769bd4632a199d5ae512046acac3
