[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] 9e9cc737b1f95a346ab590142b636206562b553f [INFO] testing Planet511/Raytracer-In-Rust against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlanet511%2FRaytracer-In-Rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Planet511/Raytracer-In-Rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-11/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf99eae8e245a40ee939fdc56dd9c8af3d0ae437ae849d8f942ddd36a816dce3 [INFO] running `Command { std: "docker" "start" "-a" "cf99eae8e245a40ee939fdc56dd9c8af3d0ae437ae849d8f942ddd36a816dce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf99eae8e245a40ee939fdc56dd9c8af3d0ae437ae849d8f942ddd36a816dce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf99eae8e245a40ee939fdc56dd9c8af3d0ae437ae849d8f942ddd36a816dce3", kill_on_drop: false }` [INFO] [stdout] cf99eae8e245a40ee939fdc56dd9c8af3d0ae437ae849d8f942ddd36a816dce3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c2da7fa8e8ab7baacdae49e8a74f7e31d229e74567e6887b683a156393c046 [INFO] running `Command { std: "docker" "start" "-a" "e6c2da7fa8e8ab7baacdae49e8a74f7e31d229e74567e6887b683a156393c046", kill_on_drop: false }` [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:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | 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/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] 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] 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use utility::infinity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use material::{scatter, Material}; [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[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | list.push(Box::new(Sphere::new(Vec3::new(0.0, 0.0, -1.0), 0.5))); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------- --- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(center: Point3, radius: f64, material: Material) -> Sphere{ [INFO] [stdout] | ^^^ -------------- ----------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | list.push(Box::new(Sphere::new(Vec3::new(0.0, -100.5, -1.0), 100.0))); [INFO] [stdout] | ^^^^^^^^^^^ ---------------------------- ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(center: Point3, radius: f64, material: Material) -> Sphere{ [INFO] [stdout] | ^^^ -------------- ----------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | color = color + ray_color(&r, &world); [INFO] [stdout] | ^^^^^^^^^ -- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn ray_color(r: &Ray, world: &HittableList, depth: i64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ ------- -------------------- ---------- [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: required by `std::default::Default::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: required by `std::default::Default::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] [stderr] error: could not compile `raytracer` due to 17 previous errors; 6 warnings emitted [INFO] [stdout] error: aborting due to 16 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0283, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6c2da7fa8e8ab7baacdae49e8a74f7e31d229e74567e6887b683a156393c046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c2da7fa8e8ab7baacdae49e8a74f7e31d229e74567e6887b683a156393c046", kill_on_drop: false }` [INFO] [stdout] e6c2da7fa8e8ab7baacdae49e8a74f7e31d229e74567e6887b683a156393c046