[INFO] cloning repository https://github.com/thomaslienbacher/points-polygons-triangles-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomaslienbacher/points-polygons-triangles-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomaslienbacher%2Fpoints-polygons-triangles-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomaslienbacher%2Fpoints-polygons-triangles-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59119a32fdfe6b8448de5e579b761c544d20c3e5
[INFO] testing thomaslienbacher/points-polygons-triangles-rs against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomaslienbacher%2Fpoints-polygons-triangles-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thomaslienbacher/points-polygons-triangles-rs
[INFO] finished tweaking git repo https://github.com/thomaslienbacher/points-polygons-triangles-rs
[INFO] tweaked toml for git repo https://github.com/thomaslienbacher/points-polygons-triangles-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thomaslienbacher/points-polygons-triangles-rs on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thomaslienbacher/points-polygons-triangles-rs 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70e10f5b55a432f242b054da9554bb08a98a32eada9254c19829434604cc75e3
[INFO] running `Command { std: "docker" "start" "-a" "70e10f5b55a432f242b054da9554bb08a98a32eada9254c19829434604cc75e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70e10f5b55a432f242b054da9554bb08a98a32eada9254c19829434604cc75e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70e10f5b55a432f242b054da9554bb08a98a32eada9254c19829434604cc75e3", kill_on_drop: false }`
[INFO] [stdout] 70e10f5b55a432f242b054da9554bb08a98a32eada9254c19829434604cc75e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 11b482638feb93a11cacd16f8722c237d12c483a77c8ffea0cef79d8f462b3a4
[INFO] running `Command { std: "docker" "start" "-a" "11b482638feb93a11cacd16f8722c237d12c483a77c8ffea0cef79d8f462b3a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling svg v0.13.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling points-polygons-triangles-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ops::Div`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Div;
[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 import: `std::thread`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec2`
[INFO] [stdout]  --> src/main.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cgmath::{Matrix3, vec2, Vector2};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Standard`
[INFO] [stdout]   --> src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::distributions::{Standard, Uniform};
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Group`
[INFO] [stdout]   --> src/main.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 | use svg::node::element::{Circle, Group, Path, Rectangle, Text};
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let aa = (*a - smallest);
[INFO] [stdout]    |                      ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -             let aa = (*a - smallest);
[INFO] [stdout] 40 +             let aa = *a - smallest ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let ba = (*b - smallest);
[INFO] [stdout]    |                      ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             let ba = (*b - smallest);
[INFO] [stdout] 41 +             let ba = *b - smallest ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let middle = ((high + low) / 2);
[INFO] [stdout]     |                  ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -     let middle = ((high + low) / 2);
[INFO] [stdout] 165 +     let middle = (high + low) / 2 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:565:9
[INFO] [stdout]     |
[INFO] [stdout] 563 |         break;
[INFO] [stdout]     |         ----- any code following this expression is unreachable
[INFO] [stdout] 564 |         //thread::sleep(Duration::from_millis(2500));
[INFO] [stdout] 565 |         counter += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut all = points.clone();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let mut middle_angle = wrapped_angle_sub(angle(&(points[middle] - center)), offset_angle);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `inside` is never read
[INFO] [stdout]    --> src/main.rs:331:22
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let mut inside = false;
[INFO] [stdout]     |                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |     let mut testpoint = Point::new(thread_rng().sample(dist), thread_rng().sample(dist));
[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:558:9
[INFO] [stdout]     |
[INFO] [stdout] 558 |     let mut counter = 0u64;
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `counter`
[INFO] [stdout]    --> src/main.rs:558:9
[INFO] [stdout]     |
[INFO] [stdout] 558 |     let mut counter = 0u64;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grayscale_hex` is never used
[INFO] [stdout]    --> src/main.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn grayscale_hex(p: f64) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/main.rs:334:9
[INFO] [stdout]     |
[INFO] [stdout] 334 |     let A = &poly.hull[0];
[INFO] [stdout]     |         ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/main.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 |     let B = &poly.hull[1];
[INFO] [stdout]     |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/main.rs:336:9
[INFO] [stdout]     |
[INFO] [stdout] 336 |     let C = &poly.hull[2];
[INFO] [stdout]     |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.64s
[INFO] running `Command { std: "docker" "inspect" "11b482638feb93a11cacd16f8722c237d12c483a77c8ffea0cef79d8f462b3a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11b482638feb93a11cacd16f8722c237d12c483a77c8ffea0cef79d8f462b3a4", kill_on_drop: false }`
[INFO] [stdout] 11b482638feb93a11cacd16f8722c237d12c483a77c8ffea0cef79d8f462b3a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1e0aae6a66daa308d58cef79dbe40deba418184e8af7a53c61b5bfe71e6a9e7
[INFO] running `Command { std: "docker" "start" "-a" "b1e0aae6a66daa308d58cef79dbe40deba418184e8af7a53c61b5bfe71e6a9e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling points-polygons-triangles-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ops::Div`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Div;
[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 import: `std::thread`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec2`
[INFO] [stdout]  --> src/main.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use cgmath::{Matrix3, vec2, Vector2};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Standard`
[INFO] [stdout]   --> src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::distributions::{Standard, Uniform};
[INFO] [stdout]    |                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Group`
[INFO] [stdout]   --> src/main.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 | use svg::node::element::{Circle, Group, Path, Rectangle, Text};
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let aa = (*a - smallest);
[INFO] [stdout]    |                      ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -             let aa = (*a - smallest);
[INFO] [stdout] 40 +             let aa = *a - smallest ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let ba = (*b - smallest);
[INFO] [stdout]    |                      ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 41 -             let ba = (*b - smallest);
[INFO] [stdout] 41 +             let ba = *b - smallest ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let middle = ((high + low) / 2);
[INFO] [stdout]     |                  ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -     let middle = ((high + low) / 2);
[INFO] [stdout] 165 +     let middle = (high + low) / 2 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:565:9
[INFO] [stdout]     |
[INFO] [stdout] 563 |         break;
[INFO] [stdout]     |         ----- any code following this expression is unreachable
[INFO] [stdout] 564 |         //thread::sleep(Duration::from_millis(2500));
[INFO] [stdout] 565 |         counter += 1;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut all = points.clone();
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let mut middle_angle = wrapped_angle_sub(angle(&(points[middle] - center)), offset_angle);
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `inside` is never read
[INFO] [stdout]    --> src/main.rs:331:22
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let mut inside = false;
[INFO] [stdout]     |                      ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:399:9
[INFO] [stdout]     |
[INFO] [stdout] 399 |     let mut testpoint = Point::new(thread_rng().sample(dist), thread_rng().sample(dist));
[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:558:9
[INFO] [stdout]     |
[INFO] [stdout] 558 |     let mut counter = 0u64;
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `counter`
[INFO] [stdout]    --> src/main.rs:558:9
[INFO] [stdout]     |
[INFO] [stdout] 558 |     let mut counter = 0u64;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `grayscale_hex` is never used
[INFO] [stdout]    --> src/main.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn grayscale_hex(p: f64) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/main.rs:334:9
[INFO] [stdout]     |
[INFO] [stdout] 334 |     let A = &poly.hull[0];
[INFO] [stdout]     |         ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/main.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 |     let B = &poly.hull[1];
[INFO] [stdout]     |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/main.rs:336:9
[INFO] [stdout]     |
[INFO] [stdout] 336 |     let C = &poly.hull[2];
[INFO] [stdout]     |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "b1e0aae6a66daa308d58cef79dbe40deba418184e8af7a53c61b5bfe71e6a9e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1e0aae6a66daa308d58cef79dbe40deba418184e8af7a53c61b5bfe71e6a9e7", kill_on_drop: false }`
[INFO] [stdout] b1e0aae6a66daa308d58cef79dbe40deba418184e8af7a53c61b5bfe71e6a9e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 684478ad5eb0e77192694aa2adbcc8f5adc1cce194c76b5c4de7d0569ce7d3d7
[INFO] running `Command { std: "docker" "start" "-a" "684478ad5eb0e77192694aa2adbcc8f5adc1cce194c76b5c4de7d0569ce7d3d7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::ops::Div`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::ops::Div;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `vec2`
[INFO] [stderr]  --> src/main.rs:7:23
[INFO] [stderr]   |
[INFO] [stderr] 7 | use cgmath::{Matrix3, vec2, Vector2};
[INFO] [stderr]   |                       ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Standard`
[INFO] [stderr]   --> src/main.rs:11:27
[INFO] [stderr]    |
[INFO] [stderr] 11 | use rand::distributions::{Standard, Uniform};
[INFO] [stderr]    |                           ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Group`
[INFO] [stderr]   --> src/main.rs:14:34
[INFO] [stderr]    |
[INFO] [stderr] 14 | use svg::node::element::{Circle, Group, Path, Rectangle, Text};
[INFO] [stderr]    |                                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:40:22
[INFO] [stderr]    |
[INFO] [stderr] 40 |             let aa = (*a - smallest);
[INFO] [stderr]    |                      ^             ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 40 -             let aa = (*a - smallest);
[INFO] [stderr] 40 +             let aa = *a - smallest ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:41:22
[INFO] [stderr]    |
[INFO] [stderr] 41 |             let ba = (*b - smallest);
[INFO] [stderr]    |                      ^             ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 41 -             let ba = (*b - smallest);
[INFO] [stderr] 41 +             let ba = *b - smallest ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/main.rs:165:18
[INFO] [stderr]     |
[INFO] [stderr] 165 |     let middle = ((high + low) / 2);
[INFO] [stderr]     |                  ^                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 165 -     let middle = ((high + low) / 2);
[INFO] [stderr] 165 +     let middle = (high + low) / 2 ;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/main.rs:565:9
[INFO] [stderr]     |
[INFO] [stderr] 563 |         break;
[INFO] [stderr]     |         ----- any code following this expression is unreachable
[INFO] [stderr] 564 |         //thread::sleep(Duration::from_millis(2500));
[INFO] [stderr] 565 |         counter += 1;
[INFO] [stderr]     |         ^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:53:13
[INFO] [stderr]    |
[INFO] [stderr] 53 |         let mut all = points.clone();
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:166:9
[INFO] [stderr]     |
[INFO] [stderr] 166 |     let mut middle_angle = wrapped_angle_sub(angle(&(points[middle] - center)), offset_angle);
[INFO] [stderr]     |         ----^^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `inside` is never read
[INFO] [stderr]    --> src/main.rs:331:22
[INFO] [stderr]     |
[INFO] [stderr] 331 |     let mut inside = false;
[INFO] [stderr]     |                      ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:399:9
[INFO] [stderr]     |
[INFO] [stderr] 399 |     let mut testpoint = Point::new(thread_rng().sample(dist), thread_rng().sample(dist));
[INFO] [stderr]     |         ----^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:558:9
[INFO] [stderr]     |
[INFO] [stderr] 558 |     let mut counter = 0u64;
[INFO] [stderr]     |         ----^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `counter`
[INFO] [stderr]    --> src/main.rs:558:9
[INFO] [stderr]     |
[INFO] [stderr] 558 |     let mut counter = 0u64;
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `grayscale_hex` is never used
[INFO] [stderr]    --> src/main.rs:244:4
[INFO] [stderr]     |
[INFO] [stderr] 244 | fn grayscale_hex(p: f64) -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `A` should have a snake case name
[INFO] [stderr]    --> src/main.rs:334:9
[INFO] [stderr]     |
[INFO] [stderr] 334 |     let A = &poly.hull[0];
[INFO] [stderr]     |         ^ help: convert the identifier to snake case: `a`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `B` should have a snake case name
[INFO] [stderr]    --> src/main.rs:335:9
[INFO] [stderr]     |
[INFO] [stderr] 335 |     let B = &poly.hull[1];
[INFO] [stderr]     |         ^ help: convert the identifier to snake case: `b`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `C` should have a snake case name
[INFO] [stderr]    --> src/main.rs:336:9
[INFO] [stderr]     |
[INFO] [stderr] 336 |     let C = &poly.hull[2];
[INFO] [stderr]     |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stderr] 
[INFO] [stderr] warning: `points-polygons-triangles-rs` (bin "points-polygons-triangles-rs" test) generated 20 warnings (run `cargo fix --bin "points-polygons-triangles-rs" -p points-polygons-triangles-rs --tests` to apply 14 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/points_polygons_triangles_rs-b0fe1c553f4c5988)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "684478ad5eb0e77192694aa2adbcc8f5adc1cce194c76b5c4de7d0569ce7d3d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "684478ad5eb0e77192694aa2adbcc8f5adc1cce194c76b5c4de7d0569ce7d3d7", kill_on_drop: false }`
[INFO] [stdout] 684478ad5eb0e77192694aa2adbcc8f5adc1cce194c76b5c4de7d0569ce7d3d7
