[INFO] cloning repository https://github.com/RPG59/FGIN2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RPG59/FGIN2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FFGIN2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FFGIN2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db8227f865e8d8617dc71a213b11638b69fe9adf [INFO] checking RPG59/FGIN2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FFGIN2" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/FGIN2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RPG59/FGIN2 [INFO] finished tweaking git repo https://github.com/RPG59/FGIN2 [INFO] tweaked toml for git repo https://github.com/RPG59/FGIN2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/RPG59/FGIN2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d516b292e8d7b8e7d8b0ff74378089177b5a6b1bb8a28d7e630ab7314ebf34ea [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" "d516b292e8d7b8e7d8b0ff74378089177b5a6b1bb8a28d7e630ab7314ebf34ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d516b292e8d7b8e7d8b0ff74378089177b5a6b1bb8a28d7e630ab7314ebf34ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d516b292e8d7b8e7d8b0ff74378089177b5a6b1bb8a28d7e630ab7314ebf34ea", kill_on_drop: false }` [INFO] [stdout] d516b292e8d7b8e7d8b0ff74378089177b5a6b1bb8a28d7e630ab7314ebf34ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9270af6f80bd43a8b1835e977ffc41c087868f749b01c49ed7fbb2dcbbdfe9c [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" "e9270af6f80bd43a8b1835e977ffc41c087868f749b01c49ed7fbb2dcbbdfe9c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] web-sys v0.3.46: MessageEvent, Worker [INFO] [stderr] [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking cgmath v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking wasm-bindgen v0.2.69 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.46 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.27 [INFO] [stderr] Checking wasm-bindgen-test v0.2.50 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating tests/app.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/core/mod.rs (1 fix) [INFO] [stderr] Fixed src/core/EngineCore.rs (5 fixes) [INFO] [stderr] Fixed src/core/Shader.rs (4 fixes) [INFO] [stderr] Fixed src/core/Mesh.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stderr] Fixed src/core/IndexBuffer.rs (4 fixes) [INFO] [stderr] Fixed src/core/Camera.rs (4 fixes) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/core/EngineCore.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | layout (location=0) in vec4 a_Pos;\n\ [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | uniform mat4 u_ModelMatrix; [INFO] [stdout] | |_ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/core/EngineCore.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | layout (location=0) in vec4 a_Pos;\n\ [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | uniform mat4 u_ModelMatrix; [INFO] [stdout] | |_ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | default = 0x01, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `transparent` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transparent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4x4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type float4x4 = Matrix4; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3x3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type float3 = Vector3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qut` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type qut = Quaternion; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Qut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | default = 0x01, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `transparent` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transparent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4x4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type float4x4 = Matrix4; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3x3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type float3 = Vector3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qut` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type qut = Quaternion; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Qut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `transparent` [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `transparent` [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/core/EngineCore.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/core/EngineCore.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/EngineCore.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rotation` [INFO] [stdout] --> src/core/Camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rotation: qut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `translation` [INFO] [stdout] --> src/core/Camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | translation: float3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vertical_fov_rad` [INFO] [stdout] --> src/core/Camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | vertical_fov_rad: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aspect_ratio` [INFO] [stdout] --> src/core/Camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `near_z_clip` [INFO] [stdout] --> src/core/Camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | near_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `far_z_clip` [INFO] [stdout] --> src/core/Camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | far_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/Camera.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setPerspectiveMatrix` [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_proj_matrix` [INFO] [stdout] --> src/core/Camera.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn update_proj_matrix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float3x3` [INFO] [stdout] --> src/core/Types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float4` [INFO] [stdout] --> src/core/Types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IndexBuffer` [INFO] [stdout] --> src/core/IndexBuffer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct IndexBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, _data: &[u32], _usage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/core/IndexBuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn bind(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unbind` [INFO] [stdout] --> src/core/IndexBuffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unbind(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_data` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, _data: &[u32], _usage: u32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shader_source` [INFO] [stdout] --> src/core/Shader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_shader_source(path: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `engineCore` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engineCore = EngineCore::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EngineCore` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod EngineCore; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Types` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Types; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Math` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Math; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mesh` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Mesh; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `VertexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod VertexBuffer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vertex_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IndexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IndexBuffer; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `index_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shader` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Shader; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Utils` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Utils; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `glRef` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let glRef = gl.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `gl_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_defaultShader` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_defaultShader(gl: &GL) -> Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_default_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let rotationMatrix = float3x3::from(self.rotation); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPerspectiveMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_perspective_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub objectType: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `modelMatrix` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub modelMatrix: float4x4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `model_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL, vertices: &[f32], _indices: &[u32], objectType: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `creteProgram` should have a snake case name [INFO] [stdout] --> src/core/Shader.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn creteProgram(gl: &GL, vs_shader: &WebGlShader, fs_shader: &WebGlShader) -> WebGlProgram { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `crete_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/core/EngineCore.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/core/EngineCore.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/EngineCore.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rotation` [INFO] [stdout] --> src/core/Camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rotation: qut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `translation` [INFO] [stdout] --> src/core/Camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | translation: float3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vertical_fov_rad` [INFO] [stdout] --> src/core/Camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | vertical_fov_rad: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aspect_ratio` [INFO] [stdout] --> src/core/Camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `near_z_clip` [INFO] [stdout] --> src/core/Camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | near_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `far_z_clip` [INFO] [stdout] --> src/core/Camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | far_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/Camera.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setPerspectiveMatrix` [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_proj_matrix` [INFO] [stdout] --> src/core/Camera.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn update_proj_matrix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float3x3` [INFO] [stdout] --> src/core/Types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float4` [INFO] [stdout] --> src/core/Types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IndexBuffer` [INFO] [stdout] --> src/core/IndexBuffer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct IndexBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, _data: &[u32], _usage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/core/IndexBuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn bind(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unbind` [INFO] [stdout] --> src/core/IndexBuffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unbind(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_data` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, _data: &[u32], _usage: u32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shader_source` [INFO] [stdout] --> src/core/Shader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_shader_source(path: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `engineCore` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engineCore = EngineCore::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EngineCore` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod EngineCore; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Types` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Types; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Math` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Math; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mesh` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Mesh; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `VertexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod VertexBuffer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vertex_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IndexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IndexBuffer; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `index_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shader` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Shader; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Utils` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Utils; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `glRef` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let glRef = gl.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `gl_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_defaultShader` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_defaultShader(gl: &GL) -> Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_default_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let rotationMatrix = float3x3::from(self.rotation); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPerspectiveMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_perspective_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub objectType: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `modelMatrix` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub modelMatrix: float4x4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `model_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL, vertices: &[f32], _indices: &[u32], objectType: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `creteProgram` should have a snake case name [INFO] [stdout] --> src/core/Shader.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn creteProgram(gl: &GL, vs_shader: &WebGlShader, fs_shader: &WebGlShader) -> WebGlProgram { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `crete_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.03s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Checking web-sys v0.3.46 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/core/EngineCore.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | layout (location=0) in vec4 a_Pos;\n\ [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | uniform mat4 u_ModelMatrix; [INFO] [stdout] | |_ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/core/EngineCore.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | layout (location=0) in vec4 a_Pos;\n\ [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 67 | | [INFO] [stdout] 68 | | uniform mat4 u_ModelMatrix; [INFO] [stdout] | |_ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | default = 0x01, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `transparent` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transparent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4x4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type float4x4 = Matrix4; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3x3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type float3 = Vector3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qut` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type qut = Quaternion; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Qut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `default` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | default = 0x01, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `transparent` should have an upper camel case name [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transparent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4x4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type float4x4 = Matrix4; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4x4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3x3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3x3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float4` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `float3` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type float3 = Vector3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Float3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `qut` should have an upper camel case name [INFO] [stdout] --> src/core/Types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type qut = Quaternion; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Qut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `transparent` [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/core/EngineCore.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/core/EngineCore.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/EngineCore.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rotation` [INFO] [stdout] --> src/core/Camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rotation: qut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `translation` [INFO] [stdout] --> src/core/Camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | translation: float3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vertical_fov_rad` [INFO] [stdout] --> src/core/Camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | vertical_fov_rad: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aspect_ratio` [INFO] [stdout] --> src/core/Camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `near_z_clip` [INFO] [stdout] --> src/core/Camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | near_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `far_z_clip` [INFO] [stdout] --> src/core/Camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | far_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/Camera.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setPerspectiveMatrix` [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_proj_matrix` [INFO] [stdout] --> src/core/Camera.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn update_proj_matrix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float3x3` [INFO] [stdout] --> src/core/Types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float4` [INFO] [stdout] --> src/core/Types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IndexBuffer` [INFO] [stdout] --> src/core/IndexBuffer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct IndexBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, _data: &[u32], _usage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/core/IndexBuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn bind(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unbind` [INFO] [stdout] --> src/core/IndexBuffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unbind(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_data` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, _data: &[u32], _usage: u32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shader_source` [INFO] [stdout] --> src/core/Shader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_shader_source(path: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `engineCore` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engineCore = EngineCore::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EngineCore` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod EngineCore; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Types` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Types; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Math` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Math; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mesh` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Mesh; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `VertexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod VertexBuffer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vertex_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IndexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IndexBuffer; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `index_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shader` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Shader; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Utils` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Utils; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `glRef` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let glRef = gl.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `gl_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_defaultShader` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_defaultShader(gl: &GL) -> Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_default_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let rotationMatrix = float3x3::from(self.rotation); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPerspectiveMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_perspective_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub objectType: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `modelMatrix` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub modelMatrix: float4x4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `model_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL, vertices: &[f32], _indices: &[u32], objectType: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `creteProgram` should have a snake case name [INFO] [stdout] --> src/core/Shader.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn creteProgram(gl: &GL, vs_shader: &WebGlShader, fs_shader: &WebGlShader) -> WebGlProgram { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `crete_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `transparent` [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | transparent = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/core/EngineCore.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/core/EngineCore.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/EngineCore.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rotation` [INFO] [stdout] --> src/core/Camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | rotation: qut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `translation` [INFO] [stdout] --> src/core/Camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | translation: float3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vertical_fov_rad` [INFO] [stdout] --> src/core/Camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | vertical_fov_rad: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `aspect_ratio` [INFO] [stdout] --> src/core/Camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `near_z_clip` [INFO] [stdout] --> src/core/Camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | near_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `far_z_clip` [INFO] [stdout] --> src/core/Camera.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | far_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/core/Camera.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `setPerspectiveMatrix` [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_proj_matrix` [INFO] [stdout] --> src/core/Camera.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn update_proj_matrix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float3x3` [INFO] [stdout] --> src/core/Types.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `float4` [INFO] [stdout] --> src/core/Types.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IndexBuffer` [INFO] [stdout] --> src/core/IndexBuffer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct IndexBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, _data: &[u32], _usage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/core/IndexBuffer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn bind(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unbind` [INFO] [stdout] --> src/core/IndexBuffer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unbind(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_data` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, _data: &[u32], _usage: u32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_shader_source` [INFO] [stdout] --> src/core/Shader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_shader_source(path: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `engineCore` should have a snake case name [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut engineCore = EngineCore::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EngineCore` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod EngineCore; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `engine_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Types` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Types; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Math` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Math; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mesh` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Mesh; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `VertexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod VertexBuffer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vertex_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `IndexBuffer` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod IndexBuffer; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `index_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shader` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Shader; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Utils` should have a snake case name [INFO] [stdout] --> src/core/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Utils; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `glRef` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let glRef = gl.clone(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `gl_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_defaultShader` should have a snake case name [INFO] [stdout] --> src/core/EngineCore.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn get_defaultShader(gl: &GL) -> Shader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_default_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let rotationMatrix = float3x3::from(self.rotation); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPerspectiveMatrix` should have a snake case name [INFO] [stdout] --> src/core/Camera.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_perspective_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub objectType: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `modelMatrix` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub modelMatrix: float4x4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `model_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectType` should have a snake case name [INFO] [stdout] --> src/core/Mesh.rs:18:61 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL, vertices: &[f32], _indices: &[u32], objectType: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `creteProgram` should have a snake case name [INFO] [stdout] --> src/core/Shader.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn creteProgram(gl: &GL, vs_shader: &WebGlShader, fs_shader: &WebGlShader) -> WebGlProgram { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `crete_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.11s [INFO] running `Command { std: "docker" "inspect" "e9270af6f80bd43a8b1835e977ffc41c087868f749b01c49ed7fbb2dcbbdfe9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9270af6f80bd43a8b1835e977ffc41c087868f749b01c49ed7fbb2dcbbdfe9c", kill_on_drop: false }` [INFO] [stdout] e9270af6f80bd43a8b1835e977ffc41c087868f749b01c49ed7fbb2dcbbdfe9c