[INFO] cloning repository https://github.com/JeremyFunk/RustRayMarching [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JeremyFunk/RustRayMarching" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeremyFunk%2FRustRayMarching", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeremyFunk%2FRustRayMarching'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e9d2b66849f56b50274c1c29f62b224bfd0f7e4 [INFO] building JeremyFunk/RustRayMarching against master#3266c36624e804f9f086ebd40db19039b55a4ec1 for pr-111698 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeremyFunk%2FRustRayMarching" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JeremyFunk/RustRayMarching on toolchain 3266c36624e804f9f086ebd40db19039b55a4ec1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JeremyFunk/RustRayMarching [INFO] finished tweaking git repo https://github.com/JeremyFunk/RustRayMarching [INFO] tweaked toml for git repo https://github.com/JeremyFunk/RustRayMarching written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JeremyFunk/RustRayMarching 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" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded bytemuck v1.8.0 [INFO] [stderr] Downloaded nanorand v0.6.1 [INFO] [stderr] Downloaded rhai_codegen v1.4.1 [INFO] [stderr] Downloaded rhai v1.7.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] [stderr] Downloaded flume v0.10.11 [INFO] [stderr] Downloaded exr v1.4.1 [INFO] [stderr] Downloaded jpeg-decoder v0.2.2 [INFO] [stderr] Downloaded tiff v0.7.1 [INFO] [stderr] Downloaded image v0.24.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded simple_gaussian v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c3ba5244117918dd841071906f32b2c481d5e32c2a4e474be408f3787de9ab [INFO] running `Command { std: "docker" "start" "-a" "d9c3ba5244117918dd841071906f32b2c481d5e32c2a4e474be408f3787de9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c3ba5244117918dd841071906f32b2c481d5e32c2a4e474be408f3787de9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c3ba5244117918dd841071906f32b2c481d5e32c2a4e474be408f3787de9ab", kill_on_drop: false }` [INFO] [stdout] d9c3ba5244117918dd841071906f32b2c481d5e32c2a4e474be408f3787de9ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86b03bc2f42ae4fab35946f1b260bb3a10d7d8b172edcf08031921724d53bb55 [INFO] running `Command { std: "docker" "start" "-a" "86b03bc2f42ae4fab35946f1b260bb3a10d7d8b172edcf08031921724d53bb55", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling nanorand v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling simple_gaussian v0.6.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling rhai_codegen v1.4.1 [INFO] [stderr] Compiling rhai v1.7.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.11 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling ray_marching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Sample` [INFO] [stdout] --> src/cameras.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Sample; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/evaluator.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let f_diff = (k.frame - low.frame); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - let f_diff = (k.frame - low.frame); [INFO] [stdout] 102 + let f_diff = k.frame - low.frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::configuration` [INFO] [stdout] --> src/modifier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::configuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::configuration` [INFO] [stdout] --> src/primitive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::configuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evaluator` [INFO] [stdout] --> src/scene.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | evaluator::{self, Evaluator}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/main.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | if(modifier.modifier == 1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - if(modifier.modifier == 1){ [INFO] [stdout] 181 + if modifier.modifier == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | }else if(modifier.modifier == 2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - }else if(modifier.modifier == 2){ [INFO] [stdout] 183 + }else if modifier.modifier == 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | }else if(modifier.modifier == 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - }else if(modifier.modifier == 3){ [INFO] [stdout] 185 + }else if modifier.modifier == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | }else if(modifier.modifier == 4){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - }else if(modifier.modifier == 4){ [INFO] [stdout] 187 + }else if modifier.modifier == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | }else if(modifier.modifier == 5){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - }else if(modifier.modifier == 5){ [INFO] [stdout] 189 + }else if modifier.modifier == 5 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderers.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut volumetric = [(i.path_light[0] / f64::from(i.steps) * 0.55) * sample_inv, (i.path_light[1] / f64::from(i.steps) * 0.55) * s... [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: using `.borrow()` on a double reference, which returns `&Vec` instead of borrowing the inner type [INFO] [stdout] --> src/postprocessor.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | let data_bor: &Vec = data.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&Vec` instead of borrowing the inner type [INFO] [stdout] --> src/postprocessor.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | let data_bor: &Vec = data.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 39.98s [INFO] running `Command { std: "docker" "inspect" "86b03bc2f42ae4fab35946f1b260bb3a10d7d8b172edcf08031921724d53bb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b03bc2f42ae4fab35946f1b260bb3a10d7d8b172edcf08031921724d53bb55", kill_on_drop: false }` [INFO] [stdout] 86b03bc2f42ae4fab35946f1b260bb3a10d7d8b172edcf08031921724d53bb55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+3266c36624e804f9f086ebd40db19039b55a4ec1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 576a5cc1786efc9e62bbe23658edd206b3f2d6918ae0371b35215488b828ec59 [INFO] running `Command { std: "docker" "start" "-a" "576a5cc1786efc9e62bbe23658edd206b3f2d6918ae0371b35215488b828ec59", kill_on_drop: false }` [INFO] [stderr] Compiling ray_marching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Sample` [INFO] [stdout] --> src/cameras.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Sample; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/evaluator.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let f_diff = (k.frame - low.frame); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - let f_diff = (k.frame - low.frame); [INFO] [stdout] 102 + let f_diff = k.frame - low.frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::configuration` [INFO] [stdout] --> src/modifier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::configuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::configuration` [INFO] [stdout] --> src/primitive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::configuration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evaluator` [INFO] [stdout] --> src/scene.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | evaluator::{self, Evaluator}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/main.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | if(modifier.modifier == 1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - if(modifier.modifier == 1){ [INFO] [stdout] 181 + if modifier.modifier == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | }else if(modifier.modifier == 2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 183 - }else if(modifier.modifier == 2){ [INFO] [stdout] 183 + }else if modifier.modifier == 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | }else if(modifier.modifier == 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - }else if(modifier.modifier == 3){ [INFO] [stdout] 185 + }else if modifier.modifier == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | }else if(modifier.modifier == 4){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 187 - }else if(modifier.modifier == 4){ [INFO] [stdout] 187 + }else if modifier.modifier == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | }else if(modifier.modifier == 5){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - }else if(modifier.modifier == 5){ [INFO] [stdout] 189 + }else if modifier.modifier == 5 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderers.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut volumetric = [(i.path_light[0] / f64::from(i.steps) * 0.55) * sample_inv, (i.path_light[1] / f64::from(i.steps) * 0.55) * s... [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: using `.borrow()` on a double reference, which returns `&Vec` instead of borrowing the inner type [INFO] [stdout] --> src/postprocessor.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | let data_bor: &Vec = data.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&Vec` instead of borrowing the inner type [INFO] [stdout] --> src/postprocessor.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | let data_bor: &Vec = data.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "576a5cc1786efc9e62bbe23658edd206b3f2d6918ae0371b35215488b828ec59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576a5cc1786efc9e62bbe23658edd206b3f2d6918ae0371b35215488b828ec59", kill_on_drop: false }` [INFO] [stdout] 576a5cc1786efc9e62bbe23658edd206b3f2d6918ae0371b35215488b828ec59