[INFO] updating cached repository frigaardj/raytracer
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/frigaardj/raytracer
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/frigaardj/raytracer" "work/ex/beta-1.37-6/sources/1.36.0/gh/frigaardj/raytracer"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/frigaardj/raytracer'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/frigaardj/raytracer" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/frigaardj/raytracer"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/frigaardj/raytracer'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 3ab5b958c641b0a52f548fd36635f8775e5ab0a3
[INFO] sha for GitHub repo frigaardj/raytracer: 3ab5b958c641b0a52f548fd36635f8775e5ab0a3
[INFO] validating manifest of frigaardj/raytracer on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of frigaardj/raytracer on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing frigaardj/raytracer
[INFO] finished frobbing frigaardj/raytracer
[INFO] frobbed toml for frigaardj/raytracer written to work/ex/beta-1.37-6/sources/1.36.0/gh/frigaardj/raytracer/Cargo.toml
[INFO] started frobbing frigaardj/raytracer
[INFO] finished frobbing frigaardj/raytracer
[INFO] frobbed toml for frigaardj/raytracer written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/frigaardj/raytracer/Cargo.toml
[INFO] crate frigaardj/raytracer already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/frigaardj/raytracer/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing frigaardj/raytracer against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/frigaardj/raytracer:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 16c446b9a8f08f4662cbf9ef96f2f1c1aca82e7039bfa8a31f5b276853522e7d
[INFO] running `"docker" "start" "-a" "16c446b9a8f08f4662cbf9ef96f2f1c1aca82e7039bfa8a31f5b276853522e7d"`
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling raytracer v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ray3`
[INFO] [stderr]   --> src/scene.rs:57:29
[INFO] [stderr]    |
[INFO] [stderr] 57 |                     let r_to_light = Ray3::new(hitpoint.add_v(&v_to_light.mul_s(0.0001f64)), v_to_light);
[INFO] [stderr]    |                                      ^^^^ use of undeclared type or module `Ray3`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ray3`
[INFO] [stderr]   --> src/scene.rs:93:32
[INFO] [stderr]    |
[INFO] [stderr] 93 |                     let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v);
[INFO] [stderr]    |                                         ^^^^ use of undeclared type or module `Ray3`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Ray3`
[INFO] [stderr]   --> src/main.rs:81:29
[INFO] [stderr]    |
[INFO] [stderr] 81 |             let pixel_ray = Ray3::new(camera, img_point.sub_p(&camera).normalize());
[INFO] [stderr]    |                             ^^^^ use of undeclared type or module `Ray3`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ray3` in this scope
[INFO] [stderr]   --> src/primitive.rs:10:32
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn intersects(&self, ray: &Ray3<f64>) -> Option<f64>;
[INFO] [stderr]    |                                ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ray3` in this scope
[INFO] [stderr]   --> src/primitive.rs:20:39
[INFO] [stderr]    |
[INFO] [stderr] 20 |     fn intersects<'b>(&self, ray: &'b Ray3<f64>) -> Option<f64> {
[INFO] [stderr]    |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ray3` in this scope
[INFO] [stderr]   --> src/primitive.rs:44:39
[INFO] [stderr]    |
[INFO] [stderr] 44 |     fn intersects<'b>(&self, ray: &'b Ray3<f64>) -> Option<f64> {
[INFO] [stderr]    |                                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ray3` in this scope
[INFO] [stderr]   --> src/scene.rs:13:34
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub fn raytrace(&self, ray: &Ray3<f64>, depth: u8) -> Vector3<f64> {
[INFO] [stderr]    |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `sub_p` found for type `cgmath::Point3<f64>` in the current scope
[INFO] [stderr]   --> src/main.rs:81:57
[INFO] [stderr]    |
[INFO] [stderr] 81 |             let pixel_ray = Ray3::new(camera, img_point.sub_p(&camera).normalize());
[INFO] [stderr]    |                                                         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `sub_p` found for type `&cgmath::Point3<f64>` in the current scope
[INFO] [stderr]   --> src/primitive.rs:38:80
[INFO] [stderr]    |
[INFO] [stderr] 38 |     fn normal(&self, intersection: &Point3<f64>) -> Vector3<f64> {intersection.sub_p(&self.center).normalize() }
[INFO] [stderr]    |                                                                                ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `sub_p` found for type `cgmath::Point3<f64>` in the current scope
[INFO] [stderr]   --> src/primitive.rs:52:43
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let t = &self.normal.dot(&self.point.sub_p(&ray.origin)) / n_dot_e;
[INFO] [stderr]    |                                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/util.rs:25:25
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let dot = incident.dot(&mirror_normal);
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^ expected struct `cgmath::Vector3`, found reference
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `cgmath::Vector3<f64>`
[INFO] [stderr]               found type `&&cgmath::Vector3<f64>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `sub_v` found for type `&cgmath::Vector3<f64>` in the current scope
[INFO] [stderr]   --> src/util.rs:26:11
[INFO] [stderr]    |
[INFO] [stderr] 26 |     incident.sub_v(&mirror_normal.mul_s(dot * 2.0f64))
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `mul_s` found for type `&cgmath::Vector3<f64>` in the current scope
[INFO] [stderr]   --> src/util.rs:26:32
[INFO] [stderr]    |
[INFO] [stderr] 26 |     incident.sub_v(&mirror_normal.mul_s(dot * 2.0f64))
[INFO] [stderr]    |                                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `sub_p` found for type `cgmath::Point3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:53:46
[INFO] [stderr]    |
[INFO] [stderr] 53 |                     let mut v_to_light = light.center.sub_p(&hitpoint);
[INFO] [stderr]    |                                                       ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `add_v` found for type `cgmath::Point3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:57:48
[INFO] [stderr]    |
[INFO] [stderr] 57 |                     let r_to_light = Ray3::new(hitpoint.add_v(&v_to_light.mul_s(0.0001f64)), v_to_light);
[INFO] [stderr]    |                                                         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `add_self_v` found for type `cgmath::Vector3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:85:19
[INFO] [stderr]    |
[INFO] [stderr] 85 |                         color.add_self_v(&prim_mat.color.mul_s(diff).mul_v(&light_col));
[INFO] [stderr]    |                               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `mul_s` found for type `cgmath::Vector3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:85:46
[INFO] [stderr]    |
[INFO] [stderr] 85 |                         color.add_self_v(&prim_mat.color.mul_s(diff).mul_v(&light_col));
[INFO] [stderr]    |                                                          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `add_v` found for type `cgmath::Point3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:93:51
[INFO] [stderr]    |
[INFO] [stderr] 93 |                     let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v);
[INFO] [stderr]    |                                                            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `mul_s` found for type `cgmath::Vector3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:93:70
[INFO] [stderr]    |
[INFO] [stderr] 93 |                     let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v);
[INFO] [stderr]    |                                                                               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `add_self_v` found for type `cgmath::Vector3<f64>` in the current scope
[INFO] [stderr]   --> src/scene.rs:95:18
[INFO] [stderr]    |
[INFO] [stderr] 95 |                     color.add_self_v(&reflected_color);
[INFO] [stderr]    |                           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 20 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0308`.
[INFO] [stderr] error: Could not compile `raytracer`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "16c446b9a8f08f4662cbf9ef96f2f1c1aca82e7039bfa8a31f5b276853522e7d"`
[INFO] running `"docker" "rm" "-f" "16c446b9a8f08f4662cbf9ef96f2f1c1aca82e7039bfa8a31f5b276853522e7d"`
[INFO] [stdout] 16c446b9a8f08f4662cbf9ef96f2f1c1aca82e7039bfa8a31f5b276853522e7d
