[INFO] cloning repository https://github.com/riponazad/TDT4195_CG
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riponazad/TDT4195_CG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friponazad%2FTDT4195_CG", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friponazad%2FTDT4195_CG'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] be89b2503a504195edc6e7a221a8a4c52c94bba1
[INFO] testing riponazad/TDT4195_CG against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friponazad%2FTDT4195_CG" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/riponazad/TDT4195_CG
[INFO] finished tweaking git repo https://github.com/riponazad/TDT4195_CG
[INFO] tweaked toml for git repo https://github.com/riponazad/TDT4195_CG written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/riponazad/TDT4195_CG on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/riponazad/TDT4195_CG 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4a34bfbb5a81f17ad9c2c549db04cef892a06fb15f481a8862d66d25b6c7d12c
[INFO] running `Command { std: "docker" "start" "-a" "4a34bfbb5a81f17ad9c2c549db04cef892a06fb15f481a8862d66d25b6c7d12c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a34bfbb5a81f17ad9c2c549db04cef892a06fb15f481a8862d66d25b6c7d12c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a34bfbb5a81f17ad9c2c549db04cef892a06fb15f481a8862d66d25b6c7d12c", kill_on_drop: false }`
[INFO] [stdout] 4a34bfbb5a81f17ad9c2c549db04cef892a06fb15f481a8862d66d25b6c7d12c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e40a798934bf4f4c76515e363e06334884efb65ea99d67e060aa92dcecfbdc77
[INFO] running `Command { std: "docker" "start" "-a" "e40a798934bf4f4c76515e363e06334884efb65ea99d67e060aa92dcecfbdc77", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.131
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling bytemuck v1.7.2
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.5.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling deflate v1.0.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling foreign-types-shared v0.3.1
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling safe_arch v0.5.2
[INFO] [stderr]    Compiling wayland-scanner v0.29.4
[INFO] [stderr]    Compiling wayland-sys v0.29.4
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling nix v0.22.3
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling nix v0.24.2
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling crossfont v0.5.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]    Compiling png v0.17.5
[INFO] [stderr]    Compiling servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling freetype-rs v0.26.0
[INFO] [stderr]    Compiling memmap2 v0.5.7
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling wide v0.7.0
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling approx v0.5.0
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling tiny-skia v0.7.0
[INFO] [stderr]    Compiling futures-sink v0.3.23
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.1
[INFO] [stderr]    Compiling simba v0.7.2
[INFO] [stderr]    Compiling wayland-client v0.29.4
[INFO] [stderr]    Compiling wayland-protocols v0.29.4
[INFO] [stderr]    Compiling wayland-commons v0.29.4
[INFO] [stderr]    Compiling jpeg-decoder v0.2.6
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.0
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling instant v0.1.10
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bit_field v0.10.1
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tiff v0.7.3
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling wayland-cursor v0.29.4
[INFO] [stderr]    Compiling wayland-egl v0.29.4
[INFO] [stderr]    Compiling tobj v3.1.0
[INFO] [stderr]    Compiling nalgebra v0.31.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling foreign-types-macros v0.2.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling foreign-types v0.5.0
[INFO] [stderr]    Compiling thiserror v1.0.26
[INFO] [stderr]    Compiling calloop v0.10.1
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling exr v1.4.2
[INFO] [stderr]    Compiling image v0.24.3
[INFO] [stderr]    Compiling nalgebra-glm v0.17.0
[INFO] [stderr]    Compiling sctk-adwaita v0.4.2
[INFO] [stderr]    Compiling winit v0.27.2
[INFO] [stderr]    Compiling glutin v0.29.1
[INFO] [stderr]    Compiling gloom-rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec3`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use glm::{Mat4, vec3};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glm::translation`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use glm::translation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut mvp=view_projection_matrix*trans;
[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: unused variable: `vertices`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let vertices: Vec<f32> = vec![
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertices`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertColors`
[INFO] [stdout]    --> src/main.rs:345:13
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let vertColors: Vec<f32> = vec![
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertColors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/main.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let indices: Vec<u32> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:590:21
[INFO] [stdout]     |
[INFO] [stdout] 590 |                 let mut trans_so_far: Mat4 = glm::identity();
[INFO] [stdout]     |                     ----^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn size_of<T>() -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset` is never used
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn offset<T>(n: u32) -> *const c_void {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_uniform_location` is never used
[INFO] [stdout]   --> src/shader.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Shader {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 28 |     // Make sure the shader is active before calling this
[INFO] [stdout] 29 |     pub unsafe fn get_uniform_location(&self, name: &str) -> i32 {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vertColors` should have a snake case name
[INFO] [stdout]   --> src/main.rs:63:63
[INFO] [stdout]    |
[INFO] [stdout] 63 | unsafe fn create_vao(vertices: &Vec<f32>, indices: &Vec<u32>, vertColors: &Vec<f32>, vertNormals: &Vec<f32>) -> u32 {
[INFO] [stdout]    |                                                               ^^^^^^^^^^ help: convert the identifier to snake case: `vert_colors`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vertNormals` should have a snake case name
[INFO] [stdout]   --> src/main.rs:63:86
[INFO] [stdout]    |
[INFO] [stdout] 63 | unsafe fn create_vao(vertices: &Vec<f32>, indices: &Vec<u32>, vertColors: &Vec<f32>, vertNormals: &Vec<f32>) -> u32 {
[INFO] [stdout]    |                                                                                      ^^^^^^^^^^^ help: convert the identifier to snake case: `vert_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vertColors` should have a snake case name
[INFO] [stdout]    --> src/main.rs:345:13
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let vertColors: Vec<f32> = vec![
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `vert_colors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `transformMatrix` should have a snake case name
[INFO] [stdout]    --> src/main.rs:558:21
[INFO] [stdout]     |
[INFO] [stdout] 558 |             let mut transformMatrix: Mat4 = glm::identity();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transform_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "e40a798934bf4f4c76515e363e06334884efb65ea99d67e060aa92dcecfbdc77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e40a798934bf4f4c76515e363e06334884efb65ea99d67e060aa92dcecfbdc77", kill_on_drop: false }`
[INFO] [stdout] e40a798934bf4f4c76515e363e06334884efb65ea99d67e060aa92dcecfbdc77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b63b5bbb81724aaed3b5e5754d0f028eec049f26e7b649580f374a8c064fa6c
[INFO] running `Command { std: "docker" "start" "-a" "9b63b5bbb81724aaed3b5e5754d0f028eec049f26e7b649580f374a8c064fa6c", kill_on_drop: false }`
[INFO] [stderr]    Compiling gloom-rs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec3`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use glm::{Mat4, vec3};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glm::translation`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use glm::translation;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let mut mvp=view_projection_matrix*trans;
[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: unused variable: `vertices`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 |         let vertices: Vec<f32> = vec![
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertices`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertColors`
[INFO] [stdout]    --> src/main.rs:345:13
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let vertColors: Vec<f32> = vec![
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertColors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/main.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let indices: Vec<u32> = vec![
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:590:21
[INFO] [stdout]     |
[INFO] [stdout] 590 |                 let mut trans_so_far: Mat4 = glm::identity();
[INFO] [stdout]     |                     ----^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn size_of<T>() -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset` is never used
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn offset<T>(n: u32) -> *const c_void {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_uniform_location` is never used
[INFO] [stdout]   --> src/shader.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Shader {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 28 |     // Make sure the shader is active before calling this
[INFO] [stdout] 29 |     pub unsafe fn get_uniform_location(&self, name: &str) -> i32 {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vertColors` should have a snake case name
[INFO] [stdout]   --> src/main.rs:63:63
[INFO] [stdout]    |
[INFO] [stdout] 63 | unsafe fn create_vao(vertices: &Vec<f32>, indices: &Vec<u32>, vertColors: &Vec<f32>, vertNormals: &Vec<f32>) -> u32 {
[INFO] [stdout]    |                                                               ^^^^^^^^^^ help: convert the identifier to snake case: `vert_colors`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vertNormals` should have a snake case name
[INFO] [stdout]   --> src/main.rs:63:86
[INFO] [stdout]    |
[INFO] [stdout] 63 | unsafe fn create_vao(vertices: &Vec<f32>, indices: &Vec<u32>, vertColors: &Vec<f32>, vertNormals: &Vec<f32>) -> u32 {
[INFO] [stdout]    |                                                                                      ^^^^^^^^^^^ help: convert the identifier to snake case: `vert_normals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `vertColors` should have a snake case name
[INFO] [stdout]    --> src/main.rs:345:13
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let vertColors: Vec<f32> = vec![
[INFO] [stdout]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `vert_colors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `transformMatrix` should have a snake case name
[INFO] [stdout]    --> src/main.rs:558:21
[INFO] [stdout]     |
[INFO] [stdout] 558 |             let mut transformMatrix: Mat4 = glm::identity();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transform_matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "9b63b5bbb81724aaed3b5e5754d0f028eec049f26e7b649580f374a8c064fa6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b63b5bbb81724aaed3b5e5754d0f028eec049f26e7b649580f374a8c064fa6c", kill_on_drop: false }`
[INFO] [stdout] 9b63b5bbb81724aaed3b5e5754d0f028eec049f26e7b649580f374a8c064fa6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8668e2155452329a355074d7fe9ad1217441ab75444eb7212584551c9e8a085e
[INFO] running `Command { std: "docker" "start" "-a" "8668e2155452329a355074d7fe9ad1217441ab75444eb7212584551c9e8a085e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::convert::TryInto`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::convert::TryInto;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `vec3`
[INFO] [stderr]   --> src/main.rs:15:17
[INFO] [stderr]    |
[INFO] [stderr] 15 | use glm::{Mat4, vec3};
[INFO] [stderr]    |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `glm::translation`
[INFO] [stderr]   --> src/main.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use glm::translation;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:181:13
[INFO] [stderr]     |
[INFO] [stderr] 181 |         let mut mvp=view_projection_matrix*trans;
[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: unused variable: `vertices`
[INFO] [stderr]    --> src/main.rs:323:13
[INFO] [stderr]     |
[INFO] [stderr] 323 |         let vertices: Vec<f32> = vec![
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertices`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `vertColors`
[INFO] [stderr]    --> src/main.rs:345:13
[INFO] [stderr]     |
[INFO] [stderr] 345 |         let vertColors: Vec<f32> = vec![
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertColors`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `indices`
[INFO] [stderr]    --> src/main.rs:357:13
[INFO] [stderr]     |
[INFO] [stderr] 357 |         let indices: Vec<u32> = vec![
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:590:21
[INFO] [stderr]     |
[INFO] [stderr] 590 |                 let mut trans_so_far: Mat4 = glm::identity();
[INFO] [stderr]     |                     ----^^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: function `size_of` is never used
[INFO] [stderr]   --> src/main.rs:48:4
[INFO] [stderr]    |
[INFO] [stderr] 48 | fn size_of<T>() -> i32 {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `offset` is never used
[INFO] [stderr]   --> src/main.rs:54:4
[INFO] [stderr]    |
[INFO] [stderr] 54 | fn offset<T>(n: u32) -> *const c_void {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_uniform_location` is never used
[INFO] [stderr]   --> src/shader.rs:29:19
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl Shader {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] 28 |     // Make sure the shader is active before calling this
[INFO] [stderr] 29 |     pub unsafe fn get_uniform_location(&self, name: &str) -> i32 {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `vertColors` should have a snake case name
[INFO] [stderr]   --> src/main.rs:63:63
[INFO] [stderr]    |
[INFO] [stderr] 63 | unsafe fn create_vao(vertices: &Vec<f32>, indices: &Vec<u32>, vertColors: &Vec<f32>, vertNormals: &Vec<f32>) -> u32 {
[INFO] [stderr]    |                                                               ^^^^^^^^^^ help: convert the identifier to snake case: `vert_colors`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `vertNormals` should have a snake case name
[INFO] [stderr]   --> src/main.rs:63:86
[INFO] [stderr]    |
[INFO] [stderr] 63 | unsafe fn create_vao(vertices: &Vec<f32>, indices: &Vec<u32>, vertColors: &Vec<f32>, vertNormals: &Vec<f32>) -> u32 {
[INFO] [stderr]    |                                                                                      ^^^^^^^^^^^ help: convert the identifier to snake case: `vert_normals`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `vertColors` should have a snake case name
[INFO] [stderr]    --> src/main.rs:345:13
[INFO] [stderr]     |
[INFO] [stderr] 345 |         let vertColors: Vec<f32> = vec![
[INFO] [stderr]     |             ^^^^^^^^^^ help: convert the identifier to snake case: `vert_colors`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `transformMatrix` should have a snake case name
[INFO] [stderr]    --> src/main.rs:558:21
[INFO] [stderr]     |
[INFO] [stderr] 558 |             let mut transformMatrix: Mat4 = glm::identity();
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transform_matrix`
[INFO] [stderr] 
[INFO] [stderr] warning: `gloom-rs` (bin "gloom-rs" test) generated 15 warnings (run `cargo fix --bin "gloom-rs" --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gloom_rs-641806270ede8722)
[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" "8668e2155452329a355074d7fe9ad1217441ab75444eb7212584551c9e8a085e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8668e2155452329a355074d7fe9ad1217441ab75444eb7212584551c9e8a085e", kill_on_drop: false }`
[INFO] [stdout] 8668e2155452329a355074d7fe9ad1217441ab75444eb7212584551c9e8a085e
