[INFO] cloning repository https://github.com/takus69/ahc048
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takus69/ahc048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc048", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc048'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0051f83aef5dc31fe4f915da37ddf291f7500ba7
[INFO] checking takus69/ahc048/0051f83aef5dc31fe4f915da37ddf291f7500ba7 against 1af98b7cdf86932b76182a387f52f1be6f0c1be0 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc048" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/takus69/ahc048
[INFO] finished tweaking git repo https://github.com/takus69/ahc048
[INFO] tweaked toml for git repo https://github.com/takus69/ahc048 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/takus69/ahc048 on toolchain 1af98b7cdf86932b76182a387f52f1be6f0c1be0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/takus69/ahc048 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" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ac-library-rs v0.1.1
[INFO] [stderr]   Downloaded nalgebra v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a
[INFO] running `Command { std: "docker" "start" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking matrixmultiply v0.2.4
[INFO] [stderr]     Checking ac-library-rs v0.1.1
[INFO] [stderr]     Checking proconio v0.4.5
[INFO] [stderr]     Checking generic-array v0.13.3
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking alga v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking nalgebra v0.20.0
[INFO] [stderr]     Checking ahc048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `enumerate`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use itertools::{enumerate, Itertools};
[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: `Duration`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/main.rs:1220:73
[INFO] [stdout]      |
[INFO] [stdout] 1220 |                 .map(|i| (0..3).map(|j| b[(i, j)]).collect()).collect();;
[INFO] [stdout]      |                                                                         ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enumerate`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use itertools::{enumerate, Itertools};
[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: `Duration`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]     --> src/main.rs:1220:73
[INFO] [stdout]      |
[INFO] [stdout] 1220 |                 .map(|i| (0..3).map(|j| b[(i, j)]).collect()).collect();;
[INFO] [stdout]      |                                                                         ^ help: remove this semicolon
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:441:14
[INFO] [stdout]     |
[INFO] [stdout] 441 |         for (i, &k) in [k1, k2, k3].iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:563:13
[INFO] [stdout]     |
[INFO] [stdout] 563 |             color.c /= all_gram;
[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: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:564:13
[INFO] [stdout]     |
[INFO] [stdout] 564 |             color.m /= all_gram;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:565:13
[INFO] [stdout]     |
[INFO] [stdout] 565 |             color.y /= all_gram;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:670:13
[INFO] [stdout]     |
[INFO] [stdout] 670 |         let mut use_grams: Vec<f64> = Vec::new();
[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:671:13
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let mut all_gram = 0.0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_grams`
[INFO] [stdout]    --> src/main.rs:670:13
[INFO] [stdout]     |
[INFO] [stdout] 670 |         let mut use_grams: Vec<f64> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_grams`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `all_gram`
[INFO] [stdout]    --> src/main.rs:671:13
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let mut all_gram = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_gram`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:744:14
[INFO] [stdout]     |
[INFO] [stdout] 744 |         for (i, &k) in [k1, k2, k3, k4].iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `opt_e` is never read
[INFO] [stdout]    --> src/main.rs:704:13
[INFO] [stdout]     |
[INFO] [stdout] 704 |             opt_e = e;
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:823:14
[INFO] [stdout]     |
[INFO] [stdout] 823 |         for (i, &target_color) in self.target.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `opt_color` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:828:17
[INFO] [stdout]     |
[INFO] [stdout] 828 |             let mut opt_color = Color::new(0.0, 0.0, 0.0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_opt_color` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `opt_color` is never read
[INFO] [stdout]    --> src/main.rs:842:33
[INFO] [stdout]     |
[INFO] [stdout] 842 | ...                   opt_color = color;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]     --> src/main.rs:1130:14
[INFO] [stdout]      |
[INFO] [stdout] 1130 |         for (i, &t) in self.target.iter().enumerate() {
[INFO] [stdout]      |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]     --> src/main.rs:1296:14
[INFO] [stdout]      |
[INFO] [stdout] 1296 |         for (i, &t) in self.target.iter().enumerate() {
[INFO] [stdout]      |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1276:17
[INFO] [stdout]      |
[INFO] [stdout] 1276 |             let e = matrix_multi(&m, &inv_m);
[INFO] [stdout]      |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two_paint_params`
[INFO] [stdout]     --> src/main.rs:1514:45
[INFO] [stdout]      |
[INFO] [stdout] 1514 |         let (palette, actions, score, turn, two_paint_params) = self.two_paint2();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_two_paint_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `h` is never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Score {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     h: usize,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Score` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init2` is never used
[INFO] [stdout]    --> src/main.rs:327:8
[INFO] [stdout]     |
[INFO] [stdout] 295 | impl Palette4 {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 327 |     fn init2(&self, n: usize) -> Palette {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dot` is never used
[INFO] [stdout]     --> src/main.rs:1177:12
[INFO] [stdout]      |
[INFO] [stdout] 1177 |         fn dot(v1: Color, v2: Color) -> f64 {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permutation_sign` is never used
[INFO] [stdout]     --> src/main.rs:1185:12
[INFO] [stdout]      |
[INFO] [stdout] 1185 |         fn permutation_sign(perm: &[usize]) -> f64 {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `determinate` is never used
[INFO] [stdout]     --> src/main.rs:1197:12
[INFO] [stdout]      |
[INFO] [stdout] 1197 |         fn determinate(a: &Vec<Vec<f64>>) -> f64 {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:441:14
[INFO] [stdout]     |
[INFO] [stdout] 441 |         for (i, &k) in [k1, k2, k3].iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:563:13
[INFO] [stdout]     |
[INFO] [stdout] 563 |             color.c /= all_gram;
[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: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:564:13
[INFO] [stdout]     |
[INFO] [stdout] 564 |             color.m /= all_gram;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:565:13
[INFO] [stdout]     |
[INFO] [stdout] 565 |             color.y /= all_gram;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:670:13
[INFO] [stdout]     |
[INFO] [stdout] 670 |         let mut use_grams: Vec<f64> = Vec::new();
[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:671:13
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let mut all_gram = 0.0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `use_grams`
[INFO] [stdout]    --> src/main.rs:670:13
[INFO] [stdout]     |
[INFO] [stdout] 670 |         let mut use_grams: Vec<f64> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_use_grams`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `all_gram`
[INFO] [stdout]    --> src/main.rs:671:13
[INFO] [stdout]     |
[INFO] [stdout] 671 |         let mut all_gram = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_gram`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:744:14
[INFO] [stdout]     |
[INFO] [stdout] 744 |         for (i, &k) in [k1, k2, k3, k4].iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `opt_e` is never read
[INFO] [stdout]    --> src/main.rs:704:13
[INFO] [stdout]     |
[INFO] [stdout] 704 |             opt_e = e;
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:823:14
[INFO] [stdout]     |
[INFO] [stdout] 823 |         for (i, &target_color) in self.target.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `opt_color` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:828:17
[INFO] [stdout]     |
[INFO] [stdout] 828 |             let mut opt_color = Color::new(0.0, 0.0, 0.0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_opt_color` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `opt_color` is never read
[INFO] [stdout]    --> src/main.rs:842:33
[INFO] [stdout]     |
[INFO] [stdout] 842 | ...                   opt_color = color;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]     --> src/main.rs:1130:14
[INFO] [stdout]      |
[INFO] [stdout] 1130 |         for (i, &t) in self.target.iter().enumerate() {
[INFO] [stdout]      |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]     --> src/main.rs:1296:14
[INFO] [stdout]      |
[INFO] [stdout] 1296 |         for (i, &t) in self.target.iter().enumerate() {
[INFO] [stdout]      |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/main.rs:1276:17
[INFO] [stdout]      |
[INFO] [stdout] 1276 |             let e = matrix_multi(&m, &inv_m);
[INFO] [stdout]      |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `two_paint_params`
[INFO] [stdout]     --> src/main.rs:1514:45
[INFO] [stdout]      |
[INFO] [stdout] 1514 |         let (palette, actions, score, turn, two_paint_params) = self.two_paint2();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_two_paint_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `h` is never read
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Score {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     h: usize,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Score` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `init2` is never used
[INFO] [stdout]    --> src/main.rs:327:8
[INFO] [stdout]     |
[INFO] [stdout] 295 | impl Palette4 {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 327 |     fn init2(&self, n: usize) -> Palette {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dot` is never used
[INFO] [stdout]     --> src/main.rs:1177:12
[INFO] [stdout]      |
[INFO] [stdout] 1177 |         fn dot(v1: Color, v2: Color) -> f64 {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `permutation_sign` is never used
[INFO] [stdout]     --> src/main.rs:1185:12
[INFO] [stdout]      |
[INFO] [stdout] 1185 |         fn permutation_sign(perm: &[usize]) -> f64 {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `determinate` is never used
[INFO] [stdout]     --> src/main.rs:1197:12
[INFO] [stdout]      |
[INFO] [stdout] 1197 |         fn determinate(a: &Vec<Vec<f64>>) -> f64 {
[INFO] [stdout]      |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s
[INFO] running `Command { std: "docker" "inspect" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a", kill_on_drop: false }`
[INFO] [stdout] e6a8d9947acf3c1cc2072e90184512170d245fdbad6e5c6225cbd6d957a5493a
