[INFO] cloning repository https://github.com/Emperormouse/consoleGL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emperormouse/consoleGL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmperormouse%2FconsoleGL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmperormouse%2FconsoleGL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8340b2fc6b7af2a32e82efa95001eea74519c63e [INFO] checking Emperormouse/consoleGL/8340b2fc6b7af2a32e82efa95001eea74519c63e against master#021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmperormouse%2FconsoleGL" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Emperormouse/consoleGL [INFO] finished tweaking git repo https://github.com/Emperormouse/consoleGL [INFO] tweaked toml for git repo https://github.com/Emperormouse/consoleGL written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Emperormouse/consoleGL on toolchain 021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Emperormouse/consoleGL 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" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded device_query v3.0.1 [INFO] [stderr] Downloaded readkey v0.2.2 [INFO] [stderr] Downloaded num-quaternion v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22f886425742a43c063cdb08822e69527113d3db32b04565227d2fa2c1cb05b8 [INFO] running `Command { std: "docker" "start" "-a" "22f886425742a43c063cdb08822e69527113d3db32b04565227d2fa2c1cb05b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22f886425742a43c063cdb08822e69527113d3db32b04565227d2fa2c1cb05b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f886425742a43c063cdb08822e69527113d3db32b04565227d2fa2c1cb05b8", kill_on_drop: false }` [INFO] [stdout] 22f886425742a43c063cdb08822e69527113d3db32b04565227d2fa2c1cb05b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d82ab3b8b7206b041b8b597430a5c0a528498c2680573f68c7786fd75cd7006 [INFO] running `Command { std: "docker" "start" "-a" "9d82ab3b8b7206b041b8b597430a5c0a528498c2680573f68c7786fd75cd7006", kill_on_drop: false }` [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling device_query v3.0.1 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking num-quaternion v1.0.4 [INFO] [stderr] Checking termgl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::triangle::Triangle3d` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::triangle::Triangle3d; [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 imports: `max` and `min` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/triangle.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::display::{Pixel, Screen}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/triangle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::triangle::Triangle3d` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::triangle::Triangle3d; [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 imports: `max` and `min` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/triangle.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::display::{Pixel, Screen}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/triangle.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/terrain.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | Some(h) => print!("X"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape2d` is never used [INFO] [stdout] --> src/display.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Shape2d { [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 `Pixel` is never constructed [INFO] [stdout] --> src/display.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pixel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_data_file` is never used [INFO] [stdout] --> src/file.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_data_file(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_triangle` is never used [INFO] [stdout] --> src/file.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn string_to_triangle(text: &str) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_line` is never used [INFO] [stdout] --> src/file.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn string_to_line(text: &str) -> Line3d { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bisect_triangle` is never used [INFO] [stdout] --> src/file.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn bisect_triangle(t: Triangle3d, vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bisect_line` is never used [INFO] [stdout] --> src/file.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn bisect_line(l: Line3d, vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character` is never read [INFO] [stdout] --> src/line.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Line2d { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub character: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `center`, `length`, `rotate_y_mut`, `rotate_x_mut`, `rotate_z_mut`, and `add_to_grid` are never used [INFO] [stdout] --> src/line.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Line3d { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn center(&self) -> Point3d { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn rotate_y_mut(&mut self, center: &Point3d, rads: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn rotate_x_mut(&mut self, center: &Point3d, rads: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn rotate_z_mut(&mut self, center: &Point3d, rads: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_to_grid(&self, screen: &mut Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_y_degrees` is never used [INFO] [stdout] --> src/point.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Point3d { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn rotate_y_degrees(&self, center: &Point3d, degrees: f32) -> Point3d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotation_degrees` is never used [INFO] [stdout] --> src/point.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 138 | pub fn rotation_degrees(&self) -> Point3d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_stdin_channel` is never used [INFO] [stdout] --> src/terminal.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn spawn_stdin_channel() -> Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_terminal` is never used [INFO] [stdout] --> src/terminal.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_terminal() -> Termios { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup` is never used [INFO] [stdout] --> src/terminal.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cleanup(terminal: &Termios) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale` is never used [INFO] [stdout] --> src/triangle.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Triangle2d { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn scale(&mut self, magnitude: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_y`, `rotate_x`, `rotate_z`, `translate_mut`, and `center` are never used [INFO] [stdout] --> src/triangle.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 202 | impl Triangle3d { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn rotate_y(&self, center: &Point3d, rads: f32) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn rotate_x(&self, center: &Point3d, rads: f32) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn rotate_z(&self, center: &Point3d, rads: f32) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn translate_mut(&mut self, translation: Point3d) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn center(&self) -> Point3d { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Line` is never constructed [INFO] [stdout] --> src/projection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Shape3d { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 7 | Triangle(triangle::Triangle3d), [INFO] [stdout] 8 | Line(line::Line3d) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_farthest` is never used [INFO] [stdout] --> src/projection.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn sort_by_farthest(vector: &mut Vec, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/terrain.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height_map` is never read [INFO] [stdout] --> src/terrain.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 22 | pub shapes: Vec>, [INFO] [stdout] 23 | pub height_map: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extend` is never used [INFO] [stdout] --> src/terrain.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn extend(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map` is never used [INFO] [stdout] --> src/terrain.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_map(map: &mut [[Option; WIDTH_U]; HEIGHT_U]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/terrain.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | Some(h) => print!("X"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shape2d` is never used [INFO] [stdout] --> src/display.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Shape2d { [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 `Pixel` is never constructed [INFO] [stdout] --> src/display.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Pixel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_data_file` is never used [INFO] [stdout] --> src/file.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_data_file(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_triangle` is never used [INFO] [stdout] --> src/file.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn string_to_triangle(text: &str) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_line` is never used [INFO] [stdout] --> src/file.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn string_to_line(text: &str) -> Line3d { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bisect_triangle` is never used [INFO] [stdout] --> src/file.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn bisect_triangle(t: Triangle3d, vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bisect_line` is never used [INFO] [stdout] --> src/file.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn bisect_line(l: Line3d, vec: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character` is never read [INFO] [stdout] --> src/line.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Line2d { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub character: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `center`, `length`, `rotate_y_mut`, `rotate_x_mut`, `rotate_z_mut`, and `add_to_grid` are never used [INFO] [stdout] --> src/line.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Line3d { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn center(&self) -> Point3d { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn rotate_y_mut(&mut self, center: &Point3d, rads: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn rotate_x_mut(&mut self, center: &Point3d, rads: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn rotate_z_mut(&mut self, center: &Point3d, rads: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_to_grid(&self, screen: &mut Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate_y_degrees` is never used [INFO] [stdout] --> src/point.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Point3d { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn rotate_y_degrees(&self, center: &Point3d, degrees: f32) -> Point3d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotation_degrees` is never used [INFO] [stdout] --> src/point.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 138 | pub fn rotation_degrees(&self) -> Point3d { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_stdin_channel` is never used [INFO] [stdout] --> src/terminal.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn spawn_stdin_channel() -> Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_terminal` is never used [INFO] [stdout] --> src/terminal.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_terminal() -> Termios { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup` is never used [INFO] [stdout] --> src/terminal.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cleanup(terminal: &Termios) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale` is never used [INFO] [stdout] --> src/triangle.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Triangle2d { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn scale(&mut self, magnitude: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_y`, `rotate_x`, `rotate_z`, `translate_mut`, and `center` are never used [INFO] [stdout] --> src/triangle.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 202 | impl Triangle3d { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn rotate_y(&self, center: &Point3d, rads: f32) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn rotate_x(&self, center: &Point3d, rads: f32) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn rotate_z(&self, center: &Point3d, rads: f32) -> Triangle3d { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn translate_mut(&mut self, translation: Point3d) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn center(&self) -> Point3d { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Line` is never constructed [INFO] [stdout] --> src/projection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Shape3d { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 7 | Triangle(triangle::Triangle3d), [INFO] [stdout] 8 | Line(line::Line3d) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_farthest` is never used [INFO] [stdout] --> src/projection.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn sort_by_farthest(vector: &mut Vec, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/terrain.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height_map` is never read [INFO] [stdout] --> src/terrain.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Map { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 22 | pub shapes: Vec>, [INFO] [stdout] 23 | pub height_map: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extend` is never used [INFO] [stdout] --> src/terrain.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn extend(&mut self, direction: Direction) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map` is never used [INFO] [stdout] --> src/terrain.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn print_map(map: &mut [[Option; WIDTH_U]; HEIGHT_U]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "9d82ab3b8b7206b041b8b597430a5c0a528498c2680573f68c7786fd75cd7006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d82ab3b8b7206b041b8b597430a5c0a528498c2680573f68c7786fd75cd7006", kill_on_drop: false }` [INFO] [stdout] 9d82ab3b8b7206b041b8b597430a5c0a528498c2680573f68c7786fd75cd7006