[INFO] cloning repository https://github.com/Velfi/Gray-Scott-Reaction-Diffusion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Velfi/Gray-Scott-Reaction-Diffusion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVelfi%2FGray-Scott-Reaction-Diffusion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVelfi%2FGray-Scott-Reaction-Diffusion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42b3e55765d2ca887ee772980faaa3517bcf8019 [INFO] checking Velfi/Gray-Scott-Reaction-Diffusion against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVelfi%2FGray-Scott-Reaction-Diffusion" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion [INFO] finished tweaking git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion [INFO] tweaked toml for git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Velfi/Gray-Scott-Reaction-Diffusion already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7698c277521921ef75bb5837e7280e4f632f253f6bf75943170868b1c5f1f58a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7698c277521921ef75bb5837e7280e4f632f253f6bf75943170868b1c5f1f58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7698c277521921ef75bb5837e7280e4f632f253f6bf75943170868b1c5f1f58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7698c277521921ef75bb5837e7280e4f632f253f6bf75943170868b1c5f1f58a", kill_on_drop: false }` [INFO] [stdout] 7698c277521921ef75bb5837e7280e4f632f253f6bf75943170868b1c5f1f58a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d2b9b4eb13d95359f73f3c1d081eb851169568b6fb62ca6d22f68b1bb979791 [INFO] running `Command { std: "docker" "start" "-a" "0d2b9b4eb13d95359f73f3c1d081eb851169568b6fb62ca6d22f68b1bb979791", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking mint v0.5.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking slice-deque v0.2.4 [INFO] [stderr] Checking nix v0.11.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking minimp3 v0.3.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking gilrs-core v0.2.4 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking gilrs v0.7.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.8 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking twox-hash v1.1.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking glyph_brush v0.6.1 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking gray_scott_reaction_diffusion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 79 | fn draw(&mut self, frame: &mut [u8]) { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 80 | let rds = &self.reaction_diffusion_system; [INFO] [stdout] 81 | for (i, pixel) in frame.chunks_exact_mut(4).enumerate() { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 122 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 164 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 67 | impl event::EventHandler for MainState { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(()) [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] 77 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 79 | fn draw(&mut self, frame: &mut [u8]) { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 80 | let rds = &self.reaction_diffusion_system; [INFO] [stdout] 81 | for (i, pixel) in frame.chunks_exact_mut(4).enumerate() { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 122 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 164 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/main.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 67 | impl event::EventHandler for MainState { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(()) [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] 77 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn draw(&mut self, frame: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | fn mouse_button_up_event(&mut self, _ctx: &mut Context, button: MouseButton, _x: f32, _y: f32) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, _xrel: f32, _yrel: f32) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | &mut self, [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{debug, error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pixels` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use pixels::{Error, Pixels, SurfaceTexture}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use winit::window::WindowBuilder; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vector2` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use vector2::Vector2; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit_input_helper` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winit_input_helper::WinitInputHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `winit_input_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn draw(&mut self, frame: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | fn mouse_button_up_event(&mut self, _ctx: &mut Context, button: MouseButton, _x: f32, _y: f32) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | fn mouse_motion_event(&mut self, _ctx: &mut Context, x: f32, y: f32, _xrel: f32, _yrel: f32) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | &mut self, [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{debug, error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pixels` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use pixels::{Error, Pixels, SurfaceTexture}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winit::event::{Event, VirtualKeyCode}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winit` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use winit::window::WindowBuilder; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `winit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vector2` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use vector2::Vector2; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `vector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit_input_helper` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winit_input_helper::WinitInputHelper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `winit_input_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/main.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | let resource_dir = if let Ok(manifest_dir) = env::var("CARGO_MANIFEST_DIR") { [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/main.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | let resource_dir = if let Ok(manifest_dir) = env::var("CARGO_MANIFEST_DIR") { [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/main.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `y` in this scope [INFO] [stdout] --> src/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 73 | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `path` [INFO] [stdout] --> src/main.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let mut path = path::PathBuf::from(manifest_dir); [INFO] [stdout] | ^^^^^^^ not found in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::graphics::conf::io::sys::ext::process::process::fs::PathBuf; [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `path` [INFO] [stdout] --> src/main.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | path::PathBuf::from("./resources") [INFO] [stdout] | ^^^^^^^ not found in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::graphics::conf::io::sys::ext::process::process::fs::PathBuf; [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RgbaImage` in this scope [INFO] [stdout] --> src/main.rs:153:88 [INFO] [stdout] | [INFO] [stdout] 153 | fn rds_to_rgba_image(rds: &ReactionDiffusionSystem, color_gradient: &ColorGradient) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use image::RgbaImage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageBuffer` [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | ImageBuffer::from_fn(rds.width as u32, rds.height as u32, |x, y| { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use image::ImageBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rgba` in this scope [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | Rgba([r, g, b, 255]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 | use image::Rgba; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `DrawParam`, `mint::Vector2`, `self` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | graphics::{self, Color, DrawParam}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | mint::Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/main.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `y` in this scope [INFO] [stdout] --> src/main.rs:73:54 [INFO] [stdout] | [INFO] [stdout] 73 | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `path` [INFO] [stdout] --> src/main.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let mut path = path::PathBuf::from(manifest_dir); [INFO] [stdout] | ^^^^^^^ not found in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::graphics::conf::io::sys::ext::process::process::fs::PathBuf; [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `path` [INFO] [stdout] --> src/main.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | path::PathBuf::from("./resources") [INFO] [stdout] | ^^^^^^^ not found in `path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::graphics::conf::io::sys::ext::process::process::fs::PathBuf; [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RgbaImage` in this scope [INFO] [stdout] --> src/main.rs:153:88 [INFO] [stdout] | [INFO] [stdout] 153 | fn rds_to_rgba_image(rds: &ReactionDiffusionSystem, color_gradient: &ColorGradient) -> RgbaImage { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 7 | use image::RgbaImage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageBuffer` [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | ImageBuffer::from_fn(rds.width as u32, rds.height as u32, |x, y| { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use image::ImageBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rgba` in this scope [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | Rgba([r, g, b, 255]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 7 | use image::Rgba; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `DrawParam`, `mint::Vector2`, `self` [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | graphics::{self, Color, DrawParam}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | mint::Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `draw` [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl event::EventHandler for MainState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `draw` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn draw(&mut self, _: &mut ggez::Context) -> Result<(), GameError> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | MODEL_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 51 | MODEL_WIDTH.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | MODEL_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 52 | MODEL_HEIGHT.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `draw` [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | impl event::EventHandler for MainState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `draw` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn draw(&mut self, _: &mut ggez::Context) -> Result<(), GameError> { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | MODEL_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 51 | MODEL_WIDTH.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | MODEL_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^ expected `u32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 52 | MODEL_HEIGHT.try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 68 | fn update(&mut self, ctx: &mut Context) -> GameResult<()> { [INFO] [stdout] | -------------- expected `Result<(), GameError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 72 | / self.reaction_diffusion_system [INFO] [stdout] 73 | | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80) [INFO] [stdout] | |______________________________________________________________________^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), GameError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 72 | Ok(self.reaction_diffusion_system [INFO] [stdout] 73 | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let u = rds.get(&ChemicalSpecies::U, x as isize, y as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ChemicalSpecies`, found `&ChemicalSpecies` [INFO] [stdout] | help: consider removing the borrow: `ChemicalSpecies::U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | let v = rds.get(&ChemicalSpecies::V, x as isize, y as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ChemicalSpecies`, found `&ChemicalSpecies` [INFO] [stdout] | help: consider removing the borrow: `ChemicalSpecies::V` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 68 | fn update(&mut self, ctx: &mut Context) -> GameResult<()> { [INFO] [stdout] | -------------- expected `Result<(), GameError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 72 | / self.reaction_diffusion_system [INFO] [stdout] 73 | | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80) [INFO] [stdout] | |______________________________________________________________________^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), GameError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try using a variant of the expected enum [INFO] [stdout] | [INFO] [stdout] 72 | Ok(self.reaction_diffusion_system [INFO] [stdout] 73 | .set(ChemicalSpecies::V, x as isize, y as isize, 0.80)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width.try_into().unwrap(), self.height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width, self.height.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width.try_into().unwrap(), self.height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:77:58 [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width, self.height.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let u = rds.get(&ChemicalSpecies::U, x as isize, y as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ChemicalSpecies`, found `&ChemicalSpecies` [INFO] [stdout] | help: consider removing the borrow: `ChemicalSpecies::U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | let v = rds.get(&ChemicalSpecies::V, x as isize, y as isize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `ChemicalSpecies`, found `&ChemicalSpecies` [INFO] [stdout] | help: consider removing the borrow: `ChemicalSpecies::V` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width.try_into().unwrap(), self.height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | let index = get_wrapping_index(x, y, self.width, self.height.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width.try_into().unwrap(), self.height); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gray_scott_model.rs:77:58 [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width, self.height); [INFO] [stdout] | ^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 77 | let index = get_wrapping_index(x, y, self.width, self.height.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gray_scott_reaction_diffusion` [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] [stdout] error: aborting due to 32 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0d2b9b4eb13d95359f73f3c1d081eb851169568b6fb62ca6d22f68b1bb979791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2b9b4eb13d95359f73f3c1d081eb851169568b6fb62ca6d22f68b1bb979791", kill_on_drop: false }` [INFO] [stdout] 0d2b9b4eb13d95359f73f3c1d081eb851169568b6fb62ca6d22f68b1bb979791