[INFO] cloning repository https://github.com/tlent/learn-opengl-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlent/learn-opengl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlent%2Flearn-opengl-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlent%2Flearn-opengl-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a44054a501f642062946f1377ee3b18abf60f7a4
[INFO] testing tlent/learn-opengl-rs against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlent%2Flearn-opengl-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tlent/learn-opengl-rs on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tlent/learn-opengl-rs
[INFO] finished tweaking git repo https://github.com/tlent/learn-opengl-rs
[INFO] tweaked toml for git repo https://github.com/tlent/learn-opengl-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/tlent/learn-opengl-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tobj v2.0.2
[INFO] [stderr]   Downloaded simba v0.1.2
[INFO] [stderr]   Downloaded nalgebra v0.21.0
[INFO] [stderr]   Downloaded nalgebra-glm v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecb85bbb911508a39f3d7f85c315b7671d5754385d99c016a7e3c7fff835e068
[INFO] running `Command { std: "docker" "start" "-a" "ecb85bbb911508a39f3d7f85c315b7671d5754385d99c016a7e3c7fff835e068", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecb85bbb911508a39f3d7f85c315b7671d5754385d99c016a7e3c7fff835e068", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecb85bbb911508a39f3d7f85c315b7671d5754385d99c016a7e3c7fff835e068", kill_on_drop: false }`
[INFO] [stdout] ecb85bbb911508a39f3d7f85c315b7671d5754385d99c016a7e3c7fff835e068
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9779e5ae2fc38cbf239a490e72582ebc2e06f0c80d5a06042ea4eebad5861b3f
[INFO] running `Command { std: "docker" "start" "-a" "9779e5ae2fc38cbf239a490e72582ebc2e06f0c80d5a06042ea4eebad5861b3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling proc-macro-hack v0.5.16
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling smallvec v1.4.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling instant v0.1.4
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.31
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling tobj v2.0.2
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling crossbeam-queue v0.2.2
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling png v0.16.4
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling jpeg-decoder v0.1.19
[INFO] [stderr]    Compiling image v0.23.4
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling paste-impl v0.1.16
[INFO] [stderr]    Compiling paste v0.1.16
[INFO] [stderr]    Compiling simba v0.1.2
[INFO] [stderr]    Compiling nalgebra v0.21.0
[INFO] [stderr]    Compiling nalgebra-glm v0.7.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling glutin v0.24.1
[INFO] [stderr]    Compiling learn-opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value captured by `delta_time` is never read
[INFO] [stdout]    --> src/main.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 delta_time = (now - prev_frame_time).as_secs_f32();
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/main.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 time += delta_time;
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             offset_of!(Vertex, position) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             offset_of!(Vertex, normal) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             offset_of!(Vertex, texture_coordinate) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `fov`
[INFO] [stdout]   --> src/camera.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn fov(&self) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `position`
[INFO] [stdout]   --> src/camera.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn position(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `front`
[INFO] [stdout]   --> src/camera.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn front(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vertices`
[INFO] [stdout]    --> src/model.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     vertices: Vec<Vertex>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/model.rs:98:10
[INFO] [stdout]     |
[INFO] [stdout] 98  | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]   --> src/shader_program.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn id(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_uniform_bool`
[INFO] [stdout]    --> src/shader_program.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub unsafe fn set_uniform_bool(&self, name: &str, value: bool) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_uniform_float`
[INFO] [stdout]    --> src/shader_program.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub unsafe fn set_uniform_float(&self, name: &str, value: f32) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_uniform_vec3f`
[INFO] [stdout]    --> src/shader_program.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub unsafe fn set_uniform_vec3f(&self, name: &str, value: glm::Vec3) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_wrap`
[INFO] [stdout]   --> src/texture.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub unsafe fn set_wrap(&self, wrap_s: gl::types::GLenum, wrap_t: gl::types::GLenum) {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/shader_program.rs:128:69
[INFO] [stdout]     |
[INFO] [stdout] 128 |         gl::GetUniformLocation(self.id, CString::new(name).unwrap().as_ptr())
[INFO] [stdout]     |                                         --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: learn-opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "9779e5ae2fc38cbf239a490e72582ebc2e06f0c80d5a06042ea4eebad5861b3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9779e5ae2fc38cbf239a490e72582ebc2e06f0c80d5a06042ea4eebad5861b3f", kill_on_drop: false }`
[INFO] [stdout] 9779e5ae2fc38cbf239a490e72582ebc2e06f0c80d5a06042ea4eebad5861b3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2e67d9f67b60e72e02b7abda092a74c70e18aacc25fc5142e11a7a88f97940d
[INFO] running `Command { std: "docker" "start" "-a" "b2e67d9f67b60e72e02b7abda092a74c70e18aacc25fc5142e11a7a88f97940d", kill_on_drop: false }`
[INFO] [stderr]    Compiling learn-opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value captured by `delta_time` is never read
[INFO] [stdout]    --> src/main.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 delta_time = (now - prev_frame_time).as_secs_f32();
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]    --> src/main.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 time += delta_time;
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |             offset_of!(Vertex, position) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             offset_of!(Vertex, normal) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: reference to packed field is unaligned
[INFO] [stdout]    --> src/model.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |             offset_of!(Vertex, texture_coordinate) as *const c_void,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `fov`
[INFO] [stdout]   --> src/camera.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn fov(&self) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `position`
[INFO] [stdout]   --> src/camera.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn position(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `front`
[INFO] [stdout]   --> src/camera.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn front(&self) -> glm::Vec3 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vertices`
[INFO] [stdout]    --> src/model.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     vertices: Vec<Vertex>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    --> src/model.rs:98:10
[INFO] [stdout]     |
[INFO] [stdout] 98  | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]   --> src/shader_program.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn id(&self) -> u32 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_uniform_bool`
[INFO] [stdout]    --> src/shader_program.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub unsafe fn set_uniform_bool(&self, name: &str, value: bool) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_uniform_float`
[INFO] [stdout]    --> src/shader_program.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub unsafe fn set_uniform_float(&self, name: &str, value: f32) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_uniform_vec3f`
[INFO] [stdout]    --> src/shader_program.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |     pub unsafe fn set_uniform_vec3f(&self, name: &str, value: glm::Vec3) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_wrap`
[INFO] [stdout]   --> src/texture.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub unsafe fn set_wrap(&self, wrap_s: gl::types::GLenum, wrap_t: gl::types::GLenum) {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: getting the inner pointer of a temporary `CString`
[INFO] [stdout]    --> src/shader_program.rs:128:69
[INFO] [stdout]     |
[INFO] [stdout] 128 |         gl::GetUniformLocation(self.id, CString::new(name).unwrap().as_ptr())
[INFO] [stdout]     |                                         --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stdout]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.46s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: learn-opengl v0.1.0 (/opt/rustwide/workdir)
[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]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_opengl-4e9585f2a618779c)
[INFO] running `Command { std: "docker" "inspect" "b2e67d9f67b60e72e02b7abda092a74c70e18aacc25fc5142e11a7a88f97940d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2e67d9f67b60e72e02b7abda092a74c70e18aacc25fc5142e11a7a88f97940d", kill_on_drop: false }`
[INFO] [stdout] b2e67d9f67b60e72e02b7abda092a74c70e18aacc25fc5142e11a7a88f97940d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 18a97e8e1eab79e894234dbe6d1a237bf8666fc33498932eb51e3d57ecf39255
[INFO] running `Command { std: "docker" "start" "-a" "18a97e8e1eab79e894234dbe6d1a237bf8666fc33498932eb51e3d57ecf39255", kill_on_drop: false }`
[INFO] [stderr] warning: value captured by `delta_time` is never read
[INFO] [stderr]    --> src/main.rs:211:17
[INFO] [stderr]     |
[INFO] [stderr] 211 |                 delta_time = (now - prev_frame_time).as_secs_f32();
[INFO] [stderr]     |                 ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]     = help: did you mean to capture by reference instead?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `time`
[INFO] [stderr]    --> src/main.rs:212:17
[INFO] [stderr]     |
[INFO] [stderr] 212 |                 time += delta_time;
[INFO] [stderr]     |                 ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]     = help: did you mean to capture by reference instead?
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> src/model.rs:137:13
[INFO] [stderr]     |
[INFO] [stderr] 137 |             offset_of!(Vertex, position) as *const c_void,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unaligned_references)]` on by default
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stderr]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stderr]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> src/model.rs:146:13
[INFO] [stderr]     |
[INFO] [stderr] 146 |             offset_of!(Vertex, normal) as *const c_void,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stderr]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stderr]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: reference to packed field is unaligned
[INFO] [stderr]    --> src/model.rs:155:13
[INFO] [stderr]     |
[INFO] [stderr] 155 |             offset_of!(Vertex, texture_coordinate) as *const c_void,
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stderr]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stderr]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stderr]     = note: this warning originates in the macro `raw_field` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `fov`
[INFO] [stderr]   --> src/camera.rs:89:12
[INFO] [stderr]    |
[INFO] [stderr] 89 |     pub fn fov(&self) -> f32 {
[INFO] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `position`
[INFO] [stderr]   --> src/camera.rs:93:12
[INFO] [stderr]    |
[INFO] [stderr] 93 |     pub fn position(&self) -> glm::Vec3 {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `front`
[INFO] [stderr]   --> src/camera.rs:97:12
[INFO] [stderr]    |
[INFO] [stderr] 97 |     pub fn front(&self) -> glm::Vec3 {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `vertices`
[INFO] [stderr]    --> src/model.rs:100:5
[INFO] [stderr]     |
[INFO] [stderr] 100 |     vertices: Vec<Vertex>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    --> src/model.rs:98:10
[INFO] [stderr]     |
[INFO] [stderr] 98  | #[derive(Debug)]
[INFO] [stderr]     |          ^^^^^
[INFO] [stderr]     = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `id`
[INFO] [stderr]   --> src/shader_program.rs:94:12
[INFO] [stderr]    |
[INFO] [stderr] 94 |     pub fn id(&self) -> u32 {
[INFO] [stderr]    |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_uniform_bool`
[INFO] [stderr]    --> src/shader_program.rs:102:19
[INFO] [stderr]     |
[INFO] [stderr] 102 |     pub unsafe fn set_uniform_bool(&self, name: &str, value: bool) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_uniform_float`
[INFO] [stderr]    --> src/shader_program.rs:112:19
[INFO] [stderr]     |
[INFO] [stderr] 112 |     pub unsafe fn set_uniform_float(&self, name: &str, value: f32) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_uniform_vec3f`
[INFO] [stderr]    --> src/shader_program.rs:117:19
[INFO] [stderr]     |
[INFO] [stderr] 117 |     pub unsafe fn set_uniform_vec3f(&self, name: &str, value: glm::Vec3) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_wrap`
[INFO] [stderr]   --> src/texture.rs:51:19
[INFO] [stderr]    |
[INFO] [stderr] 51 |     pub unsafe fn set_wrap(&self, wrap_s: gl::types::GLenum, wrap_t: gl::types::GLenum) {
[INFO] [stderr]    |                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: getting the inner pointer of a temporary `CString`
[INFO] [stderr]    --> src/shader_program.rs:128:69
[INFO] [stderr]     |
[INFO] [stderr] 128 |         gl::GetUniformLocation(self.id, CString::new(name).unwrap().as_ptr())
[INFO] [stderr]     |                                         --------------------------- ^^^^^^ this pointer will be invalid
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(temporary_cstring_as_ptr)]` on by default
[INFO] [stderr]     = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]     = help: for more information, see https://doc.rust-lang.org/reference/destructors.html
[INFO] [stderr] 
[INFO] [stderr] warning: `learn-opengl` (bin "learn-opengl" test) generated 15 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: learn-opengl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_opengl-4e9585f2a618779c)
[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" "18a97e8e1eab79e894234dbe6d1a237bf8666fc33498932eb51e3d57ecf39255", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18a97e8e1eab79e894234dbe6d1a237bf8666fc33498932eb51e3d57ecf39255", kill_on_drop: false }`
[INFO] [stdout] 18a97e8e1eab79e894234dbe6d1a237bf8666fc33498932eb51e3d57ecf39255
