[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/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/frigaardj/raytracer"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/frigaardj/raytracer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/frigaardj/raytracer" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/frigaardj/raytracer"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/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 master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of frigaardj/raytracer on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "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/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/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/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/frigaardj/raytracer/Cargo.toml [INFO] crate frigaardj/raytracer already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/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/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking frigaardj/raytracer against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-3/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/frigaardj/raytracer:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 87e078834ed6df6d0bd9d81c9a438b0bd042ee4cb442afa453d9d8c70d2d66c9 [INFO] running `"docker" "start" "-a" "87e078834ed6df6d0bd9d81c9a438b0bd042ee4cb442afa453d9d8c70d2d66c9"` [INFO] [stderr] Checking 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) -> Option; [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) -> Option { [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) -> Option { [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, depth: u8) -> Vector3 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [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) -> Option; [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) -> Option { [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) -> Option { [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, depth: u8) -> Vector3 { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for type `cgmath::Point3` 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` in the current scope [INFO] [stderr] --> src/primitive.rs:38:80 [INFO] [stderr] | [INFO] [stderr] 38 | fn normal(&self, intersection: &Point3) -> Vector3 {intersection.sub_p(&self.center).normalize() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for type `cgmath::Point3` 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[E0599]: no method named `sub_p` found for type `cgmath::Point3` 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` in the current scope [INFO] [stderr] --> src/primitive.rs:38:80 [INFO] [stderr] | [INFO] [stderr] 38 | fn normal(&self, intersection: &Point3) -> Vector3 {intersection.sub_p(&self.center).normalize() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for type `cgmath::Point3` 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` [INFO] [stderr] found type `&&cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_v` found for type `&cgmath::Vector3` 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` 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` 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` 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` 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` 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` 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` 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` 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] warning: build failed, waiting for other jobs to finish... [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` [INFO] [stderr] found type `&&cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_v` found for type `&cgmath::Vector3` 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` 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` 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` 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` 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` 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` 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` 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` 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" "87e078834ed6df6d0bd9d81c9a438b0bd042ee4cb442afa453d9d8c70d2d66c9"` [INFO] running `"docker" "rm" "-f" "87e078834ed6df6d0bd9d81c9a438b0bd042ee4cb442afa453d9d8c70d2d66c9"` [INFO] [stdout] 87e078834ed6df6d0bd9d81c9a438b0bd042ee4cb442afa453d9d8c70d2d66c9