[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] building RPG59/rust_gl_fluid_simulation against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/rust_gl_fluid_simulation on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0454cc071ee2b79bd195ca883047d99418be3199d32f8ddc00f1221e105c5451 [INFO] running `Command { std: "docker" "start" "-a" "0454cc071ee2b79bd195ca883047d99418be3199d32f8ddc00f1221e105c5451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0454cc071ee2b79bd195ca883047d99418be3199d32f8ddc00f1221e105c5451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0454cc071ee2b79bd195ca883047d99418be3199d32f8ddc00f1221e105c5451", kill_on_drop: false }` [INFO] [stdout] 0454cc071ee2b79bd195ca883047d99418be3199d32f8ddc00f1221e105c5451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c870c6bfd99c2ed6568e4d0617bc40fd925f0aaa8e48ada57be9228ae84f73 [INFO] running `Command { std: "docker" "start" "-a" "83c870c6bfd99c2ed6568e4d0617bc40fd925f0aaa8e48ada57be9228ae84f73", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [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 log v0.4.17 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling fluids-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GLchar`, `GLenum`, `GLint`, and `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`, and `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`, and `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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.56s [INFO] running `Command { std: "docker" "inspect" "83c870c6bfd99c2ed6568e4d0617bc40fd925f0aaa8e48ada57be9228ae84f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c870c6bfd99c2ed6568e4d0617bc40fd925f0aaa8e48ada57be9228ae84f73", kill_on_drop: false }` [INFO] [stdout] 83c870c6bfd99c2ed6568e4d0617bc40fd925f0aaa8e48ada57be9228ae84f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 145ca52efd4ed889d58afd5972ce137f8f86db2f844ef6af3d54d434ed6ab777 [INFO] running `Command { std: "docker" "start" "-a" "145ca52efd4ed889d58afd5972ce137f8f86db2f844ef6af3d54d434ed6ab777", kill_on_drop: false }` [INFO] [stderr] Compiling fluids-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GLchar`, `GLenum`, `GLint`, and `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`, and `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`, and `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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "145ca52efd4ed889d58afd5972ce137f8f86db2f844ef6af3d54d434ed6ab777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145ca52efd4ed889d58afd5972ce137f8f86db2f844ef6af3d54d434ed6ab777", kill_on_drop: false }` [INFO] [stdout] 145ca52efd4ed889d58afd5972ce137f8f86db2f844ef6af3d54d434ed6ab777