[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/fa3fee9113130b35ef469bebab159a93ec800413 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlekssasho%2FGarageRay" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alekssasho/GarageRay on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded imgui-winit-support v0.2.1 [INFO] [stderr] Downloaded takeable-option v0.4.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded imgui-glium-renderer v0.2.0 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded bitmask v0.5.0 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded png v0.15.2 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded lock_api v0.3.2 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.0 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded glium v0.25.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d614c943c7d59c423b45b616cb0e09c004bd25c72aa4a353a3da7e6817f8e9f3 [INFO] running `Command { std: "docker" "start" "-a" "d614c943c7d59c423b45b616cb0e09c004bd25c72aa4a353a3da7e6817f8e9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d614c943c7d59c423b45b616cb0e09c004bd25c72aa4a353a3da7e6817f8e9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d614c943c7d59c423b45b616cb0e09c004bd25c72aa4a353a3da7e6817f8e9f3", kill_on_drop: false }` [INFO] [stdout] d614c943c7d59c423b45b616cb0e09c004bd25c72aa4a353a3da7e6817f8e9f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff2f00353f1f75292ed497716b86adc4fd853106484fc63f55a1969479093fd [INFO] running `Command { std: "docker" "start" "-a" "1ff2f00353f1f75292ed497716b86adc4fd853106484fc63f55a1969479093fd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [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 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] Checking bitflags v1.0.4 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling imgui-sys v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bitmask v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking garage_ray_pbrt v0.1.0 (/opt/rustwide/workdir/pbrt) [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)]` 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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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/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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 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/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 an object-safe 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: 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)]` 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: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | sampler: &mut dyn Sampler, [INFO] [stdout] | +++ [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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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/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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wayland-commons v0.21.13 [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | 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/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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | 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)]` 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: `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)]` on by default [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: `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: `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: 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: method `world_bounds` is never used [INFO] [stdout] --> pbrt/src/accelerators.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Primitive { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn world_bounds(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time` and `medium_interface` are never read [INFO] [stdout] --> pbrt/src/core/interaction.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub p: Point3, [INFO] [stdout] 9 | pub time: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub medium_interface: MediumInterface, [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: fields `uv` and `shape` are never read [INFO] [stdout] --> pbrt/src/core/interaction.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SurfaceInteraction<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 31 | pub interaction: Interaction, [INFO] [stdout] 32 | pub uv: Point2, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub shape: &'a Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_shading_geometry` is never used [INFO] [stdout] --> pbrt/src/core/interaction.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> SurfaceInteraction<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_shading_geometry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aggregate` and `world_bound` are never read [INFO] [stdout] --> pbrt/src/core/scene.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scene { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] 9 | aggregate: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | world_bound: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/core/scene.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scene { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> pbrt/src/integrators.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Integrator { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 10 | fn render(&self, scene: &Scene) -> (); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SampleIntegrator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `preprocess` is never used [INFO] [stdout] --> pbrt/src/lights.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Light { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 7 | fn preprocess(&self) -> (); [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: associated items `from_point`, `maximum_extent`, `lerp`, and `offset` are never used [INFO] [stdout] --> pbrt/src/math.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Bounds2D { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_point(p: 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: 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: 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: 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: 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: 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: associated items `new`, `inverse`, `transpose`, `has_scale`, `transform_bounds`, and `swaps_handedness` 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] 527 | pub fn transform_bounds(&self, b: &Bounds3Df) -> Bounds3Df { [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: field `medium` is never read [INFO] [stdout] --> pbrt/src/ray.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ray<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub medium: Option<&'a Medium>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/ray.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Ray<'a> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(o: Point3, d: Vec3) -> Ray<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hasDifferentials` is never read [INFO] [stdout] --> pbrt/src/ray.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RayDifferential<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 31 | pub ray: Ray<'a>, [INFO] [stdout] 32 | pub hasDifferentials: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/ray.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'a> RayDifferential<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(o: Point3, d: Vec3) -> RayDifferential<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `object_bound`, `world_bound`, `intersect`, `intersect_p`, and `area` are never used [INFO] [stdout] --> pbrt/src/shapes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ShapeInterface { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 10 | fn object_bound(&self) -> Bounds3Df; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | fn world_bound(&self, shape: &Shape) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn intersect<'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn intersect_p(&self, shape: &Shape, ray: &Ray, test_alpha_texture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn area(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape_impl` is never read [INFO] [stdout] --> pbrt/src/shapes.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Shape { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | shape_impl: Box, [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: 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: 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: 102 warnings emitted [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: method `world_bounds` is never used [INFO] [stdout] --> pbrt/src/accelerators.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Primitive { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn world_bounds(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time` and `medium_interface` are never read [INFO] [stdout] --> pbrt/src/core/interaction.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub p: Point3, [INFO] [stdout] 9 | pub time: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub medium_interface: MediumInterface, [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: fields `uv` and `shape` are never read [INFO] [stdout] --> pbrt/src/core/interaction.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SurfaceInteraction<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 31 | pub interaction: Interaction, [INFO] [stdout] 32 | pub uv: Point2, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub shape: &'a Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_shading_geometry` is never used [INFO] [stdout] --> pbrt/src/core/interaction.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> SurfaceInteraction<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_shading_geometry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aggregate` and `world_bound` are never read [INFO] [stdout] --> pbrt/src/core/scene.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scene { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | pub lights: Vec>, [INFO] [stdout] 9 | aggregate: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | world_bound: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/core/scene.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Scene { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | fn new(lights: Vec>, aggregate: Box) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> pbrt/src/integrators.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Integrator { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 10 | fn render(&self, scene: &Scene) -> (); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/integrators/sample_integrator.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl SampleIntegrator { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `preprocess` is never used [INFO] [stdout] --> pbrt/src/lights.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Light { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 7 | fn preprocess(&self) -> (); [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: associated items `from_point`, `maximum_extent`, `lerp`, and `offset` are never used [INFO] [stdout] --> pbrt/src/math.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Bounds2D { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_point(p: 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: 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: 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: 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: associated items `new`, `inverse`, `transpose`, `has_scale`, `transform_bounds`, and `swaps_handedness` 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] 527 | pub fn transform_bounds(&self, b: &Bounds3Df) -> Bounds3Df { [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: field `medium` is never read [INFO] [stdout] --> pbrt/src/ray.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ray<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub medium: Option<&'a Medium>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/ray.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Ray<'a> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(o: Point3, d: Vec3) -> Ray<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hasDifferentials` is never read [INFO] [stdout] --> pbrt/src/ray.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct RayDifferential<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 31 | pub ray: Ray<'a>, [INFO] [stdout] 32 | pub hasDifferentials: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> pbrt/src/ray.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl<'a> RayDifferential<'a> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn new(o: Point3, d: Vec3) -> RayDifferential<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `object_bound`, `world_bound`, `intersect`, `intersect_p`, and `area` are never used [INFO] [stdout] --> pbrt/src/shapes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ShapeInterface { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 10 | fn object_bound(&self) -> Bounds3Df; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | fn world_bound(&self, shape: &Shape) -> Bounds3Df { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn intersect<'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn intersect_p(&self, shape: &Shape, ray: &Ray, test_alpha_texture: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn area(&self) -> f32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape_impl` is never read [INFO] [stdout] --> pbrt/src/shapes.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Shape { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | shape_impl: Box, [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: 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: 102 warnings emitted [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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 40.58s [INFO] running `Command { std: "docker" "inspect" "1ff2f00353f1f75292ed497716b86adc4fd853106484fc63f55a1969479093fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff2f00353f1f75292ed497716b86adc4fd853106484fc63f55a1969479093fd", kill_on_drop: false }` [INFO] [stdout] 1ff2f00353f1f75292ed497716b86adc4fd853106484fc63f55a1969479093fd