[INFO] cloning repository https://github.com/joelbeedle/rust-renderer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelbeedle/rust-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelbeedle%2Frust-renderer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelbeedle%2Frust-renderer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c6d2b08b6093a8b9270cabb6ed4aea8f215110b
[INFO] checking joelbeedle/rust-renderer against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelbeedle%2Frust-renderer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joelbeedle/rust-renderer
[INFO] finished tweaking git repo https://github.com/joelbeedle/rust-renderer
[INFO] tweaked toml for git repo https://github.com/joelbeedle/rust-renderer written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joelbeedle/rust-renderer on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joelbeedle/rust-renderer 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded minifb v0.19.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.84
[INFO] [stderr]   Downloaded xkbcommon-sys v0.7.5
[INFO] [stderr]   Downloaded wayland-cursor v0.28.6
[INFO] [stderr]   Downloaded xkb v0.2.1
[INFO] [stderr]   Downloaded raw-window-handle v0.3.4
[INFO] [stderr]   Downloaded wayland-sys v0.28.6
[INFO] [stderr]   Downloaded wayland-scanner v0.28.6
[INFO] [stderr]   Downloaded wayland-commons v0.28.6
[INFO] [stderr]   Downloaded wayland-protocols v0.28.6
[INFO] [stderr]   Downloaded wayland-client v0.28.6
[INFO] [stderr]   Downloaded nix v0.20.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359
[INFO] running `Command { std: "docker" "start" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling unicode-width v0.1.12
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling bindgen v0.56.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking xcursor v0.3.5
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling minifb v0.19.3
[INFO] [stderr]     Checking nix v0.20.2
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]    Compiling xkbcommon-sys v0.7.5
[INFO] [stderr]     Checking xkb v0.2.1
[INFO] [stderr]     Checking minifb_renderer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `brightness`
[INFO] [stdout]   --> src/graphics.rs:61:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |   let brightness = (light_value * 255.0) as u8;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brightness`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `brightness`
[INFO] [stdout]   --> src/graphics.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 |   let brightness = (light_intensity * 255.0) as u8;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brightness`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `brightness`
[INFO] [stdout]   --> src/graphics.rs:98:7
[INFO] [stdout]    |
[INFO] [stdout] 98 |   let brightness = (light_intensity * 255.0) as u8;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brightness`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/graphics.rs:334:3
[INFO] [stdout]     |
[INFO] [stdout] 334 |   color: u32,
[INFO] [stdout]     |   ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light_position`
[INFO] [stdout]    --> src/graphics.rs:353:7
[INFO] [stdout]     |
[INFO] [stdout] 353 |   let light_position = Point3D {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light_pos2`
[INFO] [stdout]    --> src/graphics.rs:359:7
[INFO] [stdout]     |
[INFO] [stdout] 359 |   let light_pos2 = Point3D {
[INFO] [stdout]     |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_pos2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `color_to_rgb` is never used
[INFO] [stdout]   --> src/graphics.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn color_to_rgb(color: u32) -> (u8, u8, u8) {
[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 `compute_lighting_all` is never used
[INFO] [stdout]   --> src/graphics.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn compute_lighting_all(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_lighting_linatten` is never used
[INFO] [stdout]   --> src/graphics.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn compute_lighting_linatten(vertex: &mut Vertex3D, light_position: &Point3D) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_lighting` is never used
[INFO] [stdout]    --> src/graphics.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn compute_lighting(normal: &mut Point3D, light_dir: &Point3D, point_position: &Point3D) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpolate_color` is never used
[INFO] [stdout]    --> src/graphics.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn interpolate_color(color1: u32, color2: u32) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpolate_color_at` is never used
[INFO] [stdout]    --> src/graphics.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn interpolate_color_at(u: f32, v: f32, w: f32, color1: u32, color2: u32, color3: u32) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_filled_triangle` is never used
[INFO] [stdout]    --> src/graphics.rs:268:4
[INFO] [stdout]     |
[INFO] [stdout] 268 | fn rasterize_filled_triangle(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `brightness`
[INFO] [stdout]   --> src/graphics.rs:61:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |   let brightness = (light_value * 255.0) as u8;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brightness`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `brightness`
[INFO] [stdout]   --> src/graphics.rs:75:7
[INFO] [stdout]    |
[INFO] [stdout] 75 |   let brightness = (light_intensity * 255.0) as u8;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brightness`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `brightness`
[INFO] [stdout]   --> src/graphics.rs:98:7
[INFO] [stdout]    |
[INFO] [stdout] 98 |   let brightness = (light_intensity * 255.0) as u8;
[INFO] [stdout]    |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brightness`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/graphics.rs:334:3
[INFO] [stdout]     |
[INFO] [stdout] 334 |   color: u32,
[INFO] [stdout]     |   ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light_position`
[INFO] [stdout]    --> src/graphics.rs:353:7
[INFO] [stdout]     |
[INFO] [stdout] 353 |   let light_position = Point3D {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light_pos2`
[INFO] [stdout]    --> src/graphics.rs:359:7
[INFO] [stdout]     |
[INFO] [stdout] 359 |   let light_pos2 = Point3D {
[INFO] [stdout]     |       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_pos2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `color_to_rgb` is never used
[INFO] [stdout]   --> src/graphics.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn color_to_rgb(color: u32) -> (u8, u8, u8) {
[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 `compute_lighting_all` is never used
[INFO] [stdout]   --> src/graphics.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn compute_lighting_all(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_lighting_linatten` is never used
[INFO] [stdout]   --> src/graphics.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn compute_lighting_linatten(vertex: &mut Vertex3D, light_position: &Point3D) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_lighting` is never used
[INFO] [stdout]    --> src/graphics.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn compute_lighting(normal: &mut Point3D, light_dir: &Point3D, point_position: &Point3D) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpolate_color` is never used
[INFO] [stdout]    --> src/graphics.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn interpolate_color(color1: u32, color2: u32) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpolate_color_at` is never used
[INFO] [stdout]    --> src/graphics.rs:256:4
[INFO] [stdout]     |
[INFO] [stdout] 256 | fn interpolate_color_at(u: f32, v: f32, w: f32, color1: u32, color2: u32, color3: u32) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rasterize_filled_triangle` is never used
[INFO] [stdout]    --> src/graphics.rs:268:4
[INFO] [stdout]     |
[INFO] [stdout] 268 | fn rasterize_filled_triangle(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cubes`
[INFO] [stdout]   --> src/main.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 |   let cubes: Vec<Cube> = vec![cube, cube2, cube3, cube4];
[INFO] [stdout]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_cubes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cubes`
[INFO] [stdout]   --> src/main.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 |   let cubes: Vec<Cube> = vec![cube, cube2, cube3, cube4];
[INFO] [stdout]    |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_cubes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `off_data`
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let off_data = io::read_off_file("models/m114.off").unwrap();
[INFO] [stdout]    |       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `off_data`
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let off_data = io::read_off_file("models/m114.off").unwrap();
[INFO] [stdout]    |       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.27s
[INFO] running `Command { std: "docker" "inspect" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359", kill_on_drop: false }`
[INFO] [stdout] 613a92106d0e0575ffc4b82b7334c2d03e1493d62ea85fd910f8d4b36f68a359
