[INFO] cloning repository https://github.com/marccane/RayRuster [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marccane/RayRuster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccane%2FRayRuster", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccane%2FRayRuster'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b580bc1859582349044b8735b125f0e3fdfbb163 [INFO] building marccane/RayRuster against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarccane%2FRayRuster" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marccane/RayRuster [INFO] finished tweaking git repo https://github.com/marccane/RayRuster [INFO] tweaked toml for git repo https://github.com/marccane/RayRuster written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marccane/RayRuster on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marccane/RayRuster 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded pixel-canvas v0.2.1 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded rusttype v0.7.9 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded cocoa v0.19.1 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded glutin v0.23.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded winit v0.21.0 [INFO] [stderr] Downloaded core-foundation v0.6.4 [INFO] [stderr] Downloaded parking_lot v0.10.2 [INFO] [stderr] Downloaded andrew v0.2.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.6 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded line_drawing v0.7.0 [INFO] [stderr] Downloaded ordered-float v1.1.0 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded pkg-config v0.3.18 [INFO] [stderr] Downloaded glium v0.26.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded nix v0.14.1 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded core-foundation-sys v0.6.2 [INFO] [stderr] Downloaded core-graphics v0.17.3 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6cce5635663c6f86db492467bd27b72e39ee3fa8ca09ff47d09bcdc58508b5b [INFO] running `Command { std: "docker" "start" "-a" "c6cce5635663c6f86db492467bd27b72e39ee3fa8ca09ff47d09bcdc58508b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6cce5635663c6f86db492467bd27b72e39ee3fa8ca09ff47d09bcdc58508b5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6cce5635663c6f86db492467bd27b72e39ee3fa8ca09ff47d09bcdc58508b5b", kill_on_drop: false }` [INFO] [stdout] c6cce5635663c6f86db492467bd27b72e39ee3fa8ca09ff47d09bcdc58508b5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f88093dee506b1216d39682d80c478d3dae13bdf393e0d91cacee31e4b29726e [INFO] running `Command { std: "docker" "start" "-a" "f88093dee506b1216d39682d80c478d3dae13bdf393e0d91cacee31e4b29726e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.26.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.21.0 [INFO] [stderr] Compiling glutin v0.23.0 [INFO] [stderr] Compiling pixel-canvas v0.2.1 [INFO] [stderr] Compiling rayruster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::materials::*` [INFO] [stdout] --> src/figures/sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::materials::*; [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 variable: `ray` [INFO] [stdout] --> src/figures/plane.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/figures/plane.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, _t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 29 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 29 + fn intersect(&self, ray: &Ray2, utils::PI: f32, t_max:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/figures/plane.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, _t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 29 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 29 + fn intersect(&self, ray: &Ray2, t_min: f32, utils::PI:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/figures/triangle.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/figures/triangle.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, _t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 32 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 32 + fn intersect(&self, ray: &Ray2, utils::PI: f32, t_max:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/figures/triangle.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, _t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 32 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 32 + fn intersect(&self, ray: &Ray2, t_min: f32, utils::PI:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/figures/sphere.rs:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Point32, radius: f32, material: &'a dyn Material) -> Sphere { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Point32, radius: f32, material: &'a dyn Material) -> Sphere<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/sphere.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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 intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/plane.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/triangle.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raytracing/intersectable.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 4 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/raytracing/hit_record.rs:16:84 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_with_point_and_t(p: Point32, t: f32, material: &'a dyn Material) -> HitRecord { [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] 16 | pub fn new_with_point_and_t(p: Point32, t: f32, material: &'a dyn Material) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raytracing/intersectable_list.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 8 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "f88093dee506b1216d39682d80c478d3dae13bdf393e0d91cacee31e4b29726e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f88093dee506b1216d39682d80c478d3dae13bdf393e0d91cacee31e4b29726e", kill_on_drop: false }` [INFO] [stdout] f88093dee506b1216d39682d80c478d3dae13bdf393e0d91cacee31e4b29726e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 083949e3fa8b0237b5fb7cf828d75a9d1e5d6ab1581a9f643f80cca11400f843 [INFO] running `Command { std: "docker" "start" "-a" "083949e3fa8b0237b5fb7cf828d75a9d1e5d6ab1581a9f643f80cca11400f843", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::materials::*` [INFO] [stdout] --> src/figures/sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::materials::*; [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 variable: `ray` [INFO] [stdout] --> src/figures/plane.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/figures/plane.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, _t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 29 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 29 + fn intersect(&self, ray: &Ray2, utils::PI: f32, t_max:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/figures/plane.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, _t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 29 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 29 + fn intersect(&self, ray: &Ray2, t_min: f32, utils::PI:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/figures/triangle.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/figures/triangle.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, _t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 32 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 32 + fn intersect(&self, ray: &Ray2, utils::PI: f32, t_max:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/figures/triangle.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, _t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 32 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 32 + fn intersect(&self, ray: &Ray2, t_min: f32, utils::PI:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/figures/sphere.rs:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Point32, radius: f32, material: &'a dyn Material) -> Sphere { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Point32, radius: f32, material: &'a dyn Material) -> Sphere<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/sphere.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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 intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayruster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/plane.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/triangle.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raytracing/intersectable.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 4 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/raytracing/hit_record.rs:16:84 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_with_point_and_t(p: Point32, t: f32, material: &'a dyn Material) -> HitRecord { [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] 16 | pub fn new_with_point_and_t(p: Point32, t: f32, material: &'a dyn Material) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raytracing/intersectable_list.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 8 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::materials::*` [INFO] [stdout] --> src/figures/sphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::materials::*; [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 variable: `ray` [INFO] [stdout] --> src/figures/plane.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/figures/plane.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, _t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 29 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 29 + fn intersect(&self, ray: &Ray2, utils::PI: f32, t_max:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/figures/plane.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, _t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 29 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 29 + fn intersect(&self, ray: &Ray2, t_min: f32, utils::PI:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/figures/triangle.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/figures/triangle.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, _t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 32 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 32 + fn intersect(&self, ray: &Ray2, utils::PI: f32, t_max:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/figures/triangle.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, _t_max:f32) -> Option { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PI` [INFO] [stdout] | [INFO] [stdout] 32 - fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option { [INFO] [stdout] 32 + fn intersect(&self, ray: &Ray2, t_min: f32, utils::PI:f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/figures/sphere.rs:13:77 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Point32, radius: f32, material: &'a dyn Material) -> Sphere { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Point32, radius: f32, material: &'a dyn Material) -> Sphere<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/sphere.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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 intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/plane.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 29 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/figures/triangle.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 32 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raytracing/intersectable.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 4 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/raytracing/hit_record.rs:16:84 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new_with_point_and_t(p: Point32, t: f32, material: &'a dyn Material) -> HitRecord { [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] 16 | pub fn new_with_point_and_t(p: Point32, t: f32, material: &'a dyn Material) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raytracing/intersectable_list.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> 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] 8 | fn intersect(&self, ray: &Ray2, t_min: f32, t_max:f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "083949e3fa8b0237b5fb7cf828d75a9d1e5d6ab1581a9f643f80cca11400f843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "083949e3fa8b0237b5fb7cf828d75a9d1e5d6ab1581a9f643f80cca11400f843", kill_on_drop: false }` [INFO] [stdout] 083949e3fa8b0237b5fb7cf828d75a9d1e5d6ab1581a9f643f80cca11400f843