[INFO] cloning repository https://github.com/SolarLiner/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/SolarLiner/raytracer.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarLiner%2Fraytracer.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarLiner%2Fraytracer.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e553b6dafae47a8edde079920a5d49ae96edca2 [INFO] checking SolarLiner/raytracer.rs against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarLiner%2Fraytracer.rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SolarLiner/raytracer.rs [INFO] finished tweaking git repo https://github.com/SolarLiner/raytracer.rs [INFO] tweaked toml for git repo https://github.com/SolarLiner/raytracer.rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SolarLiner/raytracer.rs on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SolarLiner/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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4 [INFO] running `Command { std: "docker" "start" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transform3` [INFO] [stdout] --> src/objects.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::{EuclideanSpace, InnerSpace, Matrix4, Transform, Transform3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/objects.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricSpace` [INFO] [stdout] --> src/sdf.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{EuclideanSpace, InnerSpace, MetricSpace, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/objects.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::EPSILON; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/objects.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | if dist < EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/scene.rs:96:58 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(h) = self.world.hit(&ray, 0.001, INFINITY) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f64::EPSILON; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:204:47 [INFO] [stdout] | [INFO] [stdout] 204 | self.sdf(pos + V3::unit_x() * EPSILON) - self.sdf(pos - V3::unit_x() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:204:88 [INFO] [stdout] | [INFO] [stdout] 204 | self.sdf(pos + V3::unit_x() * EPSILON) - self.sdf(pos - V3::unit_x() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:205:47 [INFO] [stdout] | [INFO] [stdout] 205 | self.sdf(pos + V3::unit_y() * EPSILON) - self.sdf(pos - V3::unit_y() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:205:88 [INFO] [stdout] | [INFO] [stdout] 205 | self.sdf(pos + V3::unit_y() * EPSILON) - self.sdf(pos - V3::unit_y() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:206:47 [INFO] [stdout] | [INFO] [stdout] 206 | self.sdf(pos + V3::unit_z() * EPSILON) - self.sdf(pos - V3::unit_z() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:206:88 [INFO] [stdout] | [INFO] [stdout] 206 | self.sdf(pos + V3::unit_z() * EPSILON) - self.sdf(pos - V3::unit_z() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform3` [INFO] [stdout] --> src/objects.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::{EuclideanSpace, InnerSpace, Matrix4, Transform, Transform3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/objects.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricSpace` [INFO] [stdout] --> src/sdf.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{EuclideanSpace, InnerSpace, MetricSpace, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/objects.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::EPSILON; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/objects.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | if dist < EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64` [INFO] [stdout] --> src/scene.rs:96:58 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(h) = self.world.hit(&ray, 0.001, INFINITY) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f64::EPSILON; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:204:47 [INFO] [stdout] | [INFO] [stdout] 204 | self.sdf(pos + V3::unit_x() * EPSILON) - self.sdf(pos - V3::unit_x() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:204:88 [INFO] [stdout] | [INFO] [stdout] 204 | self.sdf(pos + V3::unit_x() * EPSILON) - self.sdf(pos - V3::unit_x() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:205:47 [INFO] [stdout] | [INFO] [stdout] 205 | self.sdf(pos + V3::unit_y() * EPSILON) - self.sdf(pos - V3::unit_y() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:205:88 [INFO] [stdout] | [INFO] [stdout] 205 | self.sdf(pos + V3::unit_y() * EPSILON) - self.sdf(pos - V3::unit_y() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:206:47 [INFO] [stdout] | [INFO] [stdout] 206 | self.sdf(pos + V3::unit_z() * EPSILON) - self.sdf(pos - V3::unit_z() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/sdf.rs:206:88 [INFO] [stdout] | [INFO] [stdout] 206 | self.sdf(pos + V3::unit_z() * EPSILON) - self.sdf(pos - V3::unit_z() * EPSILON), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/traits.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{InnerSpace, Point3, Vector3, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/traits.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{InnerSpace, Point3, Vector3, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/sky.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let theta = dir.y.atan2(dir.x); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/sky.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let phi = dir.z.acos(); // Assuming dir is constant [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sky` is never constructed [INFO] [stdout] --> src/material.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Bounce { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 82 | Sky(Ray), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounce` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_copy` is never used [INFO] [stdout] --> src/sdf.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Positioned { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn map_copy U>(&self, mapper: F) -> Positioned { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sdf_d` is never used [INFO] [stdout] --> src/sdf.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Positioned { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn sdf_d(&self, pos: P3) -> V3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sun_color` is never used [INFO] [stdout] --> src/sky.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sky { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn sun_color(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn random_in_hemisphere(rng: &mut ThreadRng, normal: V3) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `config::Camera` [INFO] [stdout] --> src/scene.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | camera: scn.camera.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 38 - camera: scn.camera.into(), [INFO] [stdout] 38 + camera: scn.camera, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 38 - camera: scn.camera.into(), [INFO] [stdout] 38 + camera: >::into(scn.camera), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/sky.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let theta = dir.y.atan2(dir.x); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/sky.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let phi = dir.z.acos(); // Assuming dir is constant [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sky` is never constructed [INFO] [stdout] --> src/material.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Bounce { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 82 | Sky(Ray), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounce` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_copy` is never used [INFO] [stdout] --> src/sdf.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Positioned { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn map_copy U>(&self, mapper: F) -> Positioned { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sdf_d` is never used [INFO] [stdout] --> src/sdf.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Positioned { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn sdf_d(&self, pos: P3) -> V3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sun_color` is never used [INFO] [stdout] --> src/sky.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sky { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn sun_color(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn random_in_hemisphere(rng: &mut ThreadRng, normal: V3) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `config::Camera` [INFO] [stdout] --> src/scene.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | camera: scn.camera.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 38 - camera: scn.camera.into(), [INFO] [stdout] 38 + camera: scn.camera, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 38 - camera: scn.camera.into(), [INFO] [stdout] 38 + camera: >::into(scn.camera), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 1 previous error; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4", kill_on_drop: false }` [INFO] [stdout] c37af5052fc05faa4ed1dfce64604f1ba4d7434c311a6ea0db48e54578d941d4