[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 try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [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 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "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" "+1383df06117fd218068d1f39fd5326256dd4a348" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc96a6ac252294fa5d93ab6f6415d96d93b35f2fa9976a4f724ad3d78592d749 [INFO] running `Command { std: "docker" "start" "-a" "dc96a6ac252294fa5d93ab6f6415d96d93b35f2fa9976a4f724ad3d78592d749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc96a6ac252294fa5d93ab6f6415d96d93b35f2fa9976a4f724ad3d78592d749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc96a6ac252294fa5d93ab6f6415d96d93b35f2fa9976a4f724ad3d78592d749", kill_on_drop: false }` [INFO] [stdout] dc96a6ac252294fa5d93ab6f6415d96d93b35f2fa9976a4f724ad3d78592d749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7b99c7d41ff9d8b0d1b24914043e5f2a7035137501a3f2f165ef510e9433171 [INFO] running `Command { std: "docker" "start" "-a" "b7b99c7d41ff9d8b0d1b24914043e5f2a7035137501a3f2f165ef510e9433171", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [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 rawpointer v0.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [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 gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v2.1.1 [INFO] [stderr] Checking simba v0.4.0 [INFO] [stderr] Checking rand_distr 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)]` 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)]` 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 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: 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)]` 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 { [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 { [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 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: 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)]` on by default [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:17 [INFO] [stdout] | [INFO] [stdout] 2026 | let mut pdf_rev = 0.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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)]` 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 { [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 { [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 variable: `r` [INFO] [stdout] --> src/main.rs:3063:56 [INFO] [stdout] | [INFO] [stdout] 3063 | na::DMatrix::::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] [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::() }); [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::() }); [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: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: 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)]` on by default [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::::from_fn(|_r, _c| 1.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] For more information about this error, try `rustc --explain E0432`. [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:17 [INFO] [stdout] | [INFO] [stdout] 2026 | let mut pdf_rev = 0.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: `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::() }); [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::() }); [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::::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" "b7b99c7d41ff9d8b0d1b24914043e5f2a7035137501a3f2f165ef510e9433171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b99c7d41ff9d8b0d1b24914043e5f2a7035137501a3f2f165ef510e9433171", kill_on_drop: false }` [INFO] [stdout] b7b99c7d41ff9d8b0d1b24914043e5f2a7035137501a3f2f165ef510e9433171