[INFO] cloning repository https://github.com/mendesf/3drenderer-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mendesf/3drenderer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmendesf%2F3drenderer-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmendesf%2F3drenderer-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d5bb8177633b2d08cac8e630f2d1544f28c9455
[INFO] checking mendesf/3drenderer-rust against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmendesf%2F3drenderer-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mendesf/3drenderer-rust
[INFO] finished tweaking git repo https://github.com/mendesf/3drenderer-rust
[INFO] tweaked toml for git repo https://github.com/mendesf/3drenderer-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mendesf/3drenderer-rust on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mendesf/3drenderer-rust 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking mendesf/3drenderer-rust against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmendesf%2F3drenderer-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mendesf/3drenderer-rust
[INFO] finished tweaking git repo https://github.com/mendesf/3drenderer-rust
[INFO] tweaked toml for git repo https://github.com/mendesf/3drenderer-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mendesf/3drenderer-rust on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mendesf/3drenderer-rust 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c507703a5e704cf55dc7cbcca4dfcf89845d73fc529a3a84335a80b4029eacec
[INFO] running `Command { std: "docker" "start" "-a" "c507703a5e704cf55dc7cbcca4dfcf89845d73fc529a3a84335a80b4029eacec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c507703a5e704cf55dc7cbcca4dfcf89845d73fc529a3a84335a80b4029eacec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c507703a5e704cf55dc7cbcca4dfcf89845d73fc529a3a84335a80b4029eacec", kill_on_drop: false }`
[INFO] [stdout] c507703a5e704cf55dc7cbcca4dfcf89845d73fc529a3a84335a80b4029eacec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7868c31b4e1a1a35c2ac2075237eb9ae3e8c14a8591ebf416bb2922cd6275fb6
[INFO] running `Command { std: "docker" "start" "-a" "7868c31b4e1a1a35c2ac2075237eb9ae3e8c14a8591ebf416bb2922cd6275fb6", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]     Checking renderer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `color_buffer`
[INFO] [stdout]   --> src/main.rs:76:40
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn update2(timer: &mut TimerSubsystem, color_buffer: &Buffer, state: &mut State) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buffer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `face_i`
[INFO] [stdout]    --> src/main.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 |     for (face_i, face) in state.mesh.faces.iter().enumerate() {
[INFO] [stdout]     |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 |     state: &State,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `project_perspective` is never used
[INFO] [stdout]   --> src/main.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn project_perspective(point: &Vec3<f32>) -> Vec2<f32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update` is never used
[INFO] [stdout]   --> src/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn update(timer: &mut TimerSubsystem, color_buffer: &Buffer, state: &mut State) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOV_FACTOR` is never used
[INFO] [stdout]  --> src/config.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const FOV_FACTOR: f32 = 640.0;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_CUBE_VERTICES` is never used
[INFO] [stdout]  --> src/geometry/cube.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const N_CUBE_VERTICES: usize = 8;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CUBE_VERTICES` is never used
[INFO] [stdout]  --> src/geometry/cube.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CUBE_VERTICES: [Vec3<f32>; N_CUBE_VERTICES] = [
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_CUBE_FACES` is never used
[INFO] [stdout]   --> src/geometry/cube.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const N_CUBE_FACES: usize = 6 * 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CUBE_FACES` is never used
[INFO] [stdout]   --> src/geometry/cube.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const CUBE_FACES: [Face; N_CUBE_FACES] = [
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_mesh` is never used
[INFO] [stdout]   --> src/geometry/cube.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn fill_mesh(mesh: &mut Mesh) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rotation` is never read
[INFO] [stdout]   --> src/geometry/mesh.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub rotation: Vec3<f32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/geometry/triangle.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Face(pub i32, pub i32, pub i32);
[INFO] [stdout]   |            ---- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout]   = note: `Face` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vertex_indices` is never used
[INFO] [stdout]  --> src/geometry/triangle.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Face {
[INFO] [stdout]   | --------- method in this implementation
[INFO] [stdout] 7 |     pub fn vertex_indices(&self) -> [usize; 3] {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertices` and `normal` are never read
[INFO] [stdout]   --> src/geometry/triangle.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Triangle {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 14 |     pub vertices: [Vec2<f32>; 3],
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub normal: Vec3<f32>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Triangle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `centroid` is never used
[INFO] [stdout]   --> src/geometry/triangle.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Triangle {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 28 |     pub fn centroid(&self) -> Vec2<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Position` is never used
[INFO] [stdout]  --> src/graphic/buffer.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Position = Vec2<u32>;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_line_grid`, `draw_rect`, and `draw_triangle` are never used
[INFO] [stdout]    --> src/graphic/buffer.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl Buffer {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn draw_line_grid(&mut self, size: usize, color: Color) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn draw_rect(&mut self, position: Position, size: Size, color: Color, fill: bool) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn draw_triangle(&mut self, triangle: &Triangle, color: Color) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `camera_position` and `triangles_to_render` are never read
[INFO] [stdout]  --> src/state.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct State {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     pub camera_position: Vec3<f32>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     pub mesh: Mesh,
[INFO] [stdout] 7 |     pub triangles_to_render: Vec<Triangle>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length` and `normalize` are never used
[INFO] [stdout]   --> src/vector/vec2.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Vec2<f32> {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn length(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn normalize(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]    --> src/vector/vec2.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | / impl<T> Vec2<T>
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | |     T: Copy + Mul<Output = T> + Add<Output = T>,
[INFO] [stdout]     | |________________________________________________- method in this implementation
[INFO] [stdout] 104 |   {
[INFO] [stdout] 105 |       pub fn dot(&self, rhs: &Vec2<T>) -> T {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `normalize`, `rotate_x`, `rotate_y`, and `rotate_z` are never used
[INFO] [stdout]   --> src/vector/vec3.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Vec3<f32> {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn length(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn normalize(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn rotate_x(&self, angle: f32) -> Vec3<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn rotate_y(&self, angle: f32) -> Vec3<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn rotate_z(&self, angle: f32) -> Vec3<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vec2` is never used
[INFO] [stdout]   --> src/vector/vec3.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<T: Copy> Vec3<T> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn vec2(&self) -> Vec2<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cross` is never used
[INFO] [stdout]    --> src/vector/vec3.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | / impl<T> Vec3<T>
[INFO] [stdout] 127 | | where
[INFO] [stdout] 128 | |     T: Copy + Mul<Output = T> + Sub<Output = T>,
[INFO] [stdout]     | |________________________________________________- method in this implementation
[INFO] [stdout] 129 |   {
[INFO] [stdout] 130 |       pub fn cross(&self, rhs: Vec3<T>) -> Self {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]    --> src/vector/vec3.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | / impl<T> Vec3<T>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     T: Copy + Mul<Output = T> + Add<Output = T>,
[INFO] [stdout]     | |________________________________________________- method in this implementation
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       pub fn dot(&self, rhs: &Vec3<T>) -> T {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/graphic/window.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     texture_creator: &TextureCreator<WindowContext>,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 36 | ) -> Result<Texture, String> {
[INFO] [stdout]    |             ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Result<Texture<'_>, String> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_buffer`
[INFO] [stdout]   --> src/main.rs:76:40
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn update2(timer: &mut TimerSubsystem, color_buffer: &Buffer, state: &mut State) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buffer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `face_i`
[INFO] [stdout]    --> src/main.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 |     for (face_i, face) in state.mesh.faces.iter().enumerate() {
[INFO] [stdout]     |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 |     state: &State,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `project_perspective` is never used
[INFO] [stdout]   --> src/main.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn project_perspective(point: &Vec3<f32>) -> Vec2<f32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update` is never used
[INFO] [stdout]   --> src/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn update(timer: &mut TimerSubsystem, color_buffer: &Buffer, state: &mut State) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOV_FACTOR` is never used
[INFO] [stdout]  --> src/config.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const FOV_FACTOR: f32 = 640.0;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_CUBE_VERTICES` is never used
[INFO] [stdout]  --> src/geometry/cube.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const N_CUBE_VERTICES: usize = 8;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CUBE_VERTICES` is never used
[INFO] [stdout]  --> src/geometry/cube.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CUBE_VERTICES: [Vec3<f32>; N_CUBE_VERTICES] = [
[INFO] [stdout]   |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_CUBE_FACES` is never used
[INFO] [stdout]   --> src/geometry/cube.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const N_CUBE_FACES: usize = 6 * 2;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CUBE_FACES` is never used
[INFO] [stdout]   --> src/geometry/cube.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const CUBE_FACES: [Face; N_CUBE_FACES] = [
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_mesh` is never used
[INFO] [stdout]   --> src/geometry/cube.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn fill_mesh(mesh: &mut Mesh) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rotation` is never read
[INFO] [stdout]   --> src/geometry/mesh.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub rotation: Vec3<f32>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]  --> src/geometry/triangle.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Face(pub i32, pub i32, pub i32);
[INFO] [stdout]   |            ---- ^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            fields in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing these fields
[INFO] [stdout]   = note: `Face` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vertex_indices` is never used
[INFO] [stdout]  --> src/geometry/triangle.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Face {
[INFO] [stdout]   | --------- method in this implementation
[INFO] [stdout] 7 |     pub fn vertex_indices(&self) -> [usize; 3] {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertices` and `normal` are never read
[INFO] [stdout]   --> src/geometry/triangle.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Triangle {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 14 |     pub vertices: [Vec2<f32>; 3],
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub normal: Vec3<f32>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Triangle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `centroid` is never used
[INFO] [stdout]   --> src/geometry/triangle.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Triangle {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 28 |     pub fn centroid(&self) -> Vec2<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Position` is never used
[INFO] [stdout]  --> src/graphic/buffer.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Position = Vec2<u32>;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_line_grid`, `draw_rect`, and `draw_triangle` are never used
[INFO] [stdout]    --> src/graphic/buffer.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl Buffer {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn draw_line_grid(&mut self, size: usize, color: Color) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn draw_rect(&mut self, position: Position, size: Size, color: Color, fill: bool) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn draw_triangle(&mut self, triangle: &Triangle, color: Color) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `camera_position` and `triangles_to_render` are never read
[INFO] [stdout]  --> src/state.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct State {
[INFO] [stdout]   |            ----- fields in this struct
[INFO] [stdout] 5 |     pub camera_position: Vec3<f32>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     pub mesh: Mesh,
[INFO] [stdout] 7 |     pub triangles_to_render: Vec<Triangle>,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `normalize` is never used
[INFO] [stdout]   --> src/vector/vec2.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Vec2<f32> {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn normalize(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]    --> src/vector/vec2.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | / impl<T> Vec2<T>
[INFO] [stdout] 102 | | where
[INFO] [stdout] 103 | |     T: Copy + Mul<Output = T> + Add<Output = T>,
[INFO] [stdout]     | |________________________________________________- method in this implementation
[INFO] [stdout] 104 |   {
[INFO] [stdout] 105 |       pub fn dot(&self, rhs: &Vec2<T>) -> T {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `normalize`, `rotate_x`, `rotate_y`, and `rotate_z` are never used
[INFO] [stdout]   --> src/vector/vec3.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Vec3<f32> {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn length(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn normalize(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn rotate_x(&self, angle: f32) -> Vec3<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn rotate_y(&self, angle: f32) -> Vec3<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn rotate_z(&self, angle: f32) -> Vec3<f32> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vec2` is never used
[INFO] [stdout]   --> src/vector/vec3.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<T: Copy> Vec3<T> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn vec2(&self) -> Vec2<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cross` is never used
[INFO] [stdout]    --> src/vector/vec3.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | / impl<T> Vec3<T>
[INFO] [stdout] 127 | | where
[INFO] [stdout] 128 | |     T: Copy + Mul<Output = T> + Sub<Output = T>,
[INFO] [stdout]     | |________________________________________________- method in this implementation
[INFO] [stdout] 129 |   {
[INFO] [stdout] 130 |       pub fn cross(&self, rhs: Vec3<T>) -> Self {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dot` is never used
[INFO] [stdout]    --> src/vector/vec3.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | / impl<T> Vec3<T>
[INFO] [stdout] 140 | | where
[INFO] [stdout] 141 | |     T: Copy + Mul<Output = T> + Add<Output = T>,
[INFO] [stdout]     | |________________________________________________- method in this implementation
[INFO] [stdout] 142 |   {
[INFO] [stdout] 143 |       pub fn dot(&self, rhs: &Vec3<T>) -> T {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/graphic/window.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     texture_creator: &TextureCreator<WindowContext>,
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 36 | ) -> Result<Texture, String> {
[INFO] [stdout]    |             ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 | ) -> Result<Texture<'_>, String> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.05s
[INFO] running `Command { std: "docker" "inspect" "7868c31b4e1a1a35c2ac2075237eb9ae3e8c14a8591ebf416bb2922cd6275fb6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7868c31b4e1a1a35c2ac2075237eb9ae3e8c14a8591ebf416bb2922cd6275fb6", kill_on_drop: false }`
[INFO] [stdout] 7868c31b4e1a1a35c2ac2075237eb9ae3e8c14a8591ebf416bb2922cd6275fb6
