[INFO] fetching crate ccdb 1.6.0... [INFO] checking ccdb-1.6.0 against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] extracting crate ccdb 1.6.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate ccdb 1.6.0 on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ccdb 1.6.0 [INFO] finished tweaking crates.io crate ccdb 1.6.0 [INFO] tweaked toml for crates.io crate ccdb 1.6.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8301342e109b66977dedb366665cfb77ca9e904e335b5ffab32b5b5e1380baf7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8301342e109b66977dedb366665cfb77ca9e904e335b5ffab32b5b5e1380baf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8301342e109b66977dedb366665cfb77ca9e904e335b5ffab32b5b5e1380baf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8301342e109b66977dedb366665cfb77ca9e904e335b5ffab32b5b5e1380baf7", kill_on_drop: false }` [INFO] [stdout] 8301342e109b66977dedb366665cfb77ca9e904e335b5ffab32b5b5e1380baf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 726eb7e070680e190faae4e2100c4c3a90e6ffbc97f85ae41cfe312133a92b53 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "726eb7e070680e190faae4e2100c4c3a90e6ffbc97f85ae41cfe312133a92b53", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking openfile v1.1.0 [INFO] [stderr] Checking winapi-util v0.1.5 [INFO] [stderr] Compiling ccdb v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/backend/b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/backend/b.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics` [INFO] [stdout] --> src/backend/b.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sprite` [INFO] [stdout] --> src/backend/b.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::sprite; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/backend/b.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/backend/b.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/backend/b.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/backend/a.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/backend/a.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check::thread_check` [INFO] [stdout] --> src/backend/a.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::check::thread_check; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics` [INFO] [stdout] --> src/backend/a.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sprite` [INFO] [stdout] --> src/backend/a.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sprite; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics` [INFO] [stdout] --> src/core.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/core.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/core.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/core.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `backend` should have an upper camel case name [INFO] [stdout] --> src/core.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum backend{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/core.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | b, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/core.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | n, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys` [INFO] [stdout] --> src/libs/cursor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sys; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys` [INFO] [stdout] --> src/libs/escape/escape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::sys; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `map` should have an upper camel case name [INFO] [stdout] --> src/map/loader.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct map { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `folder` should have an upper camel case name [INFO] [stdout] --> src/map/loader.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct folder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sprite` should have an upper camel case name [INFO] [stdout] --> src/map/sprite.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct sprite { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys` [INFO] [stdout] --> src/misc/check.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::sys; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `droplet` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct droplet { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Droplet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `water` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct water { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Water` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::loader` [INFO] [stdout] --> src/test/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::loader; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load` [INFO] [stdout] --> src/test/test.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::loader::{load, map, to_map}; // this is the loader which makes it so you can load a map from file or load a map from string [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sprite` [INFO] [stdout] --> src/test/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::sprite; // for sprites [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test/test.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/backend/b.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/backend/b.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics` [INFO] [stdout] --> src/backend/b.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sprite` [INFO] [stdout] --> src/backend/b.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::sprite; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/backend/b.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/backend/b.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/backend/b.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/backend/a.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/backend/a.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::check::thread_check` [INFO] [stdout] --> src/backend/a.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::check::thread_check; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics` [INFO] [stdout] --> src/backend/a.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sprite` [INFO] [stdout] --> src/backend/a.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::sprite; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics` [INFO] [stdout] --> src/core.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::physics; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/core.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/core.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/core.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `backend` should have an upper camel case name [INFO] [stdout] --> src/core.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum backend{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Backend` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `a` should have an upper camel case name [INFO] [stdout] --> src/core.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | a, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `b` should have an upper camel case name [INFO] [stdout] --> src/core.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | b, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `n` should have an upper camel case name [INFO] [stdout] --> src/core.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | n, [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys` [INFO] [stdout] --> src/libs/cursor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sys; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys` [INFO] [stdout] --> src/libs/escape/escape.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::sys; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `map` should have an upper camel case name [INFO] [stdout] --> src/map/loader.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct map { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `folder` should have an upper camel case name [INFO] [stdout] --> src/map/loader.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct folder { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sprite` should have an upper camel case name [INFO] [stdout] --> src/map/sprite.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct sprite { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys` [INFO] [stdout] --> src/misc/check.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::sys; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `droplet` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct droplet { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Droplet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `water` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct water { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Water` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::loader` [INFO] [stdout] --> src/test/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::loader; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load` [INFO] [stdout] --> src/test/test.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::loader::{load, map, to_map}; // this is the loader which makes it so you can load a map from file or load a map from string [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sprite` [INFO] [stdout] --> src/test/test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::sprite; // for sprites [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/test/test.rs:131:2 [INFO] [stdout] | [INFO] [stdout] 131 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/backend/b.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn make_line(screen: &Screen, betterx: Vec, bettern: Vec, size: i64) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aot` is assigned to, but never used [INFO] [stdout] --> src/backend/a.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut aot = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_aot` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sso` is assigned to, but never used [INFO] [stdout] --> src/backend/a.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut sso = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sso` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `aot` is never read [INFO] [stdout] --> src/backend/a.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | aot += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/backend/a.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for x in 0..thr { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threadsize` [INFO] [stdout] --> src/backend/a.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let threadsize = thr; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threadsize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finals` [INFO] [stdout] --> src/backend/a.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let finals = rx.recv().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_finals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/physics/particle.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | for p in 0..vl { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/test/test.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | for x in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/b.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut run = true; [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: variable does not need to be mutable [INFO] [stdout] --> src/backend/a.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut chars = charss.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/a.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut xx = xxx.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/a.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut yy = yyy.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/backend/b.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn make_line(screen: &Screen, betterx: Vec, bettern: Vec, size: i64) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aot` is assigned to, but never used [INFO] [stdout] --> src/backend/a.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut aot = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_aot` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sso` is assigned to, but never used [INFO] [stdout] --> src/backend/a.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut sso = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sso` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `aot` is never read [INFO] [stdout] --> src/backend/a.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | aot += 1; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/backend/a.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | for x in 0..thr { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut charss = self.chars.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threadsize` [INFO] [stdout] --> src/backend/a.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let threadsize = thr; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threadsize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finals` [INFO] [stdout] --> src/backend/a.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let finals = rx.recv().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_finals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut xxx = self.x.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let mut yyy = self.y.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/physics/particle.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | for p in 0..vl { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/test/test.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | for x in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/b.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut run = true; [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: variable does not need to be mutable [INFO] [stdout] --> src/backend/a.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut chars = charss.clone(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/a.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut xx = xxx.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/a.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut yy = yyy.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/libs/keyin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/libs/keyin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/core.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | v: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gravity` [INFO] [stdout] --> src/core.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gravity: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getkey` [INFO] [stdout] --> src/libs/keyin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn getkey() -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOUNCE` [INFO] [stdout] --> src/physics/particle.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const BOUNCE: i64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `t` [INFO] [stdout] --> src/test/test.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn t() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_const` [INFO] [stdout] --> src/test/test.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn check_const() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut charss = self.chars.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut xxx = self.x.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let mut yyy = self.y.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Cort` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run(screen: &Screen, size: i64, size2: i64, Cort: &mut Cort) -> loader::map { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cort` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut X = screen.x.clone(); // load in a sprite [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut Y = screen.y.clone(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut C = screen.chars.clone(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Cort` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn run(screen: &Screen, Cort: &mut Cort) -> loader::map { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for P in 0..thr as i64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorY` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let mut vectorY: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vector_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorX` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let mut vectorX: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vector_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Screen` should have a snake case name [INFO] [stdout] --> src/core.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn render(&mut self, Screen: &mut Screen) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_physics_for_all_X` should have a snake case name [INFO] [stdout] --> src/core.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_physics_for_all_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Screen` should have a snake case name [INFO] [stdout] --> src/core.rs:150:45 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_physics_for_all_X` should have a snake case name [INFO] [stdout] --> src/core.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn remove_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `remove_physics_for_all_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Screen` should have a snake case name [INFO] [stdout] --> src/core.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn remove_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_X` should have a snake case name [INFO] [stdout] --> src/core.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn find_X(&self, ch: String) -> i64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `find_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all_of_X` should have a snake case name [INFO] [stdout] --> src/core.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn find_all_of_X(&self, ch: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `find_all_of_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all_of_X` should have a snake case name [INFO] [stdout] --> src/map/loader.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn find_all_of_X(&self, ch: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `find_all_of_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `forceDown` should have a snake case name [INFO] [stdout] --> src/physics/particle.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub forceDown: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `force_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/physics/physics.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn render_physics(screen: &mut core::Screen, physobj: Vec, G: i64) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/libs/keyin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/libs/keyin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/core.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | v: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gravity` [INFO] [stdout] --> src/core.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | gravity: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `debug` [INFO] [stdout] --> src/core.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | debug: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getkey` [INFO] [stdout] --> src/libs/keyin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn getkey() -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOUNCE` [INFO] [stdout] --> src/physics/particle.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const BOUNCE: i64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Cort` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run(screen: &Screen, size: i64, size2: i64, Cort: &mut Cort) -> loader::map { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cort` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut X = screen.x.clone(); // load in a sprite [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut Y = screen.y.clone(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut C = screen.chars.clone(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Cort` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn run(screen: &Screen, Cort: &mut Cort) -> loader::map { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | for P in 0..thr as i64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorY` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let mut vectorY: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vector_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vectorX` should have a snake case name [INFO] [stdout] --> src/backend/a.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let mut vectorX: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `vector_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Screen` should have a snake case name [INFO] [stdout] --> src/core.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn render(&mut self, Screen: &mut Screen) -> String { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_physics_for_all_X` should have a snake case name [INFO] [stdout] --> src/core.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `add_physics_for_all_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Screen` should have a snake case name [INFO] [stdout] --> src/core.rs:150:45 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn add_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_physics_for_all_X` should have a snake case name [INFO] [stdout] --> src/core.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn remove_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `remove_physics_for_all_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Screen` should have a snake case name [INFO] [stdout] --> src/core.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn remove_physics_for_all_X(&mut self, Screen: &Screen, chr: String) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_X` should have a snake case name [INFO] [stdout] --> src/core.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn find_X(&self, ch: String) -> i64 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `find_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all_of_X` should have a snake case name [INFO] [stdout] --> src/core.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn find_all_of_X(&self, ch: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `find_all_of_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_all_of_X` should have a snake case name [INFO] [stdout] --> src/map/loader.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn find_all_of_X(&self, ch: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `find_all_of_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `forceDown` should have a snake case name [INFO] [stdout] --> src/physics/particle.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub forceDown: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `force_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/physics/physics.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn render_physics(screen: &mut core::Screen, physobj: Vec, G: i64) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.54s [INFO] running `Command { std: "docker" "inspect" "726eb7e070680e190faae4e2100c4c3a90e6ffbc97f85ae41cfe312133a92b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726eb7e070680e190faae4e2100c4c3a90e6ffbc97f85ae41cfe312133a92b53", kill_on_drop: false }` [INFO] [stdout] 726eb7e070680e190faae4e2100c4c3a90e6ffbc97f85ae41cfe312133a92b53