[INFO] cloning repository https://github.com/kaio-matos/42_scop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaio-matos/42_scop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaio-matos%2F42_scop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaio-matos%2F42_scop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a32d627b6299bc4674088b28723d0d15676ff47 [INFO] building kaio-matos/42_scop against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaio-matos%2F42_scop" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaio-matos/42_scop on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaio-matos/42_scop [INFO] finished tweaking git repo https://github.com/kaio-matos/42_scop [INFO] tweaked toml for git repo https://github.com/kaio-matos/42_scop written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kaio-matos/42_scop 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79ad7db58e04f32226d29227f01c68cd9cf95d7ec4b946569af1297cda7284c5 [INFO] running `Command { std: "docker" "start" "-a" "79ad7db58e04f32226d29227f01c68cd9cf95d7ec4b946569af1297cda7284c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79ad7db58e04f32226d29227f01c68cd9cf95d7ec4b946569af1297cda7284c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ad7db58e04f32226d29227f01c68cd9cf95d7ec4b946569af1297cda7284c5", kill_on_drop: false }` [INFO] [stdout] 79ad7db58e04f32226d29227f01c68cd9cf95d7ec4b946569af1297cda7284c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5964b5f67c3dbaa251474f9472988ef084bf649ee03030b1153e1174f99e927a [INFO] running `Command { std: "docker" "start" "-a" "5964b5f67c3dbaa251474f9472988ef084bf649ee03030b1153e1174f99e927a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Compiling glfw v0.58.0 [INFO] [stderr] Compiling basis v0.1.0 (/opt/rustwide/workdir/basis) [INFO] [stdout] warning: value assigned to `shader_id` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let mut shader_id: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> basis/src/math/mtx.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fov` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ration` [INFO] [stdout] --> basis/src/math/mtx.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `near` [INFO] [stdout] --> basis/src/math/mtx.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `far` [INFO] [stdout] --> basis/src/math/mtx.rs:58:65 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct UniformLocation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 334 | id: gl::types::GLint, [INFO] [stdout] 335 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ShaderFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 374 | id: gl::types::GLuint, [INFO] [stdout] 375 | r#type: gl::types::GLenum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scop v0.1.0 (/opt/rustwide/workdir/scop) [INFO] [stdout] warning: unused variable: `vertex_count` [INFO] [stdout] --> scop/src/learning_05.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let vertex_count = vertices.len() / data_length as usize; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> scop/src/learning_05.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn draw_triangles_with_perspective(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> scop/src/learning_05.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut perspective_mat = [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles` is never used [INFO] [stdout] --> scop/src/learning_04.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_triangles(vertices: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles_with_transforms` is never used [INFO] [stdout] --> scop/src/learning_04.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn draw_triangles_with_transforms(window: &Window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles` is never used [INFO] [stdout] --> scop/src/learning_05.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn draw_triangles(vertices: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles_with_orthographic` is never used [INFO] [stdout] --> scop/src/learning_05.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn draw_triangles_with_orthographic(window: &Window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.76s [INFO] running `Command { std: "docker" "inspect" "5964b5f67c3dbaa251474f9472988ef084bf649ee03030b1153e1174f99e927a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5964b5f67c3dbaa251474f9472988ef084bf649ee03030b1153e1174f99e927a", kill_on_drop: false }` [INFO] [stdout] 5964b5f67c3dbaa251474f9472988ef084bf649ee03030b1153e1174f99e927a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3c52e25b82ffca8577a76bb50ce7dd072ec23c31b86e0cf49e0dd30d6cc784d [INFO] running `Command { std: "docker" "start" "-a" "e3c52e25b82ffca8577a76bb50ce7dd072ec23c31b86e0cf49e0dd30d6cc784d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling scop v0.1.0 (/opt/rustwide/workdir/scop) [INFO] [stderr] Compiling basis v0.1.0 (/opt/rustwide/workdir/basis) [INFO] [stdout] warning: value assigned to `shader_id` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let mut shader_id: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> basis/src/math/mtx.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fov` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ration` [INFO] [stdout] --> basis/src/math/mtx.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `near` [INFO] [stdout] --> basis/src/math/mtx.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `far` [INFO] [stdout] --> basis/src/math/mtx.rs:58:65 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct UniformLocation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 334 | id: gl::types::GLint, [INFO] [stdout] 335 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ShaderFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 374 | id: gl::types::GLuint, [INFO] [stdout] 375 | r#type: gl::types::GLenum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_count` [INFO] [stdout] --> scop/src/learning_05.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let vertex_count = vertices.len() / data_length as usize; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> scop/src/learning_05.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn draw_triangles_with_perspective(window: &Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> scop/src/learning_05.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let mut perspective_mat = [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles` is never used [INFO] [stdout] --> scop/src/learning_04.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_triangles(vertices: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles_with_transforms` is never used [INFO] [stdout] --> scop/src/learning_04.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn draw_triangles_with_transforms(window: &Window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles` is never used [INFO] [stdout] --> scop/src/learning_05.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn draw_triangles(vertices: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_triangles_with_orthographic` is never used [INFO] [stdout] --> scop/src/learning_05.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn draw_triangles_with_orthographic(window: &Window) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `shader_id` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let mut shader_id: u32 = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> basis/src/math/mtx.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fov` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ration` [INFO] [stdout] --> basis/src/math/mtx.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `near` [INFO] [stdout] --> basis/src/math/mtx.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `far` [INFO] [stdout] --> basis/src/math/mtx.rs:58:65 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn perspective(fov: f32, aspect_ration: f32, near: f32, far: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct UniformLocation { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 334 | id: gl::types::GLint, [INFO] [stdout] 335 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type` is never read [INFO] [stdout] --> basis/src/graphics/glw.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ShaderFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 374 | id: gl::types::GLuint, [INFO] [stdout] 375 | r#type: gl::types::GLenum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "e3c52e25b82ffca8577a76bb50ce7dd072ec23c31b86e0cf49e0dd30d6cc784d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c52e25b82ffca8577a76bb50ce7dd072ec23c31b86e0cf49e0dd30d6cc784d", kill_on_drop: false }` [INFO] [stdout] e3c52e25b82ffca8577a76bb50ce7dd072ec23c31b86e0cf49e0dd30d6cc784d