[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#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephenjayakar%2Frustracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stephenjayakar/rustracer on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v2.0.3 [INFO] [stderr] Downloaded nalgebra v0.23.2 [INFO] [stderr] Downloaded bvh v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b9b601157094cf63755fa7a5ac563cea60d50c11432aa7bd302648b898d2d66 [INFO] running `Command { std: "docker" "start" "-a" "9b9b601157094cf63755fa7a5ac563cea60d50c11432aa7bd302648b898d2d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b9b601157094cf63755fa7a5ac563cea60d50c11432aa7bd302648b898d2d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b9b601157094cf63755fa7a5ac563cea60d50c11432aa7bd302648b898d2d66", kill_on_drop: false }` [INFO] [stdout] 9b9b601157094cf63755fa7a5ac563cea60d50c11432aa7bd302648b898d2d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b00144dd9900dd1c82e873b33fbfb51800b1018138daa2342acf4068768016e5 [INFO] running `Command { std: "docker" "start" "-a" "b00144dd9900dd1c82e873b33fbfb51800b1018138daa2342acf4068768016e5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling tobj v2.0.3 [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)]` 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)]` 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)]` 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 49s [INFO] running `Command { std: "docker" "inspect" "b00144dd9900dd1c82e873b33fbfb51800b1018138daa2342acf4068768016e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b00144dd9900dd1c82e873b33fbfb51800b1018138daa2342acf4068768016e5", kill_on_drop: false }` [INFO] [stdout] b00144dd9900dd1c82e873b33fbfb51800b1018138daa2342acf4068768016e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef00eb46085c4841da26d186cb32f993cb24a34d83794021a0160eed81c51f1 [INFO] running `Command { std: "docker" "start" "-a" "aef00eb46085c4841da26d186cb32f993cb24a34d83794021a0160eed81c51f1", 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)]` 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)]` 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)]` 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)]` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "aef00eb46085c4841da26d186cb32f993cb24a34d83794021a0160eed81c51f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef00eb46085c4841da26d186cb32f993cb24a34d83794021a0160eed81c51f1", kill_on_drop: false }` [INFO] [stdout] aef00eb46085c4841da26d186cb32f993cb24a34d83794021a0160eed81c51f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97a385196cc5c7541f0bfe1bd227bdbee7a2bcbb49332fddc78d4071c2d3f367 [INFO] running `Command { std: "docker" "start" "-a" "97a385196cc5c7541f0bfe1bd227bdbee7a2bcbb49332fddc78d4071c2d3f367", 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)]` 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)]` 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)]` 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)]` 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: `rustracer` (bin "rustracer" test) generated 6 warnings (run `cargo fix --bin "rustracer" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustracer-9b4779d5b5396474) [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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97a385196cc5c7541f0bfe1bd227bdbee7a2bcbb49332fddc78d4071c2d3f367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a385196cc5c7541f0bfe1bd227bdbee7a2bcbb49332fddc78d4071c2d3f367", kill_on_drop: false }` [INFO] [stdout] 97a385196cc5c7541f0bfe1bd227bdbee7a2bcbb49332fddc78d4071c2d3f367