[INFO] cloning repository https://github.com/Ploppz/physics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ploppz/physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fphysics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fphysics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 543fd0ef0a71cbf7bf7141589636431fb122b9bb [INFO] checking Ploppz/physics against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fphysics" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ploppz/physics on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ploppz/physics [INFO] finished tweaking git repo https://github.com/Ploppz/physics [INFO] tweaked toml for git repo https://github.com/Ploppz/physics written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Ploppz/physics already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1035cecb04eeb7011aaf2a06a8e91a989ddd432cbe78d4f4d094c56e9f4d1970 [INFO] running `Command { std: "docker" "start" "-a" "1035cecb04eeb7011aaf2a06a8e91a989ddd432cbe78d4f4d094c56e9f4d1970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1035cecb04eeb7011aaf2a06a8e91a989ddd432cbe78d4f4d094c56e9f4d1970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1035cecb04eeb7011aaf2a06a8e91a989ddd432cbe78d4f4d094c56e9f4d1970", kill_on_drop: false }` [INFO] [stdout] 1035cecb04eeb7011aaf2a06a8e91a989ddd432cbe78d4f4d094c56e9f4d1970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 847f7d903ea27022eab920d5e161c83bb7e6f34c537609d79ba4f66b0a1884b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "847f7d903ea27022eab920d5e161c83bb7e6f34c537609d79ba4f66b0a1884b0", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling serde v0.8.3 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.35 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling gcc v0.3.33 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.1 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Compiling xml-rs v0.3.4 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking osmesa-sys v0.1.0 [INFO] [stderr] Compiling x11-dl v2.8.0 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.4 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling glutin v0.6.1 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling serde_json v0.8.1 [INFO] [stderr] Compiling target_build_utils v0.1.1 [INFO] [stderr] Compiling libloading v0.2.4 [INFO] [stderr] Checking dlib v0.3.0 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking physics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Event`, `WindowBuilder` [INFO] [stdout] --> src/main.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use glium::glutin::{Event, MouseScrollDelta, ElementState, MouseButton, WindowBuilder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/geometry/vec.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | (self.x * self.x + self.y * self.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/graphics/renderer/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/graphics/renderer/line.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::polygon::Polygon` [INFO] [stdout] --> src/graphics/renderer/line.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use geometry::polygon::Polygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `WindowBuilder` [INFO] [stdout] --> src/main.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use glium::glutin::{Event, MouseScrollDelta, ElementState, MouseButton, WindowBuilder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/geometry/vec.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | (self.x * self.x + self.y * self.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/graphics/renderer/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/graphics/renderer/line.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::polygon::Polygon` [INFO] [stdout] --> src/graphics/renderer/line.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use geometry::polygon::Polygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pqr` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let pqr : Polygon; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pqr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let window_size = display.get_window().unwrap().get_inner_size().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn mouse_wheel_line(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | fn mouse_press(&mut self, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | fn mouse_release(&mut self, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_num_vertices` [INFO] [stdout] --> src/graphics/renderer/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let total_num_vertices = self.get_num_vertices(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_num_vertices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `display` [INFO] [stdout] --> src/graphics/renderer/line.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | display: &'a Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_default_buffer` [INFO] [stdout] --> src/graphics/renderer/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn use_default_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_buffer` [INFO] [stdout] --> src/graphics/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn use_buffer(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_buffer` [INFO] [stdout] --> src/graphics/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `zoom_factor` should have an upper case name [INFO] [stdout] --> src/main.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | const zoom_factor: f64 = 1.2; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ZOOM_FACTOR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pqr` [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let pqr : Polygon; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pqr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let window_size = display.get_window().unwrap().get_inner_size().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn mouse_wheel_line(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | fn mouse_press(&mut self, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | fn mouse_release(&mut self, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_num_vertices` [INFO] [stdout] --> src/graphics/renderer/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let total_num_vertices = self.get_num_vertices(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_num_vertices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | f.read_to_string(&mut vert_src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | f.read_to_string(&mut frag_src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:61 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let scaleX = scaleX as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let scaleY = scaleY as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let centerX = centerX as f32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let centerY = centerY as f32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `display` [INFO] [stdout] --> src/graphics/renderer/line.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | display: &'a Display, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_default_buffer` [INFO] [stdout] --> src/graphics/renderer/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn use_default_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `use_buffer` [INFO] [stdout] --> src/graphics/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn use_buffer(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_buffer` [INFO] [stdout] --> src/graphics/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `zoom_factor` should have an upper case name [INFO] [stdout] --> src/main.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | const zoom_factor: f64 = 1.2; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ZOOM_FACTOR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | f.read_to_string(&mut vert_src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | f.read_to_string(&mut frag_src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:48 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:83:61 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn view_matrix(centerX: f64, centerY: f64, scaleX: f64, scaleY: f64) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let scaleX = scaleX as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scaleY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let scaleY = scaleY as f32; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `scale_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerX` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let centerX = centerX as f32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `centerY` should have a snake case name [INFO] [stdout] --> src/graphics/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let centerY = centerY as f32; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `center_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.16s [INFO] running `Command { std: "docker" "inspect" "847f7d903ea27022eab920d5e161c83bb7e6f34c537609d79ba4f66b0a1884b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847f7d903ea27022eab920d5e161c83bb7e6f34c537609d79ba4f66b0a1884b0", kill_on_drop: false }` [INFO] [stdout] 847f7d903ea27022eab920d5e161c83bb7e6f34c537609d79ba4f66b0a1884b0