[INFO] cloning repository https://github.com/Planet511/Raytracer-In-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Planet511/Raytracer-In-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlanet511%2FRaytracer-In-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlanet511%2FRaytracer-In-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1af69fa67eb79847164964fd76846c0833791b52 [INFO] testing Planet511/Raytracer-In-Rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlanet511%2FRaytracer-In-Rust" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Planet511/Raytracer-In-Rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Planet511/Raytracer-In-Rust [INFO] finished tweaking git repo https://github.com/Planet511/Raytracer-In-Rust [INFO] tweaked toml for git repo https://github.com/Planet511/Raytracer-In-Rust written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/Planet511/Raytracer-In-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5582890ecb18e78bbabaa3c6fb930cd939c2ca61f79e0ab1938c06b1d4a3f5b [INFO] running `Command { std: "docker" "start" "-a" "a5582890ecb18e78bbabaa3c6fb930cd939c2ca61f79e0ab1938c06b1d4a3f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5582890ecb18e78bbabaa3c6fb930cd939c2ca61f79e0ab1938c06b1d4a3f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5582890ecb18e78bbabaa3c6fb930cd939c2ca61f79e0ab1938c06b1d4a3f5b", kill_on_drop: false }` [INFO] [stdout] a5582890ecb18e78bbabaa3c6fb930cd939c2ca61f79e0ab1938c06b1d4a3f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 583403d408d1d5b6ef050bdee96f5c121c82412a987fa57d21b412e933702762 [INFO] running `Command { std: "docker" "start" "-a" "583403d408d1d5b6ef050bdee96f5c121c82412a987fa57d21b412e933702762", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `vec3` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod vec3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `vec3`, create file "src/vec3.rs" or "src/vec3/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `vec3::Color`, `vec3::Vec3` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use vec3::{Color, Vec3}; [INFO] [stdout] | ^^^^^ ^^^^ no `Vec3` in `vec3` [INFO] [stdout] | | [INFO] [stdout] | no `Color` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/main.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{hittable_list::HittableList, sphere::Sphere, utility::write_color, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/camera.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/hittable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec3::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/hittable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Vec3` [INFO] [stdout] --> src/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Point3` [INFO] [stdout] --> src/ray.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::vec3::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::vec3::Point3`, `crate::vec3::Vec3` [INFO] [stdout] --> src/sphere.rs:1:92 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{hittable::HitRecord, hittable::Hittable, material::{self, Material}, ray::Ray, vec3::Point3, vec3::Vec3}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] | | [INFO] [stdout] | no `Point3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::vec3::Color` [INFO] [stdout] --> src/utility.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Color` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use hittable::{HitRecord, Hittable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::infinity` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use utility::infinity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::write_color` [INFO] [stdout] --> src/main.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{hittable_list::HittableList, sphere::Sphere, utility::write_color, vec3::Point3}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material` [INFO] [stdout] --> src/hittable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::material; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/sphere.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{hittable::HitRecord, hittable::Hittable, material::{self, Material}, ray::Ray, vec3::Point3, vec3::Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `x` found for type `f64` in the current scope [INFO] [stdout] --> src/camera.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | let offset = self.u * rd.x() + self.v * rd.y(); [INFO] [stdout] | ^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `y` found for type `f64` in the current scope [INFO] [stdout] --> src/camera.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | let offset = self.u * rd.x() + self.v * rd.y(); [INFO] [stdout] | ^ method not found in `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/camera.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for f32; [INFO] [stdout] - impl SampleUniform for f64; [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.4/src/rng.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | T: SampleUniform, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(::gen_range(rng), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 53 | let p = Vec3::new(::gen_range(rng), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 53 | let p = Vec3::new(::gen_range(rng), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 53 | let p = Vec3::new(::gen_range(rng), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range::(-1.0..1.0), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ++++++++ [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range::(-1.0..1.0), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/camera.rs:53:57 [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), rng.gen_range(-1.0..1.0), 0.0); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for f32; [INFO] [stdout] - impl SampleUniform for f64; [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.4/src/rng.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | T: SampleUniform, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), ::gen_range(rng), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), ::gen_range(rng), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), ::gen_range(rng), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), ::gen_range(rng), 0.0); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), rng.gen_range::(-1.0..1.0), 0.0); [INFO] [stdout] | ++++++++ [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 53 | let p = Vec3::new(rng.gen_range(-1.0..1.0), rng.gen_range::(-1.0..1.0), 0.0); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `squared_length` found for type `{float}` in the current scope [INFO] [stdout] --> src/material.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | if p.squared_length() < 1.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `{float}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/hittable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 8 | pub struct HitRecord{ [INFO] [stdout] 9 | pub p: Point3, [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ray.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 5 | pub struct Ray{ [INFO] [stdout] 6 | pub origin: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` due to 19 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "583403d408d1d5b6ef050bdee96f5c121c82412a987fa57d21b412e933702762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583403d408d1d5b6ef050bdee96f5c121c82412a987fa57d21b412e933702762", kill_on_drop: false }` [INFO] [stdout] 583403d408d1d5b6ef050bdee96f5c121c82412a987fa57d21b412e933702762