Oct 13 01:18:41.060 INFO checking amejii/edupt-rust against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 13 01:18:41.060 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-6/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 13 01:18:41.239 INFO blam! 7b76a92f9d3d63cc5114b90c5fc403fdd4c85fe3956a5208d0a478d48a0de6f1 Oct 13 01:18:41.240 INFO running `"docker" "start" "-a" "7b76a92f9d3d63cc5114b90c5fc403fdd4c85fe3956a5208d0a478d48a0de6f1"` Oct 13 01:18:41.957 INFO kablam! usermod: no changes Oct 13 01:18:41.995 INFO kablam! Checking edupt_rust v0.1.0 (/source) Oct 13 01:18:42.632 INFO kablam! warning: value assigned to `weight` is never read Oct 13 01:18:42.632 INFO kablam! --> src/radiance.rs:44:13 Oct 13 01:18:42.632 INFO kablam! | Oct 13 01:18:42.632 INFO kablam! 44 | let mut weight : Color = Color{x:1.0, y:1.0, z:1.0}; Oct 13 01:18:42.633 INFO kablam! | ^^^^^^ Oct 13 01:18:42.633 INFO kablam! | Oct 13 01:18:42.633 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 13 01:18:42.633 INFO kablam! Oct 13 01:18:42.669 INFO kablam! warning: method is never used: `new` Oct 13 01:18:42.669 INFO kablam! --> src/ray.rs:10:5 Oct 13 01:18:42.669 INFO kablam! | Oct 13 01:18:42.669 INFO kablam! 10 | fn new(org : Vector, dir : Vector) -> Ray{ Oct 13 01:18:42.669 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.669 INFO kablam! | Oct 13 01:18:42.669 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 01:18:42.669 INFO kablam! Oct 13 01:18:42.669 INFO kablam! warning: method is never used: `new` Oct 13 01:18:42.669 INFO kablam! --> src/sphere.rs:18:5 Oct 13 01:18:42.669 INFO kablam! | Oct 13 01:18:42.669 INFO kablam! 18 | fn new(radius:f64, position: Vector, emission: Color, color: Color, reflection_type: ReflectionType) -> Sphere { Oct 13 01:18:42.669 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.669 INFO kablam! Oct 13 01:18:42.669 INFO kablam! warning: variant `REFLECTION_TYPE_DIFFUSE` should have a camel case name such as `ReflectionTypeDiffuse` Oct 13 01:18:42.669 INFO kablam! --> src/material.rs:7:5 Oct 13 01:18:42.669 INFO kablam! | Oct 13 01:18:42.669 INFO kablam! 7 | REFLECTION_TYPE_DIFFUSE, Oct 13 01:18:42.669 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.669 INFO kablam! | Oct 13 01:18:42.670 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 13 01:18:42.670 INFO kablam! Oct 13 01:18:42.670 INFO kablam! warning: variant `REFLECTION_TYPE_SPECULAR` should have a camel case name such as `ReflectionTypeSpecular` Oct 13 01:18:42.670 INFO kablam! --> src/material.rs:8:5 Oct 13 01:18:42.670 INFO kablam! | Oct 13 01:18:42.670 INFO kablam! 8 | REFLECTION_TYPE_SPECULAR, Oct 13 01:18:42.670 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.670 INFO kablam! Oct 13 01:18:42.670 INFO kablam! warning: variant `REFLECTION_TYPE_REFRACTION` should have a camel case name such as `ReflectionTypeRefraction` Oct 13 01:18:42.670 INFO kablam! --> src/material.rs:9:5 Oct 13 01:18:42.670 INFO kablam! | Oct 13 01:18:42.670 INFO kablam! 9 | REFLECTION_TYPE_REFRACTION, Oct 13 01:18:42.670 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.670 INFO kablam! Oct 13 01:18:42.670 INFO kablam! warning: unused `std::result::Result` which must be used Oct 13 01:18:42.670 INFO kablam! --> src/ppm.rs:50:9 Oct 13 01:18:42.670 INFO kablam! | Oct 13 01:18:42.670 INFO kablam! 50 | file.write_all(data.as_bytes()); Oct 13 01:18:42.670 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.670 INFO kablam! | Oct 13 01:18:42.670 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 13 01:18:42.670 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 13 01:18:42.670 INFO kablam! Oct 13 01:18:42.671 INFO kablam! warning: variable `D4` should have a snake case name such as `d4` Oct 13 01:18:42.671 INFO kablam! --> src/sphere.rs:31:13 Oct 13 01:18:42.671 INFO kablam! | Oct 13 01:18:42.671 INFO kablam! 31 | let D4 = b * b - dot(p_o, p_o) + self.radius * self.radius; Oct 13 01:18:42.671 INFO kablam! | ^^ Oct 13 01:18:42.671 INFO kablam! | Oct 13 01:18:42.671 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 13 01:18:42.671 INFO kablam! Oct 13 01:18:42.671 INFO kablam! warning: variable `sqrt_D4` should have a snake case name such as `sqrt_d4` Oct 13 01:18:42.671 INFO kablam! --> src/sphere.rs:37:13 Oct 13 01:18:42.671 INFO kablam! | Oct 13 01:18:42.671 INFO kablam! 37 | let sqrt_D4 = Sqrt::sqrt(D4); Oct 13 01:18:42.671 INFO kablam! | ^^^^^^^ Oct 13 01:18:42.671 INFO kablam! Oct 13 01:18:42.671 INFO kablam! warning: constant `spheres` should have an upper case name such as `SPHERES` Oct 13 01:18:42.671 INFO kablam! --> src/scene.rs:9:1 Oct 13 01:18:42.671 INFO kablam! | Oct 13 01:18:42.671 INFO kablam! 9 | / pub const spheres : [Sphere;10]= [ Oct 13 01:18:42.671 INFO kablam! 10 | | Sphere{radius:1e5, position:Vector{x:1e5+1.0, y:40.8, z:81.6}, emission:Color{x:0.0,y:0.0,z:0.0}, color:Color{x:0.75, y:0.25, z:0.25}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE},// left Oct 13 01:18:42.671 INFO kablam! 11 | | Sphere{radius:1e5, position:Vector{x:-1e5+99.0, y:40.8, z:81.6},emission:Color{x:0.0,y:0.0,z:0.0}, color:Color{x:0.25, y:0.25, z:0.75}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE}, // right Oct 13 01:18:42.671 INFO kablam! 12 | | Sphere{radius:1e5, position:Vector{x:50.0, y:40.8, z:1e5}, emission:Color{x:0.0,y:0.0,z:0.0}, color:Color{x:0.75, y:0.75, z:0.75}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE}, // back Oct 13 01:18:42.671 INFO kablam! ... | Oct 13 01:18:42.671 INFO kablam! 19 | | Sphere{radius:15.0,position:Vector{x:50.0, y:90.0, z:81.6}, emission:Color{x:36.0,y:36.0,z:36.0}, color:Color{x:0.0,y:0.0,z:0.0}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE}, //illumination Oct 13 01:18:42.671 INFO kablam! 20 | | ]; Oct 13 01:18:42.672 INFO kablam! | |__^ Oct 13 01:18:42.672 INFO kablam! | Oct 13 01:18:42.672 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 13 01:18:42.672 INFO kablam! Oct 13 01:18:42.672 INFO kablam! warning: variable `R0` should have a snake case name such as `r0` Oct 13 01:18:42.672 INFO kablam! --> src/radiance.rs:96:17 Oct 13 01:18:42.672 INFO kablam! | Oct 13 01:18:42.672 INFO kablam! 96 | let R0 = (a * a) / (b * b); Oct 13 01:18:42.672 INFO kablam! | ^^ Oct 13 01:18:42.672 INFO kablam! Oct 13 01:18:42.672 INFO kablam! warning: variable `Re` should have a snake case name such as `re` Oct 13 01:18:42.672 INFO kablam! --> src/radiance.rs:101:17 Oct 13 01:18:42.672 INFO kablam! | Oct 13 01:18:42.672 INFO kablam! 101 | let Re = R0 + (1.0 - R0) * c.powf(5.0); Oct 13 01:18:42.672 INFO kablam! | ^^ Oct 13 01:18:42.672 INFO kablam! Oct 13 01:18:42.672 INFO kablam! warning: variable `Tr` should have a snake case name such as `tr` Oct 13 01:18:42.672 INFO kablam! --> src/radiance.rs:103:17 Oct 13 01:18:42.672 INFO kablam! | Oct 13 01:18:42.672 INFO kablam! 103 | let Tr = (1.0 - Re) * nnt2; Oct 13 01:18:42.672 INFO kablam! | ^^ Oct 13 01:18:42.672 INFO kablam! Oct 13 01:18:42.708 INFO kablam! warning: value assigned to `weight` is never read Oct 13 01:18:42.708 INFO kablam! --> src/radiance.rs:44:13 Oct 13 01:18:42.708 INFO kablam! | Oct 13 01:18:42.708 INFO kablam! 44 | let mut weight : Color = Color{x:1.0, y:1.0, z:1.0}; Oct 13 01:18:42.708 INFO kablam! | ^^^^^^ Oct 13 01:18:42.708 INFO kablam! | Oct 13 01:18:42.708 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 13 01:18:42.708 INFO kablam! Oct 13 01:18:42.745 INFO kablam! warning: method is never used: `new` Oct 13 01:18:42.745 INFO kablam! --> src/ray.rs:10:5 Oct 13 01:18:42.745 INFO kablam! | Oct 13 01:18:42.745 INFO kablam! 10 | fn new(org : Vector, dir : Vector) -> Ray{ Oct 13 01:18:42.745 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.745 INFO kablam! | Oct 13 01:18:42.745 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 01:18:42.745 INFO kablam! Oct 13 01:18:42.745 INFO kablam! warning: method is never used: `new` Oct 13 01:18:42.745 INFO kablam! --> src/sphere.rs:18:5 Oct 13 01:18:42.745 INFO kablam! | Oct 13 01:18:42.745 INFO kablam! 18 | fn new(radius:f64, position: Vector, emission: Color, color: Color, reflection_type: ReflectionType) -> Sphere { Oct 13 01:18:42.745 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.745 INFO kablam! Oct 13 01:18:42.745 INFO kablam! warning: variant `REFLECTION_TYPE_DIFFUSE` should have a camel case name such as `ReflectionTypeDiffuse` Oct 13 01:18:42.745 INFO kablam! --> src/material.rs:7:5 Oct 13 01:18:42.745 INFO kablam! | Oct 13 01:18:42.745 INFO kablam! 7 | REFLECTION_TYPE_DIFFUSE, Oct 13 01:18:42.745 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.745 INFO kablam! | Oct 13 01:18:42.745 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Oct 13 01:18:42.745 INFO kablam! Oct 13 01:18:42.745 INFO kablam! warning: variant `REFLECTION_TYPE_SPECULAR` should have a camel case name such as `ReflectionTypeSpecular` Oct 13 01:18:42.745 INFO kablam! --> src/material.rs:8:5 Oct 13 01:18:42.745 INFO kablam! | Oct 13 01:18:42.745 INFO kablam! 8 | REFLECTION_TYPE_SPECULAR, Oct 13 01:18:42.746 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.746 INFO kablam! Oct 13 01:18:42.746 INFO kablam! warning: variant `REFLECTION_TYPE_REFRACTION` should have a camel case name such as `ReflectionTypeRefraction` Oct 13 01:18:42.746 INFO kablam! --> src/material.rs:9:5 Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! 9 | REFLECTION_TYPE_REFRACTION, Oct 13 01:18:42.746 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.746 INFO kablam! Oct 13 01:18:42.746 INFO kablam! warning: unused `std::result::Result` which must be used Oct 13 01:18:42.746 INFO kablam! --> src/ppm.rs:50:9 Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! 50 | file.write_all(data.as_bytes()); Oct 13 01:18:42.746 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 13 01:18:42.746 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 13 01:18:42.746 INFO kablam! Oct 13 01:18:42.746 INFO kablam! warning: variable `D4` should have a snake case name such as `d4` Oct 13 01:18:42.746 INFO kablam! --> src/sphere.rs:31:13 Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! 31 | let D4 = b * b - dot(p_o, p_o) + self.radius * self.radius; Oct 13 01:18:42.746 INFO kablam! | ^^ Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 13 01:18:42.746 INFO kablam! Oct 13 01:18:42.746 INFO kablam! warning: variable `sqrt_D4` should have a snake case name such as `sqrt_d4` Oct 13 01:18:42.746 INFO kablam! --> src/sphere.rs:37:13 Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! 37 | let sqrt_D4 = Sqrt::sqrt(D4); Oct 13 01:18:42.746 INFO kablam! | ^^^^^^^ Oct 13 01:18:42.746 INFO kablam! Oct 13 01:18:42.746 INFO kablam! warning: constant `spheres` should have an upper case name such as `SPHERES` Oct 13 01:18:42.746 INFO kablam! --> src/scene.rs:9:1 Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! 9 | / pub const spheres : [Sphere;10]= [ Oct 13 01:18:42.746 INFO kablam! 10 | | Sphere{radius:1e5, position:Vector{x:1e5+1.0, y:40.8, z:81.6}, emission:Color{x:0.0,y:0.0,z:0.0}, color:Color{x:0.75, y:0.25, z:0.25}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE},// left Oct 13 01:18:42.746 INFO kablam! 11 | | Sphere{radius:1e5, position:Vector{x:-1e5+99.0, y:40.8, z:81.6},emission:Color{x:0.0,y:0.0,z:0.0}, color:Color{x:0.25, y:0.25, z:0.75}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE}, // right Oct 13 01:18:42.746 INFO kablam! 12 | | Sphere{radius:1e5, position:Vector{x:50.0, y:40.8, z:1e5}, emission:Color{x:0.0,y:0.0,z:0.0}, color:Color{x:0.75, y:0.75, z:0.75}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE}, // back Oct 13 01:18:42.746 INFO kablam! ... | Oct 13 01:18:42.746 INFO kablam! 19 | | Sphere{radius:15.0,position:Vector{x:50.0, y:90.0, z:81.6}, emission:Color{x:36.0,y:36.0,z:36.0}, color:Color{x:0.0,y:0.0,z:0.0}, reflection_type:ReflectionType::REFLECTION_TYPE_DIFFUSE}, //illumination Oct 13 01:18:42.746 INFO kablam! 20 | | ]; Oct 13 01:18:42.746 INFO kablam! | |__^ Oct 13 01:18:42.746 INFO kablam! | Oct 13 01:18:42.746 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 13 01:18:42.746 INFO kablam! Oct 13 01:18:42.747 INFO kablam! warning: variable `R0` should have a snake case name such as `r0` Oct 13 01:18:42.747 INFO kablam! --> src/radiance.rs:96:17 Oct 13 01:18:42.747 INFO kablam! | Oct 13 01:18:42.747 INFO kablam! 96 | let R0 = (a * a) / (b * b); Oct 13 01:18:42.747 INFO kablam! | ^^ Oct 13 01:18:42.747 INFO kablam! Oct 13 01:18:42.747 INFO kablam! warning: variable `Re` should have a snake case name such as `re` Oct 13 01:18:42.747 INFO kablam! --> src/radiance.rs:101:17 Oct 13 01:18:42.747 INFO kablam! | Oct 13 01:18:42.747 INFO kablam! 101 | let Re = R0 + (1.0 - R0) * c.powf(5.0); Oct 13 01:18:42.747 INFO kablam! | ^^ Oct 13 01:18:42.747 INFO kablam! Oct 13 01:18:42.747 INFO kablam! warning: variable `Tr` should have a snake case name such as `tr` Oct 13 01:18:42.748 INFO kablam! --> src/radiance.rs:103:17 Oct 13 01:18:42.748 INFO kablam! | Oct 13 01:18:42.748 INFO kablam! 103 | let Tr = (1.0 - Re) * nnt2; Oct 13 01:18:42.748 INFO kablam! | ^^ Oct 13 01:18:42.748 INFO kablam! Oct 13 01:18:43.268 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.28s Oct 13 01:18:43.276 INFO kablam! su: No module specific data is present Oct 13 01:18:43.760 INFO running `"docker" "rm" "-f" "7b76a92f9d3d63cc5114b90c5fc403fdd4c85fe3956a5208d0a478d48a0de6f1"` Oct 13 01:18:44.016 INFO blam! 7b76a92f9d3d63cc5114b90c5fc403fdd4c85fe3956a5208d0a478d48a0de6f1