[INFO] cloning repository https://github.com/Emiyalzn/Raytracer-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emiyalzn/Raytracer-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmiyalzn%2FRaytracer-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmiyalzn%2FRaytracer-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e421c9bfbd895c32bd2efb0b843fe28ab3f4db5 [INFO] testing Emiyalzn/Raytracer-in-Rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmiyalzn%2FRaytracer-in-Rust" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emiyalzn/Raytracer-in-Rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-24/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Emiyalzn/Raytracer-in-Rust [INFO] finished tweaking git repo https://github.com/Emiyalzn/Raytracer-in-Rust [INFO] tweaked toml for git repo https://github.com/Emiyalzn/Raytracer-in-Rust written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/Emiyalzn/Raytracer-in-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 415bd55a63acf112c922b17421b1a215c4386dcf9d7058551b8bb4cee2cde776 [INFO] running `Command { std: "docker" "start" "-a" "415bd55a63acf112c922b17421b1a215c4386dcf9d7058551b8bb4cee2cde776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "415bd55a63acf112c922b17421b1a215c4386dcf9d7058551b8bb4cee2cde776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "415bd55a63acf112c922b17421b1a215c4386dcf9d7058551b8bb4cee2cde776", kill_on_drop: false }` [INFO] [stdout] 415bd55a63acf112c922b17421b1a215c4386dcf9d7058551b8bb4cee2cde776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8ee4292162634b80b1fcef0671755edfa5fe3c4689190daae600c536d5af714 [INFO] running `Command { std: "docker" "start" "-a" "e8ee4292162634b80b1fcef0671755edfa5fe3c4689190daae600c536d5af714", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling png v0.16.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling imageproc v0.21.0 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_disk` [INFO] [stdout] --> src/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec3::random_in_unit_disk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::object::*` [INFO] [stdout] --> src/scene.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::*` [INFO] [stdout] --> src/scene.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::vec3::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageops::FilterType::CatmullRom` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use image::{imageops::FilterType::CatmullRom, ImageBuffer, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_in_unit_sphere`, `random_unit_vector` [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use vec3::{random_in_unit_sphere, random_unit_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | for s in 0..samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 177 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:361:28 [INFO] [stdout] | [INFO] [stdout] 361 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:503:28 [INFO] [stdout] | [INFO] [stdout] 503 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:503:37 [INFO] [stdout] | [INFO] [stdout] 503 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/object.rs:594:23 [INFO] [stdout] | [INFO] [stdout] 594 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/object.rs:604:23 [INFO] [stdout] | [INFO] [stdout] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:604:31 [INFO] [stdout] | [INFO] [stdout] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:604:39 [INFO] [stdout] | [INFO] [stdout] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/object.rs:639:23 [INFO] [stdout] | [INFO] [stdout] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:639:31 [INFO] [stdout] | [INFO] [stdout] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:639:39 [INFO] [stdout] | [INFO] [stdout] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/object.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | let mut direction = Vec3::zero(); [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: `u` [INFO] [stdout] --> src/object.rs:686:23 [INFO] [stdout] | [INFO] [stdout] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:686:31 [INFO] [stdout] | [INFO] [stdout] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:686:39 [INFO] [stdout] | [INFO] [stdout] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/object.rs:708:23 [INFO] [stdout] | [INFO] [stdout] 708 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/object.rs:708:35 [INFO] [stdout] | [INFO] [stdout] 708 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_double_in` [INFO] [stdout] --> src/scene.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn random_double_in(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/scene.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn random_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | "error constructing a Font from data at {:?}", [INFO] [stdout] 68 | | font_path [INFO] [stdout] 69 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 ~ panic!( [INFO] [stdout] 67 | "error constructing a Font from data at {:?}", [INFO] [stdout] 68 | font_path [INFO] [stdout] 69 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.69s [INFO] running `Command { std: "docker" "inspect" "e8ee4292162634b80b1fcef0671755edfa5fe3c4689190daae600c536d5af714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8ee4292162634b80b1fcef0671755edfa5fe3c4689190daae600c536d5af714", kill_on_drop: false }` [INFO] [stdout] e8ee4292162634b80b1fcef0671755edfa5fe3c4689190daae600c536d5af714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5437669d7d85fec1fa3d9e821adccdfad70b325f8b1d02a67cbee5ea6d9774c4 [INFO] running `Command { std: "docker" "start" "-a" "5437669d7d85fec1fa3d9e821adccdfad70b325f8b1d02a67cbee5ea6d9774c4", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_disk` [INFO] [stdout] --> src/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec3::random_in_unit_disk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::object::*` [INFO] [stdout] --> src/scene.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::*` [INFO] [stdout] --> src/scene.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::vec3::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageops::FilterType::CatmullRom` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use image::{imageops::FilterType::CatmullRom, ImageBuffer, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `random_in_unit_sphere`, `random_unit_vector` [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | use vec3::{random_in_unit_sphere, random_unit_vector}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | for s in 0..samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 177 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:229:28 [INFO] [stdout] | [INFO] [stdout] 229 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:361:28 [INFO] [stdout] | [INFO] [stdout] 361 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/object.rs:503:28 [INFO] [stdout] | [INFO] [stdout] 503 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/object.rs:503:37 [INFO] [stdout] | [INFO] [stdout] 503 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/object.rs:594:23 [INFO] [stdout] | [INFO] [stdout] 594 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/object.rs:604:23 [INFO] [stdout] | [INFO] [stdout] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:604:31 [INFO] [stdout] | [INFO] [stdout] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:604:39 [INFO] [stdout] | [INFO] [stdout] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/object.rs:639:23 [INFO] [stdout] | [INFO] [stdout] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:639:31 [INFO] [stdout] | [INFO] [stdout] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:639:39 [INFO] [stdout] | [INFO] [stdout] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/object.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | let mut direction = Vec3::zero(); [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: `u` [INFO] [stdout] --> src/object.rs:686:23 [INFO] [stdout] | [INFO] [stdout] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:686:31 [INFO] [stdout] | [INFO] [stdout] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [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/object.rs:686:39 [INFO] [stdout] | [INFO] [stdout] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/object.rs:708:23 [INFO] [stdout] | [INFO] [stdout] 708 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/object.rs:708:35 [INFO] [stdout] | [INFO] [stdout] 708 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_double_in` [INFO] [stdout] --> src/scene.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn random_double_in(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_scene` [INFO] [stdout] --> src/scene.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn random_scene() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 67 | | "error constructing a Font from data at {:?}", [INFO] [stdout] 68 | | font_path [INFO] [stdout] 69 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 ~ panic!( [INFO] [stdout] 67 | "error constructing a Font from data at {:?}", [INFO] [stdout] 68 | font_path [INFO] [stdout] 69 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-f9748be28cb3b6fa) [INFO] running `Command { std: "docker" "inspect" "5437669d7d85fec1fa3d9e821adccdfad70b325f8b1d02a67cbee5ea6d9774c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5437669d7d85fec1fa3d9e821adccdfad70b325f8b1d02a67cbee5ea6d9774c4", kill_on_drop: false }` [INFO] [stdout] 5437669d7d85fec1fa3d9e821adccdfad70b325f8b1d02a67cbee5ea6d9774c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45a992aada0d4e056208a6c1893d479c37053c9915417557395a4d35cb318bcd [INFO] running `Command { std: "docker" "start" "-a" "45a992aada0d4e056208a6c1893d479c37053c9915417557395a4d35cb318bcd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::vec3::random_in_unit_disk` [INFO] [stderr] --> src/camera.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::vec3::random_in_unit_disk; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::object::*` [INFO] [stderr] --> src/scene.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::object::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::vec3::*` [INFO] [stderr] --> src/scene.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::vec3::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `imageops::FilterType::CatmullRom` [INFO] [stderr] --> src/main.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use image::{imageops::FilterType::CatmullRom, ImageBuffer, Rgb, RgbImage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `random_in_unit_sphere`, `random_unit_vector` [INFO] [stderr] --> src/main.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | use vec3::{random_in_unit_sphere, random_unit_vector}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/main.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | for s in 0..samples_per_pixel { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/object.rs:177:28 [INFO] [stderr] | [INFO] [stderr] 177 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/object.rs:177:37 [INFO] [stderr] | [INFO] [stderr] 177 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/object.rs:229:28 [INFO] [stderr] | [INFO] [stderr] 229 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/object.rs:229:37 [INFO] [stderr] | [INFO] [stderr] 229 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/object.rs:281:28 [INFO] [stderr] | [INFO] [stderr] 281 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/object.rs:281:37 [INFO] [stderr] | [INFO] [stderr] 281 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/object.rs:361:28 [INFO] [stderr] | [INFO] [stderr] 361 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/object.rs:361:37 [INFO] [stderr] | [INFO] [stderr] 361 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t0` [INFO] [stderr] --> src/object.rs:503:28 [INFO] [stderr] | [INFO] [stderr] 503 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t1` [INFO] [stderr] --> src/object.rs:503:37 [INFO] [stderr] | [INFO] [stderr] 503 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> src/object.rs:594:23 [INFO] [stderr] | [INFO] [stderr] 594 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/object.rs:604:23 [INFO] [stderr] | [INFO] [stderr] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/object.rs:604:31 [INFO] [stderr] | [INFO] [stderr] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/object.rs:604:39 [INFO] [stderr] | [INFO] [stderr] 604 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/object.rs:639:23 [INFO] [stderr] | [INFO] [stderr] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/object.rs:639:31 [INFO] [stderr] | [INFO] [stderr] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/object.rs:639:39 [INFO] [stderr] | [INFO] [stderr] 639 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `direction` is never read [INFO] [stderr] --> src/object.rs:674:17 [INFO] [stderr] | [INFO] [stderr] 674 | let mut direction = Vec3::zero(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/object.rs:686:23 [INFO] [stderr] | [INFO] [stderr] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/object.rs:686:31 [INFO] [stderr] | [INFO] [stderr] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/object.rs:686:39 [INFO] [stderr] | [INFO] [stderr] 686 | fn emitted(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> src/object.rs:708:23 [INFO] [stderr] | [INFO] [stderr] 708 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> src/object.rs:708:35 [INFO] [stderr] | [INFO] [stderr] 708 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/texture.rs:129:37 [INFO] [stderr] | [INFO] [stderr] 129 | fn value(&self, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_double_in` [INFO] [stderr] --> src/scene.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn random_double_in(min: f64, max: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_scene` [INFO] [stderr] --> src/scene.rs:323:8 [INFO] [stderr] | [INFO] [stderr] 323 | pub fn random_scene() -> HittableList { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | panic!(format!( [INFO] [stderr] | ________________^ [INFO] [stderr] 67 | | "error constructing a Font from data at {:?}", [INFO] [stderr] 68 | | font_path [INFO] [stderr] 69 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 66 ~ panic!( [INFO] [stderr] 67 | "error constructing a Font from data at {:?}", [INFO] [stderr] 68 | font_path [INFO] [stderr] 69 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 34 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-f9748be28cb3b6fa) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test vec3::tests::test_add ... ok [INFO] [stdout] test vec3::tests::test_add_assign ... ok [INFO] [stdout] test vec3::tests::test_add_f64 ... ok [INFO] [stdout] test vec3::tests::test_new ... ok [INFO] [stdout] test vec3::tests::test_squared_length ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45a992aada0d4e056208a6c1893d479c37053c9915417557395a4d35cb318bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a992aada0d4e056208a6c1893d479c37053c9915417557395a4d35cb318bcd", kill_on_drop: false }` [INFO] [stdout] 45a992aada0d4e056208a6c1893d479c37053c9915417557395a4d35cb318bcd