[INFO] cloning repository https://github.com/bitshifter/pathtrace-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitshifter/pathtrace-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitshifter%2Fpathtrace-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitshifter%2Fpathtrace-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0a9d380e8688b8f5f268e33efc5cbd812183c43 [INFO] testing bitshifter/pathtrace-rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitshifter%2Fpathtrace-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bitshifter/pathtrace-rs [INFO] finished tweaking git repo https://github.com/bitshifter/pathtrace-rs [INFO] tweaked toml for git repo https://github.com/bitshifter/pathtrace-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bitshifter/pathtrace-rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bitshifter/pathtrace-rs 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 crossbeam-utils v0.8.9 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.9 [INFO] [stderr] Downloaded takeable-option v0.4.0 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded xdg v2.4.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded glutin v0.21.2 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded object v0.28.4 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded glium v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e6a68f90dbe3e89668d4aae1cc74cbceb7ac1432a35dd799124a14551bd7b8c [INFO] running `Command { std: "docker" "start" "-a" "3e6a68f90dbe3e89668d4aae1cc74cbceb7ac1432a35dd799124a14551bd7b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e6a68f90dbe3e89668d4aae1cc74cbceb7ac1432a35dd799124a14551bd7b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6a68f90dbe3e89668d4aae1cc74cbceb7ac1432a35dd799124a14551bd7b8c", kill_on_drop: false }` [INFO] [stdout] 3e6a68f90dbe3e89668d4aae1cc74cbceb7ac1432a35dd799124a14551bd7b8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 124b46bfd5e83bdf4f1740bae455121ff423537d69f89f69769eb1fa78c0f4dc [INFO] running `Command { std: "docker" "start" "-a" "124b46bfd5e83bdf4f1740bae455121ff423537d69f89f69769eb1fa78c0f4dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling takeable-option v0.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pathtrace-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `spheres_soa::SpheresSoA` [INFO] [stdout] --> src/collision.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use spheres_soa::SpheresSoA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/presets.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let white = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/presets.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let ground = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/presets.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | rng: &mut Xoshiro256Plus, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/presets.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut hitables = Vec::with_capacity(n + 1); [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: field `w` is never read [INFO] [stdout] --> src/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/bvh.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 43 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/bvh.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 112 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 112 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/bvh.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 148 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 148 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/constant_medium.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 38 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/hitable.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 45 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/hitable_list.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 46 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/instance.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 38 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material)> { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 97 | pub fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn hit_scalar(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material)> { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 105 | pub fn hit_scalar(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 166 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 166 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 279 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 279 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 33s [INFO] running `Command { std: "docker" "inspect" "124b46bfd5e83bdf4f1740bae455121ff423537d69f89f69769eb1fa78c0f4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "124b46bfd5e83bdf4f1740bae455121ff423537d69f89f69769eb1fa78c0f4dc", kill_on_drop: false }` [INFO] [stdout] 124b46bfd5e83bdf4f1740bae455121ff423537d69f89f69769eb1fa78c0f4dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b3047f5b3c90772ad3d0e0c52b075a5c49a1f248b6bd9d655743be758f9a0fb9 [INFO] running `Command { std: "docker" "start" "-a" "b3047f5b3c90772ad3d0e0c52b075a5c49a1f248b6bd9d655743be758f9a0fb9", kill_on_drop: false }` [INFO] [stderr] Compiling pathtrace-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `spheres_soa::SpheresSoA` [INFO] [stdout] --> src/collision.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use spheres_soa::SpheresSoA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> src/presets.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let white = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/presets.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let ground = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/presets.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | rng: &mut Xoshiro256Plus, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/presets.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut hitables = Vec::with_capacity(n + 1); [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: field `w` is never read [INFO] [stdout] --> src/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/bvh.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 43 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/bvh.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 112 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 112 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/bvh.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 148 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 148 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/constant_medium.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 38 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/hitable.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 45 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/hitable_list.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 46 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/instance.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 38 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material)> { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 97 | pub fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn hit_scalar(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material)> { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get 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] 105 | pub fn hit_scalar(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 166 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 166 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/collision/spheres_soa.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 279 | ) -> Option<(RayHit, &Material)> { [INFO] [stdout] | --------- [INFO] [stdout] | || [INFO] [stdout] | |the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get 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] 279 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "b3047f5b3c90772ad3d0e0c52b075a5c49a1f248b6bd9d655743be758f9a0fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3047f5b3c90772ad3d0e0c52b075a5c49a1f248b6bd9d655743be758f9a0fb9", kill_on_drop: false }` [INFO] [stdout] b3047f5b3c90772ad3d0e0c52b075a5c49a1f248b6bd9d655743be758f9a0fb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9cfe099036ceb2a2ef161988e8f8f051ac720eff3f1700cdf183f3932ed5145a [INFO] running `Command { std: "docker" "start" "-a" "9cfe099036ceb2a2ef161988e8f8f051ac720eff3f1700cdf183f3932ed5145a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `spheres_soa::SpheresSoA` [INFO] [stderr] --> src/collision.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub use spheres_soa::SpheresSoA; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `white` [INFO] [stderr] --> src/presets.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | let white = [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ground` [INFO] [stderr] --> src/presets.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | let ground = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rng` [INFO] [stderr] --> src/presets.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | rng: &mut Xoshiro256Plus, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/presets.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | let mut hitables = Vec::with_capacity(n + 1); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/camera.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Camera` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/bvh.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 43 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 43 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/bvh.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 112 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 112 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/bvh.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 148 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 148 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/constant_medium.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 38 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 38 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/hitable.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 45 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 45 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/hitable_list.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 46 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 46 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/instance.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 38 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 38 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/spheres_soa.rs:97:20 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material)> { [INFO] [stderr] | ^^^^^ --------- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output the lifetimes get 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] 97 | pub fn ray_hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/spheres_soa.rs:105:23 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn hit_scalar(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material)> { [INFO] [stderr] | ^^^^^ --------- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output the lifetimes get 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] 105 | pub fn hit_scalar(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/spheres_soa.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 166 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 166 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/collision/spheres_soa.rs:275:9 [INFO] [stderr] | [INFO] [stderr] 275 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 279 | ) -> Option<(RayHit, &Material)> { [INFO] [stderr] | --------- [INFO] [stderr] | || [INFO] [stderr] | |the lifetimes get resolved as `'_` [INFO] [stderr] | the lifetimes get 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] 279 | ) -> Option<(RayHit, &Material<'_>)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pathtrace-rs` (bin "pathtrace-rs" test) generated 17 warnings (run `cargo fix --bin "pathtrace-rs" --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pathtrace_rs-86c625d16a9dac1b) [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" "9cfe099036ceb2a2ef161988e8f8f051ac720eff3f1700cdf183f3932ed5145a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cfe099036ceb2a2ef161988e8f8f051ac720eff3f1700cdf183f3932ed5145a", kill_on_drop: false }` [INFO] [stdout] 9cfe099036ceb2a2ef161988e8f8f051ac720eff3f1700cdf183f3932ed5145a