[INFO] cloning repository https://github.com/ghadeeras/photon.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghadeeras/photon.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghadeeras%2Fphoton.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghadeeras%2Fphoton.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffd1538fb42296b6cab70cc0016338d317ff73b8 [INFO] checking ghadeeras/photon.rs against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghadeeras%2Fphoton.rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ghadeeras/photon.rs [INFO] finished tweaking git repo https://github.com/ghadeeras/photon.rs [INFO] tweaked toml for git repo https://github.com/ghadeeras/photon.rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ghadeeras/photon.rs on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ghadeeras/photon.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7c8c8ae3d2e2f9e0a21bea2f21f6e7cbe9ead2d097b13673acc29d6513215c9 [INFO] running `Command { std: "docker" "start" "-a" "c7c8c8ae3d2e2f9e0a21bea2f21f6e7cbe9ead2d097b13673acc29d6513215c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7c8c8ae3d2e2f9e0a21bea2f21f6e7cbe9ead2d097b13673acc29d6513215c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c8c8ae3d2e2f9e0a21bea2f21f6e7cbe9ead2d097b13673acc29d6513215c9", kill_on_drop: false }` [INFO] [stdout] c7c8c8ae3d2e2f9e0a21bea2f21f6e7cbe9ead2d097b13673acc29d6513215c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d6e8cf358dbda081889e12f1518fd2ae9a26c46b7b873fe69f287d4bbe74c30 [INFO] running `Command { std: "docker" "start" "-a" "2d6e8cf358dbda081889e12f1518fd2ae9a26c46b7b873fe69f287d4bbe74c30", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking bitstream-io v2.4.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v2.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.5.2 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking photon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/viewing/camera.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | fn pixel(&self, x: usize, y: usize) -> CameraPixel { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn pixel(&self, x: usize, y: usize) -> CameraPixel<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 16 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 22 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/atomic.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 14 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/things/atomic.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn material_hit<'a>(&'a self, hit: Hit, texture: &'a dyn Texture, other_side_texture: &'a dyn Texture) -> MaterialHit { [INFO] [stdout] | ^^ ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [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] 30 | fn material_hit<'a>(&'a self, hit: Hit, texture: &'a dyn Texture, other_side_texture: &'a dyn Texture) -> MaterialHit<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/composite.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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 shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/transformed.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 7 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder; [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | the lifetime is named here the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/mod.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | the lifetime is named here the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 22 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/black.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn material<'a>(&'a self, _: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 9 | fn material<'a>(&'a self, _: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/same.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | the lifetime is named here the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 8 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/viewing/camera.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | fn pixel(&self, x: usize, y: usize) -> CameraPixel { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn pixel(&self, x: usize, y: usize) -> CameraPixel<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 16 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 22 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/atomic.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 14 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/things/atomic.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn material_hit<'a>(&'a self, hit: Hit, texture: &'a dyn Texture, other_side_texture: &'a dyn Texture) -> MaterialHit { [INFO] [stdout] | ^^ ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [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] 30 | fn material_hit<'a>(&'a self, hit: Hit, texture: &'a dyn Texture, other_side_texture: &'a dyn Texture) -> MaterialHit<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/composite.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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 shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/things/transformed.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> 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] 7 | fn shoot(&self, ray: &Ray, min: f64, max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder; [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | the lifetime is named here the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/mod.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | the lifetime is named here the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 22 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/black.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn material<'a>(&'a self, _: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 9 | fn material<'a>(&'a self, _: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> examples/example2.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 36 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/textures/same.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | the lifetime is named here the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 8 | fn material<'a>(&'a self, hit: &'a Hit, geometry: &'a dyn Geometry, other_side_texture: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> examples/example2.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn material<'a>(&'a self, hit: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 56 | fn material<'a>(&'a self, hit: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> examples/example2.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | fn material<'a>(&'a self, hit: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder { [INFO] [stdout] | ^^ ^^ ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetime is named here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 78 | fn material<'a>(&'a self, hit: &'a Hit, _: &'a dyn Geometry, _: &'a dyn Texture) -> MaterialHolder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.94s [INFO] running `Command { std: "docker" "inspect" "2d6e8cf358dbda081889e12f1518fd2ae9a26c46b7b873fe69f287d4bbe74c30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6e8cf358dbda081889e12f1518fd2ae9a26c46b7b873fe69f287d4bbe74c30", kill_on_drop: false }` [INFO] [stdout] 2d6e8cf358dbda081889e12f1518fd2ae9a26c46b7b873fe69f287d4bbe74c30