[INFO] cloning repository https://github.com/Marcellofabrizio/Rust-SDL-Projects
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marcellofabrizio/Rust-SDL-Projects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e9a50a25551745e679fe085e28e0de5ae3598b6e
[INFO] checking Marcellofabrizio/Rust-SDL-Projects against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects
[INFO] finished tweaking git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects
[INFO] tweaked toml for git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/rust-sdl2/rust-sdl2`
[INFO] [stderr]     Updating git submodule `https://github.com/libsdl-org/SDL`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytemuck v1.14.0
[INFO] [stderr]   Downloaded c_vec v2.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2005d399e5419bec92ad0edb344e6dc099046cd5c0cc5a6af72afd597da37160
[INFO] running `Command { std: "docker" "start" "-a" "2005d399e5419bec92ad0edb344e6dc099046cd5c0cc5a6af72afd597da37160", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2005d399e5419bec92ad0edb344e6dc099046cd5c0cc5a6af72afd597da37160", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2005d399e5419bec92ad0edb344e6dc099046cd5c0cc5a6af72afd597da37160", kill_on_drop: false }`
[INFO] [stdout] 2005d399e5419bec92ad0edb344e6dc099046cd5c0cc5a6af72afd597da37160
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81efd69b487853f61e4376d836fcebe979f6689cee6a200637288e28973a7421
[INFO] running `Command { std: "docker" "start" "-a" "81efd69b487853f61e4376d836fcebe979f6689cee6a200637288e28973a7421", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]    Compiling sdl2 v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58)
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling sdl2-sys v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58)
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking rust-sdl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/graphics.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     for (curve) in number.bezier_curves.iter_mut() {
[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] 389 -     for (curve) in number.bezier_curves.iter_mut() {
[INFO] [stdout] 389 +     for curve  in number.bezier_curves.iter_mut() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pixel`
[INFO] [stdout]  --> src/sdl_to_bmp.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{ImageBuffer, Pixel, Rgba};
[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: `WindowContext`
[INFO] [stdout]  --> src/sdl_to_bmp.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphics.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let mut x1 = p_2.x;
[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/graphics.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let mut y1 = p_2.y;
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sx` is never read
[INFO] [stdout]    --> src/graphics.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut sx = 0;
[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 `sy` is never read
[INFO] [stdout]    --> src/graphics.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut sy = 0;
[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/graphics.rs:383:10
[INFO] [stdout]     |
[INFO] [stdout] 383 |     for (i, line) in number.lines.iter_mut().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: unused variable: `j`
[INFO] [stdout]    --> src/graphics.rs:384:14
[INFO] [stdout]     |
[INFO] [stdout] 384 |         for (j, point) in line.controll_points.iter_mut().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/numbers.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for (i, number) in numbers.iter_mut().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/numbers.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         for (i, num) in numbers.iter_mut().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/numbers.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         for (i, num) in numbers.iter_mut().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/numbers.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut lines: Vec<Line> = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lines`
[INFO] [stdout]    --> src/numbers.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut lines: Vec<Line> = Vec::new();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_point` and `can_receive_points` are never used
[INFO] [stdout]   --> src/graphics.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl CubicBezierCurve {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn add_point(&mut self, point: Point) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn can_receive_points(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmoothBezierCurve` is never constructed
[INFO] [stdout]   --> src/graphics.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct SmoothBezierCurve {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/graphics.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct Rectangle {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `draw` are never used
[INFO] [stdout]   --> src/graphics.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 77 |     pub fn new(points: Vec<Point>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn draw(&self, canvas: &mut Canvas<Window>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_target` is never used
[INFO] [stdout]    --> src/graphics.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub fn draw_target(point: Point, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_circle` is never used
[INFO] [stdout]    --> src/graphics.rs:223:8
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub fn draw_circle(center: Point, radius: i32, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_circle` is never used
[INFO] [stdout]    --> src/graphics.rs:241:4
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn display_circle(center: Point, point_to_draw: Point, color: f32, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_quadratic_bezier` is never used
[INFO] [stdout]    --> src/graphics.rs:316:8
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn draw_quadratic_bezier(p_1: Point, p_2: Point, p_3: Point, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, and `number_str` are never read
[INFO] [stdout]   --> src/numbers.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct NumberSeries {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 10 |     pub x: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 11 |     pub y: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 12 |     pub number_str: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number`, `w`, and `h` are never read
[INFO] [stdout]   --> src/numbers.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Number {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 57 |     pub number: char,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 58 |     pub w: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 59 |     pub h: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/graphics.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     for (curve) in number.bezier_curves.iter_mut() {
[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] 389 -     for (curve) in number.bezier_curves.iter_mut() {
[INFO] [stdout] 389 +     for curve  in number.bezier_curves.iter_mut() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pixel`
[INFO] [stdout]  --> src/sdl_to_bmp.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{ImageBuffer, Pixel, Rgba};
[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: `WindowContext`
[INFO] [stdout]  --> src/sdl_to_bmp.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::video::{Window, WindowContext};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphics.rs:179:9
[INFO] [stdout]     |
[INFO] [stdout] 179 |     let mut x1 = p_2.x;
[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/graphics.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let mut y1 = p_2.y;
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sx` is never read
[INFO] [stdout]    --> src/graphics.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 184 |     let mut sx = 0;
[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 `sy` is never read
[INFO] [stdout]    --> src/graphics.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let mut sy = 0;
[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/graphics.rs:383:10
[INFO] [stdout]     |
[INFO] [stdout] 383 |     for (i, line) in number.lines.iter_mut().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: unused variable: `j`
[INFO] [stdout]    --> src/graphics.rs:384:14
[INFO] [stdout]     |
[INFO] [stdout] 384 |         for (j, point) in line.controll_points.iter_mut().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/numbers.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         for (i, number) in numbers.iter_mut().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/numbers.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         for (i, num) in numbers.iter_mut().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/numbers.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         for (i, num) in numbers.iter_mut().enumerate() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/numbers.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut lines: Vec<Line> = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lines`
[INFO] [stdout]    --> src/numbers.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut lines: Vec<Line> = Vec::new();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lines`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_point` and `can_receive_points` are never used
[INFO] [stdout]   --> src/graphics.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl CubicBezierCurve {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn add_point(&mut self, point: Point) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn can_receive_points(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmoothBezierCurve` is never constructed
[INFO] [stdout]   --> src/graphics.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct SmoothBezierCurve {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rectangle` is never constructed
[INFO] [stdout]   --> src/graphics.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub struct Rectangle {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `draw` are never used
[INFO] [stdout]   --> src/graphics.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl Rectangle {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 77 |     pub fn new(points: Vec<Point>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn draw(&self, canvas: &mut Canvas<Window>) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_target` is never used
[INFO] [stdout]    --> src/graphics.rs:170:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub fn draw_target(point: Point, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_circle` is never used
[INFO] [stdout]    --> src/graphics.rs:223:8
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub fn draw_circle(center: Point, radius: i32, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_circle` is never used
[INFO] [stdout]    --> src/graphics.rs:241:4
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn display_circle(center: Point, point_to_draw: Point, color: f32, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_quadratic_bezier` is never used
[INFO] [stdout]    --> src/graphics.rs:316:8
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub fn draw_quadratic_bezier(p_1: Point, p_2: Point, p_3: Point, canvas: &mut Canvas<Window>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, and `number_str` are never read
[INFO] [stdout]   --> src/numbers.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct NumberSeries {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 10 |     pub x: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 11 |     pub y: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 12 |     pub number_str: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number`, `w`, and `h` are never read
[INFO] [stdout]   --> src/numbers.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct Number {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 57 |     pub number: char,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 58 |     pub w: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 59 |     pub h: i32,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.25s
[INFO] running `Command { std: "docker" "inspect" "81efd69b487853f61e4376d836fcebe979f6689cee6a200637288e28973a7421", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81efd69b487853f61e4376d836fcebe979f6689cee6a200637288e28973a7421", kill_on_drop: false }`
[INFO] [stdout] 81efd69b487853f61e4376d836fcebe979f6689cee6a200637288e28973a7421
