[INFO] cloning repository https://github.com/jetblacksalvation/rustySpirogram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jetblacksalvation/rustySpirogram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjetblacksalvation%2FrustySpirogram", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjetblacksalvation%2FrustySpirogram'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5535ffeb68d0e2a04ee907b9810cfb01b37bf1ff [INFO] checking jetblacksalvation/rustySpirogram against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjetblacksalvation%2FrustySpirogram" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jetblacksalvation/rustySpirogram on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jetblacksalvation/rustySpirogram [INFO] finished tweaking git repo https://github.com/jetblacksalvation/rustySpirogram [INFO] tweaked toml for git repo https://github.com/jetblacksalvation/rustySpirogram written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jetblacksalvation/rustySpirogram 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e9f08ac197a417b6cab99ec8cddcde42b7fb228c724f6dbd96601b485cd366a [INFO] running `Command { std: "docker" "start" "-a" "9e9f08ac197a417b6cab99ec8cddcde42b7fb228c724f6dbd96601b485cd366a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e9f08ac197a417b6cab99ec8cddcde42b7fb228c724f6dbd96601b485cd366a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9f08ac197a417b6cab99ec8cddcde42b7fb228c724f6dbd96601b485cd366a", kill_on_drop: false }` [INFO] [stdout] 9e9f08ac197a417b6cab99ec8cddcde42b7fb228c724f6dbd96601b485cd366a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 083a976fdd6ac75b6b992347b8206857f132cf80ba15c962e832090ec7aecf4a [INFO] running `Command { std: "docker" "start" "-a" "083a976fdd6ac75b6b992347b8206857f132cf80ba15c962e832090ec7aecf4a", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `circle` should have an upper camel case name [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct circle{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `circle` should have an upper camel case name [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct circle{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPos` should have a snake case name [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn getPos(&mut self, pixel : sdl2::rect::Point) -> sdl2::rect::Point { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPos` should have a snake case name [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn getPos(&mut self, pixel : sdl2::rect::Point) -> sdl2::rect::Point { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPixel` should have a snake case name [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut newPixel = pixel.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Circle` should have a snake case name [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | for Circle in arr_circle.iter_mut(){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosx` should have a snake case name [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let lastPosx = pixel.x; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosy` should have a snake case name [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let lastPosy = pixel.y; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPixel` should have a snake case name [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut newPixel = pixel.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Circle` should have a snake case name [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | for Circle in arr_circle.iter_mut(){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosx` should have a snake case name [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let lastPosx = pixel.x; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosy` should have a snake case name [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let lastPosy = pixel.y; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | canvas.draw_point(pixel); [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] 75 | let _ = canvas.draw_point(pixel); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | canvas.draw_point(pixel); [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] 75 | let _ = canvas.draw_point(pixel); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "083a976fdd6ac75b6b992347b8206857f132cf80ba15c962e832090ec7aecf4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "083a976fdd6ac75b6b992347b8206857f132cf80ba15c962e832090ec7aecf4a", kill_on_drop: false }` [INFO] [stdout] 083a976fdd6ac75b6b992347b8206857f132cf80ba15c962e832090ec7aecf4a [INFO] checking jetblacksalvation/rustySpirogram against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjetblacksalvation%2FrustySpirogram" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jetblacksalvation/rustySpirogram on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jetblacksalvation/rustySpirogram [INFO] finished tweaking git repo https://github.com/jetblacksalvation/rustySpirogram [INFO] tweaked toml for git repo https://github.com/jetblacksalvation/rustySpirogram written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jetblacksalvation/rustySpirogram 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40928785e7f02629c6653fb794dfee60da3efb1e9a083327c6bb13641228ead7 [INFO] running `Command { std: "docker" "start" "-a" "40928785e7f02629c6653fb794dfee60da3efb1e9a083327c6bb13641228ead7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40928785e7f02629c6653fb794dfee60da3efb1e9a083327c6bb13641228ead7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40928785e7f02629c6653fb794dfee60da3efb1e9a083327c6bb13641228ead7", kill_on_drop: false }` [INFO] [stdout] 40928785e7f02629c6653fb794dfee60da3efb1e9a083327c6bb13641228ead7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9f7e69878505c6241f0f695af976c2696b90336ecb51fcba1d5cf147857ee8 [INFO] running `Command { std: "docker" "start" "-a" "2d9f7e69878505c6241f0f695af976c2696b90336ecb51fcba1d5cf147857ee8", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `circle` should have an upper camel case name [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct circle{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPos` should have a snake case name [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn getPos(&mut self, pixel : sdl2::rect::Point) -> sdl2::rect::Point { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPixel` should have a snake case name [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut newPixel = pixel.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Circle` should have a snake case name [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | for Circle in arr_circle.iter_mut(){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosx` should have a snake case name [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let lastPosx = pixel.x; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosy` should have a snake case name [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let lastPosy = pixel.y; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `circle` should have an upper camel case name [INFO] [stdout] --> src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct circle{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Circle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | canvas.draw_point(pixel); [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] 75 | let _ = canvas.draw_point(pixel); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getPos` should have a snake case name [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn getPos(&mut self, pixel : sdl2::rect::Point) -> sdl2::rect::Point { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `get_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newPixel` should have a snake case name [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut newPixel = pixel.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Circle` should have a snake case name [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | for Circle in arr_circle.iter_mut(){ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosx` should have a snake case name [INFO] [stdout] --> src/main.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let lastPosx = pixel.x; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastPosy` should have a snake case name [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let lastPosy = pixel.y; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_posy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | canvas.draw_point(pixel); [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] 75 | let _ = canvas.draw_point(pixel); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "2d9f7e69878505c6241f0f695af976c2696b90336ecb51fcba1d5cf147857ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9f7e69878505c6241f0f695af976c2696b90336ecb51fcba1d5cf147857ee8", kill_on_drop: false }` [INFO] [stdout] 2d9f7e69878505c6241f0f695af976c2696b90336ecb51fcba1d5cf147857ee8