[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/db8227f865e8d8617dc71a213b11638b69fe9adf against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPG59%2FFGIN2" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RPG59/FGIN2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-shared v0.2.69 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.69 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.69 [INFO] [stderr] Downloaded js-sys v0.3.46 [INFO] [stderr] Downloaded wasm-bindgen v0.2.69 [INFO] [stderr] Downloaded futures v0.1.30 [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded web-sys v0.3.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3ca7954d62e740b9aa3cc9bb24510aaa376bd75c144c219085440fc2697f6e9 [INFO] running `Command { std: "docker" "start" "-a" "a3ca7954d62e740b9aa3cc9bb24510aaa376bd75c144c219085440fc2697f6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3ca7954d62e740b9aa3cc9bb24510aaa376bd75c144c219085440fc2697f6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ca7954d62e740b9aa3cc9bb24510aaa376bd75c144c219085440fc2697f6e9", kill_on_drop: false }` [INFO] [stdout] a3ca7954d62e740b9aa3cc9bb24510aaa376bd75c144c219085440fc2697f6e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c265a5df732e9ac406f2bc99e16fb195de738606d49ec0b3c36687d3ffda0a46 [INFO] running `Command { std: "docker" "start" "-a" "c265a5df732e9ac406f2bc99e16fb195de738606d49ec0b3c36687d3ffda0a46", 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] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [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] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking approx v0.3.2 [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 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 (/opt/rustwide/workdir) [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: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HtmlCanvasElement`, `WebGl2RenderingContext`, `WebGlProgram`, and `WebGlShader` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{WebGlProgram, WebGl2RenderingContext, WebGlShader, HtmlCanvasElement}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGl2RenderingContext`, `WebGlProgram`, and `WebGlShader` [INFO] [stdout] --> src/core/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{WebGlProgram, WebGl2RenderingContext, WebGlShader}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/core/EngineCore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGlProgram`, `WebGlShader`, and `WebGlUniformLocation` [INFO] [stdout] --> src/core/EngineCore.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::{HtmlCanvasElement, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::type_name` [INFO] [stdout] --> src/core/EngineCore.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::type_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HtmlCanvasElement`, `WebGl2RenderingContext`, `WebGlProgram`, and `WebGlShader` [INFO] [stdout] --> src/lib.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{WebGlProgram, WebGl2RenderingContext, WebGlShader, HtmlCanvasElement}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGl2RenderingContext`, `WebGlProgram`, and `WebGlShader` [INFO] [stdout] --> src/core/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{WebGlProgram, WebGl2RenderingContext, WebGlShader}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/core/EngineCore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebGlProgram`, `WebGlShader`, and `WebGlUniformLocation` [INFO] [stdout] --> src/core/EngineCore.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use web_sys::{HtmlCanvasElement, WebGlProgram, WebGlShader, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::type_name` [INFO] [stdout] --> src/core/EngineCore.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::any::type_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/EngineCore.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::num_traits::real::Real` [INFO] [stdout] --> src/core/EngineCore.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cgmath::num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: unused imports: `Matrix3` and `Quaternion` [INFO] [stdout] --> src/core/Camera.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Matrix4, Quaternion, Vector3, Matrix3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::perspective` [INFO] [stdout] --> src/core/Camera.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::perspective; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::std::fs::copy` [INFO] [stdout] --> src/core/Camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::__rt::std::fs::copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: unused import: `crate::core::Shader::Shader` [INFO] [stdout] --> src/core/Mesh.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::Shader::Shader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/core/Mesh.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use cgmath::{Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGlUniformLocation` [INFO] [stdout] --> src/core/Shader.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{WebGlShader, WebGlProgram, WebGl2RenderingContext, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/Shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/Shader.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | let data = fs::read_to_string(path).expect(("ERROR: [get_shader_source]: ")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - let data = fs::read_to_string(path).expect(("ERROR: [get_shader_source]: ")); [INFO] [stdout] 25 + let data = fs::read_to_string(path).expect("ERROR: [get_shader_source]: "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/EngineCore.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::num_traits::real::Real` [INFO] [stdout] --> src/core/EngineCore.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cgmath::num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: unused imports: `Matrix3` and `Quaternion` [INFO] [stdout] --> src/core/Camera.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Matrix4, Quaternion, Vector3, Matrix3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::perspective` [INFO] [stdout] --> src/core/Camera.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::perspective; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::__rt::std::fs::copy` [INFO] [stdout] --> src/core/Camera.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen::__rt::std::fs::copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: unused import: `crate::core::Shader::Shader` [INFO] [stdout] --> src/core/Mesh.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::Shader::Shader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/core/Mesh.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use cgmath::{Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebGlUniformLocation` [INFO] [stdout] --> src/core/Shader.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{WebGlShader, WebGlProgram, WebGl2RenderingContext, WebGlUniformLocation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/Shader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/core/Shader.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | let data = fs::read_to_string(path).expect(("ERROR: [get_shader_source]: ")); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - let data = fs::read_to_string(path).expect(("ERROR: [get_shader_source]: ")); [INFO] [stdout] 25 + let data = fs::read_to_string(path).expect("ERROR: [get_shader_source]: "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/core/Camera.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let foo = float3x3::from(self.rotation); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/core/Camera.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let foo = float3x3::from(self.rotation); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/core/Mesh.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL, vertices: &[f32], indices: &[u32], objectType: u8) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/core/Mesh.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(gl: &GL, vertices: &[f32], indices: &[u32], objectType: u8) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, data: &[u32], usage: u32) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usage` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, data: &[u32], usage: u32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, data: &[u32], usage: u32) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usage` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, data: &[u32], usage: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, data: &[u32], usage: u32) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usage` [INFO] [stdout] --> src/core/IndexBuffer.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(gl: &GL, data: &[u32], usage: u32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/core/Shader.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let log = gl.get_shader_info_log(&shader).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, data: &[u32], usage: u32) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usage` [INFO] [stdout] --> src/core/IndexBuffer.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn set_data(&self, data: &[u32], usage: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/core/Shader.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let log = gl.get_shader_info_log(&shader).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut camera = Camera::new( [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: variant `transparent` is never constructed [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ObjectTypes { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 17 | default = 0x01, [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: fields `width` and `height` are never read [INFO] [stdout] --> src/core/EngineCore.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EngineCore { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 22 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/core/EngineCore.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl EngineCore { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation`, `translation`, `vertical_fov_rad`, `aspect_ratio`, `near_z_clip`, and `far_z_clip` are never read [INFO] [stdout] --> src/core/Camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | rotation: qut, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | translation: float3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | vertical_fov_rad: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | near_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | far_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `setPerspectiveMatrix`, and `update_proj_matrix` are never used [INFO] [stdout] --> src/core/Camera.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_proj_matrix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `float3x3` is never used [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `float4` is never used [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexBuffer` is never constructed [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 items `new`, `bind`, `unbind`, and `set_data` are never used [INFO] [stdout] --> src/core/IndexBuffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IndexBuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(gl: &GL, data: &[u32], usage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn bind(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn unbind(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_data(&self, data: &[u32], usage: u32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_shader_source` is never used [INFO] [stdout] --> src/core/Shader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut camera = Camera::new( [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: variant `transparent` is never constructed [INFO] [stdout] --> src/core/EngineCore.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ObjectTypes { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 17 | default = 0x01, [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: fields `width` and `height` are never read [INFO] [stdout] --> src/core/EngineCore.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EngineCore { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 22 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/core/EngineCore.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl EngineCore { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation`, `translation`, `vertical_fov_rad`, `aspect_ratio`, `near_z_clip`, and `far_z_clip` are never read [INFO] [stdout] --> src/core/Camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | rotation: qut, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | translation: float3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | vertical_fov_rad: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | aspect_ratio: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | near_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | far_z_clip: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `setPerspectiveMatrix`, and `update_proj_matrix` are never used [INFO] [stdout] --> src/core/Camera.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn setPerspectiveMatrix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_proj_matrix(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `float3x3` is never used [INFO] [stdout] --> src/core/Types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type float3x3 = Matrix3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `float4` is never used [INFO] [stdout] --> src/core/Types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type float4 = Vector4; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexBuffer` is never constructed [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 items `new`, `bind`, `unbind`, and `set_data` are never used [INFO] [stdout] --> src/core/IndexBuffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl IndexBuffer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(gl: &GL, data: &[u32], usage: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn bind(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn unbind(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_data(&self, data: &[u32], usage: u32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_shader_source` is never used [INFO] [stdout] --> src/core/Shader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [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 `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 `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 `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:60 [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: 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: 61 warnings emitted [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:60 [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: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.69 [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" "c265a5df732e9ac406f2bc99e16fb195de738606d49ec0b3c36687d3ffda0a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c265a5df732e9ac406f2bc99e16fb195de738606d49ec0b3c36687d3ffda0a46", kill_on_drop: false }` [INFO] [stdout] c265a5df732e9ac406f2bc99e16fb195de738606d49ec0b3c36687d3ffda0a46