[INFO] cloning repository https://github.com/stephenjayakar/rustracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephenjayakar/rustracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Frustracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Frustracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 304fd2a9bfbe536b84468fca252444ead701b8ca [INFO] testing stephenjayakar/rustracer against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Frustracer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stephenjayakar/rustracer [INFO] finished tweaking git repo https://github.com/stephenjayakar/rustracer [INFO] tweaked toml for git repo https://github.com/stephenjayakar/rustracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stephenjayakar/rustracer on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stephenjayakar/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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded tobj v2.0.3 [INFO] [stderr] Downloaded rand_distr v0.3.0 [INFO] [stderr] Downloaded alga v0.9.3 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded simba v0.3.1 [INFO] [stderr] Downloaded cmake v0.1.51 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] [stderr] Downloaded sdl2 v0.36.0 [INFO] [stderr] Downloaded nalgebra v0.23.2 [INFO] [stderr] Downloaded nalgebra v0.20.0 [INFO] [stderr] Downloaded bvh v0.3.2 [INFO] [stderr] Downloaded sdl2-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ae3f29dee606491fddbf79cf8d52a3dc3dee74738f20b2febff2a06d4780bcb [INFO] running `Command { std: "docker" "start" "-a" "5ae3f29dee606491fddbf79cf8d52a3dc3dee74738f20b2febff2a06d4780bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ae3f29dee606491fddbf79cf8d52a3dc3dee74738f20b2febff2a06d4780bcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae3f29dee606491fddbf79cf8d52a3dc3dee74738f20b2febff2a06d4780bcb", kill_on_drop: false }` [INFO] [stdout] 5ae3f29dee606491fddbf79cf8d52a3dc3dee74738f20b2febff2a06d4780bcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a08d51af8b12071863a8af8ff356a49365d738df6a1f3262e93dafd5acb9b2f7 [INFO] running `Command { std: "docker" "start" "-a" "a08d51af8b12071863a8af8ff356a49365d738df6a1f3262e93dafd5acb9b2f7", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tobj v2.0.3 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling nalgebra v0.23.2 [INFO] [stderr] Compiling bvh v0.3.2 [INFO] [stderr] Compiling rustracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `dp` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! dp { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/raytracer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> src/scene/objects.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bsdf(&self, wi: Vector, wo: Vector) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/scene/objects.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bsdf(&self, wi: Vector, wo: Vector) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpmCache` should have a snake case name [INFO] [stdout] --> src/canvas.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut dpmCache = Vec::::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dpm_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `canvasUpdated` should have a snake case name [INFO] [stdout] --> src/canvas.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let mut canvasUpdated = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene/mod.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn intersect(&self, ray: Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 385 | pub fn intersect(&self, ray: Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 13s [INFO] running `Command { std: "docker" "inspect" "a08d51af8b12071863a8af8ff356a49365d738df6a1f3262e93dafd5acb9b2f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08d51af8b12071863a8af8ff356a49365d738df6a1f3262e93dafd5acb9b2f7", kill_on_drop: false }` [INFO] [stdout] a08d51af8b12071863a8af8ff356a49365d738df6a1f3262e93dafd5acb9b2f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6160999a1906fdb445da0a54f90d38da6e22aa2f7ee0d90d3e4912df0110d403 [INFO] running `Command { std: "docker" "start" "-a" "6160999a1906fdb445da0a54f90d38da6e22aa2f7ee0d90d3e4912df0110d403", kill_on_drop: false }` [INFO] [stderr] Compiling rustracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `dp` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! dp { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/raytracer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> src/scene/objects.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bsdf(&self, wi: Vector, wo: Vector) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/scene/objects.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bsdf(&self, wi: Vector, wo: Vector) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dpmCache` should have a snake case name [INFO] [stdout] --> src/canvas.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | let mut dpmCache = Vec::::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dpm_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `canvasUpdated` should have a snake case name [INFO] [stdout] --> src/canvas.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | let mut canvasUpdated = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_updated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene/mod.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn intersect(&self, ray: Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 385 | pub fn intersect(&self, ray: Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "6160999a1906fdb445da0a54f90d38da6e22aa2f7ee0d90d3e4912df0110d403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6160999a1906fdb445da0a54f90d38da6e22aa2f7ee0d90d3e4912df0110d403", kill_on_drop: false }` [INFO] [stdout] 6160999a1906fdb445da0a54f90d38da6e22aa2f7ee0d90d3e4912df0110d403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a8b4f3715383f43611d76429fc8e166ac7fbe0738968b6dd2a9c6adc336feb6 [INFO] running `Command { std: "docker" "start" "-a" "1a8b4f3715383f43611d76429fc8e166ac7fbe0738968b6dd2a9c6adc336feb6", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `dp` [INFO] [stderr] --> src/main.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | macro_rules! dp { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> src/raytracer.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wi` [INFO] [stderr] --> src/scene/objects.rs:118:24 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn bsdf(&self, wi: Vector, wo: Vector) -> Spectrum { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wo` [INFO] [stderr] --> src/scene/objects.rs:118:36 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn bsdf(&self, wi: Vector, wo: Vector) -> Spectrum { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stderr] [INFO] [stderr] warning: variable `dpmCache` should have a snake case name [INFO] [stderr] --> src/canvas.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 121 | let mut dpmCache = Vec::::new(); [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `dpm_cache` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `canvasUpdated` should have a snake case name [INFO] [stderr] --> src/canvas.rs:130:21 [INFO] [stderr] | [INFO] [stderr] 130 | let mut canvasUpdated = false; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_updated` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/scene/mod.rs:385:22 [INFO] [stderr] | [INFO] [stderr] 385 | pub fn intersect(&self, ray: Ray) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 385 | pub fn intersect(&self, ray: Ray) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rustracer` (bin "rustracer" test) generated 7 warnings (run `cargo fix --bin "rustracer" -p rustracer --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustracer-c4abee81a2ef3e20) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test scene::objects::tests::debug_triangle_surface_normal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a8b4f3715383f43611d76429fc8e166ac7fbe0738968b6dd2a9c6adc336feb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8b4f3715383f43611d76429fc8e166ac7fbe0738968b6dd2a9c6adc336feb6", kill_on_drop: false }` [INFO] [stdout] 1a8b4f3715383f43611d76429fc8e166ac7fbe0738968b6dd2a9c6adc336feb6