[INFO] cloning repository https://github.com/kristiankrogenes/TDT4195
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kristiankrogenes/TDT4195" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkristiankrogenes%2FTDT4195", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkristiankrogenes%2FTDT4195'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9b354e97a8b697f0bfb41c1d91d44f4b60f5b707
[INFO] testing kristiankrogenes/TDT4195 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkristiankrogenes%2FTDT4195" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kristiankrogenes/TDT4195
[INFO] finished tweaking git repo https://github.com/kristiankrogenes/TDT4195
[INFO] tweaked toml for git repo https://github.com/kristiankrogenes/TDT4195 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kristiankrogenes/TDT4195 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/kristiankrogenes/TDT4195 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 226dea7db8876876e4e60e57b65f1ebbd3beaf6b2055157cf65ad3efc7dfb003
[INFO] running `Command { std: "docker" "start" "-a" "226dea7db8876876e4e60e57b65f1ebbd3beaf6b2055157cf65ad3efc7dfb003", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "226dea7db8876876e4e60e57b65f1ebbd3beaf6b2055157cf65ad3efc7dfb003", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "226dea7db8876876e4e60e57b65f1ebbd3beaf6b2055157cf65ad3efc7dfb003", kill_on_drop: false }`
[INFO] [stdout] 226dea7db8876876e4e60e57b65f1ebbd3beaf6b2055157cf65ad3efc7dfb003
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9c39a77ba2bc2c5ab6d2c8301ede2a5843846c42f6995dd7fdaf30baeb1beef2
[INFO] running `Command { std: "docker" "start" "-a" "9c39a77ba2bc2c5ab6d2c8301ede2a5843846c42f6995dd7fdaf30baeb1beef2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.99
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling ttf-parser v0.6.2
[INFO] [stderr]    Compiling bytemuck v1.7.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling owned_ttf_parser v0.6.0
[INFO] [stderr]    Compiling rusttype v0.9.2
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling wayland-commons v0.28.6
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling instant v0.1.10
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling wayland-cursor v0.28.6
[INFO] [stderr]    Compiling wide v0.7.0
[INFO] [stderr]    Compiling crossbeam v0.8.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling approx v0.5.0
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling winit v0.25.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.1
[INFO] [stderr]    Compiling simba v0.6.0
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling mio-misc v1.2.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling nalgebra v0.29.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling wayland-egl v0.28.6
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling tobj v3.1.0
[INFO] [stderr]    Compiling glutin v0.27.0
[INFO] [stderr]    Compiling nalgebra-glm v0.15.0
[INFO] [stderr]    Compiling gloom-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `elapsed`
[INFO] [stdout]    --> src/main.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |             let elapsed = now.duration_since(first_frame_time).as_secs_f32();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `byte_size_of_array` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn byte_size_of_array<T>(val: &[T]) -> isize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pointer_to_array` is never used
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn pointer_to_array<T>(val: &[T]) -> *const c_void {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn size_of<T>() -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn offset<T>(n: u32) -> *const c_void {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shader` is never constructed
[INFO] [stdout]  --> src/shader.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Shader {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShaderBuilder` is never constructed
[INFO] [stdout]   --> src/shader.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ShaderBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_uniform_location` and `activate` are never used
[INFO] [stdout]   --> src/shader.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Shader {
[INFO] [stdout]    | ----------- methods 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] 34 |     pub unsafe fn activate(&self) {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_ext` is never used
[INFO] [stdout]   --> src/shader.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl ShaderType {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 52 |     fn from_ext(ext: &std::ffi::OsStr) -> Result<ShaderType, String> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `attach_file`, `compile_shader`, `check_shader_errors`, `check_linker_errors`, and `link` are never used
[INFO] [stdout]    --> src/shader.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout] 64  | impl ShaderBuilder {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 65  |     pub unsafe fn new() -> ShaderBuilder {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub unsafe fn attach_file(self, shader_path: &str) -> ShaderBuilder {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |     pub unsafe fn compile_shader(mut self, shader_src: &str, shader_type: ShaderType) -> ShaderBuilder {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     unsafe fn check_shader_errors(&self, shader_id: u32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     unsafe fn check_linker_errors(&self) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub unsafe fn link(self) -> Shader {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 06s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "9c39a77ba2bc2c5ab6d2c8301ede2a5843846c42f6995dd7fdaf30baeb1beef2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c39a77ba2bc2c5ab6d2c8301ede2a5843846c42f6995dd7fdaf30baeb1beef2", kill_on_drop: false }`
[INFO] [stdout] 9c39a77ba2bc2c5ab6d2c8301ede2a5843846c42f6995dd7fdaf30baeb1beef2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 718f2eddd3b72e1e43becf5da4f528e913a64151cbbe2b52b8c5d70fb414fc32
[INFO] running `Command { std: "docker" "start" "-a" "718f2eddd3b72e1e43becf5da4f528e913a64151cbbe2b52b8c5d70fb414fc32", kill_on_drop: false }`
[INFO] [stderr]    Compiling gloom-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `elapsed`
[INFO] [stdout]    --> src/main.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |             let elapsed = now.duration_since(first_frame_time).as_secs_f32();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         unsafe {
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `byte_size_of_array` is never used
[INFO] [stdout]   --> src/main.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn byte_size_of_array<T>(val: &[T]) -> isize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pointer_to_array` is never used
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn pointer_to_array<T>(val: &[T]) -> *const c_void {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn size_of<T>() -> i32 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `offset` is never used
[INFO] [stdout]   --> src/main.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn offset<T>(n: u32) -> *const c_void {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shader` is never constructed
[INFO] [stdout]  --> src/shader.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Shader {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShaderBuilder` is never constructed
[INFO] [stdout]   --> src/shader.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ShaderBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_uniform_location` and `activate` are never used
[INFO] [stdout]   --> src/shader.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Shader {
[INFO] [stdout]    | ----------- methods 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] 34 |     pub unsafe fn activate(&self) {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_ext` is never used
[INFO] [stdout]   --> src/shader.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl ShaderType {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 52 |     fn from_ext(ext: &std::ffi::OsStr) -> Result<ShaderType, String> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `attach_file`, `compile_shader`, `check_shader_errors`, `check_linker_errors`, and `link` are never used
[INFO] [stdout]    --> src/shader.rs:65:19
[INFO] [stdout]     |
[INFO] [stdout] 64  | impl ShaderBuilder {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 65  |     pub unsafe fn new() -> ShaderBuilder {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub unsafe fn attach_file(self, shader_path: &str) -> ShaderBuilder {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |     pub unsafe fn compile_shader(mut self, shader_src: &str, shader_type: ShaderType) -> ShaderBuilder {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     unsafe fn check_shader_errors(&self, shader_id: u32) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     unsafe fn check_linker_errors(&self) -> bool {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub unsafe fn link(self) -> Shader {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "718f2eddd3b72e1e43becf5da4f528e913a64151cbbe2b52b8c5d70fb414fc32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "718f2eddd3b72e1e43becf5da4f528e913a64151cbbe2b52b8c5d70fb414fc32", kill_on_drop: false }`
[INFO] [stdout] 718f2eddd3b72e1e43becf5da4f528e913a64151cbbe2b52b8c5d70fb414fc32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f7f16902860d934081940adc5c58a84f9672b2828205539773ede37c0dbdd0be
[INFO] running `Command { std: "docker" "start" "-a" "f7f16902860d934081940adc5c58a84f9672b2828205539773ede37c0dbdd0be", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `elapsed`
[INFO] [stderr]    --> src/main.rs:120:17
[INFO] [stderr]     |
[INFO] [stderr] 120 |             let elapsed = now.duration_since(first_frame_time).as_secs_f32();
[INFO] [stderr]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/main.rs:96:9
[INFO] [stderr]    |
[INFO] [stderr] 96 |         unsafe {
[INFO] [stderr]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> src/main.rs:108:9
[INFO] [stderr]     |
[INFO] [stderr] 108 |         unsafe {
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: function `byte_size_of_array` is never used
[INFO] [stderr]   --> src/main.rs:17:4
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn byte_size_of_array<T>(val: &[T]) -> isize {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `pointer_to_array` is never used
[INFO] [stderr]   --> src/main.rs:22:4
[INFO] [stderr]    |
[INFO] [stderr] 22 | fn pointer_to_array<T>(val: &[T]) -> *const c_void {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `size_of` is never used
[INFO] [stderr]   --> src/main.rs:27:4
[INFO] [stderr]    |
[INFO] [stderr] 27 | fn size_of<T>() -> i32 {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `offset` is never used
[INFO] [stderr]   --> src/main.rs:32:4
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn offset<T>(n: u32) -> *const c_void {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Shader` is never constructed
[INFO] [stderr]  --> src/shader.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct Shader {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ShaderBuilder` is never constructed
[INFO] [stderr]   --> src/shader.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct ShaderBuilder {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_uniform_location` and `activate` are never used
[INFO] [stderr]   --> src/shader.rs:29:19
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl Shader {
[INFO] [stderr]    | ----------- methods 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] 34 |     pub unsafe fn activate(&self) {
[INFO] [stderr]    |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_ext` is never used
[INFO] [stderr]   --> src/shader.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 51 | impl ShaderType {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] 52 |     fn from_ext(ext: &std::ffi::OsStr) -> Result<ShaderType, String> {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `attach_file`, `compile_shader`, `check_shader_errors`, `check_linker_errors`, and `link` are never used
[INFO] [stderr]    --> src/shader.rs:65:19
[INFO] [stderr]     |
[INFO] [stderr] 64  | impl ShaderBuilder {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 65  |     pub unsafe fn new() -> ShaderBuilder {
[INFO] [stderr]     |                   ^^^
[INFO] [stderr] ...
[INFO] [stderr] 72  |     pub unsafe fn attach_file(self, shader_path: &str) -> ShaderBuilder {
[INFO] [stderr]     |                   ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 85  |     pub unsafe fn compile_shader(mut self, shader_src: &str, shader_type: ShaderType) -> ShaderBuilder {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 100 |     unsafe fn check_shader_errors(&self, shader_id: u32) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 118 |     unsafe fn check_linker_errors(&self) -> bool {
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 137 |     pub unsafe fn link(self) -> Shader {
[INFO] [stderr]     |                   ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gloom-rs` (bin "gloom-rs" test) generated 12 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[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 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gloom_rs-40b4ab09006897a0)
[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" "f7f16902860d934081940adc5c58a84f9672b2828205539773ede37c0dbdd0be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7f16902860d934081940adc5c58a84f9672b2828205539773ede37c0dbdd0be", kill_on_drop: false }`
[INFO] [stdout] f7f16902860d934081940adc5c58a84f9672b2828205539773ede37c0dbdd0be
