[INFO] cloning repository https://github.com/BsoftLimited/grafx_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BsoftLimited/grafx_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 587f92ef87b4545cd15492b061d5979e40654bf6 [INFO] checking BsoftLimited/grafx_engine against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BsoftLimited/grafx_engine on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BsoftLimited/grafx_engine [INFO] finished tweaking git repo https://github.com/BsoftLimited/grafx_engine [INFO] tweaked toml for git repo https://github.com/BsoftLimited/grafx_engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BsoftLimited/grafx_engine 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded wayland-egl v0.29.1 [INFO] [stderr] Downloaded wayland-sys v0.29.1 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded ndk-glue v0.5.0 [INFO] [stderr] Downloaded instant v0.1.9 [INFO] [stderr] Downloaded wayland-scanner v0.29.1 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded wayland-client v0.29.1 [INFO] [stderr] Downloaded nom v6.1.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.2 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded nix v0.22.2 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded winit v0.26.0 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded wayland-protocols v0.29.1 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded parking_lot_core v0.8.3 [INFO] [stderr] Downloaded parking_lot v0.11.1 [INFO] [stderr] Downloaded raw-window-handle v0.4.2 [INFO] [stderr] Downloaded calloop v0.9.1 [INFO] [stderr] Downloaded wayland-cursor v0.29.1 [INFO] [stderr] Downloaded wayland-commons v0.29.1 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded once_cell v1.7.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded xcursor v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6fa42f967adf5fe5273f3a0e0309ed1f7b8728784d7de86b0ce60eed1e798c3 [INFO] running `Command { std: "docker" "start" "-a" "c6fa42f967adf5fe5273f3a0e0309ed1f7b8728784d7de86b0ce60eed1e798c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6fa42f967adf5fe5273f3a0e0309ed1f7b8728784d7de86b0ce60eed1e798c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6fa42f967adf5fe5273f3a0e0309ed1f7b8728784d7de86b0ce60eed1e798c3", kill_on_drop: false }` [INFO] [stdout] c6fa42f967adf5fe5273f3a0e0309ed1f7b8728784d7de86b0ce60eed1e798c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852fa32cf3121e59baca80f13b95c5aba15e411be4c4e29682512b5dca194fd5 [INFO] running `Command { std: "docker" "start" "-a" "852fa32cf3121e59baca80f13b95c5aba15e411be4c4e29682512b5dca194fd5", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.0 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-commons v0.29.1 [INFO] [stderr] Checking calloop v0.9.1 [INFO] [stderr] Checking wayland-cursor v0.29.1 [INFO] [stderr] Checking wayland-egl v0.29.1 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking grafx_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ContextWrapper`, `PossiblyCurrent`, `WindowedContext` [INFO] [stdout] --> src/main.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use glutin::{ContextBuilder, WindowedContext, PossiblyCurrent, ContextWrapper}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextWrapper`, `PossiblyCurrent`, `WindowedContext` [INFO] [stdout] --> src/main.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use glutin::{ContextBuilder, WindowedContext, PossiblyCurrent, ContextWrapper}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let mut cameraUp = &cameraDirection * &cameraRight; [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/main.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let mut cameraUp = &cameraDirection * &cameraRight; [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/main.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | ... let mut mat = Matrix4::TranslateMatrix(&self.position) * Matrix4::RotationMatrix(&self.rotation) * Matrix4::ScaleMatrix(&self.scale); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | ... let mut mat = Matrix4::TranslateMatrix(&self.position) * Matrix4::RotationMatrix(&self.rotation) * Matrix4::ScaleMatrix(&self.scale); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `White`, `Black`, `Blue`, and `Green` are never used [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Color{ [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(red:f32, green:f32, blue:f32, alpha:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn White()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn Black()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn Blue()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn Green()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `setX`, `setY`, `setZ`, `sub`, and `dot` are never used [INFO] [stdout] --> src/main.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Vector3{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 50 | pub fn new(x:f32, y:f32, z:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn setX(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn setY(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn setZ(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn sub(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn dot(&self, vector: Vector3)->f32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `determinant`, `transpose`, `coefficient`, and `inverse` are never used [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 144 | trait Matrix{ [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 149 | fn determinant(&self)->f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 150 | fn transpose(&self)->Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | fn coefficient(&self)->Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 152 | fn inverse(&self)->Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | struct Matrix2{ rowCount: usize, columnCount: usize, data:[[f32; 2]; 2], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | struct Matrix3{ rowCount: usize, columnCount: usize, data:[[f32; 3]; 3], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | struct Matrix4{ rowCount: usize, columnCount: usize, data:[[f32; 4]; 4], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/main.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 372 | impl Matrix4{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 373 | pub fn set(&mut self, matrix:&Matrix4){ self.data = matrix.data; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `setPosition`, `translate`, `setRotation`, `setScale`, and `scale` are never used [INFO] [stdout] --> src/main.rs:603:12 [INFO] [stdout] | [INFO] [stdout] 587 | impl Transformation{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn setPosition(&mut self, x:f32, y:f32, z:f32){ self.position.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 604 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ self.position.addV(x, y, z); } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 605 | pub fn setRotation(&mut self, x:f32, y:f32, z:f32){ self.rotation.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 606 | pub fn rotate(&mut self, x:f32, y:f32, z:f32){ self.rotation.addV(x, y, z); } [INFO] [stdout] 607 | pub fn setScale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 608 | pub fn scale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(self.scale.getX() * x, self.scale.getY() * y, self.scale.getZ() * z); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fov`, `viewPointWidth`, and `viewPointHeight` are never read [INFO] [stdout] --> src/main.rs:612:84 [INFO] [stdout] | [INFO] [stdout] 612 | struct Camera{ view:Matrix4, projection:Matrix4, position:Vector3, target:Vector3, fov:f32, viewPointWidth:f32, viewPointHeight:f32 } [INFO] [stdout] | ------ fields in this struct ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/main.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 614 | impl Camera{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setUniformValue` is never used [INFO] [stdout] --> src/main.rs:695:19 [INFO] [stdout] | [INFO] [stdout] 641 | impl Shader{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 695 | pub unsafe fn setUniformValue(&self, name:&str, value: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `White`, `Black`, `Blue`, and `Green` are never used [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Color{ [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(red:f32, green:f32, blue:f32, alpha:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn White()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn Black()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn Blue()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn Green()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `setX`, `setY`, `setZ`, `sub`, and `dot` are never used [INFO] [stdout] --> src/main.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Vector3{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 50 | pub fn new(x:f32, y:f32, z:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn setX(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn setY(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn setZ(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn sub(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn dot(&self, vector: Vector3)->f32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `determinant`, `transpose`, `coefficient`, and `inverse` are never used [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 144 | trait Matrix{ [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 149 | fn determinant(&self)->f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 150 | fn transpose(&self)->Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | fn coefficient(&self)->Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 152 | fn inverse(&self)->Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | struct Matrix2{ rowCount: usize, columnCount: usize, data:[[f32; 2]; 2], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | struct Matrix3{ rowCount: usize, columnCount: usize, data:[[f32; 3]; 3], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | struct Matrix4{ rowCount: usize, columnCount: usize, data:[[f32; 4]; 4], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/main.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 372 | impl Matrix4{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 373 | pub fn set(&mut self, matrix:&Matrix4){ self.data = matrix.data; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `setPosition`, `translate`, `setRotation`, `setScale`, and `scale` are never used [INFO] [stdout] --> src/main.rs:603:12 [INFO] [stdout] | [INFO] [stdout] 587 | impl Transformation{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn setPosition(&mut self, x:f32, y:f32, z:f32){ self.position.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 604 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ self.position.addV(x, y, z); } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 605 | pub fn setRotation(&mut self, x:f32, y:f32, z:f32){ self.rotation.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 606 | pub fn rotate(&mut self, x:f32, y:f32, z:f32){ self.rotation.addV(x, y, z); } [INFO] [stdout] 607 | pub fn setScale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 608 | pub fn scale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(self.scale.getX() * x, self.scale.getY() * y, self.scale.getZ() * z); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fov`, `viewPointWidth`, and `viewPointHeight` are never read [INFO] [stdout] --> src/main.rs:612:84 [INFO] [stdout] | [INFO] [stdout] 612 | struct Camera{ view:Matrix4, projection:Matrix4, position:Vector3, target:Vector3, fov:f32, viewPointWidth:f32, viewPointHeight:f32 } [INFO] [stdout] | ------ fields in this struct ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/main.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 614 | impl Camera{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setUniformValue` is never used [INFO] [stdout] --> src/main.rs:695:19 [INFO] [stdout] | [INFO] [stdout] 641 | impl Shader{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 695 | pub unsafe fn setUniformValue(&self, name:&str, value: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "852fa32cf3121e59baca80f13b95c5aba15e411be4c4e29682512b5dca194fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852fa32cf3121e59baca80f13b95c5aba15e411be4c4e29682512b5dca194fd5", kill_on_drop: false }` [INFO] [stdout] 852fa32cf3121e59baca80f13b95c5aba15e411be4c4e29682512b5dca194fd5