[INFO] cloning repository https://github.com/EdoardoLuciani/aoc2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EdoardoLuciani/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdoardoLuciani%2Faoc2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdoardoLuciani%2Faoc2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5dc1e63c97f4836859220a4acec92939e647267
[INFO] checking EdoardoLuciani/aoc2021 against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdoardoLuciani%2Faoc2021" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EdoardoLuciani/aoc2021 on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/EdoardoLuciani/aoc2021
[INFO] finished tweaking git repo https://github.com/EdoardoLuciani/aoc2021
[INFO] tweaked toml for git repo https://github.com/EdoardoLuciani/aoc2021 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/EdoardoLuciani/aoc2021 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4f14191b86314d63caf225cdef4750ce84f46c2543aff175a4c01b29f922f28
[INFO] running `Command { std: "docker" "start" "-a" "d4f14191b86314d63caf225cdef4750ce84f46c2543aff175a4c01b29f922f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4f14191b86314d63caf225cdef4750ce84f46c2543aff175a4c01b29f922f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4f14191b86314d63caf225cdef4750ce84f46c2543aff175a4c01b29f922f28", kill_on_drop: false }`
[INFO] [stdout] d4f14191b86314d63caf225cdef4750ce84f46c2543aff175a4c01b29f922f28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4d871db1545c98247ab1bb16af2bc3093a98116811acfeeb0eda8ac15de09f0f
[INFO] running `Command { std: "docker" "start" "-a" "4d871db1545c98247ab1bb16af2bc3093a98116811acfeeb0eda8ac15de09f0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]     Checking aoc2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LinkedList`
[INFO] [stdout]  --> src/bin/day14/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, LinkedList};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/bin/day12/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/bin/day9/main.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |             if let Some(val) = mat.is_low_point(row_idx, col_idx) {
[INFO] [stdout]     |                         ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/day9/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut basin_sizes = get_basin_sizes(&matrix);
[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 imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> src/bin/day10/main.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `step`
[INFO] [stdout]   --> src/bin/day14/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     for step in 0..steps {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_step`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boards_len`
[INFO] [stdout]   --> src/bin/day4/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let boards_len = boards.len();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boards_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/bin/day12/main.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `boards` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/bin/day4/main.rs:103:36
[INFO] [stdout]     |
[INFO] [stdout] 97  |         for board in boards.iter_mut() {
[INFO] [stdout]     |                      -----------------
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      mutable borrow occurs here
[INFO] [stdout]     |                      mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 103 |                 if winner_count == boards.len() as u32 {
[INFO] [stdout]     |                                    ^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day14/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     mut polymer: String,
[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: function `compute_steps` is never used
[INFO] [stdout]   --> src/bin/day14/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn compute_steps(mut polymer: String, rules: &HashMap<String, String>, steps: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> src/bin/day10/main.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc2021` (bin "day4") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let avg_x : f64 = points.iter().map(|(x,y)| x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/day17/main.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let avg_y : f64 = points.iter().map(|(x,y)| y).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                           ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let avg_x2 : f64 = points.iter().map(|(x,y)| x*x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:35:46
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let avg_x3 : f64 = points.iter().map(|(x,y)| x*x*x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let avg_x4 : f64 = points.iter().map(|(x,y)| x*x*x*x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/bin/day12/main.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/bin/day12/main.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_y`
[INFO] [stdout]   --> src/bin/day17/main.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |             if let Some(max_y) = simulate_shot((x,y), target_start, target_end) {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polynomial2` is never constructed
[INFO] [stdout]  --> src/bin/day17/main.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Polynomial2 {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `eval`, and `max_point` are never used
[INFO] [stdout]   --> src/bin/day17/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Polynomial2 {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(a : f64, b: f64, c:f64 ) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn eval(&self, x : f64) -> f64 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn max_point(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polynomial_curve_fitting` is never used
[INFO] [stdout]   --> src/bin/day17/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn polynomial_curve_fitting(points : Vec::<(f64, f64)>) -> Polynomial2 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day14/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         ret_val.write_char(polymer.chars().nth(0).unwrap());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let _ = ret_val.write_char(polymer.chars().nth(0).unwrap());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `day`
[INFO] [stdout]   --> src/bin/day6/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     for day in 1..=days {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_day`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day6/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     file.read_to_string(&mut line);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let _ = file.read_to_string(&mut line);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/bin/day12/main.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/bin/day12/main.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `boards_len`
[INFO] [stdout]   --> src/bin/day4/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let boards_len = boards.len();
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boards_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_input_from_file` is never used
[INFO] [stdout]   --> src/bin/day15/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn read_input_from_file() -> Matrix<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `boards` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/bin/day4/main.rs:103:36
[INFO] [stdout]     |
[INFO] [stdout] 97  |         for board in boards.iter_mut() {
[INFO] [stdout]     |                      -----------------
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      mutable borrow occurs here
[INFO] [stdout]     |                      mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 103 |                 if winner_count == boards.len() as u32 {
[INFO] [stdout]     |                                    ^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc2021` (bin "day4" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let avg_x : f64 = points.iter().map(|(x,y)| x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/day17/main.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let avg_y : f64 = points.iter().map(|(x,y)| y).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                           ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:34:46
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let avg_x2 : f64 = points.iter().map(|(x,y)| x*x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:35:46
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let avg_x3 : f64 = points.iter().map(|(x,y)| x*x*x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/day17/main.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let avg_x4 : f64 = points.iter().map(|(x,y)| x*x*x*x).sum::<f64>() / points.len() as f64;
[INFO] [stdout]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_y`
[INFO] [stdout]   --> src/bin/day17/main.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |             if let Some(max_y) = simulate_shot((x,y), target_start, target_end) {
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polynomial2` is never constructed
[INFO] [stdout]  --> src/bin/day17/main.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Polynomial2 {
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `eval`, and `max_point` are never used
[INFO] [stdout]   --> src/bin/day17/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Polynomial2 {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 10 |     fn new(a : f64, b: f64, c:f64 ) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn eval(&self, x : f64) -> f64 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn max_point(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polynomial_curve_fitting` is never used
[INFO] [stdout]   --> src/bin/day17/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn polynomial_curve_fitting(points : Vec::<(f64, f64)>) -> Polynomial2 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4d871db1545c98247ab1bb16af2bc3093a98116811acfeeb0eda8ac15de09f0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d871db1545c98247ab1bb16af2bc3093a98116811acfeeb0eda8ac15de09f0f", kill_on_drop: false }`
[INFO] [stdout] 4d871db1545c98247ab1bb16af2bc3093a98116811acfeeb0eda8ac15de09f0f
