[INFO] cloning repository https://github.com/exastion/raytrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exastion/raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexastion%2Fraytrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexastion%2Fraytrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26f528f4cbd398b0fa2e2ec36e743abef71ced81 [INFO] checking exastion/raytrace against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexastion%2Fraytrace" "/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/exastion/raytrace 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/exastion/raytrace [INFO] finished tweaking git repo https://github.com/exastion/raytrace [INFO] tweaked toml for git repo https://github.com/exastion/raytrace written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/exastion/raytrace 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.16.1 [INFO] [stderr] Downloaded image v0.23.2 [INFO] [stderr] Downloaded deflate v0.8.3 [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] cfb3a622ab814c5758239f04c480296a75f2d18b5dd585cdc0f84e07e4485132 [INFO] running `Command { std: "docker" "start" "-a" "cfb3a622ab814c5758239f04c480296a75f2d18b5dd585cdc0f84e07e4485132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb3a622ab814c5758239f04c480296a75f2d18b5dd585cdc0f84e07e4485132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb3a622ab814c5758239f04c480296a75f2d18b5dd585cdc0f84e07e4485132", kill_on_drop: false }` [INFO] [stdout] cfb3a622ab814c5758239f04c480296a75f2d18b5dd585cdc0f84e07e4485132 [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] 0eff23450d556808dce03613827e336f62ea981453073812708bcf3aff64c01b [INFO] running `Command { std: "docker" "start" "-a" "0eff23450d556808dce03613827e336f62ea981453073812708bcf3aff64c01b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking gif v0.10.3 [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.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking png v0.16.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.2 [INFO] [stderr] Checking raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::color::Color` [INFO] [stdout] --> src/core/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::renderer::Renderer` [INFO] [stdout] --> src/rt/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbImage` [INFO] [stdout] --> src/rt/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::RgbImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::color::Color` [INFO] [stdout] --> src/core/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::color::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::renderer::Renderer` [INFO] [stdout] --> src/rt/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbImage` [INFO] [stdout] --> src/rt/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image::RgbImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let v = Vector::new(1.0, 1.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBox` is never constructed [INFO] [stdout] --> src/rt/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BBox { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rt/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BBox { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(min: Point, max: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn full() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn extend(&mut self, other: BBox) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn intersect(self, ray: Ray) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_unbound(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn contains(self, other: BBox) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn contains_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intersection` is never constructed [INFO] [stdout] --> src/rt/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Intersection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hit_point`, `normal`, and `local` are never used [INFO] [stdout] --> src/rt/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Intersection { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 78 | pub fn new(distance: f64, ray: Ray, /*solid: Solid, */n: Vector, uv: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn hit_point(self) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn normal(self) -> Vector { self.n } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | [INFO] [stdout] 88 | pub fn local(self) -> Point { self.uv } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Primitive` is never used [INFO] [stdout] --> src/rt/mod.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/rt/renderer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rt/renderer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Renderer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_point` are never used [INFO] [stdout] --> src/rt/ray.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(o: Point, d: Vector) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn get_point(self, distance: f64) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Camera` is never used [INFO] [stdout] --> src/rt/camera/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericCamera` is never constructed [INFO] [stdout] --> src/rt/camera/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GenericCamera { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrthographicCamera` is never constructed [INFO] [stdout] --> src/rt/camera/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OrthographicCamera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerspectiveCamera` is never constructed [INFO] [stdout] --> src/rt/camera/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PerspectiveCamera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rt/camera/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl OrthographicCamera { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 27 | /// Creates a new orthographic camera. [INFO] [stdout] 28 | pub fn new(o: Point, d: Vector, up: Vector, scale_x: f64, scale_y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rt/camera/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl PerspectiveCamera { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 46 | /// Creates a new perspective camera. [INFO] [stdout] 47 | pub fn new(o: Point, d: Vector, up: Vector, h: f64, v: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `previousBestDistance` should have a snake case name [INFO] [stdout] --> src/rt/mod.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | fn intersect(ray: Ray, previousBestDistance: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `previous_best_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let v = Vector::new(1.0, 1.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBox` is never constructed [INFO] [stdout] --> src/rt/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BBox { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rt/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BBox { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(min: Point, max: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn full() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn extend(&mut self, other: BBox) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn intersect(self, ray: Ray) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_unbound(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn contains(self, other: BBox) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn contains_point(self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_empty(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Intersection` is never constructed [INFO] [stdout] --> src/rt/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Intersection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `hit_point`, `normal`, and `local` are never used [INFO] [stdout] --> src/rt/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Intersection { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 78 | pub fn new(distance: f64, ray: Ray, /*solid: Solid, */n: Vector, uv: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn hit_point(self) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn normal(self) -> Vector { self.n } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | [INFO] [stdout] 88 | pub fn local(self) -> Point { self.uv } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Primitive` is never used [INFO] [stdout] --> src/rt/mod.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/rt/renderer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rt/renderer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Renderer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Camera` is never used [INFO] [stdout] --> src/rt/camera/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GenericCamera` is never constructed [INFO] [stdout] --> src/rt/camera/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GenericCamera { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrthographicCamera` is never constructed [INFO] [stdout] --> src/rt/camera/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OrthographicCamera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerspectiveCamera` is never constructed [INFO] [stdout] --> src/rt/camera/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct PerspectiveCamera { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rt/camera/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl OrthographicCamera { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 27 | /// Creates a new orthographic camera. [INFO] [stdout] 28 | pub fn new(o: Point, d: Vector, up: Vector, scale_x: f64, scale_y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rt/camera/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl PerspectiveCamera { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 46 | /// Creates a new perspective camera. [INFO] [stdout] 47 | pub fn new(o: Point, d: Vector, up: Vector, h: f64, v: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `previousBestDistance` should have a snake case name [INFO] [stdout] --> src/rt/mod.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | fn intersect(ray: Ray, previousBestDistance: f64) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `previous_best_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.61s [INFO] running `Command { std: "docker" "inspect" "0eff23450d556808dce03613827e336f62ea981453073812708bcf3aff64c01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eff23450d556808dce03613827e336f62ea981453073812708bcf3aff64c01b", kill_on_drop: false }` [INFO] [stdout] 0eff23450d556808dce03613827e336f62ea981453073812708bcf3aff64c01b