[INFO] cloning repository https://github.com/camas/ray-tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/camas/ray-tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fray-tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fray-tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba22c901f941c1c59d851242c506c4fe28306b89 [INFO] checking camas/ray-tracing against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fray-tracing" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/camas/ray-tracing on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/camas/ray-tracing [INFO] finished tweaking git repo https://github.com/camas/ray-tracing [INFO] tweaked toml for git repo https://github.com/camas/ray-tracing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/camas/ray-tracing 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded terminal_size v0.1.12 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded indicatif v0.14.0 [INFO] [stderr] Downloaded tiff v0.4.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.2 [INFO] [stderr] Downloaded png v0.16.4 [INFO] [stderr] Downloaded deflate v0.8.4 [INFO] [stderr] Downloaded image v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 991b8e569fbea32e464ddc6ef0b3d22c774894037f7c7b0c36549f8de263337a [INFO] running `Command { std: "docker" "start" "-a" "991b8e569fbea32e464ddc6ef0b3d22c774894037f7c7b0c36549f8de263337a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "991b8e569fbea32e464ddc6ef0b3d22c774894037f7c7b0c36549f8de263337a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991b8e569fbea32e464ddc6ef0b3d22c774894037f7c7b0c36549f8de263337a", kill_on_drop: false }` [INFO] [stdout] 991b8e569fbea32e464ddc6ef0b3d22c774894037f7c7b0c36549f8de263337a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f082be38ca4e565679e2551cc6d8d83f04c8656ee5941f4957128554d42b9e2 [INFO] running `Command { std: "docker" "start" "-a" "4f082be38ca4e565679e2551cc6d8d83f04c8656ee5941f4957128554d42b9e2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking png v0.16.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambertian`, and `Metal` [INFO] [stdout] --> src/hittable.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::material::{Dielectric, Lambertian, Material, Metal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/hittable.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambertian`, and `Metal` [INFO] [stdout] --> src/hittable.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::material::{Dielectric, Lambertian, Material, Metal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Standard`, and `Uniform` [INFO] [stdout] --> src/hittable.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/hittable.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/hittable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/hittable.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Standard`, and `Uniform` [INFO] [stdout] --> src/hittable.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution` and `Standard` [INFO] [stdout] --> src/texture.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/hittable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `SeedableRng` [INFO] [stdout] --> src/texture.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/hittable.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution` and `Standard` [INFO] [stdout] --> src/texture.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StarTexture` [INFO] [stdout] --> src/world.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::texture::{Checker, ImageTexture, SolidColor, StarTexture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `SeedableRng` [INFO] [stdout] --> src/texture.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/world.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StarTexture` [INFO] [stdout] --> src/world.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::texture::{Checker, ImageTexture, SolidColor, StarTexture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/world.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/material.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 158 | let target: Point3 = rec.point + rec.normal.conv() + rand_unit_vector(rng, uniform_unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/material.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 158 | let target: Point3 = rec.point + rec.normal.conv() + rand_unit_vector(rng, uniform_unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/hittable.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/hittable.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/hittable.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/hittable.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/material.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/material.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | rec: &HitRecord, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | rec: &HitRecord, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/material.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | rng: &mut ThreadRng, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/material.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | rng: &mut ThreadRng, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_unit` [INFO] [stdout] --> src/material.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | uniform_unit: &Uniform, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_unit` [INFO] [stdout] --> src/material.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | uniform_unit: &Uniform, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/texture.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/texture.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/texture.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/texture.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/world.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/world.rs:390:37 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/world.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/world.rs:390:37 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray_tracing::image::Image` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ray_tracing::image::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambertian`, and `Metal` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use ray_tracing::material::{Dielectric, Lambertian, Metal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray_tracing::image::Image` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ray_tracing::image::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use ray_tracing::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambertian`, and `Metal` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use ray_tracing::material::{Dielectric, Lambertian, Metal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use ray_tracing::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `Command { std: "docker" "inspect" "4f082be38ca4e565679e2551cc6d8d83f04c8656ee5941f4957128554d42b9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f082be38ca4e565679e2551cc6d8d83f04c8656ee5941f4957128554d42b9e2", kill_on_drop: false }` [INFO] [stdout] 4f082be38ca4e565679e2551cc6d8d83f04c8656ee5941f4957128554d42b9e2 [INFO] checking camas/ray-tracing against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamas%2Fray-tracing" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/camas/ray-tracing on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/camas/ray-tracing [INFO] finished tweaking git repo https://github.com/camas/ray-tracing [INFO] tweaked toml for git repo https://github.com/camas/ray-tracing written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/camas/ray-tracing 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63fa46f3f59b46bb76b5cc82e64b5bcd8cbb7e94b5e6f5a07f5a70471d33625d [INFO] running `Command { std: "docker" "start" "-a" "63fa46f3f59b46bb76b5cc82e64b5bcd8cbb7e94b5e6f5a07f5a70471d33625d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63fa46f3f59b46bb76b5cc82e64b5bcd8cbb7e94b5e6f5a07f5a70471d33625d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63fa46f3f59b46bb76b5cc82e64b5bcd8cbb7e94b5e6f5a07f5a70471d33625d", kill_on_drop: false }` [INFO] [stdout] 63fa46f3f59b46bb76b5cc82e64b5bcd8cbb7e94b5e6f5a07f5a70471d33625d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba350a5a78c9f7e9225afb11691ecffdba27fa01ddb18d543bbe081af141fe09 [INFO] running `Command { std: "docker" "start" "-a" "ba350a5a78c9f7e9225afb11691ecffdba27fa01ddb18d543bbe081af141fe09", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking png v0.16.4 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking indicatif v0.14.0 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambertian`, and `Metal` [INFO] [stdout] --> src/hittable.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::material::{Dielectric, Lambertian, Material, Metal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/hittable.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Standard`, and `Uniform` [INFO] [stdout] --> src/hittable.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/hittable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/hittable.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution` and `Standard` [INFO] [stdout] --> src/texture.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `SeedableRng` [INFO] [stdout] --> src/texture.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StarTexture` [INFO] [stdout] --> src/world.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::texture::{Checker, ImageTexture, SolidColor, StarTexture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/world.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric`, `Lambertian`, and `Metal` [INFO] [stdout] --> src/hittable.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::material::{Dielectric, Lambertian, Material, Metal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/hittable.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Standard`, and `Uniform` [INFO] [stdout] --> src/hittable.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Distribution, Standard, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/hittable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/hittable.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution` and `Standard` [INFO] [stdout] --> src/texture.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `SeedableRng` [INFO] [stdout] --> src/texture.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StarTexture` [INFO] [stdout] --> src/world.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::texture::{Checker, ImageTexture, SolidColor, StarTexture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/world.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{Color, Point3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/material.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 158 | let target: Point3 = rec.point + rec.normal.conv() + rand_unit_vector(rng, uniform_unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/material.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 158 | let target: Point3 = rec.point + rec.normal.conv() + rand_unit_vector(rng, uniform_unit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/hittable.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/hittable.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/hittable.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/hittable.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/material.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | rec: &HitRecord, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/material.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | rng: &mut ThreadRng, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_unit` [INFO] [stdout] --> src/material.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | uniform_unit: &Uniform, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/material.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/texture.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/texture.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/material.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | rec: &HitRecord, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/material.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | rng: &mut ThreadRng, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform_unit` [INFO] [stdout] --> src/material.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | uniform_unit: &Uniform, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/texture.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/texture.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(seed: u64, count: u32) -> StarTexture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/texture.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn value(&self, u: f64, v: f64, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/world.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/world.rs:390:37 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/world.rs:390:28 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/world.rs:390:37 [INFO] [stdout] | [INFO] [stdout] 390 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hittable.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(center: Point3, radius: f64, material: T) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | material: Box::new(material), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hittable.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 135 | material: T, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | material: Box::new(material), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/image.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_png>(self, path: P) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | / image::save_buffer_with_format( [INFO] [stdout] 99 | | path, [INFO] [stdout] 100 | | &data, [INFO] [stdout] 101 | | self.width, [INFO] [stdout] ... | [INFO] [stdout] 104 | | image::ImageFormat::Png, [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(albedo: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Self { [INFO] [stdout] 31 | albedo: Box::new(albedo), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(albedo: T, color: Color) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self { [INFO] [stdout] 143 | albedo: Box::new(albedo), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hittable.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(center: Point3, radius: f64, material: T) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | material: Box::new(material), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hittable.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 135 | material: T, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | material: Box::new(material), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/image.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_png>(self, path: P) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | / image::save_buffer_with_format( [INFO] [stdout] 99 | | path, [INFO] [stdout] 100 | | &data, [INFO] [stdout] 101 | | self.width, [INFO] [stdout] ... | [INFO] [stdout] 104 | | image::ImageFormat::Png, [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(albedo: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Self { [INFO] [stdout] 31 | albedo: Box::new(albedo), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/material.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(albedo: T, color: Color) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self { [INFO] [stdout] 143 | albedo: Box::new(albedo), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing` (lib test) due to 6 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ray-tracing` (lib) due to 6 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ba350a5a78c9f7e9225afb11691ecffdba27fa01ddb18d543bbe081af141fe09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba350a5a78c9f7e9225afb11691ecffdba27fa01ddb18d543bbe081af141fe09", kill_on_drop: false }` [INFO] [stdout] ba350a5a78c9f7e9225afb11691ecffdba27fa01ddb18d543bbe081af141fe09