[INFO] cloning repository https://github.com/shiinamiyuki/min-gi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiinamiyuki/min-gi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinamiyuki%2Fmin-gi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinamiyuki%2Fmin-gi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa6f31e243387b205396812b74ff172159113872 [INFO] checking shiinamiyuki/min-gi against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinamiyuki%2Fmin-gi" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shiinamiyuki/min-gi on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shiinamiyuki/min-gi [INFO] finished tweaking git repo https://github.com/shiinamiyuki/min-gi [INFO] tweaked toml for git repo https://github.com/shiinamiyuki/min-gi written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/shiinamiyuki/min-gi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] beb235050c9cf72eab5528440932d9a50200df4c1d39b694f8cbaf8a75dbb17c [INFO] running `Command { std: "docker" "start" "-a" "beb235050c9cf72eab5528440932d9a50200df4c1d39b694f8cbaf8a75dbb17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "beb235050c9cf72eab5528440932d9a50200df4c1d39b694f8cbaf8a75dbb17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beb235050c9cf72eab5528440932d9a50200df4c1d39b694f8cbaf8a75dbb17c", kill_on_drop: false }` [INFO] [stdout] beb235050c9cf72eab5528440932d9a50200df4c1d39b694f8cbaf8a75dbb17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e23b9d6c351cd3932893d62fb354a90d5175070d7148174a38a478d849a80f4 [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" "3e23b9d6c351cd3932893d62fb354a90d5175070d7148174a38a478d849a80f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking simba v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking nalgebra v0.25.4 [INFO] [stderr] Checking nalgebra-glm v0.11.0 [INFO] [stderr] Checking min-gi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deref`, `LinkedList`, `RefCell`, `UnsafeCell`, `alloc::dealloc`, `env`, `mem::MaybeUninit` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | alloc::dealloc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | cell::{RefCell, UnsafeCell}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | collections::{HashMap, LinkedList}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | hash::Hasher, [INFO] [stdout] 12 | mem::MaybeUninit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ops::{Deref, Index, IndexMut, Mul}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/main.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deref`, `LinkedList`, `RefCell`, `UnsafeCell`, `alloc::dealloc`, `env`, `mem::MaybeUninit` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | alloc::dealloc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | cell::{RefCell, UnsafeCell}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 9 | collections::{HashMap, LinkedList}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | hash::Hasher, [INFO] [stdout] 12 | mem::MaybeUninit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ops::{Deref, Index, IndexMut, Mul}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::swap` [INFO] [stdout] --> src/main.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | use std::mem::swap; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hasher` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | hash::Hasher, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/main.rs:1109:24 [INFO] [stdout] | [INFO] [stdout] 1109 | fn evaluate(&self, wo: &Vec3, wi: &Vec3) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hasher` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | hash::Hasher, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> src/main.rs:1109:35 [INFO] [stdout] | [INFO] [stdout] 1109 | fn evaluate(&self, wo: &Vec3, wi: &Vec3) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/main.rs:1112:28 [INFO] [stdout] | [INFO] [stdout] 1112 | fn evaluate_pdf(&self, wo: &Vec3, wi: &Vec3) -> Float { [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] --> src/main.rs:1112:39 [INFO] [stdout] | [INFO] [stdout] 1112 | fn evaluate_pdf(&self, wo: &Vec3, wi: &Vec3) -> Float { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:1115:22 [INFO] [stdout] | [INFO] [stdout] 1115 | fn sample(&self, u: &Vec2, wo: &Vec3) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/main.rs:1115:32 [INFO] [stdout] | [INFO] [stdout] 1115 | fn sample(&self, u: &Vec2, wo: &Vec3) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:1178:22 [INFO] [stdout] | [INFO] [stdout] 1178 | fn pdf_le(&self, ray: &Ray) -> (Float, Float) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> src/main.rs:1181:22 [INFO] [stdout] | [INFO] [stdout] 1181 | fn pdf_li(&self, wi: &Vec3, p: &ReferencePoint) -> (Float, Float) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/main.rs:1181:33 [INFO] [stdout] | [INFO] [stdout] 1181 | fn pdf_li(&self, wi: &Vec3, p: &ReferencePoint) -> (Float, Float) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> src/main.rs:1255:31 [INFO] [stdout] | [INFO] [stdout] 1255 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, &mut sampler); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> src/main.rs:1305:31 [INFO] [stdout] | [INFO] [stdout] 1305 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, &mut sampler); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> src/main.rs:1577:31 [INFO] [stdout] | [INFO] [stdout] 1577 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, sampler); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/main.rs:1109:24 [INFO] [stdout] | [INFO] [stdout] 1109 | fn evaluate(&self, wo: &Vec3, wi: &Vec3) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> src/main.rs:1109:35 [INFO] [stdout] | [INFO] [stdout] 1109 | fn evaluate(&self, wo: &Vec3, wi: &Vec3) -> Spectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/main.rs:1112:28 [INFO] [stdout] | [INFO] [stdout] 1112 | fn evaluate_pdf(&self, wo: &Vec3, wi: &Vec3) -> Float { [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] --> src/main.rs:1112:39 [INFO] [stdout] | [INFO] [stdout] 1112 | fn evaluate_pdf(&self, wo: &Vec3, wi: &Vec3) -> Float { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pdf_rev` is never read [INFO] [stdout] --> src/main.rs:1990:17 [INFO] [stdout] | [INFO] [stdout] 1990 | let mut pdf_rev = 0.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/main.rs:1115:22 [INFO] [stdout] | [INFO] [stdout] 1115 | fn sample(&self, u: &Vec2, wo: &Vec3) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/main.rs:1115:32 [INFO] [stdout] | [INFO] [stdout] 1115 | fn sample(&self, u: &Vec2, wo: &Vec3) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:1178:22 [INFO] [stdout] | [INFO] [stdout] 1178 | fn pdf_le(&self, ray: &Ray) -> (Float, Float) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wi` [INFO] [stdout] --> src/main.rs:1181:22 [INFO] [stdout] | [INFO] [stdout] 1181 | fn pdf_li(&self, wi: &Vec3, p: &ReferencePoint) -> (Float, Float) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/main.rs:1181:33 [INFO] [stdout] | [INFO] [stdout] 1181 | fn pdf_li(&self, wi: &Vec3, p: &ReferencePoint) -> (Float, Float) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:1901:33 [INFO] [stdout] | [INFO] [stdout] 1901 | pub fn pdf_light(&self, scene: &Scene, next: &Vertex) -> Float { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> src/main.rs:1255:31 [INFO] [stdout] | [INFO] [stdout] 1255 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, &mut sampler); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> src/main.rs:1305:31 [INFO] [stdout] | [INFO] [stdout] 1305 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, &mut sampler); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:1944:26 [INFO] [stdout] | [INFO] [stdout] 1944 | pub fn le(&self, scene: &'a Scene, prev: &Vertex<'a>) -> Spectrum { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1966:33 [INFO] [stdout] | [INFO] [stdout] 1966 | Vertex::Surface(v) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_weight` [INFO] [stdout] --> src/main.rs:1577:31 [INFO] [stdout] | [INFO] [stdout] 1577 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, sampler); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pdf_rev` is never read [INFO] [stdout] --> src/main.rs:1990:17 [INFO] [stdout] | [INFO] [stdout] 1990 | let mut pdf_rev = 0.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:1901:33 [INFO] [stdout] | [INFO] [stdout] 1901 | pub fn pdf_light(&self, scene: &Scene, next: &Vertex) -> Float { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/main.rs:1944:26 [INFO] [stdout] | [INFO] [stdout] 1944 | pub fn le(&self, scene: &'a Scene, prev: &Vertex<'a>) -> Spectrum { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:1966:33 [INFO] [stdout] | [INFO] [stdout] 1966 | Vertex::Surface(v) => true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1577:22 [INFO] [stdout] | [INFO] [stdout] 1577 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, sampler); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1577:22 [INFO] [stdout] | [INFO] [stdout] 1577 | let (mut ray, ray_weight) = scene.camera.generate_ray(&pixel, sampler); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `identity` [INFO] [stdout] --> src/main.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn identity() -> Self { [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: `transform_normal` [INFO] [stdout] --> src/main.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn transform_normal(&self, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fov` [INFO] [stdout] --> src/main.rs:988:5 [INFO] [stdout] | [INFO] [stdout] 988 | fov: Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/main.rs:1754:9 [INFO] [stdout] | [INFO] [stdout] 1754 | n: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera` [INFO] [stdout] --> src/main.rs:1759:9 [INFO] [stdout] | [INFO] [stdout] 1759 | camera: &'a dyn Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_camera` [INFO] [stdout] --> src/main.rs:1852:16 [INFO] [stdout] | [INFO] [stdout] 1852 | pub fn as_camera(&self) -> Option<&CameraVertex> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pdf_fwd` [INFO] [stdout] --> src/main.rs:1935:16 [INFO] [stdout] | [INFO] [stdout] 1935 | pub fn pdf_fwd(&self) -> Float { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `identity` [INFO] [stdout] --> src/main.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn identity() -> Self { [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: `transform_normal` [INFO] [stdout] --> src/main.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn transform_normal(&self, n: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fov` [INFO] [stdout] --> src/main.rs:988:5 [INFO] [stdout] | [INFO] [stdout] 988 | fov: Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/main.rs:1754:9 [INFO] [stdout] | [INFO] [stdout] 1754 | n: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera` [INFO] [stdout] --> src/main.rs:1759:9 [INFO] [stdout] | [INFO] [stdout] 1759 | camera: &'a dyn Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_camera` [INFO] [stdout] --> src/main.rs:1852:16 [INFO] [stdout] | [INFO] [stdout] 1852 | pub fn as_camera(&self) -> Option<&CameraVertex> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pdf_fwd` [INFO] [stdout] --> src/main.rs:1935:16 [INFO] [stdout] | [INFO] [stdout] 1935 | pub fn pdf_fwd(&self) -> Float { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "3e23b9d6c351cd3932893d62fb354a90d5175070d7148174a38a478d849a80f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e23b9d6c351cd3932893d62fb354a90d5175070d7148174a38a478d849a80f4", kill_on_drop: false }` [INFO] [stdout] 3e23b9d6c351cd3932893d62fb354a90d5175070d7148174a38a478d849a80f4