[INFO] cloning repository https://github.com/DaanMiddelkoop/RealisticCircles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaanMiddelkoop/RealisticCircles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FRealisticCircles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FRealisticCircles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 418efa2f5d5a1eea0cbbe574096e90787e8c5dc1 [INFO] checking DaanMiddelkoop/RealisticCircles against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FRealisticCircles" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 1% (8/665) Checking out files: 1% (10/665) Checking out files: 2% (14/665) Checking out files: 3% (20/665) Checking out files: 4% (27/665) Checking out files: 5% (34/665) Checking out files: 6% (40/665) Checking out files: 7% (47/665) Checking out files: 8% (54/665) Checking out files: 9% (60/665) Checking out files: 10% (67/665) Checking out files: 11% (74/665) Checking out files: 12% (80/665) Checking out files: 13% (87/665) Checking out files: 14% (94/665) Checking out files: 15% (100/665) Checking out files: 16% (107/665) Checking out files: 17% (114/665) Checking out files: 18% (120/665) Checking out files: 19% (127/665) Checking out files: 20% (133/665) Checking out files: 21% (140/665) Checking out files: 22% (147/665) Checking out files: 23% (153/665) Checking out files: 24% (160/665) Checking out files: 25% (167/665) Checking out files: 26% (173/665) Checking out files: 27% (180/665) Checking out files: 28% (187/665) Checking out files: 29% (193/665) Checking out files: 30% (200/665) Checking out files: 31% (207/665) Checking out files: 32% (213/665) Checking out files: 33% (220/665) Checking out files: 34% (227/665) Checking out files: 35% (233/665) Checking out files: 36% (240/665) Checking out files: 37% (247/665) Checking out files: 38% (253/665) Checking out files: 39% (260/665) Checking out files: 40% (266/665) Checking out files: 41% (273/665) Checking out files: 42% (280/665) Checking out files: 43% (286/665) Checking out files: 44% (293/665) Checking out files: 45% (300/665) Checking out files: 46% (306/665) Checking out files: 47% (313/665) Checking out files: 48% (320/665) Checking out files: 49% (326/665) Checking out files: 50% (333/665) Checking out files: 51% (340/665) Checking out files: 52% (346/665) Checking out files: 53% (353/665) Checking out files: 54% (360/665) Checking out files: 55% (366/665) Checking out files: 56% (373/665) Checking out files: 57% (380/665) Checking out files: 58% (386/665) Checking out files: 59% (393/665) Checking out files: 60% (399/665) Checking out files: 61% (406/665) Checking out files: 62% (413/665) Checking out files: 63% (419/665) Checking out files: 64% (426/665) Checking out files: 65% (433/665) Checking out files: 66% (439/665) Checking out files: 67% (446/665) Checking out files: 68% (453/665) Checking out files: 69% (459/665) Checking out files: 70% (466/665) Checking out files: 71% (473/665) Checking out files: 72% (479/665) Checking out files: 73% (486/665) Checking out files: 74% (493/665) Checking out files: 75% (499/665) Checking out files: 76% (506/665) Checking out files: 77% (513/665) Checking out files: 78% (519/665) Checking out files: 79% (526/665) Checking out files: 80% (532/665) Checking out files: 81% (539/665) Checking out files: 82% (546/665) Checking out files: 83% (552/665) Checking out files: 84% (559/665) Checking out files: 85% (566/665) Checking out files: 86% (572/665) Checking out files: 87% (579/665) Checking out files: 88% (586/665) Checking out files: 89% (592/665) Checking out files: 90% (599/665) Checking out files: 91% (606/665) Checking out files: 92% (612/665) Checking out files: 93% (619/665) Checking out files: 94% (626/665) Checking out files: 95% (632/665) Checking out files: 96% (639/665) Checking out files: 97% (646/665) Checking out files: 98% (652/665) Checking out files: 99% (659/665) Checking out files: 100% (665/665) Checking out files: 100% (665/665), done. [INFO] validating manifest of git repo https://github.com/DaanMiddelkoop/RealisticCircles on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DaanMiddelkoop/RealisticCircles [INFO] finished tweaking git repo https://github.com/DaanMiddelkoop/RealisticCircles [INFO] tweaked toml for git repo https://github.com/DaanMiddelkoop/RealisticCircles written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/DaanMiddelkoop/RealisticCircles already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded threads_pool v0.1.7 [INFO] [stderr] Downloaded bmp v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d531c858ce58548160b617f3c8e3b73d2eee0b7ed939e9cae77f21dc184705da [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" "d531c858ce58548160b617f3c8e3b73d2eee0b7ed939e9cae77f21dc184705da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d531c858ce58548160b617f3c8e3b73d2eee0b7ed939e9cae77f21dc184705da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d531c858ce58548160b617f3c8e3b73d2eee0b7ed939e9cae77f21dc184705da", kill_on_drop: false }` [INFO] [stdout] d531c858ce58548160b617f3c8e3b73d2eee0b7ed939e9cae77f21dc184705da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c26fa8faf1a76f63492f6875ae35278fa336b4e29b6540e6fad3b94977f957 [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" "e6c26fa8faf1a76f63492f6875ae35278fa336b4e29b6540e6fad3b94977f957", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking bmp v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.4 [INFO] [stderr] Checking threads_pool v0.1.7 [INFO] [stderr] Checking RealisticCircles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vector.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (self.length < 0.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | if (result.hit) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if (result.hit && result.distance < closest_dist) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if (b >= sphere.radius || angle > f32::consts::PI / 2.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | if (bounces > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if (new_result.hit && new_result.distance < new_direction.length()&& new_result.distance > 0.01) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | if (new_result.hit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | while ((random.x * random.x) + (random.y * random.y) + (random.z * random.z) > 1.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vector.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (self.length < 0.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | if (result.hit) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | if (result.hit && result.distance < closest_dist) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if (b >= sphere.radius || angle > f32::consts::PI / 2.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | if (bounces > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if (new_result.hit && new_result.distance < new_direction.length()&& new_result.distance > 0.01) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | if (new_result.hit) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:243:11 [INFO] [stdout] | [INFO] [stdout] 243 | while ((random.x * random.x) + (random.y * random.y) + (random.z * random.z) > 1.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let width = bitmap.get_width(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let width = bitmap.get_width(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut worker_id = pool.get_first_worker_id().unwrap() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poollock` [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let poollock = c.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poollock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_color` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut total_color = Vector::new(1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_something` [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut hit_something = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_something` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `worker_id` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut worker_id = pool.get_first_worker_id().unwrap() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poollock` [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let poollock = c.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poollock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut bitmap = bmp::open("2000x2000.bmp").unwrap(); [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: `total_color` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut total_color = Vector::new(1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut worker_id = pool.get_first_worker_id().unwrap() as u32; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_something` [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut hit_something = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_something` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut result = trace_ray(position, trace_direction, world, 2); [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:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut total_color = Vector::new(1.0, 1.0, 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:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut bitmap = bmp::open("2000x2000.bmp").unwrap(); [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:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut hit_something = false; [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:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut worker_id = pool.get_first_worker_id().unwrap() as u32; [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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let mut result = direction.add(&term); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RealisticCircles` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `realistic_circles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `crossProduct` should have a snake case name [INFO] [stdout] --> src/vector.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn crossProduct(&self, other: &Vector) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cross_product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut result = trace_ray(position, trace_direction, world, 2); [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:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let mut total_color = Vector::new(1.0, 1.0, 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:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut hit_something = false; [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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let mut result = direction.add(&term); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RealisticCircles` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `realistic_circles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `crossProduct` should have a snake case name [INFO] [stdout] --> src/vector.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn crossProduct(&self, other: &Vector) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cross_product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.44s [INFO] running `Command { std: "docker" "inspect" "e6c26fa8faf1a76f63492f6875ae35278fa336b4e29b6540e6fad3b94977f957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c26fa8faf1a76f63492f6875ae35278fa336b4e29b6540e6fad3b94977f957", kill_on_drop: false }` [INFO] [stdout] e6c26fa8faf1a76f63492f6875ae35278fa336b4e29b6540e6fad3b94977f957