[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#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarcellofabrizio%2FRust-SDL-Projects" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Marcellofabrizio/Rust-SDL-Projects on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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 c_vec v2.0.0
[INFO] [stderr]   Downloaded weezl v0.1.7
[INFO] [stderr]   Downloaded hermit-abi v0.3.2
[INFO] [stderr]   Downloaded getrandom v0.2.10
[INFO] [stderr]   Downloaded adler32 v1.2.0
[INFO] [stderr]   Downloaded num-rational v0.3.2
[INFO] [stderr]   Downloaded bytemuck v1.14.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.16
[INFO] [stderr]   Downloaded miniz_oxide v0.3.7
[INFO] [stderr]   Downloaded deflate v0.8.6
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.8
[INFO] [stderr]   Downloaded image v0.23.14
[INFO] [stderr]   Downloaded rayon-core v1.11.0
[INFO] [stderr]   Downloaded rayon v1.7.0
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.15
[INFO] [stderr]   Downloaded png v0.16.8
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.9
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.3
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.22
[INFO] [stderr]   Downloaded gif v0.11.4
[INFO] [stderr]   Downloaded tiff v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d05b5987b313b6978cbc6003339ec8fb476133194926a74a9c99067db4a89fe7
[INFO] running `Command { std: "docker" "start" "-a" "d05b5987b313b6978cbc6003339ec8fb476133194926a74a9c99067db4a89fe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d05b5987b313b6978cbc6003339ec8fb476133194926a74a9c99067db4a89fe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d05b5987b313b6978cbc6003339ec8fb476133194926a74a9c99067db4a89fe7", kill_on_drop: false }`
[INFO] [stdout] d05b5987b313b6978cbc6003339ec8fb476133194926a74a9c99067db4a89fe7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c259c2da4ee78ac827623a4233682af94e284b9b4309e11d0e2782973262307
[INFO] running `Command { std: "docker" "start" "-a" "6c259c2da4ee78ac827623a4233682af94e284b9b4309e11d0e2782973262307", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[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 num-integer v0.1.45
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.2 (https://github.com/rust-sdl2/rust-sdl2#bee13b58)
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking byteorder v1.4.3
[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 color_quant v1.1.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rayon v1.7.0
[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]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 190 |         sx = -1;
[INFO] [stdout]     |         ------- `sx` is overwritten here before the previous value is read
[INFO] [stdout]     |
[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]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 196 |         sy = -1;
[INFO] [stdout]     |         ------- `sy` is overwritten here before the previous value is 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: 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: 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: 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]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 190 |         sx = -1;
[INFO] [stdout]     |         ------- `sx` is overwritten here before the previous value is read
[INFO] [stdout]     |
[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]     |                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 196 |         sy = -1;
[INFO] [stdout]     |         ------- `sy` is overwritten here before the previous value is 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 11.49s
[INFO] running `Command { std: "docker" "inspect" "6c259c2da4ee78ac827623a4233682af94e284b9b4309e11d0e2782973262307", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c259c2da4ee78ac827623a4233682af94e284b9b4309e11d0e2782973262307", kill_on_drop: false }`
[INFO] [stdout] 6c259c2da4ee78ac827623a4233682af94e284b9b4309e11d0e2782973262307
