[INFO] cloning repository https://github.com/KobeDB/renderer-3d-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KobeDB/renderer-3d-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobeDB%2Frenderer-3d-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobeDB%2Frenderer-3d-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51a960b2da0965dfc017626e07e3d4b970c9069a
[INFO] checking KobeDB/renderer-3d-rust against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobeDB%2Frenderer-3d-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KobeDB/renderer-3d-rust
[INFO] finished tweaking git repo https://github.com/KobeDB/renderer-3d-rust
[INFO] tweaked toml for git repo https://github.com/KobeDB/renderer-3d-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KobeDB/renderer-3d-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/KobeDB/renderer-3d-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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 32ba8fe91fc56f7cb9dfa31f8917c05986016b849822d39326289e432fee3f9e
[INFO] running `Command { std: "docker" "start" "-a" "32ba8fe91fc56f7cb9dfa31f8917c05986016b849822d39326289e432fee3f9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32ba8fe91fc56f7cb9dfa31f8917c05986016b849822d39326289e432fee3f9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32ba8fe91fc56f7cb9dfa31f8917c05986016b849822d39326289e432fee3f9e", kill_on_drop: false }`
[INFO] [stdout] 32ba8fe91fc56f7cb9dfa31f8917c05986016b849822d39326289e432fee3f9e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 612b1fcfd3e922f9eff72d484f58a777b18d478e1c60ee40ad81a89485a9832e
[INFO] running `Command { std: "docker" "start" "-a" "612b1fcfd3e922f9eff72d484f58a777b18d478e1c60ee40ad81a89485a9832e", kill_on_drop: false }`
[INFO] [stderr]     Checking bmp v0.5.0
[INFO] [stderr]     Checking renderer-3d-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec4`
[INFO] [stdout]  --> src/matrix4.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{Vec4, vec4};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/color.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]  --> src/ini_reader.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/ini_reader.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ini_reader.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, BufRead};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/ini_reader.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string::ParseError`
[INFO] [stdout]  --> src/ini_reader.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::string::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PolarCoord`
[INFO] [stdout]   --> src/main.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::matrix4::{Matrix4, PolarCoord};
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec4`
[INFO] [stdout]  --> src/matrix4.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{Vec4, vec4};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/color.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]  --> src/ini_reader.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/ini_reader.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ini_reader.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, BufRead};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/ini_reader.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string::ParseError`
[INFO] [stdout]  --> src/ini_reader.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::string::ParseError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PolarCoord`
[INFO] [stdout]   --> src/main.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::matrix4::{Matrix4, PolarCoord};
[INFO] [stdout]    |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/ini_reader.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, BufRead};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]  --> src/ini_reader.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{self, BufRead};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let mut figure_type = match figure_type.as_str() {
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut lights = Vec::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let mut figure_type = match figure_type.as_str() {
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_far`
[INFO] [stdout]    --> src/main.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let d_far = 100.0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_d_far`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut lights = Vec::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eye_point_transform`
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let eye_point_transform = Matrix4::new_eye_point_transform(&eye_pos, &looking_dir);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eye_point_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_far`
[INFO] [stdout]    --> src/main.rs:220:9
[INFO] [stdout]     |
[INFO] [stdout] 220 |     let d_far = 100.0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_d_far`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_far`
[INFO] [stdout]    --> src/main.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let d_far = 100.0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_d_far`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eye_point_transform`
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let eye_point_transform = Matrix4::new_eye_point_transform(&eye_pos, &looking_dir);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eye_point_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut reflected_color = *ambient_reflection;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `diffuse_reflection`
[INFO] [stdout]    --> src/main.rs:272:46
[INFO] [stdout]     |
[INFO] [stdout] 272 |                  ambient_reflection: &Color, diffuse_reflection: &Color, specular_reflection: &Color,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diffuse_reflection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `specular_reflection`
[INFO] [stdout]    --> src/main.rs:272:74
[INFO] [stdout]     |
[INFO] [stdout] 272 |                  ambient_reflection: &Color, diffuse_reflection: &Color, specular_reflection: &Color,
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specular_reflection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut reflected_color = *ambient_reflection;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `diffuse_reflection`
[INFO] [stdout]    --> src/main.rs:272:46
[INFO] [stdout]     |
[INFO] [stdout] 272 |                  ambient_reflection: &Color, diffuse_reflection: &Color, specular_reflection: &Color,
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diffuse_reflection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `specular_reflection`
[INFO] [stdout]    --> src/main.rs:272:74
[INFO] [stdout]     |
[INFO] [stdout] 272 |                  ambient_reflection: &Color, diffuse_reflection: &Color, specular_reflection: &Color,
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specular_reflection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Light` is never used
[INFO] [stdout]   --> src/main.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | trait Light {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Eye` is never constructed
[INFO] [stdout]   --> src/main.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Eye {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_reflected_light` is never used
[INFO] [stdout]   --> src/main.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | trait Light {
[INFO] [stdout]    |       ----- method in this trait
[INFO] [stdout] 30 |     fn calculate_reflected_light(&self);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FigureType` is never used
[INFO] [stdout]   --> src/main.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 41 | enum FigureType {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FigureDescription` is never constructed
[INFO] [stdout]   --> src/main.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct FigureDescription {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hfov_rad` is never read
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct Eye {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     hfov_rad: f32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SceneDescription` is never constructed
[INFO] [stdout]   --> src/main.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct SceneDescription {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `scale` and `rotation_y_rad` are never read
[INFO] [stdout]   --> src/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct FigureDescription {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     scale:  f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 53 |     rotation_x_rad: f32,
[INFO] [stdout] 54 |     rotation_y_rad: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_scene_description_from_ini_file` is never used
[INFO] [stdout]   --> src/main.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn read_scene_description_from_ini_file(path_to_ini: &str) -> SceneDescription {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_scene` is never used
[INFO] [stdout]    --> src/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn render_scene(scene_desc: &SceneDescription, path_to_output_image: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lights` is never read
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | struct SceneDescription {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] 59 |     figures: Vec<FigureDescription>,
[INFO] [stdout] 60 |     lights:  Vec<Box<dyn Light>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `w` is never used
[INFO] [stdout]   --> src/vec4.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Vec4 {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn w(&self) -> f32 { self.elems[3] }
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_triangle` is never used
[INFO] [stdout]    --> src/main.rs:270:4
[INFO] [stdout]     |
[INFO] [stdout] 270 | fn draw_triangle(a: &Vec4, b: &Vec4, c: &Vec4,
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dot_product` is never used
[INFO] [stdout]   --> src/vec4.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn dot_product(u: &[f32;4], v: &[f32;4]) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `PutPixelWhereOriginIsBottomLeft` is never used
[INFO] [stdout]    --> src/main.rs:333:7
[INFO] [stdout]     |
[INFO] [stdout] 333 | trait PutPixelWhereOriginIsBottomLeft {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec4` is never constructed
[INFO] [stdout]  --> src/vec4.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Vec4 { elems: [f32;4] }
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/vec4.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Vec4 {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout]  7 |
[INFO] [stdout]  8 |     pub fn x(&self) -> f32 { self.elems[0] }
[INFO] [stdout]    |            ^
[INFO] [stdout]  9 |     pub fn y(&self) -> f32 { self.elems[1] }
[INFO] [stdout]    |            ^
[INFO] [stdout] 10 |     pub fn z(&self) -> f32 { self.elems[2] }
[INFO] [stdout]    |            ^
[INFO] [stdout] 11 |     pub fn w(&self) -> f32 { self.elems[3] }
[INFO] [stdout]    |            ^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn new_point(x: f32, y: f32, z: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn new_vec4(x: f32, y: f32, z: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn mul(&self, mat: &Matrix4) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn normalize(&self) -> Self{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn neg(&self) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dot_product` is never used
[INFO] [stdout]   --> src/vec4.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn dot_product(u: &[f32;4], v: &[f32;4]) -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Figure` is never constructed
[INFO] [stdout]  --> src/figure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Figure {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Face` is never constructed
[INFO] [stdout]   --> src/figure.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Face {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/figure.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Face{
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 22 |     fn new(indexes: Vec<usize>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/figure.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Mesh {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_tetrahedron`, `new_torus`, `triangulate`, and `transform` are never used
[INFO] [stdout]    --> src/figure.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl Mesh {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  34 |     pub fn new_tetrahedron() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn new_torus(radius: f32, ring_radius: f32, rings_amt: u32, ring_points_amt: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn triangulate(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn transform(&mut self, t: &Matrix4) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Matrix4` is never constructed
[INFO] [stdout]  --> src/matrix4.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Matrix4 {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]   --> src/matrix4.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Matrix4 {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] 10 |     pub fn new_identity() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn new_rotation_z(angle_rad: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn new_rotation_x(angle_rad: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn new_translation(translation_vec: &Vec4) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn new_eye_point_transform_looking_at_origin(eye_pos: &PolarCoord) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn new_eye_point_transform(eye_pos: &Vec4, eye_dir: &Vec4) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn mul(a: &Self, b: &Self) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PolarCoord` is never constructed
[INFO] [stdout]   --> src/matrix4.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct PolarCoord {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `new_from_cartesian` are never used
[INFO] [stdout]    --> src/matrix4.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  99 | impl PolarCoord {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] 100 |     pub fn new(theta_rad: f32, phi_rad: f32, r: f32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn new_from_cartesian(x:f32,y:f32,z:f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec2` is never constructed
[INFO] [stdout]  --> src/vec2.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Vec2 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `x`, and `y` are never used
[INFO] [stdout]   --> src/vec2.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Vec2 {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout]  6 |     pub fn new(x:f32, y:f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn x(&self) -> f32 { return self.elems[0] }
[INFO] [stdout]    |            ^
[INFO] [stdout] 11 |     pub fn y(&self) -> f32 { return self.elems[1] }
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]  --> src/color.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Color {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `r`, `g`, `b`, and `to_pixel` are never used
[INFO] [stdout]   --> src/color.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Color {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(r:f32,g:f32,b:f32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn r(&self) -> f32 {self.values[0]}
[INFO] [stdout]    |            ^
[INFO] [stdout] 16 |     pub fn g(&self) -> f32 {self.values[1]}
[INFO] [stdout]    |            ^
[INFO] [stdout] 17 |     pub fn b(&self) -> f32 {self.values[2]}
[INFO] [stdout]    |            ^
[INFO] [stdout] 18 |
[INFO] [stdout] 19 |     pub fn to_pixel(&self) -> bmp::Pixel {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `IniValue` is never used
[INFO] [stdout]   --> src/ini_reader.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum IniValue {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from` is never used
[INFO] [stdout]   --> src/ini_reader.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl IniValue {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     pub fn from(s: &str) -> Result<IniValue, ()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section` is never constructed
[INFO] [stdout]   --> src/ini_reader.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Section {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ini_reader.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl Section {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout]  63 |     pub fn as_u32_or_die(&self, key: &str) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     pub fn as_f32_or_die(&self, key: &str) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn as_f32_or_default(&self, key: &str, default: f32) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn as_tuple_or_default(&self, key: &str, default: [f32;3]) -> [f32;3] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn as_tuple_or_die(&self, key: &str) -> [f32;3] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn as_string_or_die(&self, key: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn key_exists(&self, key: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IniConfiguration` is never constructed
[INFO] [stdout]    --> src/ini_reader.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct IniConfiguration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_section` are never used
[INFO] [stdout]    --> src/ini_reader.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl IniConfiguration {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 141 |
[INFO] [stdout] 142 |     pub fn new(path_to_ini: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn get_section(&self, section_name: &str) -> Result<&Section, ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "612b1fcfd3e922f9eff72d484f58a777b18d478e1c60ee40ad81a89485a9832e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "612b1fcfd3e922f9eff72d484f58a777b18d478e1c60ee40ad81a89485a9832e", kill_on_drop: false }`
[INFO] [stdout] 612b1fcfd3e922f9eff72d484f58a777b18d478e1c60ee40ad81a89485a9832e
