[INFO] cloning repository https://github.com/Joxx0r/RustRevEngine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joxx0r/RustRevEngine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoxx0r%2FRustRevEngine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoxx0r%2FRustRevEngine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a17e4c84884bac576a727c0e65250206b70f559 [INFO] checking Joxx0r/RustRevEngine against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoxx0r%2FRustRevEngine" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Joxx0r/RustRevEngine on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Joxx0r/RustRevEngine [INFO] finished tweaking git repo https://github.com/Joxx0r/RustRevEngine [INFO] tweaked toml for git repo https://github.com/Joxx0r/RustRevEngine written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Joxx0r/RustRevEngine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b77f2df149a37851a88ac813492cae96391da0c68f6c1634f1aa0217845601f [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" "2b77f2df149a37851a88ac813492cae96391da0c68f6c1634f1aa0217845601f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b77f2df149a37851a88ac813492cae96391da0c68f6c1634f1aa0217845601f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b77f2df149a37851a88ac813492cae96391da0c68f6c1634f1aa0217845601f", kill_on_drop: false }` [INFO] [stdout] 2b77f2df149a37851a88ac813492cae96391da0c68f6c1634f1aa0217845601f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56630b4d51fb2f72a4acbbb6fc0c3f59e3bd9146024580c7850187dbc6a9148d [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" "56630b4d51fb2f72a4acbbb6fc0c3f59e3bd9146024580c7850187dbc6a9148d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking tobj v0.1.11 [INFO] [stderr] Compiling shell32-sys v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking semver v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking glfw v0.23.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.5 [INFO] [stderr] Checking bincode2 v2.0.1 [INFO] [stderr] Checking rust_rev_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/render/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImage` [INFO] [stdout] --> src/render/rc.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GenericImage, GenericImageView, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/render/rc.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn generate_id() -> (u32) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input_state` should have an upper camel case name [INFO] [stdout] --> src/misc/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct input_state { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/misc/input.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | if(state.left_mouse_button_down) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/misc/input.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | if(prev_frame_mouse_button_down) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::misc::camera::Camera_Movement::*` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::misc::camera::Camera_Movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glfw::MouseButton` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use glfw::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::vec::Vec2` [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::math::vec::Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/render/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImage` [INFO] [stdout] --> src/render/rc.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GenericImage, GenericImageView, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/render/rc.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn generate_id() -> (u32) { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `input_state` should have an upper camel case name [INFO] [stdout] --> src/misc/input.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct input_state { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/misc/input.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | if(state.left_mouse_button_down) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/misc/input.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | if(prev_frame_mouse_button_down) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::misc::camera::Camera_Movement::*` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::misc::camera::Camera_Movement::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glfw::MouseButton` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use glfw::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::vec::Vec2` [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::math::vec::Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_path` [INFO] [stdout] --> src/render/model.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn save_to_file(&self, base_path:&str, model_path:&str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/render/rc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let end_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `texture` is never read [INFO] [stdout] --> src/render/rc_internal.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut texture = RevTexture::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:220:71 [INFO] [stdout] | [INFO] [stdout] 220 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, location) as *const c_void); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:223:71 [INFO] [stdout] | [INFO] [stdout] 223 | gl::VertexAttribPointer(1, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, normal) as *const c_void); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:226:71 [INFO] [stdout] | [INFO] [stdout] 226 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, texcoord) as *const c_void); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:229:71 [INFO] [stdout] | [INFO] [stdout] 229 | gl::VertexAttribPointer(3, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, tangent) as *const c_void); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:232:71 [INFO] [stdout] | [INFO] [stdout] 232 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, bitangent) as *const c_void); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `prev_frame_mouse_button_down` should have an upper case name [INFO] [stdout] --> src/misc/input.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | static mut prev_frame_mouse_button_down: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREV_FRAME_MOUSE_BUTTON_DOWN` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `old_mouse_position` should have an upper case name [INFO] [stdout] --> src/misc/input.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | static mut old_mouse_position:Vec2 = Vec2::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OLD_MOUSE_POSITION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_path` [INFO] [stdout] --> src/render/model.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn save_to_file(&self, base_path:&str, model_path:&str) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/render/rc.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let end_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `texture` is never read [INFO] [stdout] --> src/render/rc_internal.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut texture = RevTexture::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:220:71 [INFO] [stdout] | [INFO] [stdout] 220 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, location) as *const c_void); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:223:71 [INFO] [stdout] | [INFO] [stdout] 223 | gl::VertexAttribPointer(1, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, normal) as *const c_void); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:226:71 [INFO] [stdout] | [INFO] [stdout] 226 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, texcoord) as *const c_void); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:229:71 [INFO] [stdout] | [INFO] [stdout] 229 | gl::VertexAttribPointer(3, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, tangent) as *const c_void); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/utils.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/model.rs:232:71 [INFO] [stdout] | [INFO] [stdout] 232 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(VertexPosNormTexTanBi, bitangent) as *const c_void); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `prev_frame_mouse_button_down` should have an upper case name [INFO] [stdout] --> src/misc/input.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | static mut prev_frame_mouse_button_down: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PREV_FRAME_MOUSE_BUTTON_DOWN` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `old_mouse_position` should have an upper case name [INFO] [stdout] --> src/misc/input.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | static mut old_mouse_position:Vec2 = Vec2::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OLD_MOUSE_POSITION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "56630b4d51fb2f72a4acbbb6fc0c3f59e3bd9146024580c7850187dbc6a9148d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56630b4d51fb2f72a4acbbb6fc0c3f59e3bd9146024580c7850187dbc6a9148d", kill_on_drop: false }` [INFO] [stdout] 56630b4d51fb2f72a4acbbb6fc0c3f59e3bd9146024580c7850187dbc6a9148d