[INFO] cloning repository https://github.com/GKaszewski/raytracer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GKaszewski/raytracer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGKaszewski%2Fraytracer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGKaszewski%2Fraytracer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee9ea4b410292cdc9ce82f48aa26d7fd53eef270 [INFO] testing GKaszewski/raytracer-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGKaszewski%2Fraytracer-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GKaszewski/raytracer-rs [INFO] finished tweaking git repo https://github.com/GKaszewski/raytracer-rs [INFO] tweaked toml for git repo https://github.com/GKaszewski/raytracer-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GKaszewski/raytracer-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GKaszewski/raytracer-rs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ravif v0.11.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.80 [INFO] [stderr] Downloaded profiling-procmacros v1.0.15 [INFO] [stderr] Downloaded avif-serialize v0.8.1 [INFO] [stderr] Downloaded built v0.7.2 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded jobserver v0.1.30 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] [stderr] Downloaded wide v0.7.16 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.7 [INFO] [stderr] Downloaded syn v2.0.59 [INFO] [stderr] Downloaded nalgebra v0.32.5 [INFO] [stderr] Downloaded image v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9671a2af2246c21a01bdcaec2722f0d66389f58b408995e7093250f6c7619b8e [INFO] running `Command { std: "docker" "start" "-a" "9671a2af2246c21a01bdcaec2722f0d66389f58b408995e7093250f6c7619b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9671a2af2246c21a01bdcaec2722f0d66389f58b408995e7093250f6c7619b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9671a2af2246c21a01bdcaec2722f0d66389f58b408995e7093250f6c7619b8e", kill_on_drop: false }` [INFO] [stdout] 9671a2af2246c21a01bdcaec2722f0d66389f58b408995e7093250f6c7619b8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7efb60ff6852e3ed63e751b10c7a2e6dae0e02aed6b18ceee183fb4f1a55cd71 [INFO] running `Command { std: "docker" "start" "-a" "7efb60ff6852e3ed63e751b10c7a2e6dae0e02aed6b18ceee183fb4f1a55cd71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling wide v0.7.16 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling gltf-json v1.4.0 [INFO] [stderr] Compiling nalgebra v0.32.5 [INFO] [stderr] Compiling gltf v1.4.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let mut direction = Vector3::new(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: `y` [INFO] [stdout] --> src/main.rs:557:58 [INFO] [stdout] | [INFO] [stdout] 557 | img.enumerate_rows_mut().par_bridge().for_each(|(y, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_vec3` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn random_vec3() -> Vector3 { [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 `random_vec3_on_hemisphere` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn random_vec3_on_hemisphere(normal: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn refract(uv: Vector3, n: Vector3, etai_over_etat: f32) -> Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `size`, `contains`, `empty`, and `universe` are never used [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn size(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn contains(&self, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn universe() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialDielectric` is never constructed [INFO] [stdout] --> src/main.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | struct MaterialDielectric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reflectance` is never used [INFO] [stdout] --> src/main.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 228 | impl MaterialDielectric { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 229 | fn reflectance(cosine: f32, ref_idx: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/main.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/main.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 413 | impl HitableList { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `color` is never used [INFO] [stdout] --> src/main.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 448 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 453 | fn color(&self, world: &HitableList) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balls_scene` is never used [INFO] [stdout] --> src/main.rs:654:4 [INFO] [stdout] | [INFO] [stdout] 654 | fn balls_scene() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "7efb60ff6852e3ed63e751b10c7a2e6dae0e02aed6b18ceee183fb4f1a55cd71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efb60ff6852e3ed63e751b10c7a2e6dae0e02aed6b18ceee183fb4f1a55cd71", kill_on_drop: false }` [INFO] [stdout] 7efb60ff6852e3ed63e751b10c7a2e6dae0e02aed6b18ceee183fb4f1a55cd71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1315fd34c6e077cb4021d0e603c7bdaa2691c395429b6173d58ff27ad24cea7 [INFO] running `Command { std: "docker" "start" "-a" "e1315fd34c6e077cb4021d0e603c7bdaa2691c395429b6173d58ff27ad24cea7", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/main.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let mut direction = Vector3::new(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: `y` [INFO] [stdout] --> src/main.rs:557:58 [INFO] [stdout] | [INFO] [stdout] 557 | img.enumerate_rows_mut().par_bridge().for_each(|(y, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_vec3` is never used [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn random_vec3() -> Vector3 { [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 `random_vec3_on_hemisphere` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn random_vec3_on_hemisphere(normal: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn refract(uv: Vector3, n: Vector3, etai_over_etat: f32) -> Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `size`, `contains`, `empty`, and `universe` are never used [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn size(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn contains(&self, x: f32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn universe() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialDielectric` is never constructed [INFO] [stdout] --> src/main.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | struct MaterialDielectric { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reflectance` is never used [INFO] [stdout] --> src/main.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 228 | impl MaterialDielectric { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 229 | fn reflectance(cosine: f32, ref_idx: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/main.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | struct Cube { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/main.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 413 | impl HitableList { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `color` is never used [INFO] [stdout] --> src/main.rs:453:8 [INFO] [stdout] | [INFO] [stdout] 448 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 453 | fn color(&self, world: &HitableList) -> Vector3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balls_scene` is never used [INFO] [stdout] --> src/main.rs:654:4 [INFO] [stdout] | [INFO] [stdout] 654 | fn balls_scene() -> HitableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "e1315fd34c6e077cb4021d0e603c7bdaa2691c395429b6173d58ff27ad24cea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1315fd34c6e077cb4021d0e603c7bdaa2691c395429b6173d58ff27ad24cea7", kill_on_drop: false }` [INFO] [stdout] e1315fd34c6e077cb4021d0e603c7bdaa2691c395429b6173d58ff27ad24cea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9cb4170d683e6dbeca2406e855cc07afbfbeb1f86f5300bdc12fdcef05e74c17 [INFO] running `Command { std: "docker" "start" "-a" "9cb4170d683e6dbeca2406e855cc07afbfbeb1f86f5300bdc12fdcef05e74c17", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `direction` is never read [INFO] [stderr] --> src/main.rs:210:17 [INFO] [stderr] | [INFO] [stderr] 210 | let mut direction = Vector3::new(0.0, 0.0, 0.0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:557:58 [INFO] [stderr] | [INFO] [stderr] 557 | img.enumerate_rows_mut().par_bridge().for_each(|(y, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `random_vec3` is never used [INFO] [stderr] --> src/main.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn random_vec3() -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `random_vec3_on_hemisphere` is never used [INFO] [stderr] --> src/main.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | fn random_vec3_on_hemisphere(normal: Vector3) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `refract` is never used [INFO] [stderr] --> src/main.rs:72:4 [INFO] [stderr] | [INFO] [stderr] 72 | fn refract(uv: Vector3, n: Vector3, etai_over_etat: f32) -> Vector3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `size`, `contains`, `empty`, and `universe` are never used [INFO] [stderr] --> src/main.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 84 | impl Interval { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | fn size(&self) -> f32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | fn contains(&self, x: f32) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | fn universe() -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MaterialDielectric` is never constructed [INFO] [stderr] --> src/main.rs:193:8 [INFO] [stderr] | [INFO] [stderr] 193 | struct MaterialDielectric { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `reflectance` is never used [INFO] [stderr] --> src/main.rs:229:8 [INFO] [stderr] | [INFO] [stderr] 228 | impl MaterialDielectric { [INFO] [stderr] | ----------------------- associated function in this implementation [INFO] [stderr] 229 | fn reflectance(cosine: f32, ref_idx: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Cube` is never constructed [INFO] [stderr] --> src/main.rs:275:8 [INFO] [stderr] | [INFO] [stderr] 275 | struct Cube { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/main.rs:424:8 [INFO] [stderr] | [INFO] [stderr] 413 | impl HitableList { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 424 | fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `color` is never used [INFO] [stderr] --> src/main.rs:453:8 [INFO] [stderr] | [INFO] [stderr] 448 | impl Ray { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 453 | fn color(&self, world: &HitableList) -> Vector3 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `balls_scene` is never used [INFO] [stderr] --> src/main.rs:654:4 [INFO] [stderr] | [INFO] [stderr] 654 | fn balls_scene() -> HitableList { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-60c2475398ce05f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9cb4170d683e6dbeca2406e855cc07afbfbeb1f86f5300bdc12fdcef05e74c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb4170d683e6dbeca2406e855cc07afbfbeb1f86f5300bdc12fdcef05e74c17", kill_on_drop: false }` [INFO] [stdout] 9cb4170d683e6dbeca2406e855cc07afbfbeb1f86f5300bdc12fdcef05e74c17