[INFO] cloning repository https://github.com/angelocarly/RVK [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angelocarly/RVK" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelocarly%2FRVK", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelocarly%2FRVK'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8a72426f1e777041f726dc5a5dae4ac1606dc13 [INFO] checking angelocarly/RVK against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelocarly%2FRVK" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angelocarly/RVK 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/angelocarly/RVK [INFO] finished tweaking git repo https://github.com/angelocarly/RVK [INFO] tweaked toml for git repo https://github.com/angelocarly/RVK written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/angelocarly/RVK 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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d9ab8905f6fa3ebc954b9a5ec93e1152e74a0ca80945d0cfb217a828c586120b [INFO] running `Command { std: "docker" "start" "-a" "d9ab8905f6fa3ebc954b9a5ec93e1152e74a0ca80945d0cfb217a828c586120b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ab8905f6fa3ebc954b9a5ec93e1152e74a0ca80945d0cfb217a828c586120b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ab8905f6fa3ebc954b9a5ec93e1152e74a0ca80945d0cfb217a828c586120b", kill_on_drop: false }` [INFO] [stdout] d9ab8905f6fa3ebc954b9a5ec93e1152e74a0ca80945d0cfb217a828c586120b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f03636617ff0d2417b9f3df23201959aba31a1d99cf93e7ac70dc93ff4078bc4 [INFO] running `Command { std: "docker" "start" "-a" "f03636617ff0d2417b9f3df23201959aba31a1d99cf93e7ac70dc93ff4078bc4", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking glam v0.23.0 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking RVK v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] 108 + if reader.info().color_type != png::ColorType::Rgb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] 108 + if reader.info().color_type != png::ColorType::Rgb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `miss` [INFO] [stdout] --> src/main.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | rays::CastResult::Miss( miss ) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_miss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn process( cs: &mut ColorSink ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_width` and `get_height` are never used [INFO] [stdout] --> src/image.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ColorSink { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 32 | pub fn get_width(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_height(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/image.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ColorSink { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_pixel(&mut self, x: u32, y: u32 ) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_png_image` is never used [INFO] [stdout] --> src/image.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn read_png_image( path: &str ) -> ColorSink { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `distance`, `normal`, `shape`, `bounces`, and `cum_length` are never read [INFO] [stdout] --> src/rays.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Hit<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub normal: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub shape: &'a Box< dyn Hittable >, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `bounces`, `cum_length`, and `weight` are never read [INFO] [stdout] --> src/rays.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Miss { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | weight: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/rays.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | pub color: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EPSILON` should have a snake case name [INFO] [stdout] --> src/rays.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let EPSILON = 0.0001; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `epsilon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `miss` [INFO] [stdout] --> src/main.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | rays::CastResult::Miss( miss ) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_miss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn process( cs: &mut ColorSink ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_width` and `get_height` are never used [INFO] [stdout] --> src/image.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ColorSink { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 32 | pub fn get_width(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_height(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/image.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ColorSink { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_pixel(&mut self, x: u32, y: u32 ) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_png_image` is never used [INFO] [stdout] --> src/image.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn read_png_image( path: &str ) -> ColorSink { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `distance`, `normal`, `shape`, `bounces`, and `cum_length` are never read [INFO] [stdout] --> src/rays.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Hit<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub normal: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub shape: &'a Box< dyn Hittable >, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `bounces`, `cum_length`, and `weight` are never read [INFO] [stdout] --> src/rays.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Miss { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | weight: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/rays.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | pub color: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EPSILON` should have a snake case name [INFO] [stdout] --> src/rays.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let EPSILON = 0.0001; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `epsilon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "f03636617ff0d2417b9f3df23201959aba31a1d99cf93e7ac70dc93ff4078bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03636617ff0d2417b9f3df23201959aba31a1d99cf93e7ac70dc93ff4078bc4", kill_on_drop: false }` [INFO] [stdout] f03636617ff0d2417b9f3df23201959aba31a1d99cf93e7ac70dc93ff4078bc4 [INFO] checking angelocarly/RVK against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelocarly%2FRVK" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angelocarly/RVK 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/angelocarly/RVK [INFO] finished tweaking git repo https://github.com/angelocarly/RVK [INFO] tweaked toml for git repo https://github.com/angelocarly/RVK written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/angelocarly/RVK 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8a98e80ff19bb726bd60a718a429afddedbfb731d84797a81d93e307d7a91a0d [INFO] running `Command { std: "docker" "start" "-a" "8a98e80ff19bb726bd60a718a429afddedbfb731d84797a81d93e307d7a91a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a98e80ff19bb726bd60a718a429afddedbfb731d84797a81d93e307d7a91a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a98e80ff19bb726bd60a718a429afddedbfb731d84797a81d93e307d7a91a0d", kill_on_drop: false }` [INFO] [stdout] 8a98e80ff19bb726bd60a718a429afddedbfb731d84797a81d93e307d7a91a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d05403548a8ae029457f55c164c1d24c30b8af45547beb960b51150d507cb12a [INFO] running `Command { std: "docker" "start" "-a" "d05403548a8ae029457f55c164c1d24c30b8af45547beb960b51150d507cb12a", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking glam v0.23.0 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking RVK v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] 108 + if reader.info().color_type != png::ColorType::Rgb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `miss` [INFO] [stdout] --> src/main.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | rays::CastResult::Miss( miss ) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_miss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn process( cs: &mut ColorSink ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_width` and `get_height` are never used [INFO] [stdout] --> src/image.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ColorSink { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 32 | pub fn get_width(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_height(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/image.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ColorSink { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_pixel(&mut self, x: u32, y: u32 ) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_png_image` is never used [INFO] [stdout] --> src/image.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn read_png_image( path: &str ) -> ColorSink { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `distance`, `normal`, `shape`, `bounces`, and `cum_length` are never read [INFO] [stdout] --> src/rays.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Hit<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub normal: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub shape: &'a Box< dyn Hittable >, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `bounces`, `cum_length`, and `weight` are never read [INFO] [stdout] --> src/rays.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Miss { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | weight: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/rays.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | pub color: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EPSILON` should have a snake case name [INFO] [stdout] --> src/rays.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let EPSILON = 0.0001; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `epsilon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/image.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - if( reader.info().color_type != png::ColorType::Rgb ) { [INFO] [stdout] 108 + if reader.info().color_type != png::ColorType::Rgb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `miss` [INFO] [stdout] --> src/main.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | rays::CastResult::Miss( miss ) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_miss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn process( cs: &mut ColorSink ) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_width` and `get_height` are never used [INFO] [stdout] --> src/image.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ColorSink { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 32 | pub fn get_width(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_height(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel` is never used [INFO] [stdout] --> src/image.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ColorSink { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_pixel(&mut self, x: u32, y: u32 ) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_png_image` is never used [INFO] [stdout] --> src/image.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn read_png_image( path: &str ) -> ColorSink { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `distance`, `normal`, `shape`, `bounces`, and `cum_length` are never read [INFO] [stdout] --> src/rays.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Hit<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub normal: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub shape: &'a Box< dyn Hittable >, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `bounces`, `cum_length`, and `weight` are never read [INFO] [stdout] --> src/rays.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Miss { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | pub position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub bounces: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub cum_length: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | weight: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/rays.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | pub color: Vec3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EPSILON` should have a snake case name [INFO] [stdout] --> src/rays.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | let EPSILON = 0.0001; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `epsilon` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "d05403548a8ae029457f55c164c1d24c30b8af45547beb960b51150d507cb12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05403548a8ae029457f55c164c1d24c30b8af45547beb960b51150d507cb12a", kill_on_drop: false }` [INFO] [stdout] d05403548a8ae029457f55c164c1d24c30b8af45547beb960b51150d507cb12a