[INFO] cloning repository https://github.com/Boothwhack/ray-tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Boothwhack/ray-tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoothwhack%2Fray-tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoothwhack%2Fray-tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff8a45c94d8f66b8226decf2912e41150b80dff8 [INFO] testing Boothwhack/ray-tracing/ff8a45c94d8f66b8226decf2912e41150b80dff8 against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoothwhack%2Fray-tracing" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Boothwhack/ray-tracing on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Boothwhack/ray-tracing [INFO] finished tweaking git repo https://github.com/Boothwhack/ray-tracing [INFO] tweaked toml for git repo https://github.com/Boothwhack/ray-tracing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Boothwhack/ray-tracing 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.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.8.14 [INFO] [stderr] Downloaded profiling v1.0.8 [INFO] [stderr] Downloaded wgpu-types v0.16.0 [INFO] [stderr] Downloaded wgpu v0.16.1 [INFO] [stderr] Downloaded glow v0.12.2 [INFO] [stderr] Downloaded android-activity v0.4.2 [INFO] [stderr] Downloaded wgpu-hal v0.16.1 [INFO] [stderr] Downloaded rustix v0.37.21 [INFO] [stderr] Downloaded rustix v0.38.1 [INFO] [stderr] Downloaded naga v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 179227bf3b345440aaeeec2008215ce0dc595c36046b5c64837bee50f3d8369b [INFO] running `Command { std: "docker" "start" "-a" "179227bf3b345440aaeeec2008215ce0dc595c36046b5c64837bee50f3d8369b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "179227bf3b345440aaeeec2008215ce0dc595c36046b5c64837bee50f3d8369b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179227bf3b345440aaeeec2008215ce0dc595c36046b5c64837bee50f3d8369b", kill_on_drop: false }` [INFO] [stdout] 179227bf3b345440aaeeec2008215ce0dc595c36046b5c64837bee50f3d8369b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d491344474853204785d53614da6365d035f88f08b7b2d8df7aad91fae1cb975 [INFO] running `Command { std: "docker" "start" "-a" "d491344474853204785d53614da6365d035f88f08b7b2d8df7aad91fae1cb975", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling async-lock v2.7.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustix v0.37.21 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling rustix v0.38.1 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ttf-parser v0.19.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling naga v0.12.2 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling wgpu-types v0.16.0 [INFO] [stderr] Compiling safe_arch v0.7.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling async-net v1.7.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling profiling v1.0.8 [INFO] [stderr] Compiling glow v0.12.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling wide v0.7.10 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling is-terminal v0.4.8 [INFO] [stderr] Compiling nalgebra-macros v0.2.0 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling wgpu-hal v0.16.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling smol v1.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling nalgebra v0.32.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/main.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use object::{Object, Sphere}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hit` [INFO] [stdout] --> src/render.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ray::{Hit, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up` [INFO] [stdout] --> src/main.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | if let CameraDirection::LookAt { look_at, up } = &state.camera.direction { [INFO] [stdout] | ^^ help: try ignoring the field: `up: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:226:79 [INFO] [stdout] | [INFO] [stdout] 226 | WindowEvent::MouseWheel { delta: MouseScrollDelta::PixelDelta(position), .. } if interactive => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let mut state = state.lock().expect("state write lock"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | let mut state = state.lock().expect("state write lock"); [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 `LOOK_SENSITIVITY` is never used [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const LOOK_SENSITIVITY: f32 = 0.005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `picture` is never used [INFO] [stdout] --> src/gpu.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 258 | impl Frame

