[INFO] cloning repository https://github.com/MCHSL/ray-tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MCHSL/ray-tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMCHSL%2Fray-tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMCHSL%2Fray-tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5495cd484c7d10e74e786d4514415a5183788f86 [INFO] testing MCHSL/ray-tracing against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMCHSL%2Fray-tracing" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MCHSL/ray-tracing [INFO] finished tweaking git repo https://github.com/MCHSL/ray-tracing [INFO] tweaked toml for git repo https://github.com/MCHSL/ray-tracing written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MCHSL/ray-tracing on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MCHSL/ray-tracing 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded show-image-macros v0.12.3 [INFO] [stderr] Downloaded ord_subset v3.1.1 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded fltk v1.4.24 [INFO] [stderr] Downloaded show-image v0.13.1 [INFO] [stderr] Downloaded fltk-sys v1.4.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd07249ce75bcecdab593f562ff5262cf15bbb30b54eab36a0c569b29c5cde92 [INFO] running `Command { std: "docker" "start" "-a" "fd07249ce75bcecdab593f562ff5262cf15bbb30b54eab36a0c569b29c5cde92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd07249ce75bcecdab593f562ff5262cf15bbb30b54eab36a0c569b29c5cde92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd07249ce75bcecdab593f562ff5262cf15bbb30b54eab36a0c569b29c5cde92", kill_on_drop: false }` [INFO] [stdout] fd07249ce75bcecdab593f562ff5262cf15bbb30b54eab36a0c569b29c5cde92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be9185d03d58ca7ba42901bb5fe91b6aa3a8b9f1e1a8f16dfb75513bbb1c133 [INFO] running `Command { std: "docker" "start" "-a" "5be9185d03d58ca7ba42901bb5fe91b6aa3a8b9f1e1a8f16dfb75513bbb1c133", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling wgpu-types v0.13.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling profiling v1.0.14 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling fltk-sys v1.4.23 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling show-image v0.13.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling ord_subset v3.1.1 [INFO] [stderr] Compiling glam v0.25.0 [INFO] [stderr] Compiling naga v0.9.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling show-image-macros v0.12.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling wgpu-hal v0.13.2 [INFO] [stderr] Compiling wgpu v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling fltk v1.4.24 [INFO] [stderr] Compiling rtx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BVHNode` [INFO] [stdout] --> src/main.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | bvh::{BVHCollection, BVHNode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | camera::{self, Camera, CameraConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BVHNode` [INFO] [stdout] --> src/object/collection.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | bvh::{BVHCollection, BVHNode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/rendering/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/rendering/ray.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Mul, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/rendering/ray.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_more::{Add, From, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solid::SolidColor` [INFO] [stdout] --> src/rendering/texture/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use solid::SolidColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `position` is never used [INFO] [stdout] --> src/object/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Object: Send + Sync { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn position(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lights` is never read [INFO] [stdout] --> src/object/bvh.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct BVHCollection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 116 | root: BVHNode, [INFO] [stdout] 117 | lights: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lights` is never used [INFO] [stdout] --> src/object/bvh.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl BVHCollection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn lights(&self) -> &[Arc] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `moving` is never used [INFO] [stdout] --> src/object/types/sphere.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Sphere { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn moving(start: Vec3, end: Vec3, radius: f32, material: M) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/rendering/ray.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct HitRecord<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | pub object: &'a dyn Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, ray: Ray, range: &Interval) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, ray: Ray, range: &Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/bvh.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/bvh.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/collection.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/collection.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/types/quad.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/types/sphere.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "5be9185d03d58ca7ba42901bb5fe91b6aa3a8b9f1e1a8f16dfb75513bbb1c133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be9185d03d58ca7ba42901bb5fe91b6aa3a8b9f1e1a8f16dfb75513bbb1c133", kill_on_drop: false }` [INFO] [stdout] 5be9185d03d58ca7ba42901bb5fe91b6aa3a8b9f1e1a8f16dfb75513bbb1c133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b22830c7ee3fcecd61894bd2a0ad4e54c96efad508c0ae3fa7a7f2f32e128e7a [INFO] running `Command { std: "docker" "start" "-a" "b22830c7ee3fcecd61894bd2a0ad4e54c96efad508c0ae3fa7a7f2f32e128e7a", kill_on_drop: false }` [INFO] [stderr] Compiling rtx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BVHNode` [INFO] [stdout] --> src/main.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | bvh::{BVHCollection, BVHNode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | camera::{self, Camera, CameraConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BVHNode` [INFO] [stdout] --> src/object/collection.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | bvh::{BVHCollection, BVHNode}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/rendering/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/rendering/ray.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Mul, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/rendering/ray.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use derive_more::{Add, From, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solid::SolidColor` [INFO] [stdout] --> src/rendering/texture/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use solid::SolidColor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `position` is never used [INFO] [stdout] --> src/object/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Object: Send + Sync { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | fn position(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lights` is never read [INFO] [stdout] --> src/object/bvh.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct BVHCollection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 116 | root: BVHNode, [INFO] [stdout] 117 | lights: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lights` is never used [INFO] [stdout] --> src/object/bvh.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl BVHCollection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn lights(&self) -> &[Arc] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `moving` is never used [INFO] [stdout] --> src/object/types/sphere.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Sphere { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn moving(start: Vec3, end: Vec3, radius: f32, material: M) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `object` is never read [INFO] [stdout] --> src/rendering/ray.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct HitRecord<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | pub object: &'a dyn Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, ray: Ray, range: &Interval) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, ray: Ray, range: &Interval) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/bvh.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/bvh.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/collection.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/collection.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/types/quad.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/object/types/sphere.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "b22830c7ee3fcecd61894bd2a0ad4e54c96efad508c0ae3fa7a7f2f32e128e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22830c7ee3fcecd61894bd2a0ad4e54c96efad508c0ae3fa7a7f2f32e128e7a", kill_on_drop: false }` [INFO] [stdout] b22830c7ee3fcecd61894bd2a0ad4e54c96efad508c0ae3fa7a7f2f32e128e7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52471a9177554a5fab2f306490d9e9835e750038395f5cc60bc8c8c29539c6a4 [INFO] running `Command { std: "docker" "start" "-a" "52471a9177554a5fab2f306490d9e9835e750038395f5cc60bc8c8c29539c6a4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `BVHNode` [INFO] [stderr] --> src/main.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | bvh::{BVHCollection, BVHNode}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | camera::{self, Camera, CameraConfig}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BVHNode` [INFO] [stderr] --> src/object/collection.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | bvh::{BVHCollection, BVHNode}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/rendering/camera.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sync::Arc` [INFO] [stderr] --> src/rendering/ray.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{ops::Mul, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mul` [INFO] [stderr] --> src/rendering/ray.rs:3:30 [INFO] [stderr] | [INFO] [stderr] 3 | use derive_more::{Add, From, Mul}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `solid::SolidColor` [INFO] [stderr] --> src/rendering/texture/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use solid::SolidColor; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `position` is never used [INFO] [stderr] --> src/object/mod.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub trait Object: Send + Sync { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 18 | fn position(&self) -> Vec3; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `lights` is never read [INFO] [stderr] --> src/object/bvh.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct BVHCollection { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 116 | root: BVHNode, [INFO] [stderr] 117 | lights: Vec>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `lights` is never used [INFO] [stderr] --> src/object/bvh.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 120 | impl BVHCollection { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn lights(&self) -> &[Arc] { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `moving` is never used [INFO] [stderr] --> src/object/types/sphere.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Sphere { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn moving(start: Vec3, end: Vec3, radius: f32, material: M) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `object` is never read [INFO] [stderr] --> src/rendering/ray.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct HitRecord<'a> { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 52 | pub object: &'a dyn Object, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | fn hit(&self, ray: Ray, range: &Interval) -> Option; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 16 | fn hit(&self, ray: Ray, range: &Interval) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/bvh.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/bvh.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 134 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/collection.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 57 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/collection.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 76 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/types/quad.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 41 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/object/types/sphere.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | fn hit(&self, ray: Ray, range: &Interval) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 62 | fn hit(&self, ray: Ray, range: &Interval) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rtx` (bin "rtx" test) generated 19 warnings (run `cargo fix --bin "rtx" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rtx-c7c8d2311fd0ac06) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52471a9177554a5fab2f306490d9e9835e750038395f5cc60bc8c8c29539c6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52471a9177554a5fab2f306490d9e9835e750038395f5cc60bc8c8c29539c6a4", kill_on_drop: false }` [INFO] [stdout] 52471a9177554a5fab2f306490d9e9835e750038395f5cc60bc8c8c29539c6a4