[INFO] cloning repository https://github.com/jsmall53/gl-pong
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsmall53/gl-pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsmall53%2Fgl-pong", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsmall53%2Fgl-pong'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fa96848b7d677bfccdd772d21f49f25366f72a71
[INFO] testing jsmall53/gl-pong against beta-2025-10-28 for beta-1.92-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsmall53%2Fgl-pong" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jsmall53/gl-pong
[INFO] finished tweaking git repo https://github.com/jsmall53/gl-pong
[INFO] tweaked toml for git repo https://github.com/jsmall53/gl-pong written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jsmall53/gl-pong on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jsmall53/gl-pong 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ttf-parser v0.25.1
[INFO] [stderr]   Downloaded system-deps v6.2.2
[INFO] [stderr]   Downloaded weezl v0.1.10
[INFO] [stderr]   Downloaded glutin_glx_sys v0.6.1
[INFO] [stderr]   Downloaded glow v0.16.0
[INFO] [stderr]   Downloaded glutin_egl_sys v0.7.1
[INFO] [stderr]   Downloaded avif-serialize v0.8.3
[INFO] [stderr]   Downloaded av1-grain v0.2.4
[INFO] [stderr]   Downloaded xml-rs v0.8.26
[INFO] [stderr]   Downloaded imgref v1.11.0
[INFO] [stderr]   Downloaded owned_ttf_parser v0.25.0
[INFO] [stderr]   Downloaded zune-jpeg v0.4.14
[INFO] [stderr]   Downloaded wayland-protocols-plasma v0.3.8
[INFO] [stderr]   Downloaded image-webp v0.2.1
[INFO] [stderr]   Downloaded bitstream-io v2.6.0
[INFO] [stderr]   Downloaded arbitrary v1.4.1
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.9
[INFO] [stderr]   Downloaded winit v0.30.10
[INFO] [stderr]   Downloaded target-lexicon v0.12.16
[INFO] [stderr]   Downloaded glutin v0.32.3
[INFO] [stderr]   Downloaded exr v1.73.0
[INFO] [stderr]   Downloaded cfg-expr v0.15.8
[INFO] [stderr]   Downloaded built v0.7.7
[INFO] [stderr]   Downloaded version-compare v0.2.0
[INFO] [stderr]   Downloaded rgb v0.8.50
[INFO] [stderr]   Downloaded half v2.6.0
[INFO] [stderr]   Downloaded glutin-winit v0.5.0
[INFO] [stderr]   Downloaded ravif v0.11.12
[INFO] [stderr]   Downloaded pin-project v1.1.10
[INFO] [stderr]   Downloaded sctk-adwaita v0.10.1
[INFO] [stderr]   Downloaded pin-project-internal v1.1.10
[INFO] [stderr]   Downloaded ab_glyph v0.2.29
[INFO] [stderr]   Downloaded nalgebra-glm v0.19.0
[INFO] [stderr]   Downloaded objc2-app-kit v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb031fc2b8b99dc013d4fe985e9b320cfa50c2f1d76b0ebb8b08a6b22670691c
[INFO] running `Command { std: "docker" "start" "-a" "cb031fc2b8b99dc013d4fe985e9b320cfa50c2f1d76b0ebb8b08a6b22670691c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb031fc2b8b99dc013d4fe985e9b320cfa50c2f1d76b0ebb8b08a6b22670691c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb031fc2b8b99dc013d4fe985e9b320cfa50c2f1d76b0ebb8b08a6b22670691c", kill_on_drop: false }`
[INFO] [stdout] cb031fc2b8b99dc013d4fe985e9b320cfa50c2f1d76b0ebb8b08a6b22670691c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e312e04d3d870f821040d32a1ceffda2e72255575065791026df7746862a1b48
[INFO] running `Command { std: "docker" "start" "-a" "e312e04d3d870f821040d32a1ceffda2e72255575065791026df7746862a1b48", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling wayland-sys v0.31.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.20
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling xml-rs v0.8.26
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling wayland-backend v0.3.10
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling wayland-scanner v0.31.6
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling xkeysym v0.2.1
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.1
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.1
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling wide v0.7.32
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling av1-grain v0.2.4
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling calloop v0.13.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling wayland-client v0.31.10
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling winit v0.30.10
[INFO] [stderr]    Compiling glutin v0.32.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling as-raw-xcb-connection v1.0.1
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling raw-window-handle v0.6.2
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling x11rb-protocol v0.13.1
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling simba v0.9.0
[INFO] [stderr]    Compiling wayland-protocols v0.32.8
[INFO] [stderr]    Compiling wayland-cursor v0.31.10
[INFO] [stderr]    Compiling calloop-wayland-source v0.3.0
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling smol_str v0.2.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling dpi v0.1.1
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling glow v0.16.0
[INFO] [stderr]    Compiling nalgebra v0.33.2
[INFO] [stderr]    Compiling ravif v0.11.12
[INFO] [stderr]    Compiling image v0.25.6
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.3.8
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.3.8
[INFO] [stderr]    Compiling sctk-adwaita v0.10.1
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling nalgebra-glm v0.19.0
[INFO] [stderr]    Compiling gl-pong v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SmolStr`
[INFO] [stdout]  --> src/core/input.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winit::keyboard::{Key, NamedKey, SmolStr};
[INFO] [stdout]   |                                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::renderer::*`
[INFO] [stdout]  --> src/./game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::renderer::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/./game.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::{Instant, Duration};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/./game.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InputState`
[INFO] [stdout]  --> src/./example.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::core::input::{InputController,InputState};
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin::api::glx`
[INFO] [stdout]  --> src/app.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use glutin::api::glx;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winit::event_loop::EventLoop`
[INFO] [stdout]   --> src/app.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winit::event_loop::EventLoop;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeviceEvent`, `ElementState`, and `KeyEvent`
[INFO] [stdout]   --> src/app.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winit::event::{KeyEvent, WindowEvent, DeviceEvent, ElementState};
[INFO] [stdout]    |                    ^^^^^^^^               ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec`
[INFO] [stdout]  --> src/renderer/buffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::vec;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra_glm as glm`
[INFO] [stdout]  --> src/renderer/buffer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use nalgebra_glm as glm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ImageFormat`
[INFO] [stdout]  --> src/renderer/texture.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{GenericImageView, ImageFormat};
[INFO] [stdout]   |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/renderer/mod.rs:296:18
[INFO] [stdout]     |
[INFO] [stdout] 296 |         for i in (0..QUAD_VERTEX_COUNT) {
[INFO] [stdout]     |                  ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 296 -         for i in (0..QUAD_VERTEX_COUNT) {
[INFO] [stdout] 296 +         for i in 0..QUAD_VERTEX_COUNT  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/renderer/mod.rs:320:18
[INFO] [stdout]     |
[INFO] [stdout] 320 |         for i in (0..QUAD_VERTEX_COUNT) {
[INFO] [stdout]     |                  ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 320 -         for i in (0..QUAD_VERTEX_COUNT) {
[INFO] [stdout] 320 +         for i in 0..QUAD_VERTEX_COUNT  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `application::ApplicationHandler` and `window::WindowAttributes`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winit::{application::ApplicationHandler, event_loop::EventLoop, window::WindowAttributes};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `context::PossiblyCurrentContext` and `prelude::*`
[INFO] [stdout]   --> src/main.rs:14:45
[INFO] [stdout]    |
[INFO] [stdout] 14 | use glutin::{config::ConfigTemplateBuilder, context::PossiblyCurrentContext, prelude::*};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/./example.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let checkerboard = GLTexture::new("resources/Checkerboard.png");
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^ ---------------------------- argument #1 of type `Rc<glow::Context>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/renderer/texture.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn new(gl: Rc<Context>, filepath: &str) -> Self {
[INFO] [stdout]    |            ^^^ ---------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let checkerboard = GLTexture::new(/* Rc<glow::Context> */, "resources/Checkerboard.png");
[INFO] [stdout]    |                                               ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/renderer/buffer.rs:483:9
[INFO] [stdout]     |
[INFO] [stdout] 482 |           panic!("Unbinding index buffer");
[INFO] [stdout]     |           -------------------------------- any code following this expression is unreachable
[INFO] [stdout] 483 | /         unsafe {
[INFO] [stdout] 484 | |             self.gl.bind_buffer(ELEMENT_ARRAY_BUFFER, None);
[INFO] [stdout] 485 | |         }
[INFO] [stdout]     | |_________^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `factor`
[INFO] [stdout]    --> src/./game.rs:300:70
[INFO] [stdout]     |
[INFO] [stdout] 300 | fn calculate_bounce_velocity(surface: &Surface, velocity: glm::Vec2, factor: f32) -> glm::Vec2 {
[INFO] [stdout]     |                                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_factor`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/./game.rs:360:25
[INFO] [stdout]     |
[INFO] [stdout] 360 |                     let pos = &ball.position;
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auto`
[INFO] [stdout]    --> src/./game.rs:411:88
[INFO] [stdout]     |
[INFO] [stdout] 411 |     fn new(id: u64, position: glm::Vec2, velocity: glm::Vec2, width: f32, height: f32, auto: bool) -> Self {
[INFO] [stdout]     |                                                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_auto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_program` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:786:19
[INFO] [stdout]     |
[INFO] [stdout] 786 |     let program = gl.create_program().expect("Failed to create gl program");
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/./game.rs:785:1
[INFO] [stdout]     |
[INFO] [stdout] 785 | unsafe fn init_program(gl: &Context, vshader_src: &str, fshader_src: &str) -> NativeProgram {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `app::game::init_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:788:25
[INFO] [stdout]     |
[INFO] [stdout] 788 |     let vertex_shader = init_shader(&gl, glow::VERTEX_SHADER, vshader_src);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `app::game::init_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:789:23
[INFO] [stdout]     |
[INFO] [stdout] 789 |     let frag_shader = init_shader(&gl, glow::FRAGMENT_SHADER, fshader_src);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::attach_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:791:5
[INFO] [stdout]     |
[INFO] [stdout] 791 |     gl.attach_shader(program, vertex_shader);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::attach_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:792:5
[INFO] [stdout]     |
[INFO] [stdout] 792 |     gl.attach_shader(program, frag_shader);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::link_program` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:793:5
[INFO] [stdout]     |
[INFO] [stdout] 793 |     gl.link_program(program);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_link_status` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:794:9
[INFO] [stdout]     |
[INFO] [stdout] 794 |     if !gl.get_program_link_status(program) {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_info_log` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:795:22
[INFO] [stdout]     |
[INFO] [stdout] 795 |         panic!("{}", gl.get_program_info_log(program));
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::delete_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:797:5
[INFO] [stdout]     |
[INFO] [stdout] 797 |     gl.delete_shader(vertex_shader);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::delete_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:798:5
[INFO] [stdout]     |
[INFO] [stdout] 798 |     gl.delete_shader(frag_shader);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:804:26
[INFO] [stdout]     |
[INFO] [stdout] 804 |     let shader: Shader = gl.create_shader(shader_type)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/./game.rs:803:1
[INFO] [stdout]     |
[INFO] [stdout] 803 | unsafe fn init_shader(gl: &Context, shader_type: u32, shader_source: &str) -> Shader {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::shader_source` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:807:5
[INFO] [stdout]     |
[INFO] [stdout] 807 |     gl.shader_source(shader, shader_source);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::compile_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:808:5
[INFO] [stdout]     |
[INFO] [stdout] 808 |     gl.compile_shader(shader);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_compile_status` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:810:9
[INFO] [stdout]     |
[INFO] [stdout] 810 |     if !gl.get_shader_compile_status(shader) {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_info_log` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:811:26
[INFO] [stdout]     |
[INFO] [stdout] 811 |         panic!("{}\n{}", gl.get_shader_info_log(shader), shader_source);
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:818:24
[INFO] [stdout]     |
[INFO] [stdout] 818 |       let bytes: &[u8] = core::slice::from_raw_parts(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 819 | |         vertices.as_ptr() as *const u8,
[INFO] [stdout] 820 | |         vertices.len() * core::mem::size_of::<f32>()
[INFO] [stdout] 821 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/./game.rs:817:1
[INFO] [stdout]     |
[INFO] [stdout] 817 | unsafe fn create_paddle_buffer(gl: &Context, pos_loc: u32, col_loc: u32, vertices: &[f32]) -> (NativeBuffer, NativeVertexArray) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_buffer` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:823:15
[INFO] [stdout]     |
[INFO] [stdout] 823 |     let vbo = gl.create_buffer()
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_vertex_array` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:825:15
[INFO] [stdout]     |
[INFO] [stdout] 825 |     let vao = gl.create_vertex_array()
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_buffer` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:828:5
[INFO] [stdout]     |
[INFO] [stdout] 828 |     gl.bind_buffer(ARRAY_BUFFER, Some(vbo));
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_vertex_array` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:831:5
[INFO] [stdout]     |
[INFO] [stdout] 831 |     gl.bind_vertex_array(Some(vao));
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::enable_vertex_attrib_array` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:833:5
[INFO] [stdout]     |
[INFO] [stdout] 833 |     gl.enable_vertex_attrib_array(pos_loc);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::vertex_attrib_pointer_f32` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:834:5
[INFO] [stdout]     |
[INFO] [stdout] 834 | /     gl.vertex_attrib_pointer_f32(
[INFO] [stdout] 835 | |         pos_loc, 
[INFO] [stdout] 836 | |         2, 
[INFO] [stdout] 837 | |         FLOAT, 
[INFO] [stdout] ...   |
[INFO] [stdout] 840 | |         0
[INFO] [stdout] 841 | |     );
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::enable_vertex_attrib_array` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:843:5
[INFO] [stdout]     |
[INFO] [stdout] 843 |     gl.enable_vertex_attrib_array(col_loc);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::vertex_attrib_pointer_f32` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:844:5
[INFO] [stdout]     |
[INFO] [stdout] 844 | /     gl.vertex_attrib_pointer_f32(
[INFO] [stdout] 845 | |         col_loc, 
[INFO] [stdout] 846 | |         3, 
[INFO] [stdout] 847 | |         FLOAT, 
[INFO] [stdout] ...   |
[INFO] [stdout] 852 | |     ); 
[INFO] [stdout]     | |_____^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::buffer_data_u8_slice` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:854:5
[INFO] [stdout]     |
[INFO] [stdout] 854 |     gl.buffer_data_u8_slice(ARRAY_BUFFER, bytes, STATIC_DRAW);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_vertex_array` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:855:5
[INFO] [stdout]     |
[INFO] [stdout] 855 |     gl.bind_vertex_array(None);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::bind_buffer` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:856:5
[INFO] [stdout]     |
[INFO] [stdout] 856 |     gl.bind_buffer(ARRAY_BUFFER, None);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/app.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |         window_id: winit::window::WindowId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/app.rs:164:42
[INFO] [stdout]     |
[INFO] [stdout] 164 |             WindowEvent::KeyboardInput { device_id, event, is_synthetic } => {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: try ignoring the field: `device_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_synthetic`
[INFO] [stdout]    --> src/app.rs:164:60
[INFO] [stdout]     |
[INFO] [stdout] 164 |             WindowEvent::KeyboardInput { device_id, event, is_synthetic } => {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/app.rs:179:40
[INFO] [stdout]     |
[INFO] [stdout] 179 |             WindowEvent::CursorMoved { device_id, position } => {
[INFO] [stdout]     |                                        ^^^^^^^^^ help: try ignoring the field: `device_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/app.rs:194:21
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let mut game = self.game.as_mut().unwrap();
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/app.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 let mut example = self.example_2D.as_mut().unwrap();
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_loop`
[INFO] [stdout]    --> src/app.rs:189:33
[INFO] [stdout]     |
[INFO] [stdout] 189 |     fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) {
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_loop`
[INFO] [stdout]    --> src/app.rs:204:27
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn exiting(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) {
[INFO] [stdout]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_program` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let program = gl.create_program().expect("Failed to create gl program");
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/renderer/shader.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | unsafe fn init_program(gl: &glow::Context, vshader_src: &str, fshader_src: &str) -> glow::NativeProgram {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `renderer::shader::init_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let vertex_shader = init_shader(&gl, glow::VERTEX_SHADER, vshader_src);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `renderer::shader::init_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:49:23
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let frag_shader = init_shader(&gl, glow::FRAGMENT_SHADER, fshader_src);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::attach_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     gl.attach_shader(program, vertex_shader);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::attach_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     gl.attach_shader(program, frag_shader);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::link_program` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     gl.link_program(program);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_link_status` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if !gl.get_program_link_status(program) {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_program_info_log` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |         panic!("{}", gl.get_program_info_log(program));
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::delete_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     gl.delete_shader(vertex_shader);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::delete_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     gl.delete_shader(frag_shader);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::create_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let shader: glow::Shader = gl.create_shader(shader_type)
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/renderer/shader.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | unsafe fn init_shader(gl: &glow::Context, shader_type: u32, shader_source: &str) -> glow::Shader {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::shader_source` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     gl.shader_source(shader, shader_source);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::compile_shader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     gl.compile_shader(shader);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_compile_status` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if !gl.get_shader_compile_status(shader) {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `glow::HasContext::get_shader_info_log` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/renderer/shader.rs:73:26
[INFO] [stdout]    |
[INFO] [stdout] 73 |         panic!("{}\n{}", gl.get_shader_info_log(shader), shader_source);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer/camera.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut view = glm::Mat4::identity();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/renderer/mod.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut identity = glm::Mat4::identity();
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture`
[INFO] [stdout]    --> src/renderer/mod.rs:315:64
[INFO] [stdout]     |
[INFO] [stdout] 315 |     pub fn draw_quad_texture(&mut self, transform: &glm::Mat4, texture: &GLTexture, tint_color: &glm::Vec4) {
[INFO] [stdout]     |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/renderer/mod.rs:341:32
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn load_texture(&self, path: &str) -> Result<GLTexture, Box<dyn Error>> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `game::init_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:788:25
[INFO] [stdout]     |
[INFO] [stdout] 788 |     let vertex_shader = init_shader(&gl, glow::VERTEX_SHADER, vshader_src);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `game::init_shader` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/./game.rs:789:23
[INFO] [stdout]     |
[INFO] [stdout] 789 |     let frag_shader = init_shader(&gl, glow::FRAGMENT_SHADER, fshader_src);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0133.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gl-pong` (bin "gl-pong") due to 1 previous error; 75 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e312e04d3d870f821040d32a1ceffda2e72255575065791026df7746862a1b48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e312e04d3d870f821040d32a1ceffda2e72255575065791026df7746862a1b48", kill_on_drop: false }`
[INFO] [stdout] e312e04d3d870f821040d32a1ceffda2e72255575065791026df7746862a1b48
