[INFO] cloning repository https://github.com/Tloru/keikan
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tloru/keikan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTloru%2Fkeikan"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTloru%2Fkeikan'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] bc556e81349e7bdf4ad65854db01c722b83ba956
[INFO] testing Tloru/keikan against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTloru%2Fkeikan" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Tloru/keikan on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Tloru/keikan
[INFO] finished tweaking git repo https://github.com/Tloru/keikan
[INFO] tweaked toml for git repo https://github.com/Tloru/keikan written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/Tloru/keikan already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2cc7dd8e8fc913c012643f4ff325a7f00aef34d9cf7acef57df61ee4ae90802a
[INFO] running `"docker" "start" "-a" "2cc7dd8e8fc913c012643f4ff325a7f00aef34d9cf7acef57df61ee4ae90802a"`
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling png v0.15.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling keikan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `Sphere` in this scope
[INFO] [stderr]   --> src/objects/plane.rs:40:16
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl March for Sphere {
[INFO] [stderr]    |                ^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use crate::objects::sphere::Sphere;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/objects/plane.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 28 |         if (denom.abs > 0.0) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/objects/plane.rs:31:16
[INFO] [stderr]    |
[INFO] [stderr] 31 |             if (t >= 0.0) {
[INFO] [stderr]    |                ^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/render.rs:160:45
[INFO] [stderr]     |
[INFO] [stderr] 160 |         let sample = color(&scene, scatter, (bounce - 1), 1); // (samples / 2).max(1)); // only take one sample
[INFO] [stderr]     |                                             ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/render.rs:170:43
[INFO] [stderr]     |
[INFO] [stderr] 170 |         specular = color(&scene, scatter, (bounce - 1), samples);
[INFO] [stderr]     |                                           ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/render.rs:179:49
[INFO] [stderr]     |
[INFO] [stderr] 179 |             let sample = color(&scene, scatter, (bounce - 1), (samples / 2).max(1));
[INFO] [stderr]     |                                                 ^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `return` value
[INFO] [stderr]    --> src/render.rs:189:12
[INFO] [stderr]     |
[INFO] [stderr] 189 |       return (
[INFO] [stderr]     |  ____________^
[INFO] [stderr] 190 | |         (
[INFO] [stderr] 191 | |             ( // for dielectric materials. TODO: fresnel blending
[INFO] [stderr] 192 | |                 (
[INFO] [stderr] ...   |
[INFO] [stderr] 210 | |         )
[INFO] [stderr] 211 | |     );
[INFO] [stderr]     | |_____^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 189 |     return 
[INFO] [stderr] 190 |         (
[INFO] [stderr] 191 |             ( // for dielectric materials. TODO: fresnel blending
[INFO] [stderr] 192 |                 (
[INFO] [stderr] 193 |                     (transmission *        material.transmission)  // mix transparent
[INFO] [stderr] 194 |                   + (diffuse      * (1.0 - material.transmission)) // and diffuse
[INFO] [stderr]   ...
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/objects/plane.rs:27:37
[INFO] [stderr]    |
[INFO] [stderr] 27 |         let denom = self.normal.dot(ray.direction);
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     expected `&structures::vec3::Vec3`, found struct `structures::vec3::Vec3`
[INFO] [stderr]    |                                     help: consider borrowing here: `&ray.direction`
[INFO] [stderr] 
[INFO] [stderr] error[E0615]: attempted to take value of method `abs` on type `f64`
[INFO] [stderr]   --> src/objects/plane.rs:28:19
[INFO] [stderr]    |
[INFO] [stderr] 28 |         if (denom.abs > 0.0) {
[INFO] [stderr]    |                   ^^^ help: use parentheses to call the method: `abs()`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/objects/plane.rs:29:54
[INFO] [stderr]    |
[INFO] [stderr] 29 |             let t = (self.position - ray.origin).dot(self.normal) / denom;
[INFO] [stderr]    |                                                      ^^^^^^^^^^^
[INFO] [stderr]    |                                                      |
[INFO] [stderr]    |                                                      expected `&structures::vec3::Vec3`, found struct `structures::vec3::Vec3`
[INFO] [stderr]    |                                                      help: consider borrowing here: `&self.normal`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `MAX` found for type `f64` in the current scope
[INFO] [stderr]   --> src/objects/plane.rs:36:29
[INFO] [stderr]    |
[INFO] [stderr] 36 |         return (false, f64::MAX, self.normal);
[INFO] [stderr]    |                             ^^^ associated item not found in `f64`
[INFO] [stderr]    |
[INFO] [stderr] help: you are looking for the module in `std`, not the primitive type
[INFO] [stderr]    |
[INFO] [stderr] 36 |         return (false, std::f64::MAX, self.normal);
[INFO] [stderr]    |                        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0599, E0615.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `keikan`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "2cc7dd8e8fc913c012643f4ff325a7f00aef34d9cf7acef57df61ee4ae90802a"`
[INFO] running `"docker" "rm" "-f" "2cc7dd8e8fc913c012643f4ff325a7f00aef34d9cf7acef57df61ee4ae90802a"`
[INFO] [stdout] 2cc7dd8e8fc913c012643f4ff325a7f00aef34d9cf7acef57df61ee4ae90802a
