[INFO] cloning repository https://github.com/leoherbsthofer/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/leoherbsthofer/rust_raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoherbsthofer%2Frust_raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoherbsthofer%2Frust_raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13d7f8bace0d1ac69a10ce4c262be75cd581efa6 [INFO] checking leoherbsthofer/rust_raytracer against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleoherbsthofer%2Frust_raytracer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leoherbsthofer/rust_raytracer on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leoherbsthofer/rust_raytracer [INFO] finished tweaking git repo https://github.com/leoherbsthofer/rust_raytracer [INFO] tweaked toml for git repo https://github.com/leoherbsthofer/rust_raytracer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/leoherbsthofer/rust_raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a8efa21ca80640de2507a525667742b5a201303c9156b07669560386dd98180 [INFO] running `Command { std: "docker" "start" "-a" "9a8efa21ca80640de2507a525667742b5a201303c9156b07669560386dd98180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a8efa21ca80640de2507a525667742b5a201303c9156b07669560386dd98180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8efa21ca80640de2507a525667742b5a201303c9156b07669560386dd98180", kill_on_drop: false }` [INFO] [stdout] 9a8efa21ca80640de2507a525667742b5a201303c9156b07669560386dd98180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c121714b8b9301aa6a5ee0a3665e32765ded5f43a49af13653d55eb8f80abe8c [INFO] running `Command { std: "docker" "start" "-a" "c121714b8b9301aa6a5ee0a3665e32765ded5f43a49af13653d55eb8f80abe8c", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling sdl2 v0.34.1 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking dyn-clone v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling sdl2-sys v0.34.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking threadpool v1.8.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.4 [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/hitable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/sphere.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::texture::{Texture, UVCoords}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::error::LimitErrorKind::DimensionError` [INFO] [stdout] --> src/dielectric.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use image::error::LimitErrorKind::DimensionError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image_output::ImageOutput` [INFO] [stdout] --> src/render_engine_multithread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::image_output::ImageOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/render_engine_multithread.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/render_engine_multithread.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture`, `WindowCanvas` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::render::{WindowCanvas, Texture}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/AABB.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{min, max}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image_output::ImageOutput` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::image_output::ImageOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::log::Category::Render` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use sdl2::log::Category::Render; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bvh_node::BVHNode` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::bvh_node::BVHNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> src/hitable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/sphere.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::texture::{Texture, UVCoords}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::error::LimitErrorKind::DimensionError` [INFO] [stdout] --> src/dielectric.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use image::error::LimitErrorKind::DimensionError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image_output::ImageOutput` [INFO] [stdout] --> src/render_engine_multithread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::image_output::ImageOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/render_engine_multithread.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Sender` [INFO] [stdout] --> src/render_engine_multithread.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::EventPump` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::EventPump; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Texture`, `WindowCanvas` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::render::{WindowCanvas, Texture}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::rect::{Point, Rect}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/AABB.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{min, max}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::image_output::ImageOutput` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::image_output::ImageOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::log::Category::Render` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use sdl2::log::Category::Render; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bvh_node::BVHNode` [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::bvh_node::BVHNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let n = 500; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/image_output.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | fn save (&mut self, path: &str, info: RenderInformation) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/image_output.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_row(&mut self, y: usize, c: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/image_output.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_row(&mut self, y: usize, c: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/sphere.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/sphere.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `outward_normal` is never read [INFO] [stdout] --> src/dielectric.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut outward_normal = Vector3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/render_engine_multithread.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | for s in 0..ns { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emissive` [INFO] [stdout] --> src/render_engine_multithread.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let mut emissive = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emissive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emission` [INFO] [stdout] --> src/render_engine_multithread.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let mut emission = Vector3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn save(&mut self, path: &str, info: RenderInformation) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn save(&mut self, path: &str, info: RenderInformation) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | texture.with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | for y in 0..height { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/bvh_node.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/bvh_node.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/solid_color_texture.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | fn value(&self, u: f64, v: f64, p: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/solid_color_texture.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn value(&self, u: f64, v: f64, p: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/solid_color_texture.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | fn value(&self, u: f64, v: f64, p: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let n = 500; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/image_output.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | fn save (&mut self, path: &str, info: RenderInformation) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/image_output.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_row(&mut self, y: usize, c: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/image_output.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn set_row(&mut self, y: usize, c: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/sphere.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/sphere.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `outward_normal` is never read [INFO] [stdout] --> src/dielectric.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut outward_normal = Vector3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/render_engine_multithread.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | for s in 0..ns { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emissive` [INFO] [stdout] --> src/render_engine_multithread.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let mut emissive = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emissive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emission` [INFO] [stdout] --> src/render_engine_multithread.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let mut emission = Vector3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn save(&mut self, path: &str, info: RenderInformation) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn save(&mut self, path: &str, info: RenderInformation) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pitch` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | texture.with_lock(None, |buffer: &mut [u8], pitch: usize| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | for y in 0..height { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/bvh_node.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/bvh_node.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/solid_color_texture.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | fn value(&self, u: f64, v: f64, p: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/solid_color_texture.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn value(&self, u: f64, v: f64, p: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/solid_color_texture.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | fn value(&self, u: f64, v: f64, p: Vector3) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_output.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | for mut i in self.pixels.iter_mut() { //remap pixel between 0 and 1 [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/image_output.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | for mut i in self.pixels.iter_mut() { //remap pixel between 0 and 1 [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dielectric.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut reflect_prob: f64; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dielectric.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut cosine: f64; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render_engine_multithread.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut emissive = false; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render_engine_multithread.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut emission = Vector3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dielectric.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut reflect_prob: f64; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dielectric.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut cosine: f64; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render_engine_multithread.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut emissive = false; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render_engine_multithread.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let mut emission = Vector3::new(0.0, 0.0, 0.0); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/image_output.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new (width: u32, height: u32) -> ImageOutput { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remap_pixel_range` [INFO] [stdout] --> src/image_output.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn remap_pixel_range(&mut self, max_brightness: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_sdl_color` [INFO] [stdout] --> src/color.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_sdl_color(&self) -> sdl2::pixels::Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duplicate` [INFO] [stdout] --> src/scene.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn duplicate(&self) -> Scene { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/moving_sphere.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(center0: Vector3, center1: Vector3, t0: f64, t1: f64, radius: f64, material: Box) -> MovingSphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_compare` [INFO] [stdout] --> src/bvh_node.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn box_compare(a: &Arc, b: &Arc, axis: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_x_compare` [INFO] [stdout] --> src/bvh_node.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn box_x_compare(a: &Arc, b: &Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_y_compare` [INFO] [stdout] --> src/bvh_node.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn box_y_compare(a: &Arc, b: &Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_z_compare` [INFO] [stdout] --> src/bvh_node.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn box_z_compare(a: &Arc, b: &Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bvh_node.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(src_objects: Vec>, start: usize, end: usize, time0: f64, time1: f64) -> BVHNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn random_scene(scene: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AABB` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mod AABB; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `aabb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/image_output.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new (width: u32, height: u32) -> ImageOutput { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remap_pixel_range` [INFO] [stdout] --> src/image_output.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn remap_pixel_range(&mut self, max_brightness: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_sdl_color` [INFO] [stdout] --> src/color.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn to_sdl_color(&self) -> sdl2::pixels::Color { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duplicate` [INFO] [stdout] --> src/scene.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn duplicate(&self) -> Scene { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/moving_sphere.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(center0: Vector3, center1: Vector3, t0: f64, t1: f64, radius: f64, material: Box) -> MovingSphere { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_compare` [INFO] [stdout] --> src/bvh_node.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn box_compare(a: &Arc, b: &Arc, axis: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_x_compare` [INFO] [stdout] --> src/bvh_node.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn box_x_compare(a: &Arc, b: &Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_y_compare` [INFO] [stdout] --> src/bvh_node.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn box_y_compare(a: &Arc, b: &Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_z_compare` [INFO] [stdout] --> src/bvh_node.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn box_z_compare(a: &Arc, b: &Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bvh_node.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(src_objects: Vec>, start: usize, end: usize, time0: f64, time1: f64) -> BVHNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn random_scene(scene: &mut Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RGB` should have a snake case name [INFO] [stdout] --> src/color.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn RGB(r: u8, g: u8, b: u8) -> Color { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AABB` should have a snake case name [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mod AABB; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `aabb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RGB` should have a snake case name [INFO] [stdout] --> src/color.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn RGB(r: u8, g: u8, b: u8) -> Color { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newTime` should have a snake case name [INFO] [stdout] --> src/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn newTime(origin: Vector3, direction: Vector3, time: f64) -> Ray { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newTime` should have a snake case name [INFO] [stdout] --> src/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn newTime(origin: Vector3, direction: Vector3, time: f64) -> Ray { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render_engine_multithread.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / tx.send(RenderThreadResult { [INFO] [stdout] 87 | | row: j, [INFO] [stdout] 88 | | pixel: row, [INFO] [stdout] 89 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.render_end_window(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | self.sdl_thread.take().unwrap().join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / self.send_vec.pop().unwrap().send(SetPixelResultRow { [INFO] [stdout] 46 | | y, [INFO] [stdout] 47 | | c, [INFO] [stdout] 48 | | is_real_value: true, [INFO] [stdout] 49 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | SDLOutput::start_sdl_window(width, height, rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/render_engine_multithread.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / tx.send(RenderThreadResult { [INFO] [stdout] 87 | | row: j, [INFO] [stdout] 88 | | pixel: row, [INFO] [stdout] 89 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.render_end_window(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | self.sdl_thread.take().unwrap().join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / self.send_vec.pop().unwrap().send(SetPixelResultRow { [INFO] [stdout] 46 | | y, [INFO] [stdout] 47 | | c, [INFO] [stdout] 48 | | is_real_value: true, [INFO] [stdout] 49 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl_preview/sdl_output.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | SDLOutput::start_sdl_window(width, height, rx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.44s [INFO] running `Command { std: "docker" "inspect" "c121714b8b9301aa6a5ee0a3665e32765ded5f43a49af13653d55eb8f80abe8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c121714b8b9301aa6a5ee0a3665e32765ded5f43a49af13653d55eb8f80abe8c", kill_on_drop: false }` [INFO] [stdout] c121714b8b9301aa6a5ee0a3665e32765ded5f43a49af13653d55eb8f80abe8c