[INFO] cloning repository https://github.com/rbuch703/rust-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rbuch703/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a539cf49d788181db2c9e46ac38184c6dfaece2 [INFO] checking rbuch703/rust-raytracer against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-raytracer" "/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/rbuch703/rust-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/rbuch703/rust-raytracer [INFO] finished tweaking git repo https://github.com/rbuch703/rust-raytracer [INFO] tweaked toml for git repo https://github.com/rbuch703/rust-raytracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rbuch703/rust-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] 4bd5478d50ddd93a73da90e57c6248275cae69423e3eedd7c1ffbcaed04e86f3 [INFO] running `Command { std: "docker" "start" "-a" "4bd5478d50ddd93a73da90e57c6248275cae69423e3eedd7c1ffbcaed04e86f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bd5478d50ddd93a73da90e57c6248275cae69423e3eedd7c1ffbcaed04e86f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd5478d50ddd93a73da90e57c6248275cae69423e3eedd7c1ffbcaed04e86f3", kill_on_drop: false }` [INFO] [stdout] 4bd5478d50ddd93a73da90e57c6248275cae69423e3eedd7c1ffbcaed04e86f3 [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] 8b8ecd255ca7fabe90a6c77bdf98d8b847791490b337c8cca18db093969f4f77 [INFO] running `Command { std: "docker" "start" "-a" "8b8ecd255ca7fabe90a6c77bdf98d8b847791490b337c8cca18db093969f4f77", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [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 rust-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `readable_objects` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let readable_objects = &*objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readable_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_normal` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_normal( pixel: &mut [u8], n:&Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/math3d.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct BoundingBox { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 152 | min: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | max: Vec3 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rand` is never used [INFO] [stdout] --> src/scene_objects.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn rand(rng: &mut dyn rand::RngCore) -> Material { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> src/scene_objects.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Object3D { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_bounds(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color` is never used [INFO] [stdout] --> src/scene_objects.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl dyn Object3D { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 41 | fn get_color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene_objects.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 118 | pub fn new(point: Vec3, normal: Vec3, material: Material) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readable_objects` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let readable_objects = &*objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readable_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_normal` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_normal( pixel: &mut [u8], n:&Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/math3d.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct BoundingBox { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 152 | min: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | max: Vec3 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rand` is never used [INFO] [stdout] --> src/scene_objects.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn rand(rng: &mut dyn rand::RngCore) -> Material { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> src/scene_objects.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Object3D { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_bounds(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color` is never used [INFO] [stdout] --> src/scene_objects.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl dyn Object3D { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 41 | fn get_color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene_objects.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 118 | pub fn new(point: Vec3, normal: Vec3, material: Material) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.92s [INFO] running `Command { std: "docker" "inspect" "8b8ecd255ca7fabe90a6c77bdf98d8b847791490b337c8cca18db093969f4f77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8ecd255ca7fabe90a6c77bdf98d8b847791490b337c8cca18db093969f4f77", kill_on_drop: false }` [INFO] [stdout] 8b8ecd255ca7fabe90a6c77bdf98d8b847791490b337c8cca18db093969f4f77 [INFO] checking rbuch703/rust-raytracer against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbuch703%2Frust-raytracer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rbuch703/rust-raytracer on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rbuch703/rust-raytracer [INFO] finished tweaking git repo https://github.com/rbuch703/rust-raytracer [INFO] tweaked toml for git repo https://github.com/rbuch703/rust-raytracer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rbuch703/rust-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff107188e9d2ace5e00cf5385cceaea0557de2380016192d267bb1d689c861e3 [INFO] running `Command { std: "docker" "start" "-a" "ff107188e9d2ace5e00cf5385cceaea0557de2380016192d267bb1d689c861e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff107188e9d2ace5e00cf5385cceaea0557de2380016192d267bb1d689c861e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff107188e9d2ace5e00cf5385cceaea0557de2380016192d267bb1d689c861e3", kill_on_drop: false }` [INFO] [stdout] ff107188e9d2ace5e00cf5385cceaea0557de2380016192d267bb1d689c861e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e7b93956619f846d88c8dcbfda83aa3db9b64eca061a9777b665359956e3f18 [INFO] running `Command { std: "docker" "start" "-a" "8e7b93956619f846d88c8dcbfda83aa3db9b64eca061a9777b665359956e3f18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [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 rust-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `readable_objects` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let readable_objects = &*objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readable_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readable_objects` [INFO] [stdout] --> src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let readable_objects = &*objects; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readable_objects` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_normal` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_normal( pixel: &mut [u8], n:&Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/math3d.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct BoundingBox { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 152 | min: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | max: Vec3 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rand` is never used [INFO] [stdout] --> src/scene_objects.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn rand(rng: &mut dyn rand::RngCore) -> Material { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> src/scene_objects.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Object3D { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_bounds(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color` is never used [INFO] [stdout] --> src/scene_objects.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl dyn Object3D { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 41 | fn get_color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene_objects.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 118 | pub fn new(point: Vec3, normal: Vec3, material: Material) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_normal` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn set_normal( pixel: &mut [u8], n:&Vec3) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/math3d.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct BoundingBox { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 152 | min: Vec3, [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | max: Vec3 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rand` is never used [INFO] [stdout] --> src/scene_objects.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn rand(rng: &mut dyn rand::RngCore) -> Material { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bounds` is never used [INFO] [stdout] --> src/scene_objects.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Object3D { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn get_bounds(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_color` is never used [INFO] [stdout] --> src/scene_objects.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl dyn Object3D { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 41 | fn get_color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene_objects.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 118 | pub fn new(point: Vec3, normal: Vec3, material: Material) -> Plane { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "8e7b93956619f846d88c8dcbfda83aa3db9b64eca061a9777b665359956e3f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7b93956619f846d88c8dcbfda83aa3db9b64eca061a9777b665359956e3f18", kill_on_drop: false }` [INFO] [stdout] 8e7b93956619f846d88c8dcbfda83aa3db9b64eca061a9777b665359956e3f18