[INFO] cloning repository https://github.com/JordanBrion/rs-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JordanBrion/rs-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanBrion%2Frs-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanBrion%2Frs-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51e364d2362019424422c80a0f2efcd718ef34a7 [INFO] checking JordanBrion/rs-raytracer against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordanBrion%2Frs-raytracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JordanBrion/rs-raytracer [INFO] finished tweaking git repo https://github.com/JordanBrion/rs-raytracer [INFO] tweaked toml for git repo https://github.com/JordanBrion/rs-raytracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JordanBrion/rs-raytracer on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JordanBrion/rs-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded memoffset v0.6.3 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.4 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 582c062929e14edddeead05b0f4bdcd348e3296366cb095ebb28557a49cd0236 [INFO] running `Command { std: "docker" "start" "-a" "582c062929e14edddeead05b0f4bdcd348e3296366cb095ebb28557a49cd0236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "582c062929e14edddeead05b0f4bdcd348e3296366cb095ebb28557a49cd0236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582c062929e14edddeead05b0f4bdcd348e3296366cb095ebb28557a49cd0236", kill_on_drop: false }` [INFO] [stdout] 582c062929e14edddeead05b0f4bdcd348e3296366cb095ebb28557a49cd0236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b439b006873d21a51045499bb4fc9cd81e0be98c4419463ef22f4ee51c838e4 [INFO] running `Command { std: "docker" "start" "-a" "4b439b006873d21a51045499bb4fc9cd81e0be98c4419463ef22f4ee51c838e4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rs-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::hittable::*` [INFO] [stdout] --> src/aabb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::hittable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::transform::*` [INFO] [stdout] --> src/cube.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::transform::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::world::*` [INFO] [stdout] --> src/cube.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::world::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Normal` [INFO] [stdout] --> src/rectangle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::Normal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::constants::*` [INFO] [stdout] --> src/sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color` [INFO] [stdout] --> src/texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage` and `Pixel` [INFO] [stdout] --> src/texture.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{io::Reader as ImageReader, DynamicImage, GenericImageView, Pixel}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random::*` [INFO] [stdout] --> src/texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::random::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::transform::*` [INFO] [stdout] --> src/vec3.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::transform::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random::*` [INFO] [stdout] --> src/world.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::random::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bvh::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use bvh::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `random::rand::distributions::Normal`: moved to rand_distr crate [INFO] [stdout] --> src/rectangle.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::Normal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::hittable::*` [INFO] [stdout] --> src/aabb.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::hittable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::transform::*` [INFO] [stdout] --> src/cube.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::transform::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::world::*` [INFO] [stdout] --> src/cube.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::world::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Normal` [INFO] [stdout] --> src/rectangle.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::Normal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::constants::*` [INFO] [stdout] --> src/sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::color` [INFO] [stdout] --> src/texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage` and `Pixel` [INFO] [stdout] --> src/texture.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{io::Reader as ImageReader, DynamicImage, GenericImageView, Pixel}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random::*` [INFO] [stdout] --> src/texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::random::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::transform::*` [INFO] [stdout] --> src/vec3.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::transform::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random::*` [INFO] [stdout] --> src/world.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::random::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bvh::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use bvh::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `random::rand::distributions::Normal`: moved to rand_distr crate [INFO] [stdout] --> src/rectangle.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::Normal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/cube.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, _time0: f64, time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 97 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 97 + fn bounding_box(&self, constants::INFINITY: f64, time1: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/cube.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, time0: f64, _time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 97 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 97 + fn bounding_box(&self, time0: f64, constants::INFINITY: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, _u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 111 - fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] 111 + fn emitted(&self, constants::INFINITY: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, _v: f64, point: &Vec3) -> Color { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 111 - fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] 111 + fn emitted(&self, u: f64, constants::INFINITY: f64, point: &Vec3) -> Color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/material.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/rectangle.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, _time0: f64, time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 77 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 77 + fn bounding_box(&self, constants::INFINITY: f64, time1: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/rectangle.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, time0: f64, _time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 77 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 77 + fn bounding_box(&self, time0: f64, constants::INFINITY: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/rectangle.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, _time0: f64, time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 101 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 101 + fn bounding_box(&self, constants::INFINITY: f64, time1: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/rectangle.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, time0: f64, _time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 101 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 101 + fn bounding_box(&self, time0: f64, constants::INFINITY: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material` is never read [INFO] [stdout] --> src/cube.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Cube<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | material: &'a dyn Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_unit_vector` is never used [INFO] [stdout] --> src/random.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn random_unit_vector() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_color` is never used [INFO] [stdout] --> src/random.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn random_color() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v_checker_textures` is never read [INFO] [stdout] --> src/texture.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Textures { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 105 | pub v_solid_colors: Vec, [INFO] [stdout] 106 | pub v_checker_textures: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cube.rs:18:77 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(minimum: Vec3, maximum: Vec3, material: &'a dyn Material) -> Cube { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(minimum: Vec3, maximum: Vec3, material: &'a dyn Material) -> Cube<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cube.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rectangle.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rectangle.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rectangle.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volume.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/cube.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, _time0: f64, time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 97 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 97 + fn bounding_box(&self, constants::INFINITY: f64, time1: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/cube.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 97 | fn bounding_box(&self, time0: f64, _time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 97 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 97 + fn bounding_box(&self, time0: f64, constants::INFINITY: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, _u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 111 - fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] 111 + fn emitted(&self, constants::INFINITY: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, _v: f64, point: &Vec3) -> Color { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 111 - fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] 111 + fn emitted(&self, u: f64, constants::INFINITY: f64, point: &Vec3) -> Color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/material.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | fn emitted(&self, u: f64, v: f64, point: &Vec3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/rectangle.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, _time0: f64, time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 77 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 77 + fn bounding_box(&self, constants::INFINITY: f64, time1: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/rectangle.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 77 | fn bounding_box(&self, time0: f64, _time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 77 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 77 + fn bounding_box(&self, time0: f64, constants::INFINITY: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> src/rectangle.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, _time0: f64, time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 101 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 101 + fn bounding_box(&self, constants::INFINITY: f64, time1: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/rectangle.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 101 | fn bounding_box(&self, time0: f64, _time1: f64) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INFINITY` [INFO] [stdout] | [INFO] [stdout] 101 - fn bounding_box(&self, time0: f64, time1: f64) -> Option { [INFO] [stdout] 101 + fn bounding_box(&self, time0: f64, constants::INFINITY: f64) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material` is never read [INFO] [stdout] --> src/cube.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Cube<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | material: &'a dyn Material, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_unit_vector` is never used [INFO] [stdout] --> src/random.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn random_unit_vector() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_color` is never used [INFO] [stdout] --> src/random.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn random_color() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v_checker_textures` is never read [INFO] [stdout] --> src/texture.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Textures { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 105 | pub v_solid_colors: Vec, [INFO] [stdout] 106 | pub v_checker_textures: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/cube.rs:18:77 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(minimum: Vec3, maximum: Vec3, material: &'a dyn Material) -> Cube { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(minimum: Vec3, maximum: Vec3, material: &'a dyn Material) -> Cube<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cube.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hittable.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rectangle.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rectangle.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rectangle.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transform.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volume.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.15s [INFO] running `Command { std: "docker" "inspect" "4b439b006873d21a51045499bb4fc9cd81e0be98c4419463ef22f4ee51c838e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b439b006873d21a51045499bb4fc9cd81e0be98c4419463ef22f4ee51c838e4", kill_on_drop: false }` [INFO] [stdout] 4b439b006873d21a51045499bb4fc9cd81e0be98c4419463ef22f4ee51c838e4