[INFO] cloning repository https://github.com/DanTGL/RustyPBR [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanTGL/RustyPBR" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanTGL%2FRustyPBR", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanTGL%2FRustyPBR'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb21fc510f398f407573cb04a5bd974e1fe08758 [INFO] checking DanTGL/RustyPBR against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanTGL%2FRustyPBR" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DanTGL/RustyPBR [INFO] finished tweaking git repo https://github.com/DanTGL/RustyPBR [INFO] tweaked toml for git repo https://github.com/DanTGL/RustyPBR written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DanTGL/RustyPBR on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DanTGL/RustyPBR 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f014a9ffdda35b5c6f28b3082afee97a2033f27e707fff2be89a5e74cbe3986c [INFO] running `Command { std: "docker" "start" "-a" "f014a9ffdda35b5c6f28b3082afee97a2033f27e707fff2be89a5e74cbe3986c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f014a9ffdda35b5c6f28b3082afee97a2033f27e707fff2be89a5e74cbe3986c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f014a9ffdda35b5c6f28b3082afee97a2033f27e707fff2be89a5e74cbe3986c", kill_on_drop: false }` [INFO] [stdout] f014a9ffdda35b5c6f28b3082afee97a2033f27e707fff2be89a5e74cbe3986c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d29ddf6f554658eef3bc4c3f6b873ebb478c08ad4dff7eb6dedbc07651ffd09 [INFO] running `Command { std: "docker" "start" "-a" "5d29ddf6f554658eef3bc4c3f6b873ebb478c08ad4dff7eb6dedbc07651ffd09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking wgpu-types v0.12.0 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking inplace_it v0.3.6 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking nalgebra v0.31.4 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.8.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking nalgebra-glm v0.17.0 [INFO] [stderr] Checking wgpu-hal v0.12.5 [INFO] [stderr] Checking wgpu v0.12.0 [INFO] [stderr] Checking pixels v0.9.0 [INFO] [stderr] Checking sctk-adwaita v0.4.3 [INFO] [stderr] Checking winit v0.27.5 [INFO] [stderr] Checking winit_input_helper v0.13.0 [INFO] [stderr] Checking rusty_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MaterialResult` [INFO] [stdout] --> src/scene/mod.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use self::material::{Material, MaterialResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaterialResult` [INFO] [stdout] --> src/scene/mod.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use self::material::{Material, MaterialResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/material.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/scene/scene.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | rng: &mut dyn RngCore, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/mod.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/scene/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/scene/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/material.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/scene/scene.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | rng: &mut dyn RngCore, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/mod.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/scene/mod.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/scene/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_in_hemisphere` is never used [INFO] [stdout] --> src/math/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait RandomVec { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn random_in_hemisphere(rng: &mut dyn RngCore, normal: &Vec3) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `refract` is never used [INFO] [stdout] --> src/math/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait VecUtils { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn refract(uv: &Self, n: &Self, etai_over_etat: Real) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/scene/material.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `reflectance` are never used [INFO] [stdout] --> src/scene/material.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Dielectric { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 91 | pub fn new(ir: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn reflectance(cosine: Real, ref_idx: Real) -> Real { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(center: Vec3, radius: Real, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_in_hemisphere` is never used [INFO] [stdout] --> src/math/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait RandomVec { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn random_in_hemisphere(rng: &mut dyn RngCore, normal: &Vec3) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `refract` is never used [INFO] [stdout] --> src/math/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait VecUtils { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn refract(uv: &Self, n: &Self, etai_over_etat: Real) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dielectric` is never constructed [INFO] [stdout] --> src/scene/material.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Dielectric { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `reflectance` are never used [INFO] [stdout] --> src/scene/material.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Dielectric { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 91 | pub fn new(ir: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn reflectance(cosine: Real, ref_idx: Real) -> Real { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene/sphere.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(center: Vec3, radius: Real, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "5d29ddf6f554658eef3bc4c3f6b873ebb478c08ad4dff7eb6dedbc07651ffd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d29ddf6f554658eef3bc4c3f6b873ebb478c08ad4dff7eb6dedbc07651ffd09", kill_on_drop: false }` [INFO] [stdout] 5d29ddf6f554658eef3bc4c3f6b873ebb478c08ad4dff7eb6dedbc07651ffd09