[INFO] cloning repository https://github.com/frigaardj/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frigaardj/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrigaardj%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrigaardj%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ab5b958c641b0a52f548fd36635f8775e5ab0a3 [INFO] checking frigaardj/raytracer against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrigaardj%2Fraytracer" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frigaardj/raytracer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frigaardj/raytracer [INFO] finished tweaking git repo https://github.com/frigaardj/raytracer [INFO] tweaked toml for git repo https://github.com/frigaardj/raytracer written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/frigaardj/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b748e254c38af93a26e3905d01c731271ab7495ef49c3b4d25351b7379b45d96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b748e254c38af93a26e3905d01c731271ab7495ef49c3b4d25351b7379b45d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b748e254c38af93a26e3905d01c731271ab7495ef49c3b4d25351b7379b45d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b748e254c38af93a26e3905d01c731271ab7495ef49c3b4d25351b7379b45d96", kill_on_drop: false }` [INFO] [stdout] b748e254c38af93a26e3905d01c731271ab7495ef49c3b4d25351b7379b45d96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ca65fa0af6a07cf3b36260225a78a6a51ebfee541b7b3083fe51913d80564b4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3ca65fa0af6a07cf3b36260225a78a6a51ebfee541b7b3083fe51913d80564b4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray3` [INFO] [stdout] --> src/scene.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let r_to_light = Ray3::new(hitpoint.add_v(&v_to_light.mul_s(0.0001f64)), v_to_light); [INFO] [stdout] | ^^^^ use of undeclared type `Ray3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray3` [INFO] [stdout] --> src/scene.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v); [INFO] [stdout] | ^^^^ use of undeclared type `Ray3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray3` [INFO] [stdout] --> src/main.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | let pixel_ray = Ray3::new(camera, img_point.sub_p(&camera).normalize()); [INFO] [stdout] | ^^^^ use of undeclared type `Ray3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/primitive.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn intersects(&self, ray: &Ray3) -> Option; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/primitive.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | fn intersects<'b>(&self, ray: &'b Ray3) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/primitive.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | fn intersects<'b>(&self, ray: &'b Ray3) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/scene.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn raytrace(&self, ray: &Ray3, depth: u8) -> Vector3 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub primitives: Vec<&'s Primitive>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut prims: Vec<&Primitive> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray3` [INFO] [stdout] --> src/scene.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let r_to_light = Ray3::new(hitpoint.add_v(&v_to_light.mul_s(0.0001f64)), v_to_light); [INFO] [stdout] | ^^^^ use of undeclared type `Ray3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray3` [INFO] [stdout] --> src/scene.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v); [INFO] [stdout] | ^^^^ use of undeclared type `Ray3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ray3` [INFO] [stdout] --> src/main.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | let pixel_ray = Ray3::new(camera, img_point.sub_p(&camera).normalize()); [INFO] [stdout] | ^^^^ use of undeclared type `Ray3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/primitive.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn intersects(&self, ray: &Ray3) -> Option; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/primitive.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | fn intersects<'b>(&self, ray: &'b Ray3) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/primitive.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | fn intersects<'b>(&self, ray: &'b Ray3) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ray3` in this scope [INFO] [stdout] --> src/scene.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn raytrace(&self, ray: &Ray3, depth: u8) -> Vector3 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub primitives: Vec<&'s Primitive>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let mut prims: Vec<&Primitive> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/main.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | let pixel_ray = Ray3::new(camera, img_point.sub_p(&camera).normalize()); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/main.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | let pixel_ray = Ray3::new(camera, img_point.sub_p(&camera).normalize()); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for reference `&cgmath::Point3` in the current scope [INFO] [stdout] --> src/primitive.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | fn normal(&self, intersection: &Point3) -> Vector3 {intersection.sub_p(&self.center).normalize() } [INFO] [stdout] | ^^^^^ method not found in `&cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/primitive.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let t = &self.normal.dot(&self.point.sub_p(&ray.origin)) / n_dot_e; [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for reference `&cgmath::Point3` in the current scope [INFO] [stdout] --> src/primitive.rs:38:80 [INFO] [stdout] | [INFO] [stdout] 38 | fn normal(&self, intersection: &Point3) -> Vector3 {intersection.sub_p(&self.center).normalize() } [INFO] [stdout] | ^^^^^ method not found in `&cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/primitive.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let t = &self.normal.dot(&self.point.sub_p(&ray.origin)) / n_dot_e; [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let dot = incident.dot(&mirror_normal); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3` [INFO] [stdout] found reference `&&cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let dot = incident.dot(&mirror_normal); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `cgmath::Vector3`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::Vector3` [INFO] [stdout] found reference `&&cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_v` found for reference `&cgmath::Vector3` in the current scope [INFO] [stdout] --> src/util.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | incident.sub_v(&mirror_normal.mul_s(dot * 2.0f64)) [INFO] [stdout] | ^^^^^ method not found in `&cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_s` found for reference `&cgmath::Vector3` in the current scope [INFO] [stdout] --> src/util.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | incident.sub_v(&mirror_normal.mul_s(dot * 2.0f64)) [INFO] [stdout] | ^^^^^ method not found in `&cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_v` found for reference `&cgmath::Vector3` in the current scope [INFO] [stdout] --> src/util.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | incident.sub_v(&mirror_normal.mul_s(dot * 2.0f64)) [INFO] [stdout] | ^^^^^ method not found in `&cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_s` found for reference `&cgmath::Vector3` in the current scope [INFO] [stdout] --> src/util.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | incident.sub_v(&mirror_normal.mul_s(dot * 2.0f64)) [INFO] [stdout] | ^^^^^ method not found in `&cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/scene.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | let mut v_to_light = light.center.sub_p(&hitpoint); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_p` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/scene.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | let mut v_to_light = light.center.sub_p(&hitpoint); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_v` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/scene.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let r_to_light = Ray3::new(hitpoint.add_v(&v_to_light.mul_s(0.0001f64)), v_to_light); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_self_v` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | color.add_self_v(&prim_mat.color.mul_s(diff).mul_v(&light_col)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_s` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | color.add_self_v(&prim_mat.color.mul_s(diff).mul_v(&light_col)); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_v` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/scene.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let r_to_light = Ray3::new(hitpoint.add_v(&v_to_light.mul_s(0.0001f64)), v_to_light); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_v` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/scene.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_s` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:93:70 [INFO] [stdout] | [INFO] [stdout] 93 | let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_self_v` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | color.add_self_v(&reflected_color); [INFO] [stdout] | ^^^^^^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_self_v` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | color.add_self_v(&prim_mat.color.mul_s(diff).mul_v(&light_col)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_s` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | color.add_self_v(&prim_mat.color.mul_s(diff).mul_v(&light_col)); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_v` found for struct `cgmath::Point3` in the current scope [INFO] [stdout] --> src/scene.rs:93:51 [INFO] [stdout] | [INFO] [stdout] 93 | let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul_s` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:93:70 [INFO] [stdout] | [INFO] [stdout] 93 | let reflected_ray = Ray3::new(hitpoint.add_v(&reflected_v.mul_s(0.0001f64)), reflected_v); [INFO] [stdout] | ^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `add_self_v` found for struct `cgmath::Vector3` in the current scope [INFO] [stdout] --> src/scene.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | color.add_self_v(&reflected_color); [INFO] [stdout] | ^^^^^^^^^^ method not found in `cgmath::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3ca65fa0af6a07cf3b36260225a78a6a51ebfee541b7b3083fe51913d80564b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca65fa0af6a07cf3b36260225a78a6a51ebfee541b7b3083fe51913d80564b4", kill_on_drop: false }` [INFO] [stdout] 3ca65fa0af6a07cf3b36260225a78a6a51ebfee541b7b3083fe51913d80564b4