[INFO] cloning repository https://github.com/Matz-Mp4/rtc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Matz-Mp4/rtc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatz-Mp4%2Frtc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatz-Mp4%2Frtc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b865675d153c966c96a27328b6c26efcf3e16b77 [INFO] checking Matz-Mp4/rtc against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatz-Mp4%2Frtc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Matz-Mp4/rtc [INFO] finished tweaking git repo https://github.com/Matz-Mp4/rtc [INFO] tweaked toml for git repo https://github.com/Matz-Mp4/rtc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Matz-Mp4/rtc on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Matz-Mp4/rtc 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Matz-Mp4/rtc against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatz-Mp4%2Frtc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Matz-Mp4/rtc [INFO] finished tweaking git repo https://github.com/Matz-Mp4/rtc [INFO] tweaked toml for git repo https://github.com/Matz-Mp4/rtc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Matz-Mp4/rtc on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Matz-Mp4/rtc 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded exr v1.7.0 [INFO] [stderr] Downloaded rustix v0.38.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c0b5ef3d3ed2d0bc8b490177b003746f50cd5149c32a2dc6e766dd9a050181 [INFO] running `Command { std: "docker" "start" "-a" "76c0b5ef3d3ed2d0bc8b490177b003746f50cd5149c32a2dc6e766dd9a050181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c0b5ef3d3ed2d0bc8b490177b003746f50cd5149c32a2dc6e766dd9a050181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c0b5ef3d3ed2d0bc8b490177b003746f50cd5149c32a2dc6e766dd9a050181", kill_on_drop: false }` [INFO] [stdout] 76c0b5ef3d3ed2d0bc8b490177b003746f50cd5149c32a2dc6e766dd9a050181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0e4a8bb9f30432780060e77b25d821418fde049d383d93acbbe1e49ba9703ac [INFO] running `Command { std: "docker" "start" "-a" "b0e4a8bb9f30432780060e77b25d821418fde049d383d93acbbe1e49ba9703ac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking indicatif v0.17.6 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.7.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking rtc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::One` [INFO] [stdout] --> src/tuple/vector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::One; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/shapes/sphere.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Matrix, Point, Ray, Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApproximateEq` [INFO] [stdout] --> src/shapes/plane.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Point, Ray, Vector, EPSILON, ApproximateEq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/shapes/shape.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Matrix, Point, Ray, Sphere, Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApproximateEq` [INFO] [stdout] --> src/pattern/checker.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{color::Color, ApproximateEq, Point}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::One` [INFO] [stdout] --> src/tuple/vector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::One; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/shapes/sphere.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Matrix, Point, Ray, Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApproximateEq` [INFO] [stdout] --> src/shapes/plane.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Point, Ray, Vector, EPSILON, ApproximateEq}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/shapes/shape.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Matrix, Point, Ray, Sphere, Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApproximateEq` [INFO] [stdout] --> src/pattern/checker.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{color::Color, ApproximateEq, Point}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_point` [INFO] [stdout] --> src/shapes/plane.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn normal_at(object_point: &Point) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn look_left(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn look_right(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn look_up(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | fn look_down(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `half_width` is never read [INFO] [stdout] --> src/camera.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut half_width = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `half_height` is never read [INFO] [stdout] --> src/camera.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut half_height = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_point` [INFO] [stdout] --> src/shapes/plane.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn normal_at(object_point: &Point) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pivot` is never read [INFO] [stdout] --> src/mtx/matrix.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | pivot = pivot - 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | fn look_left(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | fn look_right(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn look_up(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/light.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | fn look_down(&mut self, value: f64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_point3D` should have a snake case name [INFO] [stdout] --> src/tuple/point.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new_point3D(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_point3_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_vec3D` should have a snake case name [INFO] [stdout] --> src/tuple/vector.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_vec3D(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_vec3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn prepare_computation(&self, ray: &Ray) -> Computations { [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] 30 | pub fn prepare_computation(&self, ray: &Ray) -> Computations<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get(&self, i: usize) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 100 | pub fn get(&self, i: usize) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn hit(&mut self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 108 | pub fn hit(&mut self) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn into_iter(&self) -> std::vec::IntoIter { [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] 121 | pub fn into_iter(&self) -> std::vec::IntoIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn intersect_world(&self, ray: &Ray) -> Intersections { [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] 80 | pub fn intersect_world(&self, ray: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `half_width` is never read [INFO] [stdout] --> src/camera.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut half_width = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `half_height` is never read [INFO] [stdout] --> src/camera.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut half_height = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pivot` is never read [INFO] [stdout] --> src/mtx/matrix.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | pivot = pivot - 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_point3D` should have a snake case name [INFO] [stdout] --> src/tuple/point.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new_point3D(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_point3_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_vec3D` should have a snake case name [INFO] [stdout] --> src/tuple/vector.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new_vec3D(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_vec3_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn prepare_computation(&self, ray: &Ray) -> Computations { [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] 30 | pub fn prepare_computation(&self, ray: &Ray) -> Computations<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn get(&self, i: usize) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 100 | pub fn get(&self, i: usize) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn hit(&mut self) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^^^^^ ------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 108 | pub fn hit(&mut self) -> Option<&Intersection<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/intersection.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn into_iter(&self) -> std::vec::IntoIter { [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] 121 | pub fn into_iter(&self) -> std::vec::IntoIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn intersect_world(&self, ray: &Ray) -> Intersections { [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] 80 | pub fn intersect_world(&self, ray: &Ray) -> Intersections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Object`, `PatternType`, `Pattern`, `Point`, `color::Color`, `scaling`, and `translation` [INFO] [stdout] --> tests/pattern_test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | color::Color, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | transformation::{scaling, translation}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 7 | Object, Pattern, PatternType, Point, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Motion` and `rotation_y` [INFO] [stdout] --> examples/example_2.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | transformation::{rotation_x, rotation_y, rotation_z, scaling, translation, view_transform}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | Camera, Light, Motion, Object, Pattern, PatternType, Point, Vector, World, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rtc::Shape` [INFO] [stdout] --> tests/sphere_test.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use rtc::Shape; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rtc::ApproximateEq` [INFO] [stdout] --> tests/vector_test.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use rtc::ApproximateEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/pattern_test.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut object = Object::new_sphere() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refracted_color_with_refracted_ray` is never used [INFO] [stdout] --> tests/world_test.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | fn refracted_color_with_refracted_ray() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> tests/transformation_test.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let res = transform * p; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_transformation` found for struct `Camera` in the current scope [INFO] [stdout] --> tests/camera_test.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | c.with_transformation(&transform); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_transformation` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 - c.with_transformation(&transform); [INFO] [stdout] 60 + c.set_transformation(&transform); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_transformation` found for struct `Camera` in the current scope [INFO] [stdout] --> tests/camera_test.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | c.with_transformation(&view_transform(&from, &to, &up)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_transformation` with a similar name [INFO] [stdout] | [INFO] [stdout] 77 - c.with_transformation(&view_transform(&from, &to, &up)); [INFO] [stdout] 77 + c.set_transformation(&view_transform(&from, &to, &up)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtc` (test "camera_test") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b0e4a8bb9f30432780060e77b25d821418fde049d383d93acbbe1e49ba9703ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e4a8bb9f30432780060e77b25d821418fde049d383d93acbbe1e49ba9703ac", kill_on_drop: false }` [INFO] [stdout] b0e4a8bb9f30432780060e77b25d821418fde049d383d93acbbe1e49ba9703ac