[INFO] cloning repository https://github.com/SarmadSA/OpenGL-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SarmadSA/OpenGL-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarmadSA%2FOpenGL-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarmadSA%2FOpenGL-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8032abf8e820959be629a578e4a4ba7e543f5f14 [INFO] testing SarmadSA/OpenGL-1 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarmadSA%2FOpenGL-1" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SarmadSA/OpenGL-1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SarmadSA/OpenGL-1 [INFO] finished tweaking git repo https://github.com/SarmadSA/OpenGL-1 [INFO] tweaked toml for git repo https://github.com/SarmadSA/OpenGL-1 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/SarmadSA/OpenGL-1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded ndk v0.1.1 [INFO] [stderr] Downloaded ndk-glue v0.1.1 [INFO] [stderr] Downloaded simba v0.1.5 [INFO] [stderr] Downloaded ndk-sys v0.1.1 [INFO] [stderr] Downloaded nalgebra v0.21.1 [INFO] [stderr] Downloaded ndk-macro v0.1.0 [INFO] [stderr] Downloaded tobj v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28c229cfb6c6b02fb4224391d95eb385cbad94309da013198c4a0a9a59263072 [INFO] running `Command { std: "docker" "start" "-a" "28c229cfb6c6b02fb4224391d95eb385cbad94309da013198c4a0a9a59263072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28c229cfb6c6b02fb4224391d95eb385cbad94309da013198c4a0a9a59263072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c229cfb6c6b02fb4224391d95eb385cbad94309da013198c4a0a9a59263072", kill_on_drop: false }` [INFO] [stdout] 28c229cfb6c6b02fb4224391d95eb385cbad94309da013198c4a0a9a59263072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd18cc9bff116749bd999383c80496ab1300c84c11e47406acafa621220ccfc5 [INFO] running `Command { std: "docker" "start" "-a" "cd18cc9bff116749bd999383c80496ab1300c84c11e47406acafa621220ccfc5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling tobj v2.0.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling simba v0.1.5 [INFO] [stderr] Compiling nalgebra v0.21.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling nalgebra-glm v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling gloom-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | if(root.index_count > -1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - if(root.index_count > -1){ [INFO] [stdout] 97 + if root.index_count > -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / /** [INFO] [stdout] 126 | | * I have to first move the rotor to the origin, then apply the rotation, and then move it back to where it was. Movement to the orig... [INFO] [stdout] 127 | | * My problem was that I don’t know the function in rust that returns the invers of a point. So it is not rotating about the referenc... [INFO] [stdout] 128 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 129 | [INFO] [stdout] 130 | let transformationMatrix: glm::Mat4 = rotationMatrix * transposeTranslation; //Calculate total transformation matrix [INFO] [stdout] | ---------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | for x in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | ... let mut heli_door_node = scene_graph::SceneNode::from_vao(heli_door_vao, heli_mesh.door.index_count);//Generate a scene node for th... [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: function is never used: `size_of` [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `offset` [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_uniform_location` [INFO] [stdout] --> src/shader.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `activate` [INFO] [stdout] --> src/shader.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn activate(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | gl::GetUniformLocation(self.program_id, CString::new(name).expect("CString::new failed").as_ptr()) [INFO] [stdout] | ------------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID` should have a snake case name [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut bufferID: u32 = 0; //Here the ID of the buffer (VBO) will be stored [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `buffer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID2` should have a snake case name [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bufferID2: u32 = 0; //Soter the ID of the buffer [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID3` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut bufferID3: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID4` should have a snake case name [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut bufferID4: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `translationMatrix` should have a snake case name [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let translationMatrix: glm::Mat4 = glm::translation(&root.position); //This is the translation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeTranslation` should have a snake case name [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let transposeTranslation: glm::Mat4 = glm::transpose(&translationMatrix); //Transpose the translation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationX` should have a snake case name [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let rotationX: glm::Mat4 = glm::rotation(root.rotation[0], &glm::vec3(root.reference_point[0],0.0,0.0)); //Rotate about the x-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationY` should have a snake case name [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let rotationY: glm::Mat4 = glm::rotation(root.rotation[1], &glm::vec3(0.0,root.reference_point[1],0.0)); //Rotate about the y-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationZ` should have a snake case name [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let rotationZ: glm::Mat4 = glm::rotation(root.rotation[2], &glm::vec3(0.0,0.0,root.reference_point[2])); //Rotate about the z-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationMatrix` should have a snake case name [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let rotationMatrix: glm::Mat4 = rotationX * rotationY * rotationZ; //Calculate total rotation [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transformationMatrix` should have a snake case name [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let transformationMatrix: glm::Mat4 = rotationMatrix * transposeTranslation; //Calculate total transformation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transformation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeTranslation` should have a snake case name [INFO] [stdout] --> src/main.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | let transposeTranslation: glm::Mat4 = glm::transpose(&translation); //Transpose the translation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationX` should have a snake case name [INFO] [stdout] --> src/main.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | let rotationX: glm::Mat4 = glm::rotation(rot_x, &glm::vec3(1.0,0.0,0.0)); //Rotate about the x-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationY` should have a snake case name [INFO] [stdout] --> src/main.rs:396:21 [INFO] [stdout] | [INFO] [stdout] 396 | let rotationY: glm::Mat4 = glm::rotation(rot_y, &glm::vec3(0.0,1.0,0.0)); //Rotate about the y-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeRotationX` should have a snake case name [INFO] [stdout] --> src/main.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let transposeRotationX: glm::Mat4 = glm::transpose(&rotationX); //Transpose rotationX matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_rotation_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeRotationY` should have a snake case name [INFO] [stdout] --> src/main.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | let transposeRotationY: glm::Mat4 = glm::transpose(&rotationY); //Transpose rotationY matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_rotation_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transformationCombo` should have a snake case name [INFO] [stdout] --> src/main.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | ... let transformationCombo: glm::Mat4 = transposeRotationX * transposeRotationY * transposeTranslation * projection * identity; //Mul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transformation_combo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "cd18cc9bff116749bd999383c80496ab1300c84c11e47406acafa621220ccfc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd18cc9bff116749bd999383c80496ab1300c84c11e47406acafa621220ccfc5", kill_on_drop: false }` [INFO] [stdout] cd18cc9bff116749bd999383c80496ab1300c84c11e47406acafa621220ccfc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd0e8f48dd8129db7ee397cae899cc9a1a9782989c7cef98a79a9efe5d842d9b [INFO] running `Command { std: "docker" "start" "-a" "bd0e8f48dd8129db7ee397cae899cc9a1a9782989c7cef98a79a9efe5d842d9b", kill_on_drop: false }` [INFO] [stderr] Compiling gloom-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | if(root.index_count > -1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - if(root.index_count > -1){ [INFO] [stdout] 97 + if root.index_count > -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / /** [INFO] [stdout] 126 | | * I have to first move the rotor to the origin, then apply the rotation, and then move it back to where it was. Movement to the orig... [INFO] [stdout] 127 | | * My problem was that I don’t know the function in rust that returns the invers of a point. So it is not rotating about the referenc... [INFO] [stdout] 128 | | */ [INFO] [stdout] | |_______^ [INFO] [stdout] 129 | [INFO] [stdout] 130 | let transformationMatrix: glm::Mat4 = rotationMatrix * transposeTranslation; //Calculate total transformation matrix [INFO] [stdout] | ---------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | for x in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | ... let mut heli_door_node = scene_graph::SceneNode::from_vao(heli_door_vao, heli_mesh.door.index_count);//Generate a scene node for th... [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: function is never used: `size_of` [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn size_of() -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `offset` [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn offset(n: u32) -> *const c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_uniform_location` [INFO] [stdout] --> src/shader.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `activate` [INFO] [stdout] --> src/shader.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn activate(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/shader.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | gl::GetUniformLocation(self.program_id, CString::new(name).expect("CString::new failed").as_ptr()) [INFO] [stdout] | ------------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID` should have a snake case name [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut bufferID: u32 = 0; //Here the ID of the buffer (VBO) will be stored [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `buffer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID2` should have a snake case name [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bufferID2: u32 = 0; //Soter the ID of the buffer [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID3` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut bufferID3: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufferID4` should have a snake case name [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut bufferID4: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `translationMatrix` should have a snake case name [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let translationMatrix: glm::Mat4 = glm::translation(&root.position); //This is the translation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeTranslation` should have a snake case name [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let transposeTranslation: glm::Mat4 = glm::transpose(&translationMatrix); //Transpose the translation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationX` should have a snake case name [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let rotationX: glm::Mat4 = glm::rotation(root.rotation[0], &glm::vec3(root.reference_point[0],0.0,0.0)); //Rotate about the x-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationY` should have a snake case name [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let rotationY: glm::Mat4 = glm::rotation(root.rotation[1], &glm::vec3(0.0,root.reference_point[1],0.0)); //Rotate about the y-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationZ` should have a snake case name [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let rotationZ: glm::Mat4 = glm::rotation(root.rotation[2], &glm::vec3(0.0,0.0,root.reference_point[2])); //Rotate about the z-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationMatrix` should have a snake case name [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let rotationMatrix: glm::Mat4 = rotationX * rotationY * rotationZ; //Calculate total rotation [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transformationMatrix` should have a snake case name [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let transformationMatrix: glm::Mat4 = rotationMatrix * transposeTranslation; //Calculate total transformation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transformation_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeTranslation` should have a snake case name [INFO] [stdout] --> src/main.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | let transposeTranslation: glm::Mat4 = glm::transpose(&translation); //Transpose the translation matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_translation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationX` should have a snake case name [INFO] [stdout] --> src/main.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | let rotationX: glm::Mat4 = glm::rotation(rot_x, &glm::vec3(1.0,0.0,0.0)); //Rotate about the x-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rotationY` should have a snake case name [INFO] [stdout] --> src/main.rs:396:21 [INFO] [stdout] | [INFO] [stdout] 396 | let rotationY: glm::Mat4 = glm::rotation(rot_y, &glm::vec3(0.0,1.0,0.0)); //Rotate about the y-axis [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeRotationX` should have a snake case name [INFO] [stdout] --> src/main.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let transposeRotationX: glm::Mat4 = glm::transpose(&rotationX); //Transpose rotationX matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_rotation_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transposeRotationY` should have a snake case name [INFO] [stdout] --> src/main.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | let transposeRotationY: glm::Mat4 = glm::transpose(&rotationY); //Transpose rotationY matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_rotation_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `transformationCombo` should have a snake case name [INFO] [stdout] --> src/main.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | ... let transformationCombo: glm::Mat4 = transposeRotationX * transposeRotationY * transposeTranslation * projection * identity; //Mul... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transformation_combo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "bd0e8f48dd8129db7ee397cae899cc9a1a9782989c7cef98a79a9efe5d842d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0e8f48dd8129db7ee397cae899cc9a1a9782989c7cef98a79a9efe5d842d9b", kill_on_drop: false }` [INFO] [stdout] bd0e8f48dd8129db7ee397cae899cc9a1a9782989c7cef98a79a9efe5d842d9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad76b2fb310acf30b11c5f61205207533db8d66166d01888462073e288b63e3a [INFO] running `Command { std: "docker" "start" "-a" "ad76b2fb310acf30b11c5f61205207533db8d66166d01888462073e288b63e3a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:97:7 [INFO] [stderr] | [INFO] [stderr] 97 | if(root.index_count > -1){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 97 - if(root.index_count > -1){ [INFO] [stderr] 97 + if root.index_count > -1 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | / /** [INFO] [stderr] 126 | | * I have to first move the rotor to the origin, then apply the rotation, and then move it back to where it was. Movement to the orig... [INFO] [stderr] 127 | | * My problem was that I don’t know the function in rust that returns the invers of a point. So it is not rotating about the referenc... [INFO] [stderr] 128 | | */ [INFO] [stderr] | |_______^ [INFO] [stderr] 129 | [INFO] [stderr] 130 | let transformationMatrix: glm::Mat4 = rotationMatrix * transposeTranslation; //Calculate total transformation matrix [INFO] [stderr] | ---------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `/* */` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:264:9 [INFO] [stderr] | [INFO] [stderr] 264 | for x in 0..5 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:268:13 [INFO] [stderr] | [INFO] [stderr] 268 | ... let mut heli_door_node = scene_graph::SceneNode::from_vao(heli_door_vao, heli_mesh.door.index_count);//Generate a scene node for th... [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `size_of` [INFO] [stderr] --> src/main.rs:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | fn size_of() -> i32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `offset` [INFO] [stderr] --> src/main.rs:35:4 [INFO] [stderr] | [INFO] [stderr] 35 | fn offset(n: u32) -> *const c_void { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_uniform_location` [INFO] [stderr] --> src/shader.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | pub unsafe fn get_uniform_location(&self, name: &str) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `activate` [INFO] [stderr] --> src/shader.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | pub unsafe fn activate(&self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/shader.rs:30:98 [INFO] [stderr] | [INFO] [stderr] 30 | gl::GetUniformLocation(self.program_id, CString::new(name).expect("CString::new failed").as_ptr()) [INFO] [stderr] | ------------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: variable `bufferID` should have a snake case name [INFO] [stderr] --> src/main.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | let mut bufferID: u32 = 0; //Here the ID of the buffer (VBO) will be stored [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `buffer_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `bufferID2` should have a snake case name [INFO] [stderr] --> src/main.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let mut bufferID2: u32 = 0; //Soter the ID of the buffer [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id2` [INFO] [stderr] [INFO] [stderr] warning: variable `bufferID3` should have a snake case name [INFO] [stderr] --> src/main.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | let mut bufferID3: u32 = 0; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id3` [INFO] [stderr] [INFO] [stderr] warning: variable `bufferID4` should have a snake case name [INFO] [stderr] --> src/main.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | let mut bufferID4: u32 = 0; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `buffer_id4` [INFO] [stderr] [INFO] [stderr] warning: variable `translationMatrix` should have a snake case name [INFO] [stderr] --> src/main.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | let translationMatrix: glm::Mat4 = glm::translation(&root.position); //This is the translation matrix [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translation_matrix` [INFO] [stderr] [INFO] [stderr] warning: variable `transposeTranslation` should have a snake case name [INFO] [stderr] --> src/main.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | let transposeTranslation: glm::Mat4 = glm::transpose(&translationMatrix); //Transpose the translation matrix [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_translation` [INFO] [stderr] [INFO] [stderr] warning: variable `rotationX` should have a snake case name [INFO] [stderr] --> src/main.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | let rotationX: glm::Mat4 = glm::rotation(root.rotation[0], &glm::vec3(root.reference_point[0],0.0,0.0)); //Rotate about the x-axis [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_x` [INFO] [stderr] [INFO] [stderr] warning: variable `rotationY` should have a snake case name [INFO] [stderr] --> src/main.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | let rotationY: glm::Mat4 = glm::rotation(root.rotation[1], &glm::vec3(0.0,root.reference_point[1],0.0)); //Rotate about the y-axis [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_y` [INFO] [stderr] [INFO] [stderr] warning: variable `rotationZ` should have a snake case name [INFO] [stderr] --> src/main.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | let rotationZ: glm::Mat4 = glm::rotation(root.rotation[2], &glm::vec3(0.0,0.0,root.reference_point[2])); //Rotate about the z-axis [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_z` [INFO] [stderr] [INFO] [stderr] warning: variable `rotationMatrix` should have a snake case name [INFO] [stderr] --> src/main.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | let rotationMatrix: glm::Mat4 = rotationX * rotationY * rotationZ; //Calculate total rotation [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rotation_matrix` [INFO] [stderr] [INFO] [stderr] warning: variable `transformationMatrix` should have a snake case name [INFO] [stderr] --> src/main.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | let transformationMatrix: glm::Mat4 = rotationMatrix * transposeTranslation; //Calculate total transformation matrix [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transformation_matrix` [INFO] [stderr] [INFO] [stderr] warning: variable `transposeTranslation` should have a snake case name [INFO] [stderr] --> src/main.rs:392:21 [INFO] [stderr] | [INFO] [stderr] 392 | let transposeTranslation: glm::Mat4 = glm::transpose(&translation); //Transpose the translation matrix [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_translation` [INFO] [stderr] [INFO] [stderr] warning: variable `rotationX` should have a snake case name [INFO] [stderr] --> src/main.rs:395:21 [INFO] [stderr] | [INFO] [stderr] 395 | let rotationX: glm::Mat4 = glm::rotation(rot_x, &glm::vec3(1.0,0.0,0.0)); //Rotate about the x-axis [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_x` [INFO] [stderr] [INFO] [stderr] warning: variable `rotationY` should have a snake case name [INFO] [stderr] --> src/main.rs:396:21 [INFO] [stderr] | [INFO] [stderr] 396 | let rotationY: glm::Mat4 = glm::rotation(rot_y, &glm::vec3(0.0,1.0,0.0)); //Rotate about the y-axis [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `rotation_y` [INFO] [stderr] [INFO] [stderr] warning: variable `transposeRotationX` should have a snake case name [INFO] [stderr] --> src/main.rs:397:21 [INFO] [stderr] | [INFO] [stderr] 397 | let transposeRotationX: glm::Mat4 = glm::transpose(&rotationX); //Transpose rotationX matrix [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_rotation_x` [INFO] [stderr] [INFO] [stderr] warning: variable `transposeRotationY` should have a snake case name [INFO] [stderr] --> src/main.rs:398:21 [INFO] [stderr] | [INFO] [stderr] 398 | let transposeRotationY: glm::Mat4 = glm::transpose(&rotationY); //Transpose rotationY matrix [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transpose_rotation_y` [INFO] [stderr] [INFO] [stderr] warning: variable `transformationCombo` should have a snake case name [INFO] [stderr] --> src/main.rs:401:21 [INFO] [stderr] | [INFO] [stderr] 401 | ... let transformationCombo: glm::Mat4 = transposeRotationX * transposeRotationY * transposeTranslation * projection * identity; //Mul... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transformation_combo` [INFO] [stderr] [INFO] [stderr] warning: `gloom-rs` (bin "gloom-rs" test) generated 26 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.30s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gloom_rs-8be6319c21c80ce7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad76b2fb310acf30b11c5f61205207533db8d66166d01888462073e288b63e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad76b2fb310acf30b11c5f61205207533db8d66166d01888462073e288b63e3a", kill_on_drop: false }` [INFO] [stdout] ad76b2fb310acf30b11c5f61205207533db8d66166d01888462073e288b63e3a