[INFO] fetching crate ccdb 1.6.1... [INFO] checking ccdb-1.6.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ccdb 1.6.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ccdb 1.6.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ccdb 1.6.1 [INFO] finished tweaking crates.io crate ccdb 1.6.1 [INFO] tweaked toml for crates.io crate ccdb 1.6.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openfile v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b003f937c451756a81b4f98eef72ba5b9b4dac00adba70670a0e5203219bb1d7 [INFO] running `Command { std: "docker" "start" "-a" "b003f937c451756a81b4f98eef72ba5b9b4dac00adba70670a0e5203219bb1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b003f937c451756a81b4f98eef72ba5b9b4dac00adba70670a0e5203219bb1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b003f937c451756a81b4f98eef72ba5b9b4dac00adba70670a0e5203219bb1d7", kill_on_drop: false }` [INFO] [stdout] b003f937c451756a81b4f98eef72ba5b9b4dac00adba70670a0e5203219bb1d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 871ef76f9f57535bc9925942ba6a50e6c465c7d153dd923a92c5bce6f9f8a731 [INFO] running `Command { std: "docker" "start" "-a" "871ef76f9f57535bc9925942ba6a50e6c465c7d153dd923a92c5bce6f9f8a731", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking openfile v1.1.0 [INFO] [stderr] Checking winapi-util v0.1.5 [INFO] [stderr] Compiling ccdb v1.6.1 (/tmp/fixit) [INFO] [stderr] Migrating src/build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/libs/cursor.rs (1 fix) [INFO] [stderr] Fixed src/backend/a.rs (6 fixes) [INFO] [stderr] Fixed src/libs/escape/escape.rs (1 fix) [INFO] [stderr] Fixed src/core.rs (3 fixes) [INFO] [stderr] Fixed src/backend/b.rs (2 fixes) [INFO] [stderr] Fixed src/misc/check.rs (1 fix) [INFO] [stderr] Fixed src/physics/particle.rs (1 fix) [INFO] [stderr] Fixed src/test/test.rs (4 fixes) [INFO] [stdout] warning: type `backend` should have an upper camel case name [INFO] [stdout] --> src/core.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | 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: 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: type `droplet` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | 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:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct water { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Water` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `backend` should have an upper camel case name [INFO] [stdout] --> src/core.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | 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: 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: type `droplet` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | 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:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct water { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Water` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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: `debug` [INFO] [stdout] --> src/core.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | 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:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | 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:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | 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:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | 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:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | 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:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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: unreachable pattern [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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: `debug` [INFO] [stdout] --> src/core.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `Cort` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | 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:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | 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:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | 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:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | 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:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | 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:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.91s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling ccdb v1.6.1 (/tmp/fixit) [INFO] [stdout] warning: type `backend` should have an upper camel case name [INFO] [stdout] --> src/core.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | 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: 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: type `droplet` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | 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:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct water { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Water` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `backend` should have an upper camel case name [INFO] [stdout] --> src/core.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | 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: 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: type `droplet` should have an upper camel case name [INFO] [stdout] --> src/physics/particle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | 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:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct water { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Water` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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: `debug` [INFO] [stdout] --> src/core.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | 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:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | 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:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | 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:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | 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:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | 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:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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: 31 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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: `debug` [INFO] [stdout] --> src/core.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | 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:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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 `Cort` should have a snake case name [INFO] [stdout] --> src/backend/b.rs:5:52 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | 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:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | 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:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | 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:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | 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:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | 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:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | 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:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | 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:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | 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:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | 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:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "871ef76f9f57535bc9925942ba6a50e6c465c7d153dd923a92c5bce6f9f8a731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871ef76f9f57535bc9925942ba6a50e6c465c7d153dd923a92c5bce6f9f8a731", kill_on_drop: false }` [INFO] [stdout] 871ef76f9f57535bc9925942ba6a50e6c465c7d153dd923a92c5bce6f9f8a731