[INFO] cloning repository https://github.com/trcoffman/raytrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trcoffman/raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrcoffman%2Fraytrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrcoffman%2Fraytrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb8ddc74727afe069df5ee67eec212a79383426c [INFO] documenting trcoffman/raytrace against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrcoffman%2Fraytrace" "/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/trcoffman/raytrace on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trcoffman/raytrace [INFO] finished tweaking git repo https://github.com/trcoffman/raytrace [INFO] tweaked toml for git repo https://github.com/trcoffman/raytrace written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/trcoffman/raytrace already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db8568d1b62bef0ee1116ba4295dfc9f2d03a8792012ceefae592f4da446c44c [INFO] running `Command { std: "docker" "start" "-a" "db8568d1b62bef0ee1116ba4295dfc9f2d03a8792012ceefae592f4da446c44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db8568d1b62bef0ee1116ba4295dfc9f2d03a8792012ceefae592f4da446c44c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8568d1b62bef0ee1116ba4295dfc9f2d03a8792012ceefae592f4da446c44c", kill_on_drop: false }` [INFO] [stdout] db8568d1b62bef0ee1116ba4295dfc9f2d03a8792012ceefae592f4da446c44c [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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 69e62c440c10e523e12a35e79c849809f6ee04e495b1e8974c3ee39af4d2fc7a [INFO] running `Command { std: "docker" "start" "-a" "69e62c440c10e523e12a35e79c849809f6ee04e495b1e8974c3ee39af4d2fc7a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num_cpus v1.2.1 [INFO] [stderr] Checking deque v0.3.1 [INFO] [stderr] Checking rayon v0.6.0 [INFO] [stderr] Documenting raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `vec3` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub 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 import `vec3::Vec3` [INFO] [stdout] --> src/ray.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vec3::Scalar` [INFO] [stdout] --> src/ray.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use vec3::Scalar; [INFO] [stdout] | ^^^^^^^^^^^^ no `Scalar` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vec3::Vec3` [INFO] [stdout] --> src/hitable.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/sphere.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub center: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/sphere.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(center: Vec3, radius: f32, material: &'a Material) -> Sphere { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub origin: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | pub lower_left_corner: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub horizontal: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub vertical: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(origin: Vec3, lower_left_corner: Vec3, horizontal: Vec3, vertical: Vec3) -> Camera { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(origin: Vec3, lower_left_corner: Vec3, horizontal: Vec3, vertical: Vec3) -> Camera { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(origin: Vec3, lower_left_corner: Vec3, horizontal: Vec3, vertical: Vec3) -> Camera { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/camera.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(origin: Vec3, lower_left_corner: Vec3, horizontal: Vec3, vertical: Vec3) -> Camera { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/random.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_in_unit_sphere_helper() -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/random.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn random_in_unit_sphere() -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:7:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option<(Vec3, Ray)>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option<(Vec, Ray)>; [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Material: Send + Sync { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | albedo: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(albedo: Vec3) -> Lambertian { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:21:63 [INFO] [stdout] | [INFO] [stdout] 21 | fn scatter(&self, _: &Ray, record: &HitRecord) -> Option<(Vec3, Ray)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 | fn scatter(&self, _: &Ray, record: &HitRecord) -> Option<(Vec, Ray)> { [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | impl Material for Lambertian { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | albedo: Vec3, [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(albedo: Vec3, fuzz: f32) -> Metal { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn reflect(&self, v: Vec3, n: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn reflect(&self, v: Vec3, n: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | fn reflect(&self, v: Vec3, n: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/material.rs:47:68 [INFO] [stdout] | [INFO] [stdout] 47 | fn scatter(&self, ray_in: &Ray, record: &HitRecord) -> Option<(Vec3, Ray)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 47 | fn scatter(&self, ray_in: &Ray, record: &HitRecord) -> Option<(Vec, Ray)> { [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | impl Material for Metal { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/main.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | fn color(ray: &Ray, world: &Hitable) -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/main.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn color_limited(ray: &Ray, world: &Hitable, depth: u32) -> Vec3 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `raytracer` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name raytracer src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=0e96c0a14a2cadc2 -L dependency=/opt/rustwide/target/debug/deps --extern rand=/opt/rustwide/target/debug/deps/librand-5072a2286ae06957.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-6c39f322a9828a5c.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "69e62c440c10e523e12a35e79c849809f6ee04e495b1e8974c3ee39af4d2fc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e62c440c10e523e12a35e79c849809f6ee04e495b1e8974c3ee39af4d2fc7a", kill_on_drop: false }` [INFO] [stdout] 69e62c440c10e523e12a35e79c849809f6ee04e495b1e8974c3ee39af4d2fc7a