[INFO] updating cached repository https://github.com/Tloru/keikan [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] bc556e81349e7bdf4ad65854db01c722b83ba956 [INFO] checking Tloru/keikan against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTloru%2Fkeikan" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tloru/keikan on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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-7/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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 93db8e87092170eab14728a7fff65931750c8460a54ed6393048dd604ae4d7f4 [INFO] running `"docker" "start" "-a" "93db8e87092170eab14728a7fff65931750c8460a54ed6393048dd604ae4d7f4"` [INFO] [stderr] Checking rayon-core v1.6.0 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking 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[E0599]: no method named `tone_map` found for struct `structures::vec3::Vec3` in the current scope [INFO] [stderr] --> src/structures/vec3.rs:456:18 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Vec3 { [INFO] [stderr] | --------------- method `tone_map` not found for this [INFO] [stderr] ... [INFO] [stderr] 456 | over.tone_map(&1.0), [INFO] [stderr] | ^^^^^^^^ method not found in `structures::vec3::Vec3` [INFO] [stderr] [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] 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] 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] 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] 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] 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] 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: aborting due to 6 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] warning: build failed, waiting for other jobs to finish... [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" "93db8e87092170eab14728a7fff65931750c8460a54ed6393048dd604ae4d7f4"` [INFO] running `"docker" "rm" "-f" "93db8e87092170eab14728a7fff65931750c8460a54ed6393048dd604ae4d7f4"` [INFO] [stdout] 93db8e87092170eab14728a7fff65931750c8460a54ed6393048dd604ae4d7f4