[INFO] cloning repository https://github.com/Ogeon/pyrite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ogeon/pyrite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOgeon%2Fpyrite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOgeon%2Fpyrite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 971b11ee519ba593574abe912f70c29d6e31a072 [INFO] testing Ogeon/pyrite against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOgeon%2Fpyrite" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Ogeon/pyrite [INFO] finished tweaking git repo https://github.com/Ogeon/pyrite [INFO] tweaked toml for git repo https://github.com/Ogeon/pyrite written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ogeon/pyrite on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ogeon/pyrite 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Ogeon/palette` [INFO] [stderr] Updating git repository `https://github.com/Ogeon/typed_nodes` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallbox v0.8.1 [INFO] [stderr] Downloaded memoffset v0.8.0 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded obj v0.10.2 [INFO] [stderr] Downloaded crossbeam v0.8.2 [INFO] [stderr] Downloaded path-slash v0.2.1 [INFO] [stderr] Downloaded pin-project-internal v1.1.0 [INFO] [stderr] Downloaded fast-srgb8 v1.0.0 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.14 [INFO] [stderr] Downloaded mlua v0.8.9 [INFO] [stderr] Downloaded indicatif v0.17.3 [INFO] [stderr] Downloaded portable-atomic v0.3.20 [INFO] [stderr] Downloaded pin-project v1.1.0 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded portable-atomic v1.3.2 [INFO] [stderr] Downloaded collision v0.20.1 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded exr v1.6.3 [INFO] [stderr] Downloaded lua-src v546.0.0 [INFO] [stderr] Downloaded luajit-src v210.4.5+resty2cf5186 [INFO] [stderr] Downloaded tiff v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67 [INFO] running `Command { std: "docker" "start" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.59 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling luajit-src v210.4.5+resty2cf5186 [INFO] [stderr] Compiling lua-src v546.0.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling portable-atomic v1.3.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling mlua v0.8.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling portable-atomic v0.3.20 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling palette v0.7.2 (https://github.com/Ogeon/palette#598b2673) [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling smallbox v0.8.1 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling obj v0.10.2 [INFO] [stderr] Compiling indicatif v0.17.3 [INFO] [stderr] Compiling bitflags v2.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling typed_nodes_macros v0.1.0 (https://github.com/Ogeon/typed_nodes#653799b7) [INFO] [stderr] Compiling palette_derive v0.7.2 (https://github.com/Ogeon/palette#598b2673) [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.6.3 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling csv v1.2.1 [INFO] [stderr] Compiling pyrite v0.0.0 (/opt/rustwide/workdir/pyrite) [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/build.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | let mut min_wavelength = std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/build.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let mut min_wavelength = std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling typed_nodes v0.1.0 (https://github.com/Ogeon/typed_nodes#653799b7) [INFO] [stderr] Compiling collision v0.20.1 [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/src/shapes/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/src/shapes/mod.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | RayMarched { .. } => INFINITY, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/src/tracer.rs:334:75 [INFO] [stdout] | [INFO] [stdout] 334 | position: Point3::from_vec(&ray.direction * std::f32::INFINITY), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file` is never read [INFO] [stdout] --> pyrite/src/main.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 427 | struct ImageSettings<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 430 | file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpressionId` is never constructed [INFO] [stdout] --> pyrite/src/project/expressions.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 458 | pub struct ExpressionId(usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaterialId` is never constructed [INFO] [stdout] --> pyrite/src/project/materials.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) struct MaterialId(usize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TableExt` is never used [INFO] [stdout] --> pyrite/src/project/tables.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait TableExt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableId` is never constructed [INFO] [stdout] --> pyrite/src/project/tables.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct TableId(usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `probability` is never read [INFO] [stdout] --> pyrite/src/renderer/photon_mapping.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 438 | struct CameraBounce<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 443 | probability: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `probability` is never read [INFO] [stdout] --> pyrite/src/renderer/photon_mapping.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 516 | struct LightBounce<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 520 | probability: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LightSource` is never constructed [INFO] [stdout] --> pyrite/src/renderer/photon_mapping.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 565 | struct LightSource<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Light` is never constructed [INFO] [stdout] --> pyrite/src/tracer.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/film.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_pixel_ref_f(&self, position: Point2) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_pixel_ref_f(&self, position: Point2) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn ray_intersect(&self, ray: &Ray3) -> 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] 55 | pub fn ray_intersect(&self, ray: &Ray3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_material(&self) -> Material { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_material(&self) -> Material<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn sample_point(&self, rng: &mut impl Rng) -> 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] 166 | pub fn sample_point(&self, rng: &mut impl Rng) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn sample_towards(&self, rng: &mut impl Rng, target: &Point3) -> 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] 209 | pub fn sample_towards(&self, rng: &mut impl Rng, target: &Point3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn ray_intersect(&self, ray: &Ray3) -> 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] 442 | pub fn ray_intersect(&self, ray: &Ray3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/spatial/bvh.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn ray_intersect(&self, ray: Ray3) -> Intersections { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn ray_intersect(&self, ray: Ray3) -> Intersections<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> pyrite/src/spatial/kd_tree.rs:37:83 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'_, E> { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'_, E> { [INFO] [stdout] 37 + pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'a, E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/world.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn intersect(&self, ray: Ray3) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | pub fn intersect(&self, ray: Ray3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/world.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn pick_lamp(&self, rng: &mut impl Rng) -> Option<(&Lamp, f32)> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn pick_lamp(&self, rng: &mut impl Rng) -> Option<(&Lamp<'_>, f32)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.8.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling portable-atomic v1.3.2 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling mlua v0.8.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling portable-atomic v0.3.20 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling exr v1.6.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/build.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | let mut min_wavelength = std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/build.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let mut min_wavelength = std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smallbox v0.8.1 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling palette v0.7.2 (https://github.com/Ogeon/palette#598b2673) [INFO] [stderr] Compiling indicatif v0.17.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling obj v0.10.2 [INFO] [stderr] Compiling bitflags v2.3.1 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling typed_nodes v0.1.0 (https://github.com/Ogeon/typed_nodes#653799b7) [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling collision v0.20.1 [INFO] [stderr] Compiling pyrite v0.0.0 (/opt/rustwide/workdir/pyrite) [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/src/shapes/mod.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/src/shapes/mod.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | RayMarched { .. } => INFINITY, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stdout] --> pyrite/src/tracer.rs:334:75 [INFO] [stdout] | [INFO] [stdout] 334 | position: Point3::from_vec(&ray.direction * std::f32::INFINITY), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/film.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_pixel_ref_f(&self, position: Point2) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_pixel_ref_f(&self, position: Point2) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn ray_intersect(&self, ray: &Ray3) -> 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] 55 | pub fn ray_intersect(&self, ray: &Ray3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_material(&self) -> Material { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_material(&self) -> Material<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn sample_point(&self, rng: &mut impl Rng) -> 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] 166 | pub fn sample_point(&self, rng: &mut impl Rng) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn sample_towards(&self, rng: &mut impl Rng, target: &Point3) -> 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] 209 | pub fn sample_towards(&self, rng: &mut impl Rng, target: &Point3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/shapes/mod.rs:442:26 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn ray_intersect(&self, ray: &Ray3) -> 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] 442 | pub fn ray_intersect(&self, ray: &Ray3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/spatial/bvh.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn ray_intersect(&self, ray: Ray3) -> Intersections { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn ray_intersect(&self, ray: Ray3) -> Intersections<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> pyrite/src/spatial/kd_tree.rs:37:83 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'_, E> { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'_, E> { [INFO] [stdout] 37 + pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'a, E> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/world.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn intersect(&self, ray: Ray3) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | pub fn intersect(&self, ray: Ray3) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pyrite/src/world.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn pick_lamp(&self, rng: &mut impl Rng) -> Option<(&Lamp, f32)> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn pick_lamp(&self, rng: &mut impl Rng) -> Option<(&Lamp<'_>, f32)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.8.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stderr] --> pyrite/build.rs:73:40 [INFO] [stderr] | [INFO] [stderr] 73 | let mut min_wavelength = std::f32::INFINITY; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stderr] --> pyrite/build.rs:135:40 [INFO] [stderr] | [INFO] [stderr] 135 | let mut min_wavelength = std::f32::INFINITY; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pyrite` (build script) generated 2 warnings [INFO] [stderr] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stderr] --> pyrite/src/shapes/mod.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::f32::INFINITY; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stderr] --> pyrite/src/shapes/mod.rs:286:34 [INFO] [stderr] | [INFO] [stderr] 286 | RayMarched { .. } => INFINITY, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::f32::INFINITY`: replaced by the `INFINITY` associated constant on `f32` [INFO] [stderr] --> pyrite/src/tracer.rs:334:75 [INFO] [stderr] | [INFO] [stderr] 334 | position: Point3::from_vec(&ray.direction * std::f32::INFINITY), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/film.rs:97:28 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn get_pixel_ref_f(&self, position: Point2) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn get_pixel_ref_f(&self, position: Point2) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/shapes/mod.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn ray_intersect(&self, ray: &Ray3) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 55 | pub fn ray_intersect(&self, ray: &Ray3) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/shapes/mod.rs:158:25 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn get_material(&self) -> Material { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 158 | pub fn get_material(&self) -> Material<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/shapes/mod.rs:166:25 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn sample_point(&self, rng: &mut impl Rng) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 166 | pub fn sample_point(&self, rng: &mut impl Rng) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/shapes/mod.rs:209:27 [INFO] [stderr] | [INFO] [stderr] 209 | pub fn sample_towards(&self, rng: &mut impl Rng, target: &Point3) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 209 | pub fn sample_towards(&self, rng: &mut impl Rng, target: &Point3) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/shapes/mod.rs:442:26 [INFO] [stderr] | [INFO] [stderr] 442 | pub fn ray_intersect(&self, ray: &Ray3) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 442 | pub fn ray_intersect(&self, ray: &Ray3) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/spatial/bvh.rs:159:26 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn ray_intersect(&self, ray: Ray3) -> Intersections { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 159 | pub fn ray_intersect(&self, ray: Ray3) -> Intersections<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> pyrite/src/spatial/kd_tree.rs:37:83 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'_, E> { [INFO] [stderr] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 37 - pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'_, E> { [INFO] [stderr] 37 + pub fn neighbors<'a>(&'a self, point: &'a E::Point, radius: f32) -> Neighbors<'a, E> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/world.rs:273:22 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn intersect(&self, ray: Ray3) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 273 | pub fn intersect(&self, ray: Ray3) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> pyrite/src/world.rs:301:22 [INFO] [stderr] | [INFO] [stderr] 301 | pub fn pick_lamp(&self, rng: &mut impl Rng) -> Option<(&Lamp, f32)> { [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 301 | pub fn pick_lamp(&self, rng: &mut impl Rng) -> Option<(&Lamp<'_>, f32)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `pyrite` (bin "pyrite" test) generated 13 warnings (run `cargo fix --bin "pyrite" -p pyrite --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.8.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pyrite-63ff40ea3f8502dc) [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" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67", kill_on_drop: false }` [INFO] [stdout] ca577b16e0ccd26026cfac67bbaca83a00a522fcced0e319712d9f8ba39f4f67