[INFO] cloning repository https://github.com/dhruv-sundar/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhruv-sundar/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruv-sundar%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruv-sundar%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2db84335f9c8688ed948c9b85387a7624b7aed7 [INFO] building dhruv-sundar/raytracer against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhruv-sundar%2Fraytracer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dhruv-sundar/raytracer [INFO] finished tweaking git repo https://github.com/dhruv-sundar/raytracer [INFO] tweaked toml for git repo https://github.com/dhruv-sundar/raytracer written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhruv-sundar/raytracer on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dhruv-sundar/raytracer 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5a0b435023380d1d45f418398e0558ee8284e9a3a7bb4c25ec5b6c1a625b84e [INFO] running `Command { std: "docker" "start" "-a" "a5a0b435023380d1d45f418398e0558ee8284e9a3a7bb4c25ec5b6c1a625b84e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5a0b435023380d1d45f418398e0558ee8284e9a3a7bb4c25ec5b6c1a625b84e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5a0b435023380d1d45f418398e0558ee8284e9a3a7bb4c25ec5b6c1a625b84e", kill_on_drop: false }` [INFO] [stdout] a5a0b435023380d1d45f418398e0558ee8284e9a3a7bb4c25ec5b6c1a625b84e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4e20deceece4da59fe198cbdc5d3de248d248d20252c14dfcb44e86a9606d4d [INFO] running `Command { std: "docker" "start" "-a" "b4e20deceece4da59fe198cbdc5d3de248d248d20252c14dfcb44e86a9606d4d", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.4 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/types.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use rand_distr::{Distribution, Normal}; [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: `thread_rng` [INFO] [stdout] --> src/main.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{rngs::ThreadRng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some((t, intersection_point, sphere)) = bvh_intersection(reflected_ray, bvh) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_angle` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let random_angle = rng.gen::() * 2.0 * 3.14; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_radius` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let random_radius = rng.gen::().sqrt() * lens; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus` [INFO] [stdout] --> src/main.rs:115:67 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere_color` [INFO] [stdout] --> src/main.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | let sphere_color = sphere.rgb; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_color` is never read [INFO] [stdout] --> src/main.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut total_color = [0.0, 0.0, 0.0]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_dof` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [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 `Plane` is never constructed [INFO] [stdout] --> src/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Plane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.73s [INFO] running `Command { std: "docker" "inspect" "b4e20deceece4da59fe198cbdc5d3de248d248d20252c14dfcb44e86a9606d4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e20deceece4da59fe198cbdc5d3de248d248d20252c14dfcb44e86a9606d4d", kill_on_drop: false }` [INFO] [stdout] b4e20deceece4da59fe198cbdc5d3de248d248d20252c14dfcb44e86a9606d4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 836b7956da76c312988afb0e6f6bd18ade63d95c2c85c8baebc4a6edd7be84ea [INFO] running `Command { std: "docker" "start" "-a" "836b7956da76c312988afb0e6f6bd18ade63d95c2c85c8baebc4a6edd7be84ea", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/types.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use rand_distr::{Distribution, Normal}; [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: `thread_rng` [INFO] [stdout] --> src/main.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{rngs::ThreadRng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some((t, intersection_point, sphere)) = bvh_intersection(reflected_ray, bvh) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_angle` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let random_angle = rng.gen::() * 2.0 * 3.14; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere_color` [INFO] [stdout] --> src/main.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | let sphere_color = sphere.rgb; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_radius` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let random_radius = rng.gen::().sqrt() * lens; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_color` is never read [INFO] [stdout] --> src/main.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut total_color = [0.0, 0.0, 0.0]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus` [INFO] [stdout] --> src/main.rs:115:67 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_focus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_dof` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn apply_dof(state: &RenderState, ray: &Ray, rng: &mut ThreadRng, focus: f32, lens: f32) { [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 `Plane` is never constructed [INFO] [stdout] --> src/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Plane { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Triangle` is never constructed [INFO] [stdout] --> src/types.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "836b7956da76c312988afb0e6f6bd18ade63d95c2c85c8baebc4a6edd7be84ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836b7956da76c312988afb0e6f6bd18ade63d95c2c85c8baebc4a6edd7be84ea", kill_on_drop: false }` [INFO] [stdout] 836b7956da76c312988afb0e6f6bd18ade63d95c2c85c8baebc4a6edd7be84ea