[INFO] cloning repository https://github.com/RPG59/rust_gl_fluid_simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RPG59/rust_gl_fluid_simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a35e450c2c1be266b77576173664da606569b3b9 [INFO] checking RPG59/rust_gl_fluid_simulation against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/rust_gl_fluid_simulation on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RPG59/rust_gl_fluid_simulation [INFO] finished tweaking git repo https://github.com/RPG59/rust_gl_fluid_simulation [INFO] tweaked toml for git repo https://github.com/RPG59/rust_gl_fluid_simulation written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RPG59/rust_gl_fluid_simulation 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e73efadd805c909732877387ab30dfba22242accd38bada7ece47ec43a8e538 [INFO] running `Command { std: "docker" "start" "-a" "4e73efadd805c909732877387ab30dfba22242accd38bada7ece47ec43a8e538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e73efadd805c909732877387ab30dfba22242accd38bada7ece47ec43a8e538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e73efadd805c909732877387ab30dfba22242accd38bada7ece47ec43a8e538", kill_on_drop: false }` [INFO] [stdout] 4e73efadd805c909732877387ab30dfba22242accd38bada7ece47ec43a8e538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a479804d0536604493adc9162a2fa89bc42964608ddb218e46525b66a0995c [INFO] running `Command { std: "docker" "start" "-a" "f3a479804d0536604493adc9162a2fa89bc42964608ddb218e46525b66a0995c", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking fluids-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GLchar`, `GLenum`, `GLint`, `Uniform2f` [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `ffi::CString`, `io::Read`, `thread::current` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{ffi::CString, io::Read, thread::current, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLchar`, `GLfloat`, `GLsizeiptr`, `Uniform2f` [INFO] [stdout] --> src/shader.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RENDERBUFFER_BLUE_SIZE` [INFO] [stdout] --> src/renderTarget.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/renderTarget.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/advection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLchar`, `GLenum`, `GLint`, `Uniform2f` [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `ffi::CString`, `io::Read`, `thread::current` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{ffi::CString, io::Read, thread::current, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLchar`, `GLfloat`, `GLsizeiptr`, `Uniform2f` [INFO] [stdout] --> src/shader.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RENDERBUFFER_BLUE_SIZE` [INFO] [stdout] --> src/renderTarget.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/renderTarget.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/advection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shader.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file_data = std::fs::read_to_string(path).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl_context` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let gl_context = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shader.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file_data = std::fs::read_to_string(path).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:231:53 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:231:71 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:231:82 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_render_target` [INFO] [stdout] --> src/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let current_render_target = (render_count % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_render_target` [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let next_render_target = ((render_count + 1) % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let mut window = video_subsystem.window("fluids-simulation", WIDTH, HEIGHT).opengl().resizable().build().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl_context` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let gl_context = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:231:53 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:231:71 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:231:82 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_render_target` [INFO] [stdout] --> src/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let current_render_target = (render_count % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_render_target` [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let next_render_target = ((render_count + 1) % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VERTICES` is never used [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static VERTICES: [f32; 12] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `renderTarget` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod renderTarget; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `render_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `postProcessPass` should have a snake case name [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod postProcessPass; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `post_process_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `externalForce` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod externalForce; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `external_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `divergencePass` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod divergencePass; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `divergence_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `pressurePass` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pressurePass; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pressure_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `jacobiPass` should have a snake case name [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod jacobiPass; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `jacobi_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let M = 8; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let N = 16; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataStr` should have a snake case name [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let dataStr = std::ffi::CStr::from_ptr(version as *const i8).to_str().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let mut window = video_subsystem.window("fluids-simulation", WIDTH, HEIGHT).opengl().resizable().build().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VERTICES` is never used [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static VERTICES: [f32; 12] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `renderTarget` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod renderTarget; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `render_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `postProcessPass` should have a snake case name [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod postProcessPass; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `post_process_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `externalForce` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod externalForce; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `external_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `divergencePass` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod divergencePass; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `divergence_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `pressurePass` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pressurePass; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pressure_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `jacobiPass` should have a snake case name [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod jacobiPass; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `jacobi_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let M = 8; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let N = 16; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataStr` should have a snake case name [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let dataStr = std::ffi::CStr::from_ptr(version as *const i8).to_str().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.54s [INFO] running `Command { std: "docker" "inspect" "f3a479804d0536604493adc9162a2fa89bc42964608ddb218e46525b66a0995c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a479804d0536604493adc9162a2fa89bc42964608ddb218e46525b66a0995c", kill_on_drop: false }` [INFO] [stdout] f3a479804d0536604493adc9162a2fa89bc42964608ddb218e46525b66a0995c [INFO] checking RPG59/rust_gl_fluid_simulation against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/rust_gl_fluid_simulation on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RPG59/rust_gl_fluid_simulation [INFO] finished tweaking git repo https://github.com/RPG59/rust_gl_fluid_simulation [INFO] tweaked toml for git repo https://github.com/RPG59/rust_gl_fluid_simulation written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RPG59/rust_gl_fluid_simulation 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eafa8ad97cc84c0230d096f4358586bd50b2bbb303c532e1e0ef457913f7e59b [INFO] running `Command { std: "docker" "start" "-a" "eafa8ad97cc84c0230d096f4358586bd50b2bbb303c532e1e0ef457913f7e59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eafa8ad97cc84c0230d096f4358586bd50b2bbb303c532e1e0ef457913f7e59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eafa8ad97cc84c0230d096f4358586bd50b2bbb303c532e1e0ef457913f7e59b", kill_on_drop: false }` [INFO] [stdout] eafa8ad97cc84c0230d096f4358586bd50b2bbb303c532e1e0ef457913f7e59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df281ad5f2b7422ff02559424142ca6baba9b36d793b016f42fd03aa6edb3b7 [INFO] running `Command { std: "docker" "start" "-a" "0df281ad5f2b7422ff02559424142ca6baba9b36d793b016f42fd03aa6edb3b7", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking fluids-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GLchar`, `GLenum`, `GLint`, `Uniform2f` [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `ffi::CString`, `io::Read`, `thread::current` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{ffi::CString, io::Read, thread::current, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLchar`, `GLfloat`, `GLsizeiptr`, `Uniform2f` [INFO] [stdout] --> src/shader.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RENDERBUFFER_BLUE_SIZE` [INFO] [stdout] --> src/renderTarget.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/renderTarget.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/advection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLchar`, `GLenum`, `GLint`, `Uniform2f` [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `ffi::CString`, `io::Read`, `thread::current` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{ffi::CString, io::Read, thread::current, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLchar`, `GLfloat`, `GLsizeiptr`, `Uniform2f` [INFO] [stdout] --> src/shader.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{types::{GLfloat, GLenum, GLuint, GLint, GLchar, GLsizeiptr}, Uniform2f}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RENDERBUFFER_BLUE_SIZE` [INFO] [stdout] --> src/renderTarget.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/renderTarget.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{self, RENDERBUFFER_BLUE_SIZE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gl` is imported redundantly [INFO] [stdout] --> src/advection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gl; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gl; [INFO] [stdout] | ---------------- the item `gl` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shader.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file_data = std::fs::read_to_string(path).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shader.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file_data = std::fs::read_to_string(path).unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl_context` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let gl_context = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:231:53 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:231:71 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:231:82 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_render_target` [INFO] [stdout] --> src/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let current_render_target = (render_count % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_render_target` [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let next_render_target = ((render_count + 1) % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl_context` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let gl_context = window.gl_create_context().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/main.rs:231:42 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:231:53 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/main.rs:231:64 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/main.rs:231:71 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let mut window = video_subsystem.window("fluids-simulation", WIDTH, HEIGHT).opengl().resizable().build().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/main.rs:231:82 [INFO] [stdout] | [INFO] [stdout] 231 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VERTICES` is never used [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static VERTICES: [f32; 12] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `renderTarget` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod renderTarget; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `render_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_render_target` [INFO] [stdout] --> src/main.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | let current_render_target = (render_count % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `postProcessPass` should have a snake case name [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod postProcessPass; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `post_process_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_render_target` [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let next_render_target = ((render_count + 1) % 2) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_render_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `externalForce` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod externalForce; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `external_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `divergencePass` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod divergencePass; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `divergence_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let mut window = video_subsystem.window("fluids-simulation", WIDTH, HEIGHT).opengl().resizable().build().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `pressurePass` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pressurePass; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pressure_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `VERTICES` is never used [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | static VERTICES: [f32; 12] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `jacobiPass` should have a snake case name [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod jacobiPass; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `jacobi_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `renderTarget` should have a snake case name [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod renderTarget; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `render_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let M = 8; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `postProcessPass` should have a snake case name [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod postProcessPass; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `post_process_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let N = 16; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataStr` should have a snake case name [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let dataStr = std::ffi::CStr::from_ptr(version as *const i8).to_str().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `externalForce` should have a snake case name [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod externalForce; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `external_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `divergencePass` should have a snake case name [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod divergencePass; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `divergence_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `pressurePass` should have a snake case name [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pressurePass; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pressure_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `jacobiPass` should have a snake case name [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod jacobiPass; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `jacobi_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/main.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let M = 8; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let N = 16; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataStr` should have a snake case name [INFO] [stdout] --> src/main.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let dataStr = std::ffi::CStr::from_ptr(version as *const i8).to_str().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.91s [INFO] running `Command { std: "docker" "inspect" "0df281ad5f2b7422ff02559424142ca6baba9b36d793b016f42fd03aa6edb3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df281ad5f2b7422ff02559424142ca6baba9b36d793b016f42fd03aa6edb3b7", kill_on_drop: false }` [INFO] [stdout] 0df281ad5f2b7422ff02559424142ca6baba9b36d793b016f42fd03aa6edb3b7