[INFO] fetching crate ccdb 1.6.1... [INFO] building ccdb-1.6.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate ccdb 1.6.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate ccdb 1.6.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding openfile v1.1.0 (available: v2.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91b3ecc54a05d20e3b65eff577047f1688bb6d947b537c0e0a5d1c75492f9815 [INFO] running `Command { std: "docker" "start" "-a" "91b3ecc54a05d20e3b65eff577047f1688bb6d947b537c0e0a5d1c75492f9815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b3ecc54a05d20e3b65eff577047f1688bb6d947b537c0e0a5d1c75492f9815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b3ecc54a05d20e3b65eff577047f1688bb6d947b537c0e0a5d1c75492f9815", kill_on_drop: false }` [INFO] [stdout] 91b3ecc54a05d20e3b65eff577047f1688bb6d947b537c0e0a5d1c75492f9815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d19fb4437298fa6614a2705eacd9857d984d1672774253f42281990ec57448 [INFO] running `Command { std: "docker" "start" "-a" "98d19fb4437298fa6614a2705eacd9857d984d1672774253f42281990ec57448", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling winapi-util v0.1.9 [INFO] [stderr] Compiling openfile v1.1.0 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling ccdb v1.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/backend/a.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: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: 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] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod test; [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] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod test; [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] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/backend/b.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | 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 does not need to be mutable [INFO] [stdout] --> src/backend/b.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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: unused variable: `x` [INFO] [stdout] --> src/backend/a.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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: `finals` [INFO] [stdout] --> src/backend/a.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/backend/a.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 168 | backend::A => return a::run(self, cort), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 169 | backend::B => return b::run(self, cort.lines, cort.char_x_line, cort), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 170 | backend::N => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | 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:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut yyy = self.y.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: unused variable: `p` [INFO] [stdout] --> src/physics/particle.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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: fields `v` and `debug` are never read [INFO] [stdout] --> src/core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Cort { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | name_desc: String, [INFO] [stdout] 34 | v: i64, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 42 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getkey` is never used [INFO] [stdout] --> src/libs/keyin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn getkey() -> usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOUNCE` is never used [INFO] [stdout] --> src/physics/particle.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BOUNCE: i64 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t` is never used [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 `check_const` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "98d19fb4437298fa6614a2705eacd9857d984d1672774253f42281990ec57448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d19fb4437298fa6614a2705eacd9857d984d1672774253f42281990ec57448", kill_on_drop: false }` [INFO] [stdout] 98d19fb4437298fa6614a2705eacd9857d984d1672774253f42281990ec57448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d48914de5345286db9e8bb5f9660fb2f82d3cd05d8f0255d5bbeecfab2f2bc [INFO] running `Command { std: "docker" "start" "-a" "54d48914de5345286db9e8bb5f9660fb2f82d3cd05d8f0255d5bbeecfab2f2bc", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/backend/a.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: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: 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] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod test; [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] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod test; [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] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/backend/b.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | 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 does not need to be mutable [INFO] [stdout] --> src/backend/b.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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: unused variable: `x` [INFO] [stdout] --> src/backend/a.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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: `finals` [INFO] [stdout] --> src/backend/a.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/backend/a.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 168 | backend::A => return a::run(self, cort), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 169 | backend::B => return b::run(self, cort.lines, cort.char_x_line, cort), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 170 | backend::N => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | 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:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut yyy = self.y.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: unused variable: `p` [INFO] [stdout] --> src/physics/particle.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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: fields `v` and `debug` are never read [INFO] [stdout] --> src/core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Cort { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | name_desc: String, [INFO] [stdout] 34 | v: i64, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 42 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getkey` is never used [INFO] [stdout] --> src/libs/keyin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn getkey() -> usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOUNCE` is never used [INFO] [stdout] --> src/physics/particle.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const BOUNCE: i64 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `t` is never used [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 `check_const` is never used [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] [stderr] Compiling ccdb v1.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/backend/a.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/libs/keyin.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: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: 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: unused variable: `screen` [INFO] [stdout] --> src/backend/b.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | 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 does not need to be mutable [INFO] [stdout] --> src/backend/b.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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: unused variable: `x` [INFO] [stdout] --> src/backend/a.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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: `finals` [INFO] [stdout] --> src/backend/a.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/backend/a.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | 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:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | 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:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 168 | backend::A => return a::run(self, cort), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 169 | backend::B => return b::run(self, cort.lines, cort.char_x_line, cort), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 170 | backend::N => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 174 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | 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:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut yyy = self.y.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: unused variable: `p` [INFO] [stdout] --> src/physics/particle.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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: fields `v` and `debug` are never read [INFO] [stdout] --> src/core.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Cort { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | name_desc: String, [INFO] [stdout] 34 | v: i64, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 42 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getkey` is never used [INFO] [stdout] --> src/libs/keyin.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn getkey() -> usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOUNCE` is never used [INFO] [stdout] --> src/physics/particle.rs:4:7 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "54d48914de5345286db9e8bb5f9660fb2f82d3cd05d8f0255d5bbeecfab2f2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d48914de5345286db9e8bb5f9660fb2f82d3cd05d8f0255d5bbeecfab2f2bc", kill_on_drop: false }` [INFO] [stdout] 54d48914de5345286db9e8bb5f9660fb2f82d3cd05d8f0255d5bbeecfab2f2bc