[INFO] cloning repository https://github.com/EvanChisholm1/ATLAS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EvanChisholm1/ATLAS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvanChisholm1%2FATLAS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvanChisholm1%2FATLAS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a41bd0a45a27f5ca2d43226f95bcd418b1192ad2 [INFO] checking EvanChisholm1/ATLAS/a41bd0a45a27f5ca2d43226f95bcd418b1192ad2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvanChisholm1%2FATLAS" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EvanChisholm1/ATLAS on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EvanChisholm1/ATLAS [INFO] finished tweaking git repo https://github.com/EvanChisholm1/ATLAS [INFO] tweaked toml for git repo https://github.com/EvanChisholm1/ATLAS written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EvanChisholm1/ATLAS 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e4fea878a0934f30844686756eec417cf71af5677ce7fd2a6dd3ca0678234f2 [INFO] running `Command { std: "docker" "start" "-a" "1e4fea878a0934f30844686756eec417cf71af5677ce7fd2a6dd3ca0678234f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e4fea878a0934f30844686756eec417cf71af5677ce7fd2a6dd3ca0678234f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e4fea878a0934f30844686756eec417cf71af5677ce7fd2a6dd3ca0678234f2", kill_on_drop: false }` [INFO] [stdout] 1e4fea878a0934f30844686756eec417cf71af5677ce7fd2a6dd3ca0678234f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6c51e0aa2215278c7b31ec4f2a8d1279b79d93e021c6d4620b8745a37256dc3 [INFO] running `Command { std: "docker" "start" "-a" "c6c51e0aa2215278c7b31ec4f2a8d1279b79d93e021c6d4620b8745a37256dc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking xcursor v0.3.6 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking ATLAS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MouseButton` and `MouseMode` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, MouseButton, MouseMode, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Object` and `Scene` [INFO] [stdout] --> src/main.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use renderer::{Camera, Color, FrameBuffer, Input, Mesh, Object, Renderer, Scene, Triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cross` [INFO] [stdout] --> src/renderer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cross, multiply_matrix_vector, multiply_matrix_vector_perspective_div, Matrix4D, Vector2D, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/renderer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cmp::Ordering, f64::consts::PI}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseButton` and `MouseMode` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, MouseButton, MouseMode, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Object` and `Scene` [INFO] [stdout] --> src/main.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | use renderer::{Camera, Color, FrameBuffer, Input, Mesh, Object, Renderer, Scene, Triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cross` [INFO] [stdout] --> src/renderer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cross, multiply_matrix_vector, multiply_matrix_vector_perspective_div, Matrix4D, Vector2D, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/renderer.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cmp::Ordering, f64::consts::PI}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/renderer.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | depth_func: Box::new(|x: f64, y: f64| 0.0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/renderer.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | depth_func: Box::new(|x: f64, y: f64| 0.0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/renderer.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn set_pixel(&mut self, x: usize, y: usize, color: &Color, depth: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/renderer.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | depth_func: Box::new(|x: f64, y: f64| 0.0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/renderer.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | depth_func: Box::new(|x: f64, y: f64| 0.0), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/renderer.rs:98:68 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn set_pixel(&mut self, x: usize, y: usize, color: &Color, depth: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tri` [INFO] [stdout] --> src/renderer.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn draw_triangle(&mut self, tri: &Triangle) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tri` [INFO] [stdout] --> src/renderer.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn draw_triangle(&mut self, tri: &Triangle) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let white = Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let white = Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat_rot_z` [INFO] [stdout] --> src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mat_rot_z = Matrix4D::new([ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_rot_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat_rot_x` [INFO] [stdout] --> src/main.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let mat_rot_x = Matrix4D::new([ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_rot_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat_rot_z` [INFO] [stdout] --> src/main.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let mat_rot_z = Matrix4D::new([ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_rot_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat_rot_x` [INFO] [stdout] --> src/main.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let mat_rot_x = Matrix4D::new([ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_rot_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut cam = Camera { [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let mut frame_buffer = FrameBuffer::new(WIDTH, HEIGHT); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_z_rotation_matrix` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_z_rotation_matrix(theta: f64) -> Matrix4D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_x_rotation_matrix` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_x_rotation_matrix(theta: f64) -> Matrix4D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_y_rotation_matrix` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_y_rotation_matrix(theta: f64) -> Matrix4D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/linalg.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn dot(u: &Vector3D, v: &Vector3D) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut cam = Camera { [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | let mut frame_buffer = FrameBuffer::new(WIDTH, HEIGHT); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_z_rotation_matrix` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_z_rotation_matrix(theta: f64) -> Matrix4D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_x_rotation_matrix` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_x_rotation_matrix(theta: f64) -> Matrix4D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_y_rotation_matrix` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_y_rotation_matrix(theta: f64) -> Matrix4D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/linalg.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn dot(u: &Vector3D, v: &Vector3D) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.19s [INFO] running `Command { std: "docker" "inspect" "c6c51e0aa2215278c7b31ec4f2a8d1279b79d93e021c6d4620b8745a37256dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6c51e0aa2215278c7b31ec4f2a8d1279b79d93e021c6d4620b8745a37256dc3", kill_on_drop: false }` [INFO] [stdout] c6c51e0aa2215278c7b31ec4f2a8d1279b79d93e021c6d4620b8745a37256dc3