[INFO] cloning repository https://github.com/tstullich/rust-pt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tstullich/rust-pt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be3b17aa53874c86afc824e0e932a9464c420b15 [INFO] documenting tstullich/rust-pt against master#d7d9f15be205b45d44700e7ac33b4f79b91f9680 for pr-117450 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tstullich/rust-pt on toolchain d7d9f15be205b45d44700e7ac33b4f79b91f9680 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7d9f15be205b45d44700e7ac33b4f79b91f9680" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tstullich/rust-pt [INFO] finished tweaking git repo https://github.com/tstullich/rust-pt [INFO] tweaked toml for git repo https://github.com/tstullich/rust-pt written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tstullich/rust-pt already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7d9f15be205b45d44700e7ac33b4f79b91f9680" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7d9f15be205b45d44700e7ac33b4f79b91f9680" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 851a07cde1277705bd402ec84f8c4a18c853ca32d21902bebfbd2a9feedda628 [INFO] running `Command { std: "docker" "start" "-a" "851a07cde1277705bd402ec84f8c4a18c853ca32d21902bebfbd2a9feedda628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "851a07cde1277705bd402ec84f8c4a18c853ca32d21902bebfbd2a9feedda628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851a07cde1277705bd402ec84f8c4a18c853ca32d21902bebfbd2a9feedda628", kill_on_drop: false }` [INFO] [stdout] 851a07cde1277705bd402ec84f8c4a18c853ca32d21902bebfbd2a9feedda628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7d9f15be205b45d44700e7ac33b4f79b91f9680" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb2566ae196cbdddffba8c41fc78bc6ef47d12a475a63bde98d2608a0f2b36a2 [INFO] running `Command { std: "docker" "start" "-a" "cb2566ae196cbdddffba8c41fc78bc6ef47d12a475a63bde98d2608a0f2b36a2", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Documenting pathtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unclosed HTML tag `Ray` [INFO] [stdout] --> src/material.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | /// The return type of Option allows us to indicate if ray was [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stdout] help: try marking as source code [INFO] [stdout] | [INFO] [stdout] 21 | /// The return type of `Option` allows us to indicate if ray was [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.05s [INFO] [stderr] Generated /opt/rustwide/target/doc/pathtracer/index.html [INFO] running `Command { std: "docker" "inspect" "cb2566ae196cbdddffba8c41fc78bc6ef47d12a475a63bde98d2608a0f2b36a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2566ae196cbdddffba8c41fc78bc6ef47d12a475a63bde98d2608a0f2b36a2", kill_on_drop: false }` [INFO] [stdout] cb2566ae196cbdddffba8c41fc78bc6ef47d12a475a63bde98d2608a0f2b36a2 [INFO] documenting tstullich/rust-pt against master#50be22964035027398754e54cd3a497efb00f83e for pr-117450 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tstullich/rust-pt on toolchain 50be22964035027398754e54cd3a497efb00f83e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50be22964035027398754e54cd3a497efb00f83e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tstullich/rust-pt [INFO] finished tweaking git repo https://github.com/tstullich/rust-pt [INFO] tweaked toml for git repo https://github.com/tstullich/rust-pt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tstullich/rust-pt already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50be22964035027398754e54cd3a497efb00f83e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+50be22964035027398754e54cd3a497efb00f83e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d5f3a421cfdc6fa03a23bffe7d1f7c440bdd5e7099482e6cb93e239ce1c79d0 [INFO] running `Command { std: "docker" "start" "-a" "1d5f3a421cfdc6fa03a23bffe7d1f7c440bdd5e7099482e6cb93e239ce1c79d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d5f3a421cfdc6fa03a23bffe7d1f7c440bdd5e7099482e6cb93e239ce1c79d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5f3a421cfdc6fa03a23bffe7d1f7c440bdd5e7099482e6cb93e239ce1c79d0", kill_on_drop: false }` [INFO] [stdout] 1d5f3a421cfdc6fa03a23bffe7d1f7c440bdd5e7099482e6cb93e239ce1c79d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+50be22964035027398754e54cd3a497efb00f83e" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb54e6a94f41e051e1fe6e03b2f532131739a9a943c6e5770029c8eb2f42a854 [INFO] running `Command { std: "docker" "start" "-a" "fb54e6a94f41e051e1fe6e03b2f532131739a9a943c6e5770029c8eb2f42a854", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Documenting pathtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/bvh_node.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | fn hit(&self, id: NodeId, r: &Ray, tmin: f32, tmax: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/bvh_node.rs:79:53 [INFO] [stdout] | [INFO] [stdout] 79 | fn hit(&self, r: &Ray, tmin: f32, tmax: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/hitable.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: required for `hitable::HitRecord` to implement `std::clone::Clone` [INFO] [stdout] note: required by a bound in `std::marker::Copy` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/marker.rs:465:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/hitable.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::clone::Clone` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/clone.rs:147:1 [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/hitable.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 9 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/hitable_list.rs:26:65 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn intersect(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/material.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | Lambertian(Texture), [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] = note: no field of an enum variant may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 9 | Lambertian(&Texture), [INFO] [stdout] | + [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 9 | Lambertian(Box), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/material.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `material::Material`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `Material` [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `material::Material` to implement `std::clone::Clone` [INFO] [stdout] note: required by a bound in `std::marker::Copy` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/marker.rs:465:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/material.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `material::Material`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `Material` [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::clone::Clone` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/clone.rs:147:1 [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn texture::Texture + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/sphere.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Hitable for Sphere { [INFO] [stdout] | ^^^^^^ `(dyn texture::Texture + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `sphere::Sphere`, the trait `std::marker::Sync` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `Material` [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Sphere` [INFO] [stdout] --> src/sphere.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `hitable::Hitable` [INFO] [stdout] --> src/hitable.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hitable: Sync { [INFO] [stdout] | ^^^^ required by this bound in `Hitable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn texture::Texture + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/sphere.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | impl Hitable for MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ `(dyn texture::Texture + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `sphere::MovingSphere`, the trait `std::marker::Sync` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `Material` [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `MovingSphere` [INFO] [stdout] --> src/sphere.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct MovingSphere { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `hitable::Hitable` [INFO] [stdout] --> src/hitable.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hitable: Sync { [INFO] [stdout] | ^^^^ required by this bound in `Hitable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/sphere.rs:18:55 [INFO] [stdout] | [INFO] [stdout] 18 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/sphere.rs:77:55 [INFO] [stdout] | [INFO] [stdout] 77 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn texture::Texture + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/triangle.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl Hitable for Triangle { [INFO] [stdout] | ^^^^^^^^ `(dyn texture::Texture + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `triangle::Triangle`, the trait `std::marker::Sync` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `Material` [INFO] [stdout] --> src/material.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `Triangle` [INFO] [stdout] --> src/triangle.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Triangle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `hitable::Hitable` [INFO] [stdout] --> src/hitable.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hitable: Sync { [INFO] [stdout] | ^^^^ required by this bound in `Hitable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn texture::Texture + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/triangle.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | fn hit(&self, r: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `hitable::HitRecord`, the trait `std::marker::Sized` is not implemented for `(dyn texture::Texture + 'static)` [INFO] [stdout] note: required because it appears within the type `HitRecord` [INFO] [stdout] --> src/hitable.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: required by a bound in `std::option::Option` [INFO] [stdout] --> /rustc/50be22964035027398754e54cd3a497efb00f83e/library/core/src/option.rs:563:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not document `pathtracer` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/50be22964035027398754e54cd3a497efb00f83e/bin/rustdoc --crate-type bin --crate-name pathtracer 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=971b1b6190d8aa71 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-084df1ae5bc973e6.rmeta --extern indicatif=/opt/rustwide/target/debug/deps/libindicatif-99807761b656eb2a.rmeta --extern png=/opt/rustwide/target/debug/deps/libpng-5f2bb5d32d3c0ea0.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-707ede4696358c9c.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-70d06e7cb20f00da.rmeta --cap-lints=forbid --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "fb54e6a94f41e051e1fe6e03b2f532131739a9a943c6e5770029c8eb2f42a854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb54e6a94f41e051e1fe6e03b2f532131739a9a943c6e5770029c8eb2f42a854", kill_on_drop: false }` [INFO] [stdout] fb54e6a94f41e051e1fe6e03b2f532131739a9a943c6e5770029c8eb2f42a854