[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] a2cf32c038b0d116d2d0ce32faf38429165cde86 [INFO] testing DanTGL/RustyPBR against beta-2023-10-04 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanTGL%2FRustyPBR" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanTGL/RustyPBR on toolchain beta-2023-10-04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1923dfaf68916feb6e8a5299d96f2810348a94ce157ee972da3f179d416ef8e [INFO] running `Command { std: "docker" "start" "-a" "a1923dfaf68916feb6e8a5299d96f2810348a94ce157ee972da3f179d416ef8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1923dfaf68916feb6e8a5299d96f2810348a94ce157ee972da3f179d416ef8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1923dfaf68916feb6e8a5299d96f2810348a94ce157ee972da3f179d416ef8e", kill_on_drop: false }` [INFO] [stdout] a1923dfaf68916feb6e8a5299d96f2810348a94ce157ee972da3f179d416ef8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3e3027de87ab1581df9b17be90389356dc9d82503f6d01bf22096541db50bce [INFO] running `Command { std: "docker" "start" "-a" "a3e3027de87ab1581df9b17be90389356dc9d82503f6d01bf22096541db50bce", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling inplace_it v0.3.5 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling simba v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling nalgebra v0.31.1 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling nalgebra-glm v0.17.0 [INFO] [stderr] Compiling pixels v0.9.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.2 [INFO] [stderr] Compiling winit v0.27.3 [INFO] [stderr] Compiling winit_input_helper v0.13.0 [INFO] [stderr] Compiling rusty_pbr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pi` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use na::{pi, quarter_pi}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::{event_loop::{self, EventLoop, ControlFlow}, dpi::LogicalSize, window::WindowBuilder, event::{Event, VirtualKeyCode}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::PI` [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{scene::material::*, math::PI}; [INFO] [stdout] | ^^^^^^^^ [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] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> src/scene/scene.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::RandomVec` [INFO] [stdout] --> src/scene/scene.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{*, math::RandomVec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/scene/scene.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn hit(&self, rng: &mut dyn RngCore, r: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/material.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | fn scatter(&self, rng: &mut dyn RngCore, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | 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:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | 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:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | 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: `rng` [INFO] [stdout] --> src/main.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn gen_image(frame: &mut [u8], rng: &mut dyn RngCore, cam: &Camera, scene: &Scene, width: u32, height: u32, samples: u32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut origin = Vec3::zeros(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut origin = Vec3::zeros(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/math/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PI: Real = 3.1415926535897932385; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 `new` is never used [INFO] [stdout] --> src/scene/material.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(albedo: Vec3, fuzz: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene/material.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 79 | pub fn new(ir: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let R: Real = quarter_pi::().cos(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.42s [INFO] running `Command { std: "docker" "inspect" "a3e3027de87ab1581df9b17be90389356dc9d82503f6d01bf22096541db50bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3e3027de87ab1581df9b17be90389356dc9d82503f6d01bf22096541db50bce", kill_on_drop: false }` [INFO] [stdout] a3e3027de87ab1581df9b17be90389356dc9d82503f6d01bf22096541db50bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75cd40d10a785a039286f5b15878da4d3bf53cc2f05ce0cfbf018e7a99eaf407 [INFO] running `Command { std: "docker" "start" "-a" "75cd40d10a785a039286f5b15878da4d3bf53cc2f05ce0cfbf018e7a99eaf407", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_pbr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pi` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use na::{pi, quarter_pi}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::{event_loop::{self, EventLoop, ControlFlow}, dpi::LogicalSize, window::WindowBuilder, event::{Event, VirtualKeyCode}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::PI` [INFO] [stdout] --> src/main.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{scene::material::*, math::PI}; [INFO] [stdout] | ^^^^^^^^ [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] [INFO] [stdout] warning: unused import: `std::ops::Mul` [INFO] [stdout] --> src/scene/scene.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `math::RandomVec` [INFO] [stdout] --> src/scene/scene.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{*, math::RandomVec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/scene/scene.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn hit(&self, rng: &mut dyn RngCore, r: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/material.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | fn scatter(&self, rng: &mut dyn RngCore, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/scene/mod.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | 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:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | 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:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | 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: `rng` [INFO] [stdout] --> src/main.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn gen_image(frame: &mut [u8], rng: &mut dyn RngCore, cam: &Camera, scene: &Scene, width: u32, height: u32, samples: u32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut origin = Vec3::zeros(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut origin = Vec3::zeros(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> src/math/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const PI: Real = 3.1415926535897932385; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 `new` is never used [INFO] [stdout] --> src/scene/material.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 45 | pub fn new(albedo: Vec3, fuzz: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/scene/material.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 79 | pub fn new(ir: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let R: Real = quarter_pi::().cos(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "75cd40d10a785a039286f5b15878da4d3bf53cc2f05ce0cfbf018e7a99eaf407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75cd40d10a785a039286f5b15878da4d3bf53cc2f05ce0cfbf018e7a99eaf407", kill_on_drop: false }` [INFO] [stdout] 75cd40d10a785a039286f5b15878da4d3bf53cc2f05ce0cfbf018e7a99eaf407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4f3d1d01792063488533ac8644e9035ac76221c46c97560897b23387110b658 [INFO] running `Command { std: "docker" "start" "-a" "d4f3d1d01792063488533ac8644e9035ac76221c46c97560897b23387110b658", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `pi` [INFO] [stderr] --> src/main.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | use na::{pi, quarter_pi}; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | use winit::{event_loop::{self, EventLoop, ControlFlow}, dpi::LogicalSize, window::WindowBuilder, event::{Event, VirtualKeyCode}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `math::PI` [INFO] [stderr] --> src/main.rs:15:33 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::{scene::material::*, math::PI}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MaterialResult` [INFO] [stderr] --> src/scene/mod.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use self::material::{Material, MaterialResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Mul` [INFO] [stderr] --> src/scene/scene.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Mul; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `math::RandomVec` [INFO] [stderr] --> src/scene/scene.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::{*, math::RandomVec}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rng` [INFO] [stderr] --> src/scene/scene.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn hit(&self, rng: &mut dyn RngCore, r: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/scene/material.rs:22:46 [INFO] [stderr] | [INFO] [stderr] 22 | fn scatter(&self, rng: &mut dyn RngCore, ray: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/scene/mod.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_min` [INFO] [stderr] --> src/scene/mod.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t_max` [INFO] [stderr] --> src/scene/mod.rs:33:43 [INFO] [stderr] | [INFO] [stderr] 33 | fn hit(&self, ray: &Ray, t_min: Real, t_max: Real) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rng` [INFO] [stderr] --> src/main.rs:28:32 [INFO] [stderr] | [INFO] [stderr] 28 | fn gen_image(frame: &mut [u8], rng: &mut dyn RngCore, cam: &Camera, scene: &Scene, width: u32, height: u32, samples: u32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin` [INFO] [stderr] --> src/main.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | let mut origin = Vec3::zeros(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | let mut origin = Vec3::zeros(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `PI` is never used [INFO] [stderr] --> src/math/mod.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const PI: Real = 3.1415926535897932385; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/scene/sphere.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Sphere { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 14 | pub fn new(center: Vec3, radius: Real, material: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/scene/material.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl Metal { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 45 | pub fn new(albedo: Vec3, fuzz: Real) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/scene/material.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 78 | impl Dielectric { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 79 | pub fn new(ir: Real) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `R` should have a snake case name [INFO] [stderr] --> src/main.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let R: Real = quarter_pi::().cos(); [INFO] [stderr] | ^ help: convert the identifier to snake case: `r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rusty_pbr` (bin "rusty_pbr" test) generated 19 warnings (run `cargo fix --bin "rusty_pbr" --tests` to apply 14 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_pbr-ae16179607961e56) [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" "d4f3d1d01792063488533ac8644e9035ac76221c46c97560897b23387110b658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f3d1d01792063488533ac8644e9035ac76221c46c97560897b23387110b658", kill_on_drop: false }` [INFO] [stdout] d4f3d1d01792063488533ac8644e9035ac76221c46c97560897b23387110b658