[INFO] updating cached repository https://github.com/frigaardj/raytracer [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3ab5b958c641b0a52f548fd36635f8775e5ab0a3 [INFO] testing frigaardj/raytracer against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrigaardj%2Fraytracer" "/workspace/builds/worker-6/source"` [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 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+1.44.0" "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] 2a024be3aff6301d9d6791461bb7e1035347b8923a842ff7bedd523fedc1b9cb [INFO] running `"docker" "start" "-a" "2a024be3aff6301d9d6791461bb7e1035347b8923a842ff7bedd523fedc1b9cb"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | pub primitives: Vec<&'s Primitive>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | let mut prims: Vec<&Primitive> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Primitive` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for struct `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] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for reference `&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] | ^^^^^ method not found in `&cgmath::Point3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for struct `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] | ^^^^^ method not found in `cgmath::Point3` [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 struct `cgmath::Vector3` [INFO] [stderr] found reference `&&cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_v` found for reference `&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] | ^^^^^ method not found in `&cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `mul_s` found for reference `&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] | ^^^^^ method not found in `&cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sub_p` found for struct `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] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_v` found for struct `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] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_self_v` found for struct `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] | ^^^^^^^^^^ method not found in `cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `mul_s` found for struct `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] | ^^^^^ method not found in `cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_v` found for struct `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] | ^^^^^ method not found in `cgmath::Point3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `mul_s` found for struct `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] | ^^^^^ method not found in `cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `add_self_v` found for struct `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] | ^^^^^^^^^^ method not found in `cgmath::Vector3` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 2 warnings emitted [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" "2a024be3aff6301d9d6791461bb7e1035347b8923a842ff7bedd523fedc1b9cb"` [INFO] running `"docker" "rm" "-f" "2a024be3aff6301d9d6791461bb7e1035347b8923a842ff7bedd523fedc1b9cb"` [INFO] [stdout] 2a024be3aff6301d9d6791461bb7e1035347b8923a842ff7bedd523fedc1b9cb