[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] 1fd6cd0e5b061e72c5768e6b957efeb3ebc633b9 [INFO] checking Quantumplation/optique against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuantumplation%2Foptique" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Quantumplation/optique on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d458b2821c393d781d5a93cf4c931c25fff236b30a3e648145e2630233820415 [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" "d458b2821c393d781d5a93cf4c931c25fff236b30a3e648145e2630233820415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d458b2821c393d781d5a93cf4c931c25fff236b30a3e648145e2630233820415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d458b2821c393d781d5a93cf4c931c25fff236b30a3e648145e2630233820415", kill_on_drop: false }` [INFO] [stdout] d458b2821c393d781d5a93cf4c931c25fff236b30a3e648145e2630233820415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9b37561a221a2468ec70881147b9c0bde2872be6ea120c2f48a4d61a6e51d74 [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" "c9b37561a221a2468ec70881147b9c0bde2872be6ea120c2f48a4d61a6e51d74", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.pbrt_rs.commit [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bumpalo v3.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.61 [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 rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking cgmath v0.17.0 [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 serde_derive v1.0.118 [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: `std::cmp::min` [INFO] [stdout] --> src/geometry/bounds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BxDFInstance`, `Fresnel`, `LambertianReflection`, `OrenNayar`, `Spectrum`, `SpecularTransmission` [INFO] [stdout] --> src/scene/material.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | ...ection}, render::{BSDF, BxDFInstance, Fresnel, LambertianReflection, OrenNayar, Spectrum, SpecularTransmission}}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpecularTransmission` [INFO] [stdout] --> src/scene/materials/matte.rs:3:109 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{geometry::Intersection, render::{BSDF, BxDFInstance, LambertianReflection, OrenNayar, Spectrum, SpecularTransmission}, scene:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MicrofacetDistributionInstance`, `SpecularReflection` [INFO] [stdout] --> src/scene/materials/plastic.rs:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | ...el, LambertianReflection, MicrofacetDistributionInstance, MicrofacetReflection, Spectrum, SpecularReflection, TrowbridgeReitz}, scene:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bumpalo::Bump` [INFO] [stdout] --> src/scene/primitive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bumpalo::Bump; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normal3` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use geometry::{Bounds2, Normal3, Point2, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AreaLight`, `BVHNode`, `PrimitiveList`, `ShapeInstance`, `TriangleMesh` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | ...::{AreaLight, BVHAggregate, BVHNode, DiskShape, GeometricPrimitive, Glass, LightInstance, Matte, Mirror, Plastic, PointLight, PrimitiveInstance, PrimitiveList, Scene, ShapeInstance, SphereShape, SplitMethod, TriangleMes... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/geometry/bounds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BxDFInstance`, `Fresnel`, `LambertianReflection`, `OrenNayar`, `Spectrum`, `SpecularTransmission` [INFO] [stdout] --> src/scene/material.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | ...ection}, render::{BSDF, BxDFInstance, Fresnel, LambertianReflection, OrenNayar, Spectrum, SpecularTransmission}}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpecularTransmission` [INFO] [stdout] --> src/scene/materials/matte.rs:3:109 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{geometry::Intersection, render::{BSDF, BxDFInstance, LambertianReflection, OrenNayar, Spectrum, SpecularTransmission}, scene:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MicrofacetDistributionInstance`, `SpecularReflection` [INFO] [stdout] --> src/scene/materials/plastic.rs:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | ...el, LambertianReflection, MicrofacetDistributionInstance, MicrofacetReflection, Spectrum, SpecularReflection, TrowbridgeReitz}, scene:... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bumpalo::Bump` [INFO] [stdout] --> src/scene/primitive.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bumpalo::Bump; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normal3` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use geometry::{Bounds2, Normal3, Point2, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AreaLight`, `BVHNode`, `PrimitiveList`, `ShapeInstance`, `TriangleMesh` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | ...::{AreaLight, BVHAggregate, BVHNode, DiskShape, GeometricPrimitive, Glass, LightInstance, Matte, Mirror, Plastic, PointLight, PrimitiveInstance, PrimitiveList, Scene, ShapeInstance, SphereShape, SplitMethod, TriangleMes... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tris` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let tris = mesh.to_triangles(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tris` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing` [INFO] [stdout] --> src/render/bxdfs/fresnel.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | fn evaluate(&self, outgoing: Vector3, incoming: Vector3) -> Spectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/render/bxdfs/fresnel.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | fn evaluate(&self, outgoing: Vector3, incoming: Vector3) -> Spectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/scene/shapes/sphere.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let v = (theta - min_theta) / (max_theta - min_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:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | 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:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | 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:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | 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: unused variable: `face_count` [INFO] [stdout] --> src/ply.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | let face_count: usize = f_line.split(" ").nth(2).unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tris` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let tris = mesh.to_triangles(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tris` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing` [INFO] [stdout] --> src/render/bxdfs/fresnel.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | fn evaluate(&self, outgoing: Vector3, incoming: Vector3) -> Spectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming` [INFO] [stdout] --> src/render/bxdfs/fresnel.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | fn evaluate(&self, outgoing: Vector3, incoming: Vector3) -> Spectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/scene/shapes/sphere.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let v = (theta - min_theta) / (max_theta - min_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:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | 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:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | 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:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | 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: unused variable: `face_count` [INFO] [stdout] --> src/ply.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | let face_count: usize = f_line.split(" ").nth(2).unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_count` [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:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | 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:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | 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:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | 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:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | 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:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | 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/bxdfs/fresnel.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Conductor { eta_parallel: Spectrum, eta_perpendicular: Spectrum, absorption: Spectrum }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Importance` [INFO] [stdout] --> src/scene/material.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Importance [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SurfaceArea` [INFO] [stdout] --> src/scene/primitive.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum SplitMethod { SurfaceArea, Linear, Middle, EqualCounts } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Linear` [INFO] [stdout] --> src/scene/primitive.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum SplitMethod { SurfaceArea, Linear, Middle, EqualCounts } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EqualCounts` [INFO] [stdout] --> src/scene/primitive.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum SplitMethod { SurfaceArea, Linear, Middle, EqualCounts } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_node_size` [INFO] [stdout] --> src/scene/primitive.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | max_node_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `split_method` [INFO] [stdout] --> src/scene/primitive.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | split_method: SplitMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index` [INFO] [stdout] --> src/scene/primitive.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bounds` [INFO] [stdout] --> src/scene/primitive.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | bounds: Bounds3, [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, partition_point)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `partition_point` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_blocks, clamp, partition_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let G = dpdv.dot(dpdv); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [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:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | 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:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | 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:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | 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:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | 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:254:10 [INFO] [stdout] | [INFO] [stdout] 254 | 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/bxdfs/fresnel.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Conductor { eta_parallel: Spectrum, eta_perpendicular: Spectrum, absorption: Spectrum }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Importance` [INFO] [stdout] --> src/scene/material.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Importance [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SurfaceArea` [INFO] [stdout] --> src/scene/primitive.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum SplitMethod { SurfaceArea, Linear, Middle, EqualCounts } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Linear` [INFO] [stdout] --> src/scene/primitive.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum SplitMethod { SurfaceArea, Linear, Middle, EqualCounts } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EqualCounts` [INFO] [stdout] --> src/scene/primitive.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum SplitMethod { SurfaceArea, Linear, Middle, EqualCounts } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_node_size` [INFO] [stdout] --> src/scene/primitive.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | max_node_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `split_method` [INFO] [stdout] --> src/scene/primitive.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | split_method: SplitMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index` [INFO] [stdout] --> src/scene/primitive.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | index: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bounds` [INFO] [stdout] --> src/scene/primitive.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | bounds: Bounds3, [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, partition_point)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `partition_point` has been stable since 1.52.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_blocks, clamp, partition_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/scene/shapes/sphere.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let G = dpdv.dot(dpdv); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "c9b37561a221a2468ec70881147b9c0bde2872be6ea120c2f48a4d61a6e51d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b37561a221a2468ec70881147b9c0bde2872be6ea120c2f48a4d61a6e51d74", kill_on_drop: false }` [INFO] [stdout] c9b37561a221a2468ec70881147b9c0bde2872be6ea120c2f48a4d61a6e51d74