[INFO] cloning repository https://github.com/baransu/pbrt-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baransu/pbrt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 53ec90df08604b10a992a88fb9991ff98778e43c
[INFO] checking baransu/pbrt-rs against nightly-2024-02-05 for check-cfg-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/baransu/pbrt-rs on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/baransu/pbrt-rs
[INFO] finished tweaking git repo https://github.com/baransu/pbrt-rs
[INFO] tweaked toml for git repo https://github.com/baransu/pbrt-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/baransu/pbrt-rs 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded inflate v0.4.3
[INFO] [stderr]   Downloaded byteorder v1.2.3
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.1
[INFO] [stderr]   Downloaded adler32 v1.0.3
[INFO] [stderr]   Downloaded num-rational v0.1.42
[INFO] [stderr]   Downloaded either v1.5.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.5
[INFO] [stderr]   Downloaded bitflags v1.0.3
[INFO] [stderr]   Downloaded serde v1.0.70
[INFO] [stderr]   Downloaded image v0.19.0
[INFO] [stderr]   Downloaded libc v0.2.42
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.5
[INFO] [stderr]   Downloaded syn v0.14.5
[INFO] [stderr]   Downloaded autocfg v0.1.4
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded png v0.12.0
[INFO] [stderr]   Downloaded deflate v0.7.18
[INFO] [stderr]   Downloaded gif v0.10.0
[INFO] [stderr]   Downloaded num-iter v0.1.37
[INFO] [stderr]   Downloaded num-derive v0.2.2
[INFO] [stderr]   Downloaded quote v0.6.4
[INFO] [stderr]   Downloaded obj v0.8.2
[INFO] [stderr]   Downloaded proc-macro2 v0.4.9
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 279e750dcd27deda8a0338aa48cd8bbe66c8a692cb0591e4995b8357082f3e45
[INFO] running `Command { std: "docker" "start" "-a" "279e750dcd27deda8a0338aa48cd8bbe66c8a692cb0591e4995b8357082f3e45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "279e750dcd27deda8a0338aa48cd8bbe66c8a692cb0591e4995b8357082f3e45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "279e750dcd27deda8a0338aa48cd8bbe66c8a692cb0591e4995b8357082f3e45", kill_on_drop: false }`
[INFO] [stdout] 279e750dcd27deda8a0338aa48cd8bbe66c8a692cb0591e4995b8357082f3e45
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7504794cdb1cc86a6b6348da20244e783f45d7130d12a0d79d91edeb33d6104b
[INFO] running `Command { std: "docker" "start" "-a" "7504794cdb1cc86a6b6348da20244e783f45d7130d12a0d79d91edeb33d6104b", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]     Checking inflate v0.4.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking deflate v0.7.18
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]     Checking gif v0.10.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]     Checking obj v0.8.2
[INFO] [stderr]    Compiling syn v0.14.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking image v0.19.0
[INFO] [stderr]     Checking pbrt-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:339:63
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 let material = intersection.element.material().clone();
[INFO] [stdout]     |                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `scene::Material` does not implement `Clone`, so calling `clone` on `&scene::Material` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:339:63
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 let material = intersection.element.material().clone();
[INFO] [stdout]     |                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `scene::Material` does not implement `Clone`, so calling `clone` on `&scene::Material` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.04s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7504794cdb1cc86a6b6348da20244e783f45d7130d12a0d79d91edeb33d6104b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7504794cdb1cc86a6b6348da20244e783f45d7130d12a0d79d91edeb33d6104b", kill_on_drop: false }`
[INFO] [stdout] 7504794cdb1cc86a6b6348da20244e783f45d7130d12a0d79d91edeb33d6104b
[INFO] checking baransu/pbrt-rs against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/baransu/pbrt-rs on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/baransu/pbrt-rs
[INFO] finished tweaking git repo https://github.com/baransu/pbrt-rs
[INFO] tweaked toml for git repo https://github.com/baransu/pbrt-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/baransu/pbrt-rs 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 830411e624937e77d9c4a9f67349f3d6e255111fcbefe0c4f600be315a28a790
[INFO] running `Command { std: "docker" "start" "-a" "830411e624937e77d9c4a9f67349f3d6e255111fcbefe0c4f600be315a28a790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "830411e624937e77d9c4a9f67349f3d6e255111fcbefe0c4f600be315a28a790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "830411e624937e77d9c4a9f67349f3d6e255111fcbefe0c4f600be315a28a790", kill_on_drop: false }`
[INFO] [stdout] 830411e624937e77d9c4a9f67349f3d6e255111fcbefe0c4f600be315a28a790
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 15bda016c61084ccfa158fe62019d9c3022552e7b55843b6c03d4904778af00d
[INFO] running `Command { std: "docker" "start" "-a" "15bda016c61084ccfa158fe62019d9c3022552e7b55843b6c03d4904778af00d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]     Checking inflate v0.4.3
[INFO] [stderr]     Checking deflate v0.7.18
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking gif v0.10.0
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking obj v0.8.2
[INFO] [stderr]    Compiling syn v0.14.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking image v0.19.0
[INFO] [stderr]     Checking pbrt-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]   --> src/pbrt/matrix4.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]   --> src/pbrt/matrix4.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]   --> src/pbrt/matrix4.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]    --> src/pbrt/matrix4.rs:165:16
[INFO] [stdout]     |
[INFO] [stdout] 165 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]   --> src/pbrt/matrix4.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout]    = note: requested on the command line with `-D unexpected-cfgs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]   --> src/pbrt/matrix4.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]   --> src/pbrt/matrix4.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unexpected `cfg` condition name: `rustfmt`
[INFO] [stdout]    --> src/pbrt/matrix4.rs:165:16
[INFO] [stdout]     |
[INFO] [stdout] 165 |     #[cfg_attr(rustfmt, rustfmt_skip)]
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(rustfmt)");` to the top of a `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:339:63
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 let material = intersection.element.material().clone();
[INFO] [stdout]     |                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `scene::Material` does not implement `Clone`, so calling `clone` on `&scene::Material` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pbrt-rs` (bin "pbrt-rs") due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:339:63
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 let material = intersection.element.material().clone();
[INFO] [stdout]     |                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `scene::Material` does not implement `Clone`, so calling `clone` on `&scene::Material` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pbrt-rs` (bin "pbrt-rs" test) due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "15bda016c61084ccfa158fe62019d9c3022552e7b55843b6c03d4904778af00d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15bda016c61084ccfa158fe62019d9c3022552e7b55843b6c03d4904778af00d", kill_on_drop: false }`
[INFO] [stdout] 15bda016c61084ccfa158fe62019d9c3022552e7b55843b6c03d4904778af00d
