[INFO] cloning repository https://github.com/LiemDQ/shine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiemDQ/shine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiemDQ%2Fshine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiemDQ%2Fshine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d52fe8d1744fc43fba6b172b62009684a1d0f8c [INFO] checking LiemDQ/shine against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiemDQ%2Fshine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LiemDQ/shine [INFO] finished tweaking git repo https://github.com/LiemDQ/shine [INFO] tweaked toml for git repo https://github.com/LiemDQ/shine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LiemDQ/shine on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LiemDQ/shine 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking LiemDQ/shine against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiemDQ%2Fshine" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LiemDQ/shine [INFO] finished tweaking git repo https://github.com/LiemDQ/shine [INFO] tweaked toml for git repo https://github.com/LiemDQ/shine written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LiemDQ/shine on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LiemDQ/shine 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02f3ca455e8f23320044c2bda65aa6663a6467afa83af7a5934bfc6b48475afa [INFO] running `Command { std: "docker" "start" "-a" "02f3ca455e8f23320044c2bda65aa6663a6467afa83af7a5934bfc6b48475afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f3ca455e8f23320044c2bda65aa6663a6467afa83af7a5934bfc6b48475afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f3ca455e8f23320044c2bda65aa6663a6467afa83af7a5934bfc6b48475afa", kill_on_drop: false }` [INFO] [stdout] 02f3ca455e8f23320044c2bda65aa6663a6467afa83af7a5934bfc6b48475afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64847ae7edd79ebe790fc4658287ad7a5eeb01b9ec978ca40d471a3d63a0edd6 [INFO] running `Command { std: "docker" "start" "-a" "64847ae7edd79ebe790fc4658287ad7a5eeb01b9ec978ca40d471a3d63a0edd6", kill_on_drop: false }` [INFO] [stderr] Checking shine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `float_eq` [INFO] [stdout] --> src/canvas.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{float_eq, float_approx}; [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 imports: `Add` and `Sub` [INFO] [stdout] --> src/matrix.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/ray.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::geometry::{Sphere, Shape}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world` [INFO] [stdout] --> src/geometry.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{intersections, world}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::assert_delta` [INFO] [stdout] --> src/coords.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::assert_delta; [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: `float_eq` [INFO] [stdout] --> src/canvas.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{float_eq, float_approx}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add` and `Sub` [INFO] [stdout] --> src/matrix.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ray.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world` [INFO] [stdout] --> src/geometry.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{intersections, world}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_vec` and `to_pt` are never used [INFO] [stdout] --> src/coords.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Coord { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn to_vec(self) -> Vector; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn to_pt(self) -> Point; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/coords.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn dot(lhs: Vector, rhs: Vector) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `height`, `width`, `pixel_at`, `pixel_at_mut`, and `fill` are never used [INFO] [stdout] --> src/canvas.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn pixel_at(&self, x: usize, y: usize) -> &Pixel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn pixel_at_mut(&mut self, x: usize, y: usize) -> &mut Pixel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn fill(&mut self, pixel: Pixel) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translation`, `scaling`, `rotation_x`, `rotation_y`, `rotation_z`, and `shearing` are never used [INFO] [stdout] --> src/matrix.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait LinAlg { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn translation(self, x: f64, y: f64, z: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn scaling(self, x: f64, y: f64, z: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn rotation_x(self, angle: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn rotation_y(self, angle: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn rotation_z(self, angle: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn shearing(self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> >::Output where Self: Sized, Mat... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_z` is never used [INFO] [stdout] --> src/transforms.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn rotation_z(angle: f64) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/transforms.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit` is never used [INFO] [stdout] --> src/ray.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn hit<'a>(intersections: &'a Vec> ) -> Option<&'a Intersection<'a>>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/ray.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait Pattern: Debug { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn set_transform(&mut self, t: Matrix4); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestPattern` is never constructed [INFO] [stdout] --> src/ray.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct TestPattern { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl TestPattern { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 124 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StripePattern` is never constructed [INFO] [stdout] --> src/ray.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct StripePattern { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `color` are never used [INFO] [stdout] --> src/ray.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl StripePattern { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 152 | pub fn new(a: Color, b: Color) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn color(&self, pt: &Point) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GradientPattern` is never constructed [INFO] [stdout] --> src/ray.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct GradientPattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl GradientPattern { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 187 | pub fn new(a: Color, b: Color) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RingPattern` is never constructed [INFO] [stdout] --> src/ray.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct RingPattern { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl RingPattern { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 214 | pub fn new(a: Color, b: Color) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 303 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 304 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read [INFO] [stdout] --> src/ray.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct Computations<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 401 | pub t: f64, [INFO] [stdout] | ^ [INFO] [stdout] 402 | pub object: &'a dyn Shape, [INFO] [stdout] 403 | pub point: Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub inside: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_glass` is never used [INFO] [stdout] --> src/geometry.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn new_glass() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initial_shade_hit` is never used [INFO] [stdout] --> src/world.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn initial_shade_hit(&self, comps: &Computations) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_of_view` is never read [INFO] [stdout] --> src/world.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 154 | pub field_of_view: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `height` should have an upper case name [INFO] [stdout] --> src/matrix.rs:332:11 [INFO] [stdout] | [INFO] [stdout] 332 | const height: usize = 4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `HEIGHT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `width` should have an upper case name [INFO] [stdout] --> src/matrix.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | const width: usize = 4; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | fn local_intersect(&self, ray: &Ray) -> Vec; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 14 | fn local_intersect(&self, ray: &Ray) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 24 | fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn local_intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 99 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | fn local_intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 166 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 41 | pub fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/world.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | let color = w.color_at(&ray, World::MAX_REFLECTIONS); //should terminate successfully. [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_vec` and `to_pt` are never used [INFO] [stdout] --> src/coords.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Coord { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn to_vec(self) -> Vector; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn to_pt(self) -> Point; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> src/coords.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn dot(lhs: Vector, rhs: Vector) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `height`, `width`, and `pixel_at_mut` are never used [INFO] [stdout] --> src/canvas.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn pixel_at_mut(&mut self, x: usize, y: usize) -> &mut Pixel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translation`, `scaling`, `rotation_x`, `rotation_y`, `rotation_z`, and `shearing` are never used [INFO] [stdout] --> src/matrix.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait LinAlg { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn translation(self, x: f64, y: f64, z: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn scaling(self, x: f64, y: f64, z: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn rotation_x(self, angle: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn rotation_y(self, angle: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn rotation_z(self, angle: f64) -> >::Output where Self: Sized, Matrix4: Mul { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn shearing(self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> >::Output where Self: Sized, Mat... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_transform` is never used [INFO] [stdout] --> src/ray.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait Pattern: Debug { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 84 | fn set_transform(&mut self, t: Matrix4); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ray.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 303 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 304 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_of_view` is never read [INFO] [stdout] --> src/world.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 154 | pub field_of_view: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `height` should have an upper case name [INFO] [stdout] --> src/matrix.rs:332:11 [INFO] [stdout] | [INFO] [stdout] 332 | const height: usize = 4; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `HEIGHT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `width` should have an upper case name [INFO] [stdout] --> src/matrix.rs:333:11 [INFO] [stdout] | [INFO] [stdout] 333 | const width: usize = 4; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WIDTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | fn local_intersect(&self, ray: &Ray) -> Vec; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 14 | fn local_intersect(&self, ray: &Ray) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 24 | fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | fn local_intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 99 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/geometry.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | fn local_intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 166 | fn local_intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn intersect(&self, ray: &Ray) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 41 | pub fn intersect(&self, ray: &Ray) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "64847ae7edd79ebe790fc4658287ad7a5eeb01b9ec978ca40d471a3d63a0edd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64847ae7edd79ebe790fc4658287ad7a5eeb01b9ec978ca40d471a3d63a0edd6", kill_on_drop: false }` [INFO] [stdout] 64847ae7edd79ebe790fc4658287ad7a5eeb01b9ec978ca40d471a3d63a0edd6