[INFO] cloning repository https://github.com/Quantumplation/optique [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Quantumplation/optique" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuantumplation%2Foptique", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuantumplation%2Foptique'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 255e12a0b0bdf20fd4da3ba49b221d0958547b08 [INFO] checking Quantumplation/optique against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuantumplation%2Foptique" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Quantumplation/optique on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Quantumplation/optique [INFO] finished tweaking git repo https://github.com/Quantumplation/optique [INFO] tweaked toml for git repo https://github.com/Quantumplation/optique written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Quantumplation/optique already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.pbrt_rs.commit [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fad1ccc1567d8e93f0ec1904c1127b02e78fb3ffd049740a617d01a556f9bb0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4fad1ccc1567d8e93f0ec1904c1127b02e78fb3ffd049740a617d01a556f9bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fad1ccc1567d8e93f0ec1904c1127b02e78fb3ffd049740a617d01a556f9bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fad1ccc1567d8e93f0ec1904c1127b02e78fb3ffd049740a617d01a556f9bb0", kill_on_drop: false }` [INFO] [stdout] 4fad1ccc1567d8e93f0ec1904c1127b02e78fb3ffd049740a617d01a556f9bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72deac4da537ba7aaae223fbff75ee8f031ed7b818f96e86d5cf1ba66310ee6d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "72deac4da537ba7aaae223fbff75ee8f031ed7b818f96e86d5cf1ba66310ee6d", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.pbrt_rs.commit [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking bumpalo v3.4.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.0.0-alpha1 (https://github.com/Geal/nom.git?tag=6.0.0-alpha1#b889d7c7) [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking lexical-core v0.7.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling enum_dispatch v0.3.4 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling ply-rs v0.1.3 [INFO] [stderr] Checking pbrt_rs v0.0.2 (https://github.com/beltegeuse/pbrt_rs#7b409157) [INFO] [stderr] Checking optique v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ShapeInstance` [INFO] [stdout] --> src/main.rs:13:130 [INFO] [stdout] | [INFO] [stdout] 13 | ...Matte, PointLight, PrimitiveInstance, PrimitiveList, Scene, ShapeInstance, SphereShape, TriangleMesh}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShapeInstance` [INFO] [stdout] --> src/main.rs:13:130 [INFO] [stdout] | [INFO] [stdout] 13 | ...Matte, PointLight, PrimitiveInstance, PrimitiveList, Scene, ShapeInstance, SphereShape, TriangleMesh}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow_multiple_lobes` [INFO] [stdout] --> src/scene/material.rs:42:117 [INFO] [stdout] | [INFO] [stdout] 42 | ...TransportMode, allow_multiple_lobes: bool) -> &'a mut BSDF { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_multiple_lobes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/scene/shapes/sphere.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let u = phi / max_phi; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/scene/shapes/sphere.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let v = theta / max_theta; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/scene/shapes/disk.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let (ray, err) = world_to_object.mul_with_error(*ray); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/scene/shapes/disk.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let u = phi / consts::TAU; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/scene/shapes/disk.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let v = 1. - (hit_radius - self.inner_radius) / (self.radius - self.inner_radius); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TO_DEGREES` [INFO] [stdout] --> src/geometry/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const TO_DEGREES: f64 = 180. / PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/geometry/ray.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn reflect(&self, point: Point3, normal: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/geometry/ray.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn reflect(&self, point: Point3, normal: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/geometry/vector.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn reflect(&self, normal: Normal3) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index_of_refraction` [INFO] [stdout] --> src/render/bxdf.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | index_of_refraction: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hemispherical_directional_reflectance` [INFO] [stdout] --> src/render/bxdf.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn hemispherical_directional_reflectance(&self, outgoing_world: Vector3, samples: &[Point2], category: BxDFCategory) -> Spectrum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hemispherical_hemispherical_reflectance` [INFO] [stdout] --> src/render/bxdf.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn hemispherical_hemispherical_reflectance(&self, samples1: &[Point2], samples2: &[Point2], category: BxDFCategory) -> Spectrum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `probability_distribution` [INFO] [stdout] --> src/render/bxdf.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn probability_distribution(&self, outgoing_world: Vector3, incoming_world: Vector3, category: BxDFCategory) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conductor` [INFO] [stdout] --> src/render/fresnel.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Conductor { eta_parallel: Spectrum, eta_perpendicular: Spectrum, absorption: Spectrum }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dialectric` [INFO] [stdout] --> src/render/fresnel.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Dialectric { eta_parallel: f64, eta_perpendicular: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoOp` [INFO] [stdout] --> src/render/fresnel.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | NoOp, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Importance` [INFO] [stdout] --> src/scene/material.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Importance [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_blocks, clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let E = dpdu.dot(dpdu); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let F = dpdu.dot(dpdv); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let G = dpdv.dot(dpdv); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow_multiple_lobes` [INFO] [stdout] --> src/scene/material.rs:42:117 [INFO] [stdout] | [INFO] [stdout] 42 | ...TransportMode, allow_multiple_lobes: bool) -> &'a mut BSDF { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allow_multiple_lobes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/scene/shapes/sphere.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let u = phi / max_phi; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/scene/shapes/sphere.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let v = theta / max_theta; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/scene/shapes/disk.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let (ray, err) = world_to_object.mul_with_error(*ray); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/scene/shapes/disk.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let u = phi / consts::TAU; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/scene/shapes/disk.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let v = 1. - (hit_radius - self.inner_radius) / (self.radius - self.inner_radius); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TO_DEGREES` [INFO] [stdout] --> src/geometry/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const TO_DEGREES: f64 = 180. / PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/geometry/ray.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn reflect(&self, point: Point3, normal: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/geometry/ray.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn reflect(&self, point: Point3, normal: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/geometry/vector.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn reflect(&self, normal: Normal3) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index_of_refraction` [INFO] [stdout] --> src/render/bxdf.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | index_of_refraction: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hemispherical_directional_reflectance` [INFO] [stdout] --> src/render/bxdf.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn hemispherical_directional_reflectance(&self, outgoing_world: Vector3, samples: &[Point2], category: BxDFCategory) -> Spectrum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hemispherical_hemispherical_reflectance` [INFO] [stdout] --> src/render/bxdf.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn hemispherical_hemispherical_reflectance(&self, samples1: &[Point2], samples2: &[Point2], category: BxDFCategory) -> Spectrum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `probability_distribution` [INFO] [stdout] --> src/render/bxdf.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn probability_distribution(&self, outgoing_world: Vector3, incoming_world: Vector3, category: BxDFCategory) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conductor` [INFO] [stdout] --> src/render/fresnel.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Conductor { eta_parallel: Spectrum, eta_perpendicular: Spectrum, absorption: Spectrum }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dialectric` [INFO] [stdout] --> src/render/fresnel.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Dialectric { eta_parallel: f64, eta_perpendicular: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoOp` [INFO] [stdout] --> src/render/fresnel.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | NoOp, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Importance` [INFO] [stdout] --> src/scene/material.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Importance [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `clamp` has been stable since 1.50.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_blocks, clamp)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let E = dpdu.dot(dpdu); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let F = dpdu.dot(dpdv); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let G = dpdv.dot(dpdv); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "72deac4da537ba7aaae223fbff75ee8f031ed7b818f96e86d5cf1ba66310ee6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72deac4da537ba7aaae223fbff75ee8f031ed7b818f96e86d5cf1ba66310ee6d", kill_on_drop: false }` [INFO] [stdout] 72deac4da537ba7aaae223fbff75ee8f031ed7b818f96e86d5cf1ba66310ee6d