[INFO] cloning repository https://github.com/Bleeky/rustracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bleeky/rustracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleeky%2Frustracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleeky%2Frustracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69a4d7bd93c2b2e75a7d8007b8cca1097d3ccd0e [INFO] testing Bleeky/rustracer against master#67da586efe13aa66eef576ba095e1875ba65fd20 for pr-112849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleeky%2Frustracer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bleeky/rustracer on toolchain 67da586efe13aa66eef576ba095e1875ba65fd20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bleeky/rustracer [INFO] finished tweaking git repo https://github.com/Bleeky/rustracer [INFO] tweaked toml for git repo https://github.com/Bleeky/rustracer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bleeky/rustracer 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" "+67da586efe13aa66eef576ba095e1875ba65fd20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded winit_input_helper v0.12.0 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded flume v0.10.12 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded ultraviolet v0.8.1 [INFO] [stderr] Downloaded wide v0.6.5 [INFO] [stderr] Downloaded pixels v0.9.0 [INFO] [stderr] Downloaded noise v0.7.0 [INFO] [stderr] Downloaded profiling v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f96a375b699df68f7d885ba32c1c15a7ee59aea9ee05d967eff55e3632c4121 [INFO] running `Command { std: "docker" "start" "-a" "4f96a375b699df68f7d885ba32c1c15a7ee59aea9ee05d967eff55e3632c4121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f96a375b699df68f7d885ba32c1c15a7ee59aea9ee05d967eff55e3632c4121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f96a375b699df68f7d885ba32c1c15a7ee59aea9ee05d967eff55e3632c4121", kill_on_drop: false }` [INFO] [stdout] 4f96a375b699df68f7d885ba32c1c15a7ee59aea9ee05d967eff55e3632c4121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f528d2722ce32f2464fac04412e1d01725d1cd8dd6342bbceed93023d45281f4 [INFO] running `Command { std: "docker" "start" "-a" "f528d2722ce32f2464fac04412e1d01725d1cd8dd6342bbceed93023d45281f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling profiling v1.0.5 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling image v0.24.2 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling winit_input_helper v0.12.0 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling pixels v0.9.0 [INFO] [stderr] Compiling rustracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/objects/cube.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fbm` [INFO] [stdout] --> src/patterns/perturbed.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use noise::{Fbm, NoiseFn, Perlin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::patterns::gradient::*` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::patterns::gradient::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `identity` is never used [INFO] [stdout] --> src/matrix.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Matrix33 { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 24 | pub fn identity() -> Matrix33 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shearing` and `shear` are never used [INFO] [stdout] --> src/matrix.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Matrix44 { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix44 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn shear(self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_material` is never used [INFO] [stdout] --> src/objects.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Object { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_material(&mut self, material: Material) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `glass` is never used [INFO] [stdout] --> src/objects/sphere.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn glass(refractive_index: f32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gradient` and `TestPattern` are never constructed [INFO] [stdout] --> src/patterns.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Pattern { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 25 | Stripe(Stripe), [INFO] [stdout] 26 | Gradient(Gradient), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | TestPattern, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` 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: associated function `new` is never used [INFO] [stdout] --> src/patterns/gradient.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Gradient { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(pattern_a: Pattern, pattern_b: Pattern) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/world.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl World { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(objects: Vec, lights: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "f528d2722ce32f2464fac04412e1d01725d1cd8dd6342bbceed93023d45281f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f528d2722ce32f2464fac04412e1d01725d1cd8dd6342bbceed93023d45281f4", kill_on_drop: false }` [INFO] [stdout] f528d2722ce32f2464fac04412e1d01725d1cd8dd6342bbceed93023d45281f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8db7fcc570d69ed24d6c6f9f438429cf58f205fa6fe0949f161c1f474f38eae5 [INFO] running `Command { std: "docker" "start" "-a" "8db7fcc570d69ed24d6c6f9f438429cf58f205fa6fe0949f161c1f474f38eae5", kill_on_drop: false }` [INFO] [stderr] Compiling rustracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::patterns::checker::*` [INFO] [stdout] --> src/./intersection_tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::patterns::checker::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::patterns::solid_color::*` [INFO] [stdout] --> src/./intersection_tests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::patterns::solid_color::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::world` [INFO] [stdout] --> src/./intersection_tests.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::world; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/objects/cube.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fbm` [INFO] [stdout] --> src/patterns/perturbed.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use noise::{Fbm, NoiseFn, Perlin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::patterns::gradient::*` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::patterns::gradient::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `identity` is never used [INFO] [stdout] --> src/matrix.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Matrix33 { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 24 | pub fn identity() -> Matrix33 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shear` is never used [INFO] [stdout] --> src/matrix.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Matrix44 { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn shear(self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Gradient` is never constructed [INFO] [stdout] --> src/patterns.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Pattern { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 25 | Stripe(Stripe), [INFO] [stdout] 26 | Gradient(Gradient), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.80s [INFO] running `Command { std: "docker" "inspect" "8db7fcc570d69ed24d6c6f9f438429cf58f205fa6fe0949f161c1f474f38eae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db7fcc570d69ed24d6c6f9f438429cf58f205fa6fe0949f161c1f474f38eae5", kill_on_drop: false }` [INFO] [stdout] 8db7fcc570d69ed24d6c6f9f438429cf58f205fa6fe0949f161c1f474f38eae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 108305a2dd5e8a35de4bde89a5bc6d14b73db30bcbc8d8ecd7db59e7536eb2e0 [INFO] running `Command { std: "docker" "start" "-a" "108305a2dd5e8a35de4bde89a5bc6d14b73db30bcbc8d8ecd7db59e7536eb2e0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::patterns::checker::*` [INFO] [stderr] --> src/./intersection_tests.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::patterns::checker::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::patterns::solid_color::*` [INFO] [stderr] --> src/./intersection_tests.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::patterns::solid_color::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::world` [INFO] [stderr] --> src/./intersection_tests.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::world; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/objects/cube.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Fbm` [INFO] [stderr] --> src/patterns/perturbed.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use noise::{Fbm, NoiseFn, Perlin}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::patterns::gradient::*` [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | use crate::patterns::gradient::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `identity` is never used [INFO] [stderr] --> src/matrix.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Matrix33 { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 24 | pub fn identity() -> Matrix33 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `shear` is never used [INFO] [stderr] --> src/matrix.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl Matrix44 { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn shear(self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Gradient` is never constructed [INFO] [stderr] --> src/patterns.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub enum Pattern { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 25 | Stripe(Stripe), [INFO] [stderr] 26 | Gradient(Gradient), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Pattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rustracer` (bin "rustracer" test) generated 9 warnings (run `cargo fix --bin "rustracer" --tests` to apply 6 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustracer-945076ebff3ae503) [INFO] [stdout] [INFO] [stdout] running 133 tests [INFO] [stdout] test camera::camera_tests::tests::test_pixel_size_vertical_canvas ... ok [INFO] [stdout] test camera::camera_tests::tests::test_pixel_size_horizontal_canvas ... ok [INFO] [stdout] test camera::camera_tests::tests::test_ray_camera_transformed ... ok [INFO] [stdout] test camera::camera_tests::tests::test_ray_camera_through_corner ... ok [INFO] [stdout] test camera::camera_tests::tests::test_ray_through_canvas_center ... ok [INFO] [stdout] test camera::camera_tests::tests::test_render_pixel ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_hit_point_offset ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_intersection_hit_color ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_intersection_hit_color_from_outside ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_intersection_hit_behind_ray ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_color_ray_miss ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_color_ray_hit ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_color_at_with_mutually_reflective ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_recursive_maximum_depth ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_precomputing_reflection_vector ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_intersection_shading_from_inside ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_reflectance_n2_greater_n1 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_reflectance_90_degrees_on_surface ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_precomputing_intersection_inside ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_precomputing_intersection ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_precomputing_intersection_outside ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_reflectance_total_internal_reflection ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_n1_n2_multi_intersection ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_shade_hit_in_shadow ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_shade_hit_on_transparent_material ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_reflected_color_on_non_reflective_material ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_refracted_color_max_depth ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_refracted_color_on_opaque ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_shade_hit_on_reflective_material ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_smallest_intersection_3 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_reflected_color_on_reflective_material ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_intersection_shading ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_smallest_intersection ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_smallest_intersection_2 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_world_intersection ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_sphere_intersection_3 ... ok [INFO] [stdout] test light::light_tests::tests::test_lighting_1 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_total_internal_reflection ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_refracted_color_on_ray ... ok [INFO] [stdout] test light::light_tests::tests::lighting_with_pattern ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_reflectance_used_in_shade_hit ... ok [INFO] [stdout] test light::light_tests::tests::test_lighting_3 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_sphere_intersection_2 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_smallest_intersection_4 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_sphere_intersection_1 ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_under_point_refraction ... ok [INFO] [stdout] test intersection::intersection_tests::tests::test_sphere_intersection_4 ... ok [INFO] [stdout] test light::light_tests::tests::test_lighting_2 ... ok [INFO] [stdout] test light::light_tests::tests::test_object_behind_point ... ok [INFO] [stdout] test light::light_tests::tests::test_object_behind_light ... ok [INFO] [stdout] test light::light_tests::tests::test_object_between_point ... ok [INFO] [stdout] test light::light_tests::tests::test_lighting_with_surface_in_shadow ... ok [INFO] [stdout] test light::light_tests::tests::test_no_shadow ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_mul_inverse_2 ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_determinant_2 ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_inversion_2 ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_mul_inverse ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_matrix_mul ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_determinant_2x2 ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_identity_mul ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_determinant_3 ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_matrix_mul_point ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_chain_transformations ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_transformation_default_orientation ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_transformation_move_world ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_transformations_sequence ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_scaling ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_transpose_identity ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_cofactor ... ok [INFO] [stdout] test objects::plane::plane_tests::tests::test_plane_normal ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_inversion ... ok [INFO] [stdout] test objects::cube::cube_tests::tests::test_ray_intersect_cube ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_inversion_3 ... ok [INFO] [stdout] test objects::cube::cube_tests::tests::ray_miss_cube ... ok [INFO] [stdout] test objects::plane::plane_tests::tests::test_coplanar_ray_intersect ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_determinant ... ok [INFO] [stdout] test objects::cube::cube_tests::tests::normal_cube ... ok [INFO] [stdout] test objects::plane::plane_tests::tests::test_ray_intersect_plane_from_below ... ok [INFO] [stdout] test objects::plane::plane_tests::tests::test_ray_intersect_plane_from_above ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_transformation_arbitrary ... ok [INFO] [stdout] test objects::plane::plane_tests::tests::test_ray_plane_parallel ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_on_transformed ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_at ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_at_2 ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_scaled_intersect ... ok [INFO] [stdout] test patterns::checker::checker_tests::tests::checker_repeat_in_y ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_transpose ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_at_3 ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_at_nonaxial_point ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_at_4 ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_at_translated ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_default_transformation ... ok [INFO] [stdout] test patterns::checker::checker_tests::tests::checker_repeat_in_x ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_translated_intersect ... ok [INFO] [stdout] test patterns::gradient::gradient_tests::tests::gradient_pattern_linear_interpolation ... ok [INFO] [stdout] test patterns::ring::ring_tests::tests::create_stripe_pattern ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::test_stripe_with_object_transformation ... ok [INFO] [stdout] test objects::sphere::sphere_tests::tests::test_normal_is_normalized_vec ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::test_stripe_with_pattern_and_object_transformation ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::create_stripe_pattern_constant_z ... ok [INFO] [stdout] test patterns::checker::checker_tests::tests::checker_repeat_in_z ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::test_stripe_with_pattern_transformation ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::create_stripe_pattern_constant_y ... ok [INFO] [stdout] test ray::ray_tests::tests::test_position ... ok [INFO] [stdout] test point::point_tests::tests::test_point_shearing_z_to_y ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::create_stripe_pattern_alters_x ... ok [INFO] [stdout] test point::point_tests::tests::test_point_rotate_x ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_cross_product ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_len ... ok [INFO] [stdout] test ray::ray_tests::tests::test_transform_ray_2 ... ok [INFO] [stdout] test point::point_tests::tests::test_point_rotate_y ... ok [INFO] [stdout] test point::point_tests::tests::test_inverse_rotate_x ... ok [INFO] [stdout] test ray::ray_tests::tests::test_origin_direction_equality ... ok [INFO] [stdout] test patterns::stripe::stripe_tests::tests::create_stripe_pattern ... ok [INFO] [stdout] test point::point_tests::tests::test_point_scaling ... ok [INFO] [stdout] test point::point_tests::tests::test_reflection_neg_scaling ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_len_2 ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_negate ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_mul_scalar ... ok [INFO] [stdout] test ray::ray_tests::tests::test_transform_ray_1 ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vector_reflecting ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vector_mul_translation ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vector_reflecting_off_slanted ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vector_scaling_mul_inverse ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_normalize_1 ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vector_scaling ... ok [INFO] [stdout] test vector3::vector3_tests::tests::test_vec_normalize_2 ... ok [INFO] [stdout] test point::point_tests::tests::test_point_mul_translation ... ok [INFO] [stdout] test point::point_tests::tests::test_point_shearing_x_to_z ... ok [INFO] [stdout] test point::point_tests::tests::test_point_shearing_x_to_y ... ok [INFO] [stdout] test point::point_tests::tests::test_point_rotate_z ... ok [INFO] [stdout] test point::point_tests::tests::test_point_mul_translation_inverse ... ok [INFO] [stdout] test matrix::matrix_tests::tests::test_non_invertible - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 133 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "108305a2dd5e8a35de4bde89a5bc6d14b73db30bcbc8d8ecd7db59e7536eb2e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108305a2dd5e8a35de4bde89a5bc6d14b73db30bcbc8d8ecd7db59e7536eb2e0", kill_on_drop: false }` [INFO] [stdout] 108305a2dd5e8a35de4bde89a5bc6d14b73db30bcbc8d8ecd7db59e7536eb2e0