[INFO] cloning repository https://github.com/xgallom/xraytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xgallom/xraytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxgallom%2Fxraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxgallom%2Fxraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46ae55c439eeefb4e9c198114beec09af554a79e [INFO] building xgallom/xraytracer against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxgallom%2Fxraytracer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xgallom/xraytracer on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xgallom/xraytracer [INFO] finished tweaking git repo https://github.com/xgallom/xraytracer [INFO] tweaked toml for git repo https://github.com/xgallom/xraytracer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xgallom/xraytracer 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lodepng v3.4.5 [INFO] [stderr] Downloaded nalgebra-glm v0.11.0 [INFO] [stderr] Downloaded fallible_collections v0.4.0 [INFO] [stderr] Downloaded nalgebra v0.25.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a212ae37210ba3b65a1ea840e5909302a960dcc8c0d40dfac3db778401bab0ac [INFO] running `Command { std: "docker" "start" "-a" "a212ae37210ba3b65a1ea840e5909302a960dcc8c0d40dfac3db778401bab0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a212ae37210ba3b65a1ea840e5909302a960dcc8c0d40dfac3db778401bab0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a212ae37210ba3b65a1ea840e5909302a960dcc8c0d40dfac3db778401bab0ac", kill_on_drop: false }` [INFO] [stdout] a212ae37210ba3b65a1ea840e5909302a960dcc8c0d40dfac3db778401bab0ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc1822edf4a4cab916fac92414220c4b2e831df0c76f26cd2a852f9a9a95ecf4 [INFO] running `Command { std: "docker" "start" "-a" "bc1822edf4a4cab916fac92414220c4b2e831df0c76f26cd2a852f9a9a95ecf4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling fallible_collections v0.4.0 [INFO] [stderr] Compiling rgb v0.8.27 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling simba v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lodepng v3.4.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nalgebra v0.25.4 [INFO] [stderr] Compiling nalgebra-glm v0.11.0 [INFO] [stderr] Compiling xraytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_integer::Integer` [INFO] [stdout] --> src/radiance.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_integer::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra_glm::Vec3` [INFO] [stdout] --> src/render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra_glm::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_integer::Integer` [INFO] [stdout] --> src/triangle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_integer::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/intersect.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | ray: &Vec3, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reflectivity` [INFO] [stdout] --> src/radiance.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let reflectivity = if material.reflectivity.is_sign_negative() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reflectivity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samples_per_pixel`, `max_cpus`, `u_samples_first_bounce`, and `v_samples_first_bounce` are never read [INFO] [stdout] --> src/args.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Arguments { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) samples_per_pixel: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub(crate) max_cpus: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub(crate) max_depth: u32, [INFO] [stdout] 15 | pub(crate) u_samples_first_bounce: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub(crate) v_samples_first_bounce: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `position` are never read [INFO] [stdout] --> src/intersect.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Nearest { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub(crate) id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nearest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `emission` and `reflection_cone_angle_radians` are never read [INFO] [stdout] --> src/material.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub(crate) diffuse: Vec3, [INFO] [stdout] 6 | pub(crate) emission: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) reflection_cone_angle_radians: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `make_specular`, `make_light`, `make_glossy`, and `make_reflective` are never used [INFO] [stdout] --> src/material.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn make_specular(colour: Vec3, index_of_refraction: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn make_light(colour: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn make_glossy( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn make_reflective( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.28s [INFO] running `Command { std: "docker" "inspect" "bc1822edf4a4cab916fac92414220c4b2e831df0c76f26cd2a852f9a9a95ecf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1822edf4a4cab916fac92414220c4b2e831df0c76f26cd2a852f9a9a95ecf4", kill_on_drop: false }` [INFO] [stdout] bc1822edf4a4cab916fac92414220c4b2e831df0c76f26cd2a852f9a9a95ecf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454680f53b886d2bc224644cee75d8931805ba6f1e879f370bedff50bdf89ff0 [INFO] running `Command { std: "docker" "start" "-a" "454680f53b886d2bc224644cee75d8931805ba6f1e879f370bedff50bdf89ff0", kill_on_drop: false }` [INFO] [stderr] Compiling xraytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_integer::Integer` [INFO] [stdout] --> src/radiance.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use num_integer::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra_glm::Vec3` [INFO] [stdout] --> src/render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra_glm::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_integer::Integer` [INFO] [stdout] --> src/triangle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_integer::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/intersect.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | ray: &Vec3, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reflectivity` [INFO] [stdout] --> src/radiance.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let reflectivity = if material.reflectivity.is_sign_negative() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reflectivity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `samples_per_pixel`, `max_cpus`, `u_samples_first_bounce`, and `v_samples_first_bounce` are never read [INFO] [stdout] --> src/args.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Arguments { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) samples_per_pixel: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub(crate) max_cpus: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub(crate) max_depth: u32, [INFO] [stdout] 15 | pub(crate) u_samples_first_bounce: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub(crate) v_samples_first_bounce: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `position` are never read [INFO] [stdout] --> src/intersect.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Nearest { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 9 | pub(crate) id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) position: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nearest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `emission` and `reflection_cone_angle_radians` are never read [INFO] [stdout] --> src/material.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub(crate) diffuse: Vec3, [INFO] [stdout] 6 | pub(crate) emission: Vec3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub(crate) reflection_cone_angle_radians: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `make_specular`, `make_light`, `make_glossy`, and `make_reflective` are never used [INFO] [stdout] --> src/material.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn make_specular(colour: Vec3, index_of_refraction: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn make_light(colour: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn make_glossy( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn make_reflective( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "454680f53b886d2bc224644cee75d8931805ba6f1e879f370bedff50bdf89ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454680f53b886d2bc224644cee75d8931805ba6f1e879f370bedff50bdf89ff0", kill_on_drop: false }` [INFO] [stdout] 454680f53b886d2bc224644cee75d8931805ba6f1e879f370bedff50bdf89ff0