[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] 2c5261376e8513fbb617a90980e51f2b6abb08f2 [INFO] checking joelbeedle/rust-renderer against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelbeedle%2Frust-renderer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelbeedle/rust-renderer on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded minifb v0.19.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b3b5526b5b80085ae16cb39e10e8532e30dc77a9286bdb317d0c20e7e74a24e [INFO] running `Command { std: "docker" "start" "-a" "3b3b5526b5b80085ae16cb39e10e8532e30dc77a9286bdb317d0c20e7e74a24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b3b5526b5b80085ae16cb39e10e8532e30dc77a9286bdb317d0c20e7e74a24e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b3b5526b5b80085ae16cb39e10e8532e30dc77a9286bdb317d0c20e7e74a24e", kill_on_drop: false }` [INFO] [stdout] 3b3b5526b5b80085ae16cb39e10e8532e30dc77a9286bdb317d0c20e7e74a24e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00a9b449007fa4afad1c51ed4cc6a4005b82470900fab542658109a7f441d9d2 [INFO] running `Command { std: "docker" "start" "-a" "00a9b449007fa4afad1c51ed4cc6a4005b82470900fab542658109a7f441d9d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling cc v1.0.98 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [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 wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling regex v1.10.4 [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)]` 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: `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: 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: 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)]` 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)]` 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: `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: 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: 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)]` 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 = 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)]` 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: `cubes` [INFO] [stdout] --> src/main.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | let cubes: Vec = 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.36s [INFO] running `Command { std: "docker" "inspect" "00a9b449007fa4afad1c51ed4cc6a4005b82470900fab542658109a7f441d9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a9b449007fa4afad1c51ed4cc6a4005b82470900fab542658109a7f441d9d2", kill_on_drop: false }` [INFO] [stdout] 00a9b449007fa4afad1c51ed4cc6a4005b82470900fab542658109a7f441d9d2