[INFO] cloning repository https://github.com/uk1324/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uk1324/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuk1324%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuk1324%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 744138defcbe201fae0cc433e549dd30949a6f2d [INFO] checking uk1324/raytracer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuk1324%2Fraytracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uk1324/raytracer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uk1324/raytracer [INFO] finished tweaking git repo https://github.com/uk1324/raytracer [INFO] tweaked toml for git repo https://github.com/uk1324/raytracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/uk1324/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f8093a8c9bb40105ad1a7aa98c8ae707ad9da207b6e441cb4c7bf4e42ad1f0c [INFO] running `Command { std: "docker" "start" "-a" "4f8093a8c9bb40105ad1a7aa98c8ae707ad9da207b6e441cb4c7bf4e42ad1f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f8093a8c9bb40105ad1a7aa98c8ae707ad9da207b6e441cb4c7bf4e42ad1f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8093a8c9bb40105ad1a7aa98c8ae707ad9da207b6e441cb4c7bf4e42ad1f0c", kill_on_drop: false }` [INFO] [stdout] 4f8093a8c9bb40105ad1a7aa98c8ae707ad9da207b6e441cb4c7bf4e42ad1f0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 458388b3b8f78b3f1c353890f8e97f24040dae195eae958cca98d80987bc63c9 [INFO] running `Command { std: "docker" "start" "-a" "458388b3b8f78b3f1c353890f8e97f24040dae195eae958cca98d80987bc63c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.13 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `isotropic::*` [INFO] [stdout] --> src/materials.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use isotropic::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isotropic::*` [INFO] [stdout] --> src/materials.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use isotropic::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/hittable_objects/hittable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/hittable_objects/hittable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_medium::*` [INFO] [stdout] --> src/hittable_objects.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use constant_medium::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant_medium::*` [INFO] [stdout] --> src/hittable_objects.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use constant_medium::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/materials/isotropic.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn scatter(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> src/materials/isotropic.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn color_emmited(&self, uv: Vec2, hit_point: Pt3) -> Color { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_point` [INFO] [stdout] --> src/materials/isotropic.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | fn color_emmited(&self, uv: Vec2, hit_point: Pt3) -> Color { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/materials/isotropic.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn scatter(&self, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> src/materials/isotropic.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn color_emmited(&self, uv: Vec2, hit_point: Pt3) -> Color { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_point` [INFO] [stdout] --> src/materials/isotropic.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | fn color_emmited(&self, uv: Vec2, hit_point: Pt3) -> Color { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for i in 0..BALL_COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balls_scene` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn balls_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_scene` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn test_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `light_scene` is never used [INFO] [stdout] --> src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn light_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_scene` is never used [INFO] [stdout] --> src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn simple_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise_scene` is never used [INFO] [stdout] --> src/main.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn noise_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth_scene` is never used [INFO] [stdout] --> src/main.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn earth_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applied` is never used [INFO] [stdout] --> src/vec2.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Vec2 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn applied(&self, function: fn(f32) -> f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `forward` is never read [INFO] [stdout] --> src/camera.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub forward: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/metal.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(color: &Vec3, fuzz: f32) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(index_of_refraction: f32) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/isotropic.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(albedo: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittable_objects/sphere.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(center: Vec3, radius: f32, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vec` is never used [INFO] [stdout] --> src/hittable_objects/hittable_list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HittableList { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_vec(objects: Vec>) -> HittableList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_hittable_list` are never used [INFO] [stdout] --> src/hittable_objects/bvh_node.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BhvNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 16 | pub fn new(src_objects: &Vec>, start: usize, end: usize) -> BhvNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn from_hittable_list(list: &HittableList) -> BhvNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittable_objects/constant_medium.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(boundary: Arc, phase_function: Arc, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | for i in 0..BALL_COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures/checker_texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(odd: Arc, even: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures/noise_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/textures/image_texture.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_file(path: &Path) -> ImageTexture { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/perlin.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Perlin { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balls_scene` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn balls_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_scene` is never used [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn test_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `light_scene` is never used [INFO] [stdout] --> src/main.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn light_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_scene` is never used [INFO] [stdout] --> src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn simple_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `noise_scene` is never used [INFO] [stdout] --> src/main.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn noise_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth_scene` is never used [INFO] [stdout] --> src/main.rs:193:4 [INFO] [stdout] | [INFO] [stdout] 193 | fn earth_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applied` is never used [INFO] [stdout] --> src/vec2.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Vec2 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn applied(&self, function: fn(f32) -> f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `forward` is never read [INFO] [stdout] --> src/camera.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub forward: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/metal.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(color: &Vec3, fuzz: f32) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/dielectric.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(index_of_refraction: f32) -> Dielectric { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/materials/isotropic.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(albedo: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittable_objects/sphere.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(center: Vec3, radius: f32, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vec` is never used [INFO] [stdout] --> src/hittable_objects/hittable_list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HittableList { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_vec(objects: Vec>) -> HittableList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_hittable_list` are never used [INFO] [stdout] --> src/hittable_objects/bvh_node.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BhvNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 16 | pub fn new(src_objects: &Vec>, start: usize, end: usize) -> BhvNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn from_hittable_list(list: &HittableList) -> BhvNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittable_objects/constant_medium.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(boundary: Arc, phase_function: Arc, density: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures/checker_texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(odd: Arc, even: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures/noise_texture.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/textures/image_texture.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_file(path: &Path) -> ImageTexture { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/perlin.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Perlin { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.89s [INFO] running `Command { std: "docker" "inspect" "458388b3b8f78b3f1c353890f8e97f24040dae195eae958cca98d80987bc63c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458388b3b8f78b3f1c353890f8e97f24040dae195eae958cca98d80987bc63c9", kill_on_drop: false }` [INFO] [stdout] 458388b3b8f78b3f1c353890f8e97f24040dae195eae958cca98d80987bc63c9