[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] af4fd4f05f5bc2356296e61e49d81f0715ad6c87
[INFO] checking shiinamiyuki/min-gi against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiinamiyuki%2Fmin-gi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shiinamiyuki/min-gi on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shiinamiyuki/min-gi 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6
[INFO] running `Command { std: "docker" "start" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking matrixmultiply v0.3.1
[INFO] [stderr]     Checking byteorder v1.4.3
[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 adler v1.0.2
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking deflate v0.8.6
[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 rand_core v0.6.2
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking bytemuck v1.5.1
[INFO] [stderr]     Checking png v0.16.8
[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 rand_distr v0.4.0
[INFO] [stderr]     Checking simba v0.4.0
[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.26.2
[INFO] [stderr]     Checking statrs v0.14.0
[INFO] [stderr]     Checking nalgebra-glm v0.12.0
[INFO] [stderr]     Checking min-gi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `mimalloc`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mimalloc::MiMalloc;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `mimalloc`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mimalloc`, use `cargo add mimalloc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `matrixmultiply`
[INFO] [stdout]     --> src/main.rs:3395:13
[INFO] [stdout]      |
[INFO] [stdout] 3395 |         use matrixmultiply::sgemm;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `matrixmultiply`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `matrixmultiply`, use `cargo add matrixmultiply` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `na::DMatrix`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use na::DMatrix;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deref`, `LinkedList`, `RefCell`, `UnsafeCell`, `alloc::dealloc`, `env`, and `mem::MaybeUninit`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     alloc::dealloc,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     cell::{RefCell, UnsafeCell},
[INFO] [stdout]    |            ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 18 |     collections::{HashMap, LinkedList},
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 19 |     env,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     hash::Hasher,
[INFO] [stdout] 21 |     mem::MaybeUninit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     ops::{Deref, Index, IndexMut, Mul},
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::swap`
[INFO] [stdout]    --> src/main.rs:634:9
[INFO] [stdout]     |
[INFO] [stdout] 634 |     use std::mem::swap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `statrs::distribution::Normal`
[INFO] [stdout]     --> src/main.rs:2479:9
[INFO] [stdout]      |
[INFO] [stdout] 2479 |     use statrs::distribution::Normal;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]     --> src/main.rs:3184:9
[INFO] [stdout]      |
[INFO] [stdout] 3184 |         cell::RefCell,
[INFO] [stdout]      |         ^^^^^^^^^^^^^
[INFO] [stdout] 3185 |         rc::Rc,
[INFO] [stdout]      |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mimalloc`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mimalloc::MiMalloc;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `mimalloc`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `mimalloc`, use `cargo add mimalloc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `matrixmultiply`
[INFO] [stdout]     --> src/main.rs:3395:13
[INFO] [stdout]      |
[INFO] [stdout] 3395 |         use matrixmultiply::sgemm;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `matrixmultiply`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `matrixmultiply`, use `cargo add matrixmultiply` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `na::DMatrix`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use na::DMatrix;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deref`, `LinkedList`, `RefCell`, `UnsafeCell`, `alloc::dealloc`, `env`, and `mem::MaybeUninit`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     alloc::dealloc,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     cell::{RefCell, UnsafeCell},
[INFO] [stdout]    |            ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 18 |     collections::{HashMap, LinkedList},
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 19 |     env,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 20 |     hash::Hasher,
[INFO] [stdout] 21 |     mem::MaybeUninit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     ops::{Deref, Index, IndexMut, Mul},
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::swap`
[INFO] [stdout]    --> src/main.rs:634:9
[INFO] [stdout]     |
[INFO] [stdout] 634 |     use std::mem::swap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `statrs::distribution::Normal`
[INFO] [stdout]     --> src/main.rs:2479:9
[INFO] [stdout]      |
[INFO] [stdout] 2479 |     use statrs::distribution::Normal;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]     --> src/main.rs:3184:9
[INFO] [stdout]      |
[INFO] [stdout] 3184 |         cell::RefCell,
[INFO] [stdout]      |         ^^^^^^^^^^^^^
[INFO] [stdout] 3185 |         rc::Rc,
[INFO] [stdout]      |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hasher`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     hash::Hasher,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::Distribution`
[INFO] [stdout]     --> src/main.rs:2477:9
[INFO] [stdout]      |
[INFO] [stdout] 2477 |     use rand::distributions::Distribution;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]     --> src/main.rs:2478:9
[INFO] [stdout]      |
[INFO] [stdout] 2478 |     use rand::Rng;
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wo`
[INFO] [stdout]     --> src/main.rs:1144:24
[INFO] [stdout]      |
[INFO] [stdout] 1144 |     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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wi`
[INFO] [stdout]     --> src/main.rs:1144:35
[INFO] [stdout]      |
[INFO] [stdout] 1144 |     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:1147:28
[INFO] [stdout]      |
[INFO] [stdout] 1147 |     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:1147:39
[INFO] [stdout]      |
[INFO] [stdout] 1147 |     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:1150:22
[INFO] [stdout]      |
[INFO] [stdout] 1150 |     fn sample(&self, u: &Vec2, wo: &Vec3) -> Option<BSDFSample> {
[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:1150:32
[INFO] [stdout]      |
[INFO] [stdout] 1150 |     fn sample(&self, u: &Vec2, wo: &Vec3) -> Option<BSDFSample> {
[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:1218:22
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     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:1221:22
[INFO] [stdout]      |
[INFO] [stdout] 1221 |     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:1221:33
[INFO] [stdout]      |
[INFO] [stdout] 1221 |     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:1300:31
[INFO] [stdout]      |
[INFO] [stdout] 1300 |                 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:1350:31
[INFO] [stdout]      |
[INFO] [stdout] 1350 |                 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 import: `hash::Hasher`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     hash::Hasher,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]     --> src/main.rs:2478:9
[INFO] [stdout]      |
[INFO] [stdout] 2478 |     use rand::Rng;
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distributions::Distribution`
[INFO] [stdout]     --> src/main.rs:2477:9
[INFO] [stdout]      |
[INFO] [stdout] 2477 |     use rand::distributions::Distribution;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1618:22
[INFO] [stdout]      |
[INFO] [stdout] 1618 |                 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray_weight`
[INFO] [stdout]     --> src/main.rs:1618:31
[INFO] [stdout]      |
[INFO] [stdout] 1618 |                 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: `scene`
[INFO] [stdout]     --> src/main.rs:1937:33
[INFO] [stdout]      |
[INFO] [stdout] 1937 |         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:1980:26
[INFO] [stdout]      |
[INFO] [stdout] 1980 |         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:2002:33
[INFO] [stdout]      |
[INFO] [stdout] 2002 |                 Vertex::Surface(v) => true,
[INFO] [stdout]      |                                 ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pdf_rev` is never read
[INFO] [stdout]     --> src/main.rs:2026:27
[INFO] [stdout]      |
[INFO] [stdout] 2026 |         let mut pdf_rev = 0.0;
[INFO] [stdout]      |                           ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2058 |                         pdf_rev = bsdf.evaluate_pdf(&wi, &wo);
[INFO] [stdout]      |                         ------------------------------------- `pdf_rev` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wo`
[INFO] [stdout]     --> src/main.rs:1144:24
[INFO] [stdout]      |
[INFO] [stdout] 1144 |     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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]     --> src/main.rs:3063:56
[INFO] [stdout]      |
[INFO] [stdout] 3063 |             na::DMatrix::<f32>::from_fn(1, x.ncols(), |r, c| x[(0, c)] + x[(1, c)])
[INFO] [stdout]      |                                                        ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `min-gi` (bin "min-gi" test) due to 2 previous errors; 30 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `wi`
[INFO] [stdout]     --> src/main.rs:1144:35
[INFO] [stdout]      |
[INFO] [stdout] 1144 |     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:1147:28
[INFO] [stdout]      |
[INFO] [stdout] 1147 |     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:1147:39
[INFO] [stdout]      |
[INFO] [stdout] 1147 |     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:1150:22
[INFO] [stdout]      |
[INFO] [stdout] 1150 |     fn sample(&self, u: &Vec2, wo: &Vec3) -> Option<BSDFSample> {
[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:1150:32
[INFO] [stdout]      |
[INFO] [stdout] 1150 |     fn sample(&self, u: &Vec2, wo: &Vec3) -> Option<BSDFSample> {
[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:1218:22
[INFO] [stdout]      |
[INFO] [stdout] 1218 |     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:1221:22
[INFO] [stdout]      |
[INFO] [stdout] 1221 |     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:1221:33
[INFO] [stdout]      |
[INFO] [stdout] 1221 |     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: `r`
[INFO] [stdout]     --> src/main.rs:3138:54
[INFO] [stdout]      |
[INFO] [stdout] 3138 |                 na::DMatrix::from_fn(2, batch_size, |r, c| -> f32 { rng.gen::<f32>() });
[INFO] [stdout]      |                                                      ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]     --> src/main.rs:3138:57
[INFO] [stdout]      |
[INFO] [stdout] 3138 |                 na::DMatrix::from_fn(2, batch_size, |r, c| -> f32 { rng.gen::<f32>() });
[INFO] [stdout]      |                                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray_weight`
[INFO] [stdout]     --> src/main.rs:1300:31
[INFO] [stdout]      |
[INFO] [stdout] 1300 |                 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:1350:31
[INFO] [stdout]      |
[INFO] [stdout] 1350 |                 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: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:3539:9
[INFO] [stdout]      |
[INFO] [stdout] 3539 |     let mut b = na::SMatrix::<f32, 64, 1>::from_fn(|_r, _c| 1.0);
[INFO] [stdout]      |         ----^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:1618:22
[INFO] [stdout]      |
[INFO] [stdout] 1618 |                 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray_weight`
[INFO] [stdout]     --> src/main.rs:1618:31
[INFO] [stdout]      |
[INFO] [stdout] 1618 |                 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] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]     --> src/main.rs:1937:33
[INFO] [stdout]      |
[INFO] [stdout] 1937 |         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:1980:26
[INFO] [stdout]      |
[INFO] [stdout] 1980 |         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:2002:33
[INFO] [stdout]      |
[INFO] [stdout] 2002 |                 Vertex::Surface(v) => true,
[INFO] [stdout]      |                                 ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pdf_rev` is never read
[INFO] [stdout]     --> src/main.rs:2026:27
[INFO] [stdout]      |
[INFO] [stdout] 2026 |         let mut pdf_rev = 0.0;
[INFO] [stdout]      |                           ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2058 |                         pdf_rev = bsdf.evaluate_pdf(&wi, &wo);
[INFO] [stdout]      |                         ------------------------------------- `pdf_rev` is overwritten here before the previous value is read
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]     --> src/main.rs:3138:54
[INFO] [stdout]      |
[INFO] [stdout] 3138 |                 na::DMatrix::from_fn(2, batch_size, |r, c| -> f32 { rng.gen::<f32>() });
[INFO] [stdout]      |                                                      ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]     --> src/main.rs:3138:57
[INFO] [stdout]      |
[INFO] [stdout] 3138 |                 na::DMatrix::from_fn(2, batch_size, |r, c| -> f32 { rng.gen::<f32>() });
[INFO] [stdout]      |                                                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:3539:9
[INFO] [stdout]      |
[INFO] [stdout] 3539 |     let mut b = na::SMatrix::<f32, 64, 1>::from_fn(|_r, _c| 1.0);
[INFO] [stdout]      |         ----^
[INFO] [stdout]      |         |
[INFO] [stdout]      |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `min-gi` (bin "min-gi") due to 2 previous errors; 29 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6", kill_on_drop: false }`
[INFO] [stdout] dfca7359ed6b853b4aae8d0b62686d1911c2c6af3741a3c2078ef8d7af2855b6