{ [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn picture(&self) -> Picture<&[P]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rotation` is never constructed [INFO] [stdout] --> src/camera.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CameraDirection { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 7 | LookAt { look_at: Point3, up: UnitVector3 }, [INFO] [stdout] 8 | Rotation(Rotation3), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_SAMPLE_PATTERN` is never used [INFO] [stdout] --> src/render.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SINGLE_SAMPLE_PATTERN: [Vector2; 1] = [vector![0.5, 0.5]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTISAMPLE_2X_PATTERN` is never used [INFO] [stdout] --> src/render.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MULTISAMPLE_2X_PATTERN: [Vector2; 2] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTISAMPLE_4X_PATTERN` is never used [INFO] [stdout] --> src/render.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MULTISAMPLE_4X_PATTERN: [Vector2; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `WHITE` is never used [INFO] [stdout] --> src/picture.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 116 | impl RGBA8 { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 117 | pub(crate) const WHITE: RGBA8 = RGBA8::new_hex(0xFFFFFFFF); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/picture.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Picture

{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 148 | pixels: P, [INFO] [stdout] 149 | size: (u32, u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, and `to_index` are never used [INFO] [stdout] --> src/picture.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl

Picture

{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn to_index(&self, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pixel` is never used [INFO] [stdout] --> src/picture.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a, T> Picture<&'a [T]> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 171 | pub fn pixel(&self, x: u32, y: u32) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_mut` and `slice_mut` are never used [INFO] [stdout] --> src/picture.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl<'a, T> Picture<&'a mut [T]> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 177 | pub fn pixel_mut(&mut self, x: u32, y: u32) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn slice_mut(&mut self, x: u32, y: u32, len: usize) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fill_gradient` and `clear` are never used [INFO] [stdout] --> src/picture.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> Picture<&'a mut [RGBA8]> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 193 | pub fn fill_gradient(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn clear(&mut self, color: RGBA8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.41s [INFO] running `Command { std: "docker" "inspect" "d491344474853204785d53614da6365d035f88f08b7b2d8df7aad91fae1cb975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d491344474853204785d53614da6365d035f88f08b7b2d8df7aad91fae1cb975", kill_on_drop: false }` [INFO] [stdout] d491344474853204785d53614da6365d035f88f08b7b2d8df7aad91fae1cb975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01aebb88f7e162b2bdd06bbb370c19f78cb5674aaaf707e7c31181456b378e01 [INFO] running `Command { std: "docker" "start" "-a" "01aebb88f7e162b2bdd06bbb370c19f78cb5674aaaf707e7c31181456b378e01", kill_on_drop: false }` [INFO] [stderr] Compiling ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/main.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use object::{Object, Sphere}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hit` [INFO] [stdout] --> src/render.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ray::{Hit, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up` [INFO] [stdout] --> src/main.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | if let CameraDirection::LookAt { look_at, up } = &state.camera.direction { [INFO] [stdout] | ^^ help: try ignoring the field: `up: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/main.rs:226:79 [INFO] [stdout] | [INFO] [stdout] 226 | WindowEvent::MouseWheel { delta: MouseScrollDelta::PixelDelta(position), .. } if interactive => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let mut state = state.lock().expect("state write lock"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | let mut state = state.lock().expect("state write lock"); [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 `LOOK_SENSITIVITY` is never used [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const LOOK_SENSITIVITY: f32 = 0.005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `picture` is never used [INFO] [stdout] --> src/gpu.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 258 | impl Frame

{ [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn picture(&self) -> Picture<&[P]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rotation` is never constructed [INFO] [stdout] --> src/camera.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum CameraDirection { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 7 | LookAt { look_at: Point3, up: UnitVector3 }, [INFO] [stdout] 8 | Rotation(Rotation3), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_SAMPLE_PATTERN` is never used [INFO] [stdout] --> src/render.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SINGLE_SAMPLE_PATTERN: [Vector2; 1] = [vector![0.5, 0.5]]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTISAMPLE_2X_PATTERN` is never used [INFO] [stdout] --> src/render.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MULTISAMPLE_2X_PATTERN: [Vector2; 2] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTISAMPLE_4X_PATTERN` is never used [INFO] [stdout] --> src/render.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MULTISAMPLE_4X_PATTERN: [Vector2; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `WHITE` is never used [INFO] [stdout] --> src/picture.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 116 | impl RGBA8 { [INFO] [stdout] | ---------- associated constant in this implementation [INFO] [stdout] 117 | pub(crate) const WHITE: RGBA8 = RGBA8::new_hex(0xFFFFFFFF); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/picture.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Picture

{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 148 | pixels: P, [INFO] [stdout] 149 | size: (u32, u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `width`, `height`, and `to_index` are never used [INFO] [stdout] --> src/picture.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl

Picture

{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn to_index(&self, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pixel` is never used [INFO] [stdout] --> src/picture.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a, T> Picture<&'a [T]> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 171 | pub fn pixel(&self, x: u32, y: u32) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_mut` and `slice_mut` are never used [INFO] [stdout] --> src/picture.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl<'a, T> Picture<&'a mut [T]> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] 177 | pub fn pixel_mut(&mut self, x: u32, y: u32) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn slice_mut(&mut self, x: u32, y: u32, len: usize) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fill_gradient` and `clear` are never used [INFO] [stdout] --> src/picture.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> Picture<&'a mut [RGBA8]> { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] 193 | pub fn fill_gradient(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn clear(&mut self, color: RGBA8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "01aebb88f7e162b2bdd06bbb370c19f78cb5674aaaf707e7c31181456b378e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01aebb88f7e162b2bdd06bbb370c19f78cb5674aaaf707e7c31181456b378e01", kill_on_drop: false }` [INFO] [stdout] 01aebb88f7e162b2bdd06bbb370c19f78cb5674aaaf707e7c31181456b378e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 455dc0d99b8096035241105f12add451dfb3a5fa603570b89f4f5ef9e0d888e8 [INFO] running `Command { std: "docker" "start" "-a" "455dc0d99b8096035241105f12add451dfb3a5fa603570b89f4f5ef9e0d888e8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Sphere` [INFO] [stderr] --> src/main.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | use object::{Object, Sphere}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Hit` [INFO] [stderr] --> src/render.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::ray::{Hit, Ray}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `up` [INFO] [stderr] --> src/main.rs:210:63 [INFO] [stderr] | [INFO] [stderr] 210 | if let CameraDirection::LookAt { look_at, up } = &state.camera.direction { [INFO] [stderr] | ^^ help: try ignoring the field: `up: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position` [INFO] [stderr] --> src/main.rs:226:79 [INFO] [stderr] | [INFO] [stderr] 226 | WindowEvent::MouseWheel { delta: MouseScrollDelta::PixelDelta(position), .. } if interactive => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:227:29 [INFO] [stderr] | [INFO] [stderr] 227 | let mut state = state.lock().expect("state write lock"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:227:25 [INFO] [stderr] | [INFO] [stderr] 227 | let mut state = state.lock().expect("state write lock"); [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 `LOOK_SENSITIVITY` is never used [INFO] [stderr] --> src/main.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | const LOOK_SENSITIVITY: f32 = 0.005; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `picture` is never used [INFO] [stderr] --> src/gpu.rs:292:12 [INFO] [stderr] | [INFO] [stderr] 258 | impl Frame

{ [INFO] [stderr] | ----------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 292 | pub fn picture(&self) -> Picture<&[P]> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Rotation` is never constructed [INFO] [stderr] --> src/camera.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum CameraDirection { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 7 | LookAt { look_at: Point3, up: UnitVector3 }, [INFO] [stderr] 8 | Rotation(Rotation3), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CameraDirection` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `SINGLE_SAMPLE_PATTERN` is never used [INFO] [stderr] --> src/render.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const SINGLE_SAMPLE_PATTERN: [Vector2; 1] = [vector![0.5, 0.5]]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MULTISAMPLE_2X_PATTERN` is never used [INFO] [stderr] --> src/render.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const MULTISAMPLE_2X_PATTERN: [Vector2; 2] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MULTISAMPLE_4X_PATTERN` is never used [INFO] [stderr] --> src/render.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub const MULTISAMPLE_4X_PATTERN: [Vector2; 4] = [ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `WHITE` is never used [INFO] [stderr] --> src/picture.rs:117:22 [INFO] [stderr] | [INFO] [stderr] 116 | impl RGBA8 { [INFO] [stderr] | ---------- associated constant in this implementation [INFO] [stderr] 117 | pub(crate) const WHITE: RGBA8 = RGBA8::new_hex(0xFFFFFFFF); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `size` is never read [INFO] [stderr] --> src/picture.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 147 | pub struct Picture

{ [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 148 | pixels: P, [INFO] [stderr] 149 | size: (u32, u32), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `width`, `height`, and `to_index` are never used [INFO] [stderr] --> src/picture.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 152 | impl

Picture

{ [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn width(&self) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn height(&self) -> u32 { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | fn to_index(&self, x: u32, y: u32) -> usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `pixel` is never used [INFO] [stderr] --> src/picture.rs:171:12 [INFO] [stderr] | [INFO] [stderr] 170 | impl<'a, T> Picture<&'a [T]> { [INFO] [stderr] | ---------------------------- method in this implementation [INFO] [stderr] 171 | pub fn pixel(&self, x: u32, y: u32) -> &T { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `pixel_mut` and `slice_mut` are never used [INFO] [stderr] --> src/picture.rs:177:12 [INFO] [stderr] | [INFO] [stderr] 176 | impl<'a, T> Picture<&'a mut [T]> { [INFO] [stderr] | -------------------------------- methods in this implementation [INFO] [stderr] 177 | pub fn pixel_mut(&mut self, x: u32, y: u32) -> &mut T { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 182 | pub fn slice_mut(&mut self, x: u32, y: u32, len: usize) -> &mut [T] { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `fill_gradient` and `clear` are never used [INFO] [stderr] --> src/picture.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 192 | impl<'a> Picture<&'a mut [RGBA8]> { [INFO] [stderr] | --------------------------------- methods in this implementation [INFO] [stderr] 193 | pub fn fill_gradient(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 205 | pub fn clear(&mut self, color: RGBA8) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ray-tracing` (bin "ray-tracing" test) generated 18 warnings (run `cargo fix --bin "ray-tracing" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ray_tracing-f191b1c74d213400) [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" "455dc0d99b8096035241105f12add451dfb3a5fa603570b89f4f5ef9e0d888e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455dc0d99b8096035241105f12add451dfb3a5fa603570b89f4f5ef9e0d888e8", kill_on_drop: false }` [INFO] [stdout] 455dc0d99b8096035241105f12add451dfb3a5fa603570b89f4f5ef9e0d888e8