[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/rust_gl_fluid_simulation on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-7-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 684d37c4a5a9c1be88443976a6dbdb1ad3edb11b4add8f50674e52b4e67449ab [INFO] running `Command { std: "docker" "start" "-a" "684d37c4a5a9c1be88443976a6dbdb1ad3edb11b4add8f50674e52b4e67449ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "684d37c4a5a9c1be88443976a6dbdb1ad3edb11b4add8f50674e52b4e67449ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684d37c4a5a9c1be88443976a6dbdb1ad3edb11b4add8f50674e52b4e67449ab", kill_on_drop: false }` [INFO] [stdout] 684d37c4a5a9c1be88443976a6dbdb1ad3edb11b4add8f50674e52b4e67449ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d3b2066fb951254a209ba8c37cc34889adf30d08d6701494115b7f3ab5badc3 [INFO] running `Command { std: "docker" "start" "-a" "2d3b2066fb951254a209ba8c37cc34889adf30d08d6701494115b7f3ab5badc3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [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 sdl2 v0.35.2 [INFO] [stderr] Checking bitflags v1.3.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: 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: 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: `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: 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: 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 `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: 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: 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: 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: 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 2.81s [INFO] running `Command { std: "docker" "inspect" "2d3b2066fb951254a209ba8c37cc34889adf30d08d6701494115b7f3ab5badc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3b2066fb951254a209ba8c37cc34889adf30d08d6701494115b7f3ab5badc3", kill_on_drop: false }` [INFO] [stdout] 2d3b2066fb951254a209ba8c37cc34889adf30d08d6701494115b7f3ab5badc3 [INFO] checking RPG59/rust_gl_fluid_simulation against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2Frust_gl_fluid_simulation" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/rust_gl_fluid_simulation on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-7-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c8b01204f679e2e22d9753b0a82813ea189c8b4dd3a3757fd1039ae1d776d86 [INFO] running `Command { std: "docker" "start" "-a" "0c8b01204f679e2e22d9753b0a82813ea189c8b4dd3a3757fd1039ae1d776d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c8b01204f679e2e22d9753b0a82813ea189c8b4dd3a3757fd1039ae1d776d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8b01204f679e2e22d9753b0a82813ea189c8b4dd3a3757fd1039ae1d776d86", kill_on_drop: false }` [INFO] [stdout] 0c8b01204f679e2e22d9753b0a82813ea189c8b4dd3a3757fd1039ae1d776d86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2596e211d84909ba936f71775dad054b8419e87584281befd9c51f08ce2b641b [INFO] running `Command { std: "docker" "start" "-a" "2596e211d84909ba936f71775dad054b8419e87584281befd9c51f08ce2b641b", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking bitflags v1.3.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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sdl2-0.35.2/src/sdl2/render.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | panic!(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2596e211d84909ba936f71775dad054b8419e87584281befd9c51f08ce2b641b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2596e211d84909ba936f71775dad054b8419e87584281befd9c51f08ce2b641b", kill_on_drop: false }` [INFO] [stdout] 2596e211d84909ba936f71775dad054b8419e87584281befd9c51f08ce2b641b