[INFO] cloning repository https://github.com/barzamin/sunbeam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/barzamin/sunbeam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarzamin%2Fsunbeam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarzamin%2Fsunbeam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dd3fa89ee5efa6e075053dbefc2aef1da1c3c38 [INFO] testing barzamin/sunbeam/2dd3fa89ee5efa6e075053dbefc2aef1da1c3c38 against 1.82.0 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbarzamin%2Fsunbeam" "/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/barzamin/sunbeam on toolchain 1.82.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/barzamin/sunbeam [INFO] finished tweaking git repo https://github.com/barzamin/sunbeam [INFO] tweaked toml for git repo https://github.com/barzamin/sunbeam written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/barzamin/sunbeam 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.82.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ultraviolet v0.9.1 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f419e32af7fac2187d971be9bb6cbc3ea144071933945e7aa38a493729fdda2 [INFO] running `Command { std: "docker" "start" "-a" "9f419e32af7fac2187d971be9bb6cbc3ea144071933945e7aa38a493729fdda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f419e32af7fac2187d971be9bb6cbc3ea144071933945e7aa38a493729fdda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f419e32af7fac2187d971be9bb6cbc3ea144071933945e7aa38a493729fdda2", kill_on_drop: false }` [INFO] [stdout] 9f419e32af7fac2187d971be9bb6cbc3ea144071933945e7aa38a493729fdda2 [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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 902f4bfd32968351aa5e0fd870e1be1b0ee9556e3cae024b71393dba48e11586 [INFO] running `Command { std: "docker" "start" "-a" "902f4bfd32968351aa5e0fd870e1be1b0ee9556e3cae024b71393dba48e11586", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.27 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling syn v2.0.16 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.7 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling portable-atomic v1.3.2 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling portable-atomic v0.3.20 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling clap_builder v4.2.7 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling png v0.17.8 [INFO] [stderr] Compiling wide v0.7.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling indicatif v0.17.3 [INFO] [stderr] Compiling ultraviolet v0.9.1 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.6.3 [INFO] [stderr] Compiling clap v4.2.7 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling sunbeam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/trace.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{material::Material, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UniformInSphere` and `UniformOnSphere` [INFO] [stdout] --> src/main.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use random::{UniformInDisc, UniformInSphere, UniformOnSphere}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Probe` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use trace::{Probe, Ray, Scene, Sphere}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_ray` [INFO] [stdout] --> src/material.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn scatter(&self, incoming_ray: &Ray, hit: &Hit) -> ScatteringResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pb` [INFO] [stdout] --> src/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let pb = ProgressBar::new(fb.height as u64); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/material.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn refract(v: Vec3, normal: Vec3, eta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/material.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let S = rand::thread_rng().sample(UniformOnSphere); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "902f4bfd32968351aa5e0fd870e1be1b0ee9556e3cae024b71393dba48e11586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902f4bfd32968351aa5e0fd870e1be1b0ee9556e3cae024b71393dba48e11586", kill_on_drop: false }` [INFO] [stdout] 902f4bfd32968351aa5e0fd870e1be1b0ee9556e3cae024b71393dba48e11586 [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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a46018f884338d2988546fe55c71c5e387187b575caadda354ca7d4e858ec72 [INFO] running `Command { std: "docker" "start" "-a" "9a46018f884338d2988546fe55c71c5e387187b575caadda354ca7d4e858ec72", kill_on_drop: false }` [INFO] [stderr] Compiling sunbeam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/trace.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{material::Material, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UniformInSphere` and `UniformOnSphere` [INFO] [stdout] --> src/main.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use random::{UniformInDisc, UniformInSphere, UniformOnSphere}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Probe` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use trace::{Probe, Ray, Scene, Sphere}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_ray` [INFO] [stdout] --> src/material.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn scatter(&self, incoming_ray: &Ray, hit: &Hit) -> ScatteringResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pb` [INFO] [stdout] --> src/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | let pb = ProgressBar::new(fb.height as u64); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `refract` is never used [INFO] [stdout] --> src/material.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn refract(v: Vec3, normal: Vec3, eta: f32) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `S` should have a snake case name [INFO] [stdout] --> src/material.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let S = rand::thread_rng().sample(UniformOnSphere); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "9a46018f884338d2988546fe55c71c5e387187b575caadda354ca7d4e858ec72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a46018f884338d2988546fe55c71c5e387187b575caadda354ca7d4e858ec72", kill_on_drop: false }` [INFO] [stdout] 9a46018f884338d2988546fe55c71c5e387187b575caadda354ca7d4e858ec72 [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=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36e37dfa913b6242cddbfeb4c91944f8708b2ca5c3050aea754885ff289891a4 [INFO] running `Command { std: "docker" "start" "-a" "36e37dfa913b6242cddbfeb4c91944f8708b2ca5c3050aea754885ff289891a4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Color` [INFO] [stderr] --> src/trace.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{material::Material, Color}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `UniformInSphere` and `UniformOnSphere` [INFO] [stderr] --> src/main.rs:13:29 [INFO] [stderr] | [INFO] [stderr] 13 | use random::{UniformInDisc, UniformInSphere, UniformOnSphere}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Probe` [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use trace::{Probe, Ray, Scene, Sphere}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `incoming_ray` [INFO] [stderr] --> src/material.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | fn scatter(&self, incoming_ray: &Ray, hit: &Hit) -> ScatteringResult { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_ray` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pb` [INFO] [stderr] --> src/main.rs:209:9 [INFO] [stderr] | [INFO] [stderr] 209 | let pb = ProgressBar::new(fb.height as u64); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pb` [INFO] [stderr] [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/main.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 47 | struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 54 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `refract` is never used [INFO] [stderr] --> src/material.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn refract(v: Vec3, normal: Vec3, eta: f32) -> Vec3 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `S` should have a snake case name [INFO] [stderr] --> src/material.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let S = rand::thread_rng().sample(UniformOnSphere); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sunbeam` (bin "sunbeam" test) generated 8 warnings (run `cargo fix --bin "sunbeam" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sunbeam-d3b2bc07e7019623) [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" "36e37dfa913b6242cddbfeb4c91944f8708b2ca5c3050aea754885ff289891a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e37dfa913b6242cddbfeb4c91944f8708b2ca5c3050aea754885ff289891a4", kill_on_drop: false }` [INFO] [stdout] 36e37dfa913b6242cddbfeb4c91944f8708b2ca5c3050aea754885ff289891a4