[INFO] cloning repository https://github.com/Alekssasho/GarageRay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alekssasho/GarageRay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekssasho%2FGarageRay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekssasho%2FGarageRay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa3fee9113130b35ef469bebab159a93ec800413 [INFO] checking Alekssasho/GarageRay against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekssasho%2FGarageRay" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Alekssasho/GarageRay [INFO] finished tweaking git repo https://github.com/Alekssasho/GarageRay [INFO] tweaked toml for git repo https://github.com/Alekssasho/GarageRay written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Alekssasho/GarageRay on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Alekssasho/GarageRay 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfe4fe71c3bab07f14d21157d2c4da82bdc44283897ae74826dbf4bc95abdddb [INFO] running `Command { std: "docker" "start" "-a" "cfe4fe71c3bab07f14d21157d2c4da82bdc44283897ae74826dbf4bc95abdddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfe4fe71c3bab07f14d21157d2c4da82bdc44283897ae74826dbf4bc95abdddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe4fe71c3bab07f14d21157d2c4da82bdc44283897ae74826dbf4bc95abdddb", kill_on_drop: false }` [INFO] [stdout] cfe4fe71c3bab07f14d21157d2c4da82bdc44283897ae74826dbf4bc95abdddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 179179222de9d8ff134db71738896f6c05c84beffae56cae307d076738ced1d4 [INFO] running `Command { std: "docker" "start" "-a" "179179222de9d8ff134db71738896f6c05c84beffae56cae307d076738ced1d4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Compiling imgui-sys v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking bitmask v0.5.0 [INFO] [stderr] Checking garage_ray_pbrt v0.1.0 (/opt/rustwide/workdir/pbrt) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> pbrt/src/core/reflection.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitmask! { [INFO] [stdout] 6 | | pub mask BxDFType: u32 where flags BSDF_TYPES { [INFO] [stdout] 7 | | BSDF_REFLECTION = 1 << 0, [INFO] [stdout] 8 | | BSDF_SPECULAR = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitmask` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitmask` may come from an old version of the `bitmask` crate, try updating your dependency with `cargo update -p bitmask` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitmask` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> pbrt/src/core/reflection.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitmask! { [INFO] [stdout] 6 | | pub mask BxDFType: u32 where flags BSDF_TYPES { [INFO] [stdout] 7 | | BSDF_REFLECTION = 1 << 0, [INFO] [stdout] 8 | | BSDF_SPECULAR = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitmask` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitmask` may come from an old version of the `bitmask` crate, try updating your dependency with `cargo update -p bitmask` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitmask` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BSDF_TYPES` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub mask BxDFType: u32 where flags BSDF_TYPES { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BSDF_REFLECTION` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | BSDF_REFLECTION = 1 << 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfReflection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BSDF_SPECULAR` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | BSDF_SPECULAR = 1 << 1, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfSpecular` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BSDF_TRANSMISSION` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | BSDF_TRANSMISSION = 1 << 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfTransmission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `film::FilmTile` [INFO] [stdout] --> pbrt/src/core.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use film::FilmTile; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cameras::Camera` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cameras::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::integrators::Integrator` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::integrators::Integrator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_integrator::SampleIntegrator` [INFO] [stdout] --> pbrt/src/integrators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use sample_integrator::SampleIntegrator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `whitted_integrator::WhittedIntegrator` [INFO] [stdout] --> pbrt/src/integrators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use whitted_integrator::WhittedIntegrator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> pbrt/src/ray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sphere::Sphere` [INFO] [stdout] --> pbrt/src/shapes.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | aggregate: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | aggregate: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | sampler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | sampler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | camera: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | camera: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | implementor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | implementor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/ray.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub medium: Option<&'a Medium>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub medium: Option<&'a dyn Medium>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | fn preprocess(&self, scene: &Scene, sampler: &Sampler); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn preprocess(&self, scene: &Scene, sampler: &dyn Sampler); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/samplers.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | fn clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/parallel.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parallel_for_2d(func: &Fn(Point2i) -> (), num_tiles: Point2i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parallel_for_2d(func: &dyn Fn(Point2i) -> (), num_tiles: Point2i) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &Sampler) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &dyn Sampler) {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | sampler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | sampler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | camera: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | camera: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | implementor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | implementor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> pbrt/src/core/film.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_film_tile(&self, bounds: Bounds2Di) -> FilmTile { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> pbrt/src/core/film.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn merge_film_tile(&self, tile: FilmTile) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `film` [INFO] [stdout] --> pbrt/src/core/film.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_film` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> pbrt/src/core/film.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> pbrt/src/core/film.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> pbrt/src/core/interaction.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn compute_scattering_functions(&self, ray: &RayDifferential /* Memory Arena */) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> pbrt/src/core/interaction.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn light_emission(&self, w: &Vec3) -> Spectrum { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> pbrt/src/core/reflection.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> pbrt/src/core/reflection.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pbrt/src/core/reflection.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> pbrt/src/core/scene.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let seed = tile.y * num_tiles.x + tile.x; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | for sample in tile_sampler.start_pixel(pixel) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &Sampler) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &Sampler) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> pbrt/src/lights.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn unoccluded(&self, scene: &Scene) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_alpha_texture` [INFO] [stdout] --> pbrt/src/shapes/sphere.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | test_alpha_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_alpha_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> pbrt/src/spectrum.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn add_assign(&mut self, other: Spectrum) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> pbrt/src/spectrum.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(self, rhs: Self) -> Spectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> pbrt/src/spectrum.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn mul(self, rhs: f32) -> Spectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> pbrt/src/spectrum.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn div(self, rhs: f32) -> Spectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Primitive` is never used [INFO] [stdout] --> pbrt/src/accelerators.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Camera` is never used [INFO] [stdout] --> pbrt/src/cameras.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraSample` is never constructed [INFO] [stdout] --> pbrt/src/cameras.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CameraSample; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Film` is never constructed [INFO] [stdout] --> pbrt/src/core/film.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Film {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_sample_bounds`, `get_film_tile`, `merge_film_tile`, and `write_image` are never used [INFO] [stdout] --> pbrt/src/core/film.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Film { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | pub fn get_sample_bounds(&self) -> Bounds2Di { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn get_film_tile(&self, bounds: Bounds2Di) -> FilmTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn merge_film_tile(&self, tile: FilmTile) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn write_image(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilmTile` is never constructed [INFO] [stdout] --> pbrt/src/core/film.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FilmTile {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_sample` and `iter` are never used [INFO] [stdout] --> pbrt/src/core/film.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl FilmTile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn iter(&self) -> FilmTileIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilmTileIterator` is never constructed [INFO] [stdout] --> pbrt/src/core/film.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct FilmTileIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interaction` is never constructed [INFO] [stdout] --> pbrt/src/core/interaction.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_surface_interaction` is never used [INFO] [stdout] --> pbrt/src/core/interaction.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Interaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 17 | pub fn is_surface_interaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shading` is never constructed [INFO] [stdout] --> pbrt/src/core/interaction.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Shading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SurfaceInteraction` is never constructed [INFO] [stdout] --> pbrt/src/core/interaction.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SurfaceInteraction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `compute_scattering_functions`, `light_emission`, and `set_shading_geometry` are never used [INFO] [stdout] --> pbrt/src/core/interaction.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> SurfaceInteraction<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn compute_scattering_functions(&self, ray: &RayDifferential /* Memory Arena */) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | [INFO] [stdout] 88 | pub fn light_emission(&self, w: &Vec3) -> Spectrum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_shading_geometry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Medium` is never used [INFO] [stdout] --> pbrt/src/core/medium.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Medium {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediumInterface` is never constructed [INFO] [stdout] --> pbrt/src/core/medium.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MediumInterface {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parallel_for_2d` is never used [INFO] [stdout] --> pbrt/src/core/parallel.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parallel_for_2d(func: &Fn(Point2i) -> (), num_tiles: Point2i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BSDF` is never constructed [INFO] [stdout] --> pbrt/src/core/reflection.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BSDF {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `f` and `sample_f` are never used [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BSDF { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scene` is never constructed [INFO] [stdout] --> pbrt/src/core/scene.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `intersect` are never used [INFO] [stdout] --> pbrt/src/core/scene.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scene { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Integrator` is never used [INFO] [stdout] --> pbrt/src/integrators.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Integrator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleIntegrator` is never constructed [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SampleIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `specular_reflect`, and `specular_transmit` are never used [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SampleIntegrator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 17 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn specular_reflect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn specular_transmit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SampleIntegratorInterface` is never used [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait SampleIntegratorInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhittedIntegrator` is never constructed [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WhittedIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Light` is never used [INFO] [stdout] --> pbrt/src/lights.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisibiliyTester` is never constructed [INFO] [stdout] --> pbrt/src/lights.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VisibiliyTester {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unoccluded` is never used [INFO] [stdout] --> pbrt/src/lights.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VisibiliyTester { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 20 | pub fn unoccluded(&self, scene: &Scene) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec2i` is never used [INFO] [stdout] --> pbrt/src/math.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Vec2i = cgmath::Vector2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec3` is never used [INFO] [stdout] --> pbrt/src/math.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Vec3 = cgmath::Vector3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> pbrt/src/math.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Point2 = cgmath::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2i` is never used [INFO] [stdout] --> pbrt/src/math.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Point2i = cgmath::Point2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point3` is never used [INFO] [stdout] --> pbrt/src/math.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Point3 = cgmath::Point3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Normal3f` is never used [INFO] [stdout] --> pbrt/src/math.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type Normal3f = cgmath::Vector3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> pbrt/src/math.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn min(lhs: T, rhs: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> pbrt/src/math.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn max(lhs: T, rhs: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> pbrt/src/math.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn clamp(val: T, low: T, high: T) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> pbrt/src/math.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn lerp(t: T, lhs: T, rhs: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds2D` is never constructed [INFO] [stdout] --> pbrt/src/math.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Bounds2D { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `diagonal`, `from_point`, `from_two_points`, `maximum_extent`, `lerp`, and `offset` are never used [INFO] [stdout] --> pbrt/src/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Bounds2D { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 68 | pub fn diagonal(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_point(p: cgmath::Point2) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn from_two_points(p1: cgmath::Point2, p2: cgmath::Point2) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn maximum_extent(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn lerp(&self, t: &cgmath::Point2) -> cgmath::Point2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn offset(&self, p: &cgmath::Point2) -> Vector2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_sphere` is never used [INFO] [stdout] --> pbrt/src/math.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Bounds2D { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 112 | pub fn bounding_sphere(&self) -> (cgmath::Point2, T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds2Di` is never used [INFO] [stdout] --> pbrt/src/math.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub type Bounds2Di = Bounds2D; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_2d_with_point` is never used [INFO] [stdout] --> pbrt/src/math.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn union_2d_with_point(b: &Bounds2D, p: &Vector2) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_bounds_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn union_bounds_2d(b1: &Bounds2D, b2: &Bounds2D) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn intersect_2d(b1: &Bounds2D, b2: &Bounds2D) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlaps_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn overlaps_2d(b1: &Bounds2D, b2: &Bounds2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn inside_2d(p: &cgmath::Point2, b: &Bounds2D) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_exclusive_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn inside_exclusive_2d(p: &cgmath::Point2, b: &Bounds2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn expand_2d(b: &Bounds2D, delta: U) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds3D` is never constructed [INFO] [stdout] --> pbrt/src/math.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Bounds3D { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> pbrt/src/math.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl Bounds3D { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 202 | pub fn diagonal(&self) -> Vector3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn from_point(p: cgmath::Point3) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn from_two_points(p1: cgmath::Point3, p2: cgmath::Point3) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn corner(&self, corner: i32) -> cgmath::Point3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn surface_area(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn volume(&self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn maximum_extent(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn lerp(&self, t: &cgmath::Point3) -> cgmath::Point3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn offset(&self, p: &cgmath::Point3) -> Vector3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_sphere` is never used [INFO] [stdout] --> pbrt/src/math.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl Bounds3D { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 265 | pub fn bounding_sphere(&self) -> (cgmath::Point3, T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intersect_p` and `intersect_p_precomputed` are never used [INFO] [stdout] --> pbrt/src/math.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl Bounds3D { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 279 | pub fn intersect_p(&self, ray: &Ray) -> (bool, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn intersect_p_precomputed(&self, ray: &Ray, invDir: Vec3, dirIsNeg: &[i32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds3Di` is never used [INFO] [stdout] --> pbrt/src/math.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | pub type Bounds3Di = Bounds3D; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds3Df` is never used [INFO] [stdout] --> pbrt/src/math.rs:362:10 [INFO] [stdout] | [INFO] [stdout] 362 | pub type Bounds3Df = Bounds3D; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_3d_with_point` is never used [INFO] [stdout] --> pbrt/src/math.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn union_3d_with_point(b: &Bounds3D, p: &cgmath::Point3) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_bounds_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn union_bounds_3d(b1: &Bounds3D, b2: &Bounds3D) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn intersect_3d(b1: &Bounds3D, b2: &Bounds3D) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlaps_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn overlaps_3d(b1: &Bounds3D, b2: &Bounds3D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn inside_3d(p: &cgmath::Point3, b: &Bounds3D) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_exclusive_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn inside_exclusive_3d(p: &cgmath::Point3, b: &Bounds3D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn expand_3d(b: &Bounds3D, delta: U) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinate_system` is never used [INFO] [stdout] --> pbrt/src/math.rs:436:8 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn coordinate_system(v1: Vec3) -> (Vec3, Vec3, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `face_forward` is never used [INFO] [stdout] --> pbrt/src/math.rs:447:8 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn face_forward(n: Normal3f, v: Vec3) -> Normal3f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform` is never constructed [INFO] [stdout] --> pbrt/src/math.rs:456:12 [INFO] [stdout] | [INFO] [stdout] 456 | pub struct Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> pbrt/src/math.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 479 | impl Transform { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 480 | pub fn new(m: Matrix4, m_inv: Matrix4) -> Transform { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn inverse(&self) -> Transform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn transpose(&self) -> Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn has_scale() -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn transform_point(&self, p: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn transform_vec(&self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | pub fn transform_normal(&self, n: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn transform_ray<'a>(&self, r: &'a Ray) -> Ray<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn transform_bounds(&self, b: &Bounds3Df) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn transform_surface_interaction<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 587 | pub fn swaps_handedness(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> pbrt/src/math.rs:603:8 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn translate(delta: Vec3) -> Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale` is never used [INFO] [stdout] --> pbrt/src/math.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn scale(x: f32, y: f32, z: f32) -> Transform { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_x` is never used [INFO] [stdout] --> pbrt/src/math.rs:615:8 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn rotate_x(theta: f32) -> Transform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_y` is never used [INFO] [stdout] --> pbrt/src/math.rs:621:8 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn rotate_y(theta: f32) -> Transform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_z` is never used [INFO] [stdout] --> pbrt/src/math.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn rotate_z(theta: f32) -> Transform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_axis` is never used [INFO] [stdout] --> pbrt/src/math.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn rotate_axis(theta: f32, axis: Vec3) -> Transform { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `look_at` is never used [INFO] [stdout] --> pbrt/src/math.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn look_at(pos: Point3, look: Point3, up: Vec3) -> Transform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic` is never used [INFO] [stdout] --> pbrt/src/math.rs:645:8 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn quadratic(a: T, b: T, c: T) -> Option<(T, T)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> pbrt/src/ray.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ray<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `at` are never used [INFO] [stdout] --> pbrt/src/ray.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Ray<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(o: Point3, d: Vec3) -> Ray<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn at(&self, t: f32) -> Point3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayDifferential` is never constructed [INFO] [stdout] --> pbrt/src/ray.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RayDifferential<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `scale_differentials` and `new` are never used [INFO] [stdout] --> pbrt/src/ray.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'a> RayDifferential<'a> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 40 | // TODO: maybe this is better to not modify self but return new self [INFO] [stdout] 41 | pub fn scale_differentials(&mut self, scalar: f32) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(o: Point3, d: Vec3) -> RayDifferential<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sampler` is never used [INFO] [stdout] --> pbrt/src/samplers.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Sampler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SamplerPixel` is never constructed [INFO] [stdout] --> pbrt/src/samplers.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SamplerPixel(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ShapeInterface` is never used [INFO] [stdout] --> pbrt/src/shapes.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ShapeInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shape` is never constructed [INFO] [stdout] --> pbrt/src/shapes.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `object_bound`, `world_bound`, `intersect`, `intersect_p`, and `area` are never used [INFO] [stdout] --> pbrt/src/shapes.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 37 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn object_bound(&self) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn world_bound(&self) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn intersect(&self, ray: &Ray, test_alpha_texture: bool) -> Option<(f32, SurfaceInteraction)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn intersect_p(&self, ray: &Ray, test_alpha_texture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn area(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> pbrt/src/shapes/sphere.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `unit` are never used [INFO] [stdout] --> pbrt/src/shapes/sphere.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl Sphere { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 150 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn unit() -> Shape { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spectrum` is never constructed [INFO] [stdout] --> pbrt/src/spectrum.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Spectrum {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_black` are never used [INFO] [stdout] --> pbrt/src/spectrum.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Spectrum { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Spectrum { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/cameras.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | fn generate_ray_differential(&self, sample: CameraSample) -> (RayDifferential, f32); [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | fn generate_ray_differential(&self, sample: CameraSample) -> (RayDifferential<'_>, f32); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/core/interaction.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | shape: &Shape, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] 54 | ) -> SurfaceInteraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | ) -> SurfaceInteraction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/core/scene.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/shapes.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn intersect(&self, ray: &Ray, test_alpha_texture: bool) -> Option<(f32, SurfaceInteraction)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn intersect(&self, ray: &Ray, test_alpha_texture: bool) -> Option<(f32, SurfaceInteraction<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> pbrt/src/core/reflection.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitmask! { [INFO] [stdout] 6 | | pub mask BxDFType: u32 where flags BSDF_TYPES { [INFO] [stdout] 7 | | BSDF_REFLECTION = 1 << 0, [INFO] [stdout] 8 | | BSDF_SPECULAR = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitmask` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitmask` may come from an old version of the `bitmask` crate, try updating your dependency with `cargo update -p bitmask` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitmask` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> pbrt/src/core/reflection.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / bitmask! { [INFO] [stdout] 6 | | pub mask BxDFType: u32 where flags BSDF_TYPES { [INFO] [stdout] 7 | | BSDF_REFLECTION = 1 << 0, [INFO] [stdout] 8 | | BSDF_SPECULAR = 1 << 1, [INFO] [stdout] ... | [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `bitmask` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `bitmask` may come from an old version of the `bitmask` crate, try updating your dependency with `cargo update -p bitmask` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `bitmask` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BSDF_TYPES` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub mask BxDFType: u32 where flags BSDF_TYPES { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfTypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BSDF_REFLECTION` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | BSDF_REFLECTION = 1 << 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfReflection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BSDF_SPECULAR` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | BSDF_SPECULAR = 1 << 1, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfSpecular` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BSDF_TRANSMISSION` should have an upper camel case name [INFO] [stdout] --> pbrt/src/core/reflection.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | BSDF_TRANSMISSION = 1 << 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BsdfTransmission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `film::FilmTile` [INFO] [stdout] --> pbrt/src/core.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use film::FilmTile; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cameras::Camera` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cameras::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::integrators::Integrator` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::integrators::Integrator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sample_integrator::SampleIntegrator` [INFO] [stdout] --> pbrt/src/integrators.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use sample_integrator::SampleIntegrator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `whitted_integrator::WhittedIntegrator` [INFO] [stdout] --> pbrt/src/integrators.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use whitted_integrator::WhittedIntegrator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> pbrt/src/ray.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sphere::Sphere` [INFO] [stdout] --> pbrt/src/shapes.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | aggregate: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | aggregate: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | sampler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | sampler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | camera: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | camera: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | implementor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | implementor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/ray.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub medium: Option<&'a Medium>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub medium: Option<&'a dyn Medium>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:85:51 [INFO] [stdout] | [INFO] [stdout] 85 | fn preprocess(&self, scene: &Scene, sampler: &Sampler); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn preprocess(&self, scene: &Scene, sampler: &dyn Sampler); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/samplers.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | fn clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/parallel.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parallel_for_2d(func: &Fn(Point2i) -> (), num_tiles: Point2i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parallel_for_2d(func: &dyn Fn(Point2i) -> (), num_tiles: Point2i) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &Sampler) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &dyn Sampler) {} [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/core/scene.rs:15:60 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | sampler: Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | sampler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | camera: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | camera: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | implementor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | implementor: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | sampler: &mut Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> pbrt/src/core/film.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_film_tile(&self, bounds: Bounds2Di) -> FilmTile { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> pbrt/src/core/film.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn merge_film_tile(&self, tile: FilmTile) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `film` [INFO] [stdout] --> pbrt/src/core/film.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_film` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> pbrt/src/core/film.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> pbrt/src/core/film.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> pbrt/src/core/interaction.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn compute_scattering_functions(&self, ray: &RayDifferential /* Memory Arena */) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> pbrt/src/core/interaction.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn light_emission(&self, w: &Vec3) -> Spectrum { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> pbrt/src/core/reflection.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> pbrt/src/core/reflection.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> pbrt/src/core/reflection.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> pbrt/src/core/scene.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | let seed = tile.y * num_tiles.x + tile.x; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | for sample in tile_sampler.start_pixel(pixel) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &Sampler) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | fn preprocess(&self, scene: &Scene, sampler: &Sampler) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> pbrt/src/lights.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn unoccluded(&self, scene: &Scene) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_alpha_texture` [INFO] [stdout] --> pbrt/src/shapes/sphere.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | test_alpha_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_alpha_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> pbrt/src/spectrum.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn add_assign(&mut self, other: Spectrum) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> pbrt/src/spectrum.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | fn mul(self, rhs: Self) -> Spectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> pbrt/src/spectrum.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | fn mul(self, rhs: f32) -> Spectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> pbrt/src/spectrum.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn div(self, rhs: f32) -> Spectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Primitive` is never used [INFO] [stdout] --> pbrt/src/accelerators.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Primitive { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Camera` is never used [INFO] [stdout] --> pbrt/src/cameras.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraSample` is never constructed [INFO] [stdout] --> pbrt/src/cameras.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CameraSample; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Film` is never constructed [INFO] [stdout] --> pbrt/src/core/film.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Film {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_sample_bounds`, `get_film_tile`, `merge_film_tile`, and `write_image` are never used [INFO] [stdout] --> pbrt/src/core/film.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Film { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 7 | pub fn get_sample_bounds(&self) -> Bounds2Di { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn get_film_tile(&self, bounds: Bounds2Di) -> FilmTile { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn merge_film_tile(&self, tile: FilmTile) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn write_image(&self) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilmTile` is never constructed [INFO] [stdout] --> pbrt/src/core/film.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FilmTile {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_sample` and `iter` are never used [INFO] [stdout] --> pbrt/src/core/film.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl FilmTile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 23 | pub fn add_sample(&self, film: &Film, color: Spectrum, ray_weight: f32) -> () {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | pub fn iter(&self) -> FilmTileIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilmTileIterator` is never constructed [INFO] [stdout] --> pbrt/src/core/film.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct FilmTileIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interaction` is never constructed [INFO] [stdout] --> pbrt/src/core/interaction.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_surface_interaction` is never used [INFO] [stdout] --> pbrt/src/core/interaction.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Interaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 17 | pub fn is_surface_interaction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shading` is never constructed [INFO] [stdout] --> pbrt/src/core/interaction.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Shading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SurfaceInteraction` is never constructed [INFO] [stdout] --> pbrt/src/core/interaction.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SurfaceInteraction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `compute_scattering_functions`, `light_emission`, and `set_shading_geometry` are never used [INFO] [stdout] --> pbrt/src/core/interaction.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> SurfaceInteraction<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn compute_scattering_functions(&self, ray: &RayDifferential /* Memory Arena */) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | [INFO] [stdout] 88 | pub fn light_emission(&self, w: &Vec3) -> Spectrum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_shading_geometry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Medium` is never used [INFO] [stdout] --> pbrt/src/core/medium.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Medium {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediumInterface` is never constructed [INFO] [stdout] --> pbrt/src/core/medium.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct MediumInterface {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parallel_for_2d` is never used [INFO] [stdout] --> pbrt/src/core/parallel.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parallel_for_2d(func: &Fn(Point2i) -> (), num_tiles: Point2i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BSDF` is never constructed [INFO] [stdout] --> pbrt/src/core/reflection.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BSDF {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `f` and `sample_f` are never used [INFO] [stdout] --> pbrt/src/core/reflection.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BSDF { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 16 | pub fn f(&self, wo: &Vec3, wi: &Vec3, flags: BxDFType) -> Spectrum { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn sample_f(&self, wo: &Vec3, u: &Point2, flags: BxDFType) -> (Spectrum, Vec3, f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scene` is never constructed [INFO] [stdout] --> pbrt/src/core/scene.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `intersect` are never used [INFO] [stdout] --> pbrt/src/core/scene.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scene { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Integrator` is never used [INFO] [stdout] --> pbrt/src/integrators.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Integrator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampleIntegrator` is never constructed [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SampleIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `specular_reflect`, and `specular_transmit` are never used [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SampleIntegrator { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 17 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn specular_reflect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn specular_transmit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SampleIntegratorInterface` is never used [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait SampleIntegratorInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhittedIntegrator` is never constructed [INFO] [stdout] --> pbrt/src/integrators/whitted_integrator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WhittedIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Light` is never used [INFO] [stdout] --> pbrt/src/lights.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisibiliyTester` is never constructed [INFO] [stdout] --> pbrt/src/lights.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VisibiliyTester {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unoccluded` is never used [INFO] [stdout] --> pbrt/src/lights.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VisibiliyTester { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 20 | pub fn unoccluded(&self, scene: &Scene) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec2i` is never used [INFO] [stdout] --> pbrt/src/math.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Vec2i = cgmath::Vector2; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec3` is never used [INFO] [stdout] --> pbrt/src/math.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Vec3 = cgmath::Vector3; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> pbrt/src/math.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Point2 = cgmath::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2i` is never used [INFO] [stdout] --> pbrt/src/math.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Point2i = cgmath::Point2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point3` is never used [INFO] [stdout] --> pbrt/src/math.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Point3 = cgmath::Point3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Normal3f` is never used [INFO] [stdout] --> pbrt/src/math.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type Normal3f = cgmath::Vector3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> pbrt/src/math.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn min(lhs: T, rhs: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> pbrt/src/math.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn max(lhs: T, rhs: T) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> pbrt/src/math.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn clamp(val: T, low: T, high: T) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> pbrt/src/math.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn lerp(t: T, lhs: T, rhs: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds2D` is never constructed [INFO] [stdout] --> pbrt/src/math.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Bounds2D { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `diagonal`, `from_point`, `from_two_points`, `maximum_extent`, `lerp`, and `offset` are never used [INFO] [stdout] --> pbrt/src/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Bounds2D { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 68 | pub fn diagonal(&self) -> Vector2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_point(p: cgmath::Point2) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn from_two_points(p1: cgmath::Point2, p2: cgmath::Point2) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn maximum_extent(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn lerp(&self, t: &cgmath::Point2) -> cgmath::Point2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn offset(&self, p: &cgmath::Point2) -> Vector2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_sphere` is never used [INFO] [stdout] --> pbrt/src/math.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl Bounds2D { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 112 | pub fn bounding_sphere(&self) -> (cgmath::Point2, T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds2Di` is never used [INFO] [stdout] --> pbrt/src/math.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub type Bounds2Di = Bounds2D; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_2d_with_point` is never used [INFO] [stdout] --> pbrt/src/math.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn union_2d_with_point(b: &Bounds2D, p: &Vector2) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_bounds_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn union_bounds_2d(b1: &Bounds2D, b2: &Bounds2D) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn intersect_2d(b1: &Bounds2D, b2: &Bounds2D) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlaps_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn overlaps_2d(b1: &Bounds2D, b2: &Bounds2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn inside_2d(p: &cgmath::Point2, b: &Bounds2D) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_exclusive_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn inside_exclusive_2d(p: &cgmath::Point2, b: &Bounds2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_2d` is never used [INFO] [stdout] --> pbrt/src/math.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn expand_2d(b: &Bounds2D, delta: U) -> Bounds2D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds3D` is never constructed [INFO] [stdout] --> pbrt/src/math.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Bounds3D { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> pbrt/src/math.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl Bounds3D { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 202 | pub fn diagonal(&self) -> Vector3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn from_point(p: cgmath::Point3) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn from_two_points(p1: cgmath::Point3, p2: cgmath::Point3) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn corner(&self, corner: i32) -> cgmath::Point3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn surface_area(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn volume(&self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn maximum_extent(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn lerp(&self, t: &cgmath::Point3) -> cgmath::Point3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn offset(&self, p: &cgmath::Point3) -> Vector3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bounding_sphere` is never used [INFO] [stdout] --> pbrt/src/math.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl Bounds3D { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 265 | pub fn bounding_sphere(&self) -> (cgmath::Point3, T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intersect_p` and `intersect_p_precomputed` are never used [INFO] [stdout] --> pbrt/src/math.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 278 | impl Bounds3D { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 279 | pub fn intersect_p(&self, ray: &Ray) -> (bool, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn intersect_p_precomputed(&self, ray: &Ray, invDir: Vec3, dirIsNeg: &[i32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds3Di` is never used [INFO] [stdout] --> pbrt/src/math.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | pub type Bounds3Di = Bounds3D; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds3Df` is never used [INFO] [stdout] --> pbrt/src/math.rs:362:10 [INFO] [stdout] | [INFO] [stdout] 362 | pub type Bounds3Df = Bounds3D; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_3d_with_point` is never used [INFO] [stdout] --> pbrt/src/math.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn union_3d_with_point(b: &Bounds3D, p: &cgmath::Point3) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `union_bounds_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | pub fn union_bounds_3d(b1: &Bounds3D, b2: &Bounds3D) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn intersect_3d(b1: &Bounds3D, b2: &Bounds3D) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlaps_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:402:8 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn overlaps_3d(b1: &Bounds3D, b2: &Bounds3D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn inside_3d(p: &cgmath::Point3, b: &Bounds3D) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside_exclusive_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:418:8 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn inside_exclusive_3d(p: &cgmath::Point3, b: &Bounds3D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_3d` is never used [INFO] [stdout] --> pbrt/src/math.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn expand_3d(b: &Bounds3D, delta: U) -> Bounds3D { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinate_system` is never used [INFO] [stdout] --> pbrt/src/math.rs:436:8 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn coordinate_system(v1: Vec3) -> (Vec3, Vec3, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `face_forward` is never used [INFO] [stdout] --> pbrt/src/math.rs:447:8 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn face_forward(n: Normal3f, v: Vec3) -> Normal3f { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform` is never constructed [INFO] [stdout] --> pbrt/src/math.rs:456:12 [INFO] [stdout] | [INFO] [stdout] 456 | pub struct Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> pbrt/src/math.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 479 | impl Transform { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 480 | pub fn new(m: Matrix4, m_inv: Matrix4) -> Transform { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn inverse(&self) -> Transform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn transpose(&self) -> Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn has_scale() -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn transform_point(&self, p: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn transform_vec(&self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | pub fn transform_normal(&self, n: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn transform_ray<'a>(&self, r: &'a Ray) -> Ray<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn transform_bounds(&self, b: &Bounds3Df) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn transform_surface_interaction<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 587 | pub fn swaps_handedness(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `translate` is never used [INFO] [stdout] --> pbrt/src/math.rs:603:8 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn translate(delta: Vec3) -> Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scale` is never used [INFO] [stdout] --> pbrt/src/math.rs:609:8 [INFO] [stdout] | [INFO] [stdout] 609 | pub fn scale(x: f32, y: f32, z: f32) -> Transform { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_x` is never used [INFO] [stdout] --> pbrt/src/math.rs:615:8 [INFO] [stdout] | [INFO] [stdout] 615 | pub fn rotate_x(theta: f32) -> Transform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_y` is never used [INFO] [stdout] --> pbrt/src/math.rs:621:8 [INFO] [stdout] | [INFO] [stdout] 621 | pub fn rotate_y(theta: f32) -> Transform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_z` is never used [INFO] [stdout] --> pbrt/src/math.rs:627:8 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn rotate_z(theta: f32) -> Transform { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_axis` is never used [INFO] [stdout] --> pbrt/src/math.rs:633:8 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn rotate_axis(theta: f32, axis: Vec3) -> Transform { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `look_at` is never used [INFO] [stdout] --> pbrt/src/math.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 639 | pub fn look_at(pos: Point3, look: Point3, up: Vec3) -> Transform { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic` is never used [INFO] [stdout] --> pbrt/src/math.rs:645:8 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn quadratic(a: T, b: T, c: T) -> Option<(T, T)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> pbrt/src/ray.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ray<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `at` are never used [INFO] [stdout] --> pbrt/src/ray.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Ray<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(o: Point3, d: Vec3) -> Ray<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn at(&self, t: f32) -> Point3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayDifferential` is never constructed [INFO] [stdout] --> pbrt/src/ray.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RayDifferential<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `scale_differentials` and `new` are never used [INFO] [stdout] --> pbrt/src/ray.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'a> RayDifferential<'a> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 40 | // TODO: maybe this is better to not modify self but return new self [INFO] [stdout] 41 | pub fn scale_differentials(&mut self, scalar: f32) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(o: Point3, d: Vec3) -> RayDifferential<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sampler` is never used [INFO] [stdout] --> pbrt/src/samplers.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Sampler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SamplerPixel` is never constructed [INFO] [stdout] --> pbrt/src/samplers.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SamplerPixel(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ShapeInterface` is never used [INFO] [stdout] --> pbrt/src/shapes.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ShapeInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shape` is never constructed [INFO] [stdout] --> pbrt/src/shapes.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `object_bound`, `world_bound`, `intersect`, `intersect_p`, and `area` are never used [INFO] [stdout] --> pbrt/src/shapes.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 37 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn object_bound(&self) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn world_bound(&self) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn intersect(&self, ray: &Ray, test_alpha_texture: bool) -> Option<(f32, SurfaceInteraction)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn intersect_p(&self, ray: &Ray, test_alpha_texture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn area(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sphere` is never constructed [INFO] [stdout] --> pbrt/src/shapes/sphere.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Sphere { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `unit` are never used [INFO] [stdout] --> pbrt/src/shapes/sphere.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl Sphere { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 150 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn unit() -> Shape { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spectrum` is never constructed [INFO] [stdout] --> pbrt/src/spectrum.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Spectrum {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_black` are never used [INFO] [stdout] --> pbrt/src/spectrum.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Spectrum { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Spectrum { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/cameras.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | fn generate_ray_differential(&self, sample: CameraSample) -> (RayDifferential, f32); [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | fn generate_ray_differential(&self, sample: CameraSample) -> (RayDifferential<'_>, f32); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/core/interaction.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | shape: &Shape, [INFO] [stdout] | ^^^^^^ the lifetime is elided here [INFO] [stdout] 54 | ) -> SurfaceInteraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | ) -> SurfaceInteraction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/core/scene.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn intersect(&self, ray: &Ray) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> pbrt/src/shapes.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn intersect(&self, ray: &Ray, test_alpha_texture: bool) -> Option<(f32, SurfaceInteraction)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn intersect(&self, ray: &Ray, test_alpha_texture: bool) -> Option<(f32, SurfaceInteraction<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking garage_ray_simple v0.1.0 (/opt/rustwide/workdir/simple) [INFO] [stdout] warning: unused import: `checker_texture::CheckerTexture` [INFO] [stdout] --> simple/src/texture.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use checker_texture::CheckerTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `checker_texture::CheckerTexture` [INFO] [stdout] --> simple/src/texture.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use checker_texture::CheckerTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aluminum` [INFO] [stdout] --> simple/src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let aluminum = Box::new(Metal { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aluminum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> simple/src/texture/checker_texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/box_hitable.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/bvh.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/constant_medium.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/flip_normals.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/hitable_list.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/rect.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/rect.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/rect.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/sphere.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/sphere.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/transformations.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/transformations.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aluminum` [INFO] [stdout] --> simple/src/lib.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let aluminum = Box::new(Metal { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aluminum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckerTexture` is never constructed [INFO] [stdout] --> simple/src/texture/checker_texture.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/box_hitable.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/bvh.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/constant_medium.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/flip_normals.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/hitable_list.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/rect.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/rect.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/rect.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/sphere.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/sphere.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/transformations.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> simple/src/hitable/transformations.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn hit(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking imgui v0.2.1 [INFO] [stderr] Checking imgui-glium-renderer v0.2.0 [INFO] [stderr] Checking imgui-winit-support v0.2.1 [INFO] [stderr] Checking garage_ray_vfb v0.1.0 (/opt/rustwide/workdir/vfb) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "179179222de9d8ff134db71738896f6c05c84beffae56cae307d076738ced1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179179222de9d8ff134db71738896f6c05c84beffae56cae307d076738ced1d4", kill_on_drop: false }` [INFO] [stdout] 179179222de9d8ff134db71738896f6c05c84beffae56cae307d076738ced1d4