[INFO] fetching crate ccdb 1.6.1... [INFO] checking ccdb-1.6.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [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 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a04e2492f903d4053b0bb7979bc3f21311ada05ae0d734983f4c9ea43100b61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a04e2492f903d4053b0bb7979bc3f21311ada05ae0d734983f4c9ea43100b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a04e2492f903d4053b0bb7979bc3f21311ada05ae0d734983f4c9ea43100b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a04e2492f903d4053b0bb7979bc3f21311ada05ae0d734983f4c9ea43100b61", kill_on_drop: false }` [INFO] [stdout] 4a04e2492f903d4053b0bb7979bc3f21311ada05ae0d734983f4c9ea43100b61 [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbc247e34932c8703117778cd4864797083b2ab534653626a47f97a7a4b6339c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cbc247e34932c8703117778cd4864797083b2ab534653626a47f97a7a4b6339c", kill_on_drop: false }` [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 (/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: 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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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/test/test.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | for x in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend/b.rs: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: 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: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: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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 `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 `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: 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: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.07s [INFO] running `Command { std: "docker" "inspect" "cbc247e34932c8703117778cd4864797083b2ab534653626a47f97a7a4b6339c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc247e34932c8703117778cd4864797083b2ab534653626a47f97a7a4b6339c", kill_on_drop: false }` [INFO] [stdout] cbc247e34932c8703117778cd4864797083b2ab534653626a47f97a7a4b6339c