[INFO] updating cached repository https://github.com/trcoffman/raytrace [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb8ddc74727afe069df5ee67eec212a79383426c [INFO] documenting trcoffman/raytrace against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrcoffman%2Fraytrace" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trcoffman/raytrace on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "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] 502facaff2cb4fb52cadbdc331d4fc2ab46af8f2c1bec2e8b4c527d4d8800f8e [INFO] running `Command { std: "docker" "start" "-a" "502facaff2cb4fb52cadbdc331d4fc2ab46af8f2c1bec2e8b4c527d4d8800f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "502facaff2cb4fb52cadbdc331d4fc2ab46af8f2c1bec2e8b4c527d4d8800f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "502facaff2cb4fb52cadbdc331d4fc2ab46af8f2c1bec2e8b4c527d4d8800f8e", kill_on_drop: false }` [INFO] [stdout] 502facaff2cb4fb52cadbdc331d4fc2ab46af8f2c1bec2e8b4c527d4d8800f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c3c86dd2d86184fbe9360dead3da8e6aa51d969b46f8f0c18b6735fd58c3d3c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4c3c86dd2d86184fbe9360dead3da8e6aa51d969b46f8f0c18b6735fd58c3d3c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" [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 --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern rand=/opt/rustwide/target/debug/deps/librand-8196c98c9900762d.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-433d5edd4a628c60.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "4c3c86dd2d86184fbe9360dead3da8e6aa51d969b46f8f0c18b6735fd58c3d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3c86dd2d86184fbe9360dead3da8e6aa51d969b46f8f0c18b6735fd58c3d3c", kill_on_drop: false }` [INFO] [stdout] 4c3c86dd2d86184fbe9360dead3da8e6aa51d969b46f8f0c18b6735fd58c3d3c