[INFO] cloning repository https://github.com/ambeeeeee/rusted-bancho [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ambeeeeee/rusted-bancho" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambeeeeee%2Frusted-bancho", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambeeeeee%2Frusted-bancho'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76a63759a0e69105b7e63e09fd3acea2da573a1b [INFO] testing ambeeeeee/rusted-bancho against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambeeeeee%2Frusted-bancho" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ambeeeeee/rusted-bancho on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ambeeeeee/rusted-bancho [INFO] finished tweaking git repo https://github.com/ambeeeeee/rusted-bancho [INFO] tweaked toml for git repo https://github.com/ambeeeeee/rusted-bancho written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ambeeeeee/rusted-bancho already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d01e9dccffdad647652576b4a36fdc673efa49505f59cbf0a74e1b6b06a4bc53 [INFO] running `Command { std: "docker" "start" "-a" "d01e9dccffdad647652576b4a36fdc673efa49505f59cbf0a74e1b6b06a4bc53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d01e9dccffdad647652576b4a36fdc673efa49505f59cbf0a74e1b6b06a4bc53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01e9dccffdad647652576b4a36fdc673efa49505f59cbf0a74e1b6b06a4bc53", kill_on_drop: false }` [INFO] [stdout] d01e9dccffdad647652576b4a36fdc673efa49505f59cbf0a74e1b6b06a4bc53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a6cc69c8856d0ec50dbe9f39a43c61e2a35a916f7312a9cb819512833372197 [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" "4a6cc69c8856d0ec50dbe9f39a43c61e2a35a916f7312a9cb819512833372197", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling cdchunking v1.0.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling weak-table v0.2.4 [INFO] [stderr] Compiling simple-rijndael v0.1.1 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling hex-literal v0.2.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rmp-serde v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling relative-path v1.4.0 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling acid-store v0.8.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling rusqlite v0.25.3 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling rusted-bancho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `collections::HashMap` [INFO] [stdout] --> src/scores/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | convert::Infallible, [INFO] [stdout] 4 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/bancho/connect.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | BanchoPacket::UserStatsRequest(request) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/bancho/connect.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | BanchoPacket::RecieveUpdates(request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/response/score_submit.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut response = self.into_string(); [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: variant is never constructed: `Missing` [INFO] [stdout] --> src/bancho/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Missing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OsuAuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bancho/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/api/auth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/api/auth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password_hash` [INFO] [stdout] --> src/api/auth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | password_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch` [INFO] [stdout] --> src/api/auth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ch: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `retry` [INFO] [stdout] --> src/api/auth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | retry: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NoMod` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | const NoMod = 0b0000000000000000000000000000000; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `NO_MOD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NoFail` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | const NoFail = 0b0000000000000000000000000000001; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `NO_FAIL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Easy` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | const Easy = 0b0000000000000000000000000000010; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `EASY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TouchDevice` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | const TouchDevice = 0b0000000000000000000000000000100; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOUCH_DEVICE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Hidden` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | const Hidden = 0b0000000000000000000000000001000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `HIDDEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `HardRock` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | const HardRock = 0b0000000000000000000000000010000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `HARD_ROCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SuddenDeath` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | const SuddenDeath = 0b0000000000000000000000000100000; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SUDDEN_DEATH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DoubleTime` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | const DoubleTime = 0b0000000000000000000000001000000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DOUBLE_TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Relax` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | const Relax = 0b0000000000000000000000010000000; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RELAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `HalfTime` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 265 | const HalfTime = 0b0000000000000000000000100000000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `HALF_TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Nightcore` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | const Nightcore = 0b0000000000000000000001000000000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `NIGHTCORE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Flashlight` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | const Flashlight = 0b0000000000000000000010000000000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `FLASHLIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Autoplay` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | const Autoplay = 0b0000000000000000000100000000000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `AUTOPLAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SpunOut` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:269:15 [INFO] [stdout] | [INFO] [stdout] 269 | const SpunOut = 0b0000000000000000001000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `SPUN_OUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Relax2` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | const Relax2 = 0b0000000000000000010000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RELAX2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Perfect` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 271 | const Perfect = 0b0000000000000000100000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `PERFECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key4` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 272 | const Key4 = 0b0000000000000001000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key5` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | const Key5 = 0b0000000000000010000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key6` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:274:15 [INFO] [stdout] | [INFO] [stdout] 274 | const Key6 = 0b0000000000000100000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key7` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | const Key7 = 0b0000000000001000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key8` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:276:15 [INFO] [stdout] | [INFO] [stdout] 276 | const Key8 = 0b0000000000010000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FadeIn` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | const FadeIn = 0b0000000000100000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `FADE_IN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Random` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | const Random = 0b0000000001000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Cinema` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | const Cinema = 0b0000000010000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `CINEMA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Target` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | const Target = 0b0000000100000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TARGET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key9` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | const Key9 = 0b0000001000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `KeyCoop` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | const KeyCoop = 0b0000010000000000000000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `KEY_COOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key1` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | const Key1 = 0b0000100000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key3` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | const Key3 = 0b0001000000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key2` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:285:15 [INFO] [stdout] | [INFO] [stdout] 285 | const Key2 = 0b0010000000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ScoreV2` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | const ScoreV2 = 0b0100000000000000000000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `SCORE_V2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Mirror` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | const Mirror = 0b1000000000000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MIRROR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "4a6cc69c8856d0ec50dbe9f39a43c61e2a35a916f7312a9cb819512833372197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6cc69c8856d0ec50dbe9f39a43c61e2a35a916f7312a9cb819512833372197", kill_on_drop: false }` [INFO] [stdout] 4a6cc69c8856d0ec50dbe9f39a43c61e2a35a916f7312a9cb819512833372197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a04e0b1e0bc77f41ae8bfa991dfcd94fefd52f6cbd1714141650c395f8e391ad [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" "a04e0b1e0bc77f41ae8bfa991dfcd94fefd52f6cbd1714141650c395f8e391ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rusted-bancho v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `collections::HashMap` [INFO] [stdout] --> src/scores/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | convert::Infallible, [INFO] [stdout] 4 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/bancho/connect.rs:116:44 [INFO] [stdout] | [INFO] [stdout] 116 | BanchoPacket::UserStatsRequest(request) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/bancho/connect.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 154 | BanchoPacket::RecieveUpdates(request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/response/score_submit.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut response = self.into_string(); [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: variant is never constructed: `Missing` [INFO] [stdout] --> src/bancho/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Missing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `OsuAuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bancho/mod.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/api/auth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/api/auth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password_hash` [INFO] [stdout] --> src/api/auth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | password_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch` [INFO] [stdout] --> src/api/auth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ch: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `retry` [INFO] [stdout] --> src/api/auth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | retry: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/auth.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NoMod` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:256:15 [INFO] [stdout] | [INFO] [stdout] 256 | const NoMod = 0b0000000000000000000000000000000; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `NO_MOD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NoFail` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | const NoFail = 0b0000000000000000000000000000001; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `NO_FAIL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Easy` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | const Easy = 0b0000000000000000000000000000010; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `EASY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TouchDevice` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | const TouchDevice = 0b0000000000000000000000000000100; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOUCH_DEVICE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Hidden` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | const Hidden = 0b0000000000000000000000000001000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `HIDDEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `HardRock` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | const HardRock = 0b0000000000000000000000000010000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `HARD_ROCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SuddenDeath` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | const SuddenDeath = 0b0000000000000000000000000100000; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SUDDEN_DEATH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `DoubleTime` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | const DoubleTime = 0b0000000000000000000000001000000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `DOUBLE_TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Relax` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | const Relax = 0b0000000000000000000000010000000; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RELAX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `HalfTime` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:265:15 [INFO] [stdout] | [INFO] [stdout] 265 | const HalfTime = 0b0000000000000000000000100000000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `HALF_TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Nightcore` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:266:15 [INFO] [stdout] | [INFO] [stdout] 266 | const Nightcore = 0b0000000000000000000001000000000; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `NIGHTCORE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Flashlight` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | const Flashlight = 0b0000000000000000000010000000000; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `FLASHLIGHT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Autoplay` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | const Autoplay = 0b0000000000000000000100000000000; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `AUTOPLAY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SpunOut` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:269:15 [INFO] [stdout] | [INFO] [stdout] 269 | const SpunOut = 0b0000000000000000001000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `SPUN_OUT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Relax2` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | const Relax2 = 0b0000000000000000010000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RELAX2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Perfect` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:271:15 [INFO] [stdout] | [INFO] [stdout] 271 | const Perfect = 0b0000000000000000100000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `PERFECT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key4` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 272 | const Key4 = 0b0000000000000001000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key5` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | const Key5 = 0b0000000000000010000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key6` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:274:15 [INFO] [stdout] | [INFO] [stdout] 274 | const Key6 = 0b0000000000000100000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key7` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | const Key7 = 0b0000000000001000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key8` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:276:15 [INFO] [stdout] | [INFO] [stdout] 276 | const Key8 = 0b0000000000010000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FadeIn` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | const FadeIn = 0b0000000000100000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `FADE_IN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Random` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | const Random = 0b0000000001000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RANDOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Cinema` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | const Cinema = 0b0000000010000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `CINEMA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Target` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | const Target = 0b0000000100000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TARGET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key9` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | const Key9 = 0b0000001000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `KeyCoop` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | const KeyCoop = 0b0000010000000000000000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `KEY_COOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key1` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | const Key1 = 0b0000100000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key3` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | const Key3 = 0b0001000000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Key2` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:285:15 [INFO] [stdout] | [INFO] [stdout] 285 | const Key2 = 0b0010000000000000000000000000000; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KEY2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ScoreV2` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | const ScoreV2 = 0b0100000000000000000000000000000; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `SCORE_V2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Mirror` should have an upper case name [INFO] [stdout] --> src/scores/mod.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | const Mirror = 0b1000000000000000000000000000000; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MIRROR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 06s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rusted_bancho-1507600d7a8b9b8e) [INFO] running `Command { std: "docker" "inspect" "a04e0b1e0bc77f41ae8bfa991dfcd94fefd52f6cbd1714141650c395f8e391ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04e0b1e0bc77f41ae8bfa991dfcd94fefd52f6cbd1714141650c395f8e391ad", kill_on_drop: false }` [INFO] [stdout] a04e0b1e0bc77f41ae8bfa991dfcd94fefd52f6cbd1714141650c395f8e391ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bdebb836846a75d19748d39f055737b4e20bcee42b6dea5480d0196f2b1c127a [INFO] running `Command { std: "docker" "start" "-a" "bdebb836846a75d19748d39f055737b4e20bcee42b6dea5480d0196f2b1c127a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `Arc`, `Mutex`, `collections::HashMap` [INFO] [stderr] --> src/scores/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | collections::HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | convert::Infallible, [INFO] [stderr] 4 | sync::{Arc, Mutex}, [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/bancho/connect.rs:116:44 [INFO] [stderr] | [INFO] [stderr] 116 | BanchoPacket::UserStatsRequest(request) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/bancho/connect.rs:154:42 [INFO] [stderr] | [INFO] [stderr] 154 | BanchoPacket::RecieveUpdates(request) => {} [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/api/response/score_submit.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let mut response = self.into_string(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Missing` [INFO] [stderr] --> src/bancho/mod.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | Missing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `OsuAuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bancho/mod.rs:57:10 [INFO] [stderr] | [INFO] [stderr] 57 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/api/auth.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api/auth.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/api/auth.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api/auth.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `password_hash` [INFO] [stderr] --> src/api/auth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | password_hash: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api/auth.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ch` [INFO] [stderr] --> src/api/auth.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | ch: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api/auth.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `retry` [INFO] [stderr] --> src/api/auth.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | retry: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BanchoConnectRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/api/auth.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant `NoMod` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:256:15 [INFO] [stderr] | [INFO] [stderr] 256 | const NoMod = 0b0000000000000000000000000000000; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `NO_MOD` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `NoFail` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:257:15 [INFO] [stderr] | [INFO] [stderr] 257 | const NoFail = 0b0000000000000000000000000000001; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `NO_FAIL` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Easy` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:258:15 [INFO] [stderr] | [INFO] [stderr] 258 | const Easy = 0b0000000000000000000000000000010; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `EASY` [INFO] [stderr] [INFO] [stderr] warning: associated constant `TouchDevice` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:259:15 [INFO] [stderr] | [INFO] [stderr] 259 | const TouchDevice = 0b0000000000000000000000000000100; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOUCH_DEVICE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Hidden` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:260:15 [INFO] [stderr] | [INFO] [stderr] 260 | const Hidden = 0b0000000000000000000000000001000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `HIDDEN` [INFO] [stderr] [INFO] [stderr] warning: associated constant `HardRock` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:261:15 [INFO] [stderr] | [INFO] [stderr] 261 | const HardRock = 0b0000000000000000000000000010000; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `HARD_ROCK` [INFO] [stderr] [INFO] [stderr] warning: associated constant `SuddenDeath` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:262:15 [INFO] [stderr] | [INFO] [stderr] 262 | const SuddenDeath = 0b0000000000000000000000000100000; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SUDDEN_DEATH` [INFO] [stderr] [INFO] [stderr] warning: associated constant `DoubleTime` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:263:15 [INFO] [stderr] | [INFO] [stderr] 263 | const DoubleTime = 0b0000000000000000000000001000000; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `DOUBLE_TIME` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Relax` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:264:15 [INFO] [stderr] | [INFO] [stderr] 264 | const Relax = 0b0000000000000000000000010000000; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `RELAX` [INFO] [stderr] [INFO] [stderr] warning: associated constant `HalfTime` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:265:15 [INFO] [stderr] | [INFO] [stderr] 265 | const HalfTime = 0b0000000000000000000000100000000; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `HALF_TIME` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Nightcore` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:266:15 [INFO] [stderr] | [INFO] [stderr] 266 | const Nightcore = 0b0000000000000000000001000000000; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `NIGHTCORE` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Flashlight` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:267:15 [INFO] [stderr] | [INFO] [stderr] 267 | const Flashlight = 0b0000000000000000000010000000000; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `FLASHLIGHT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Autoplay` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:268:15 [INFO] [stderr] | [INFO] [stderr] 268 | const Autoplay = 0b0000000000000000000100000000000; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `AUTOPLAY` [INFO] [stderr] [INFO] [stderr] warning: associated constant `SpunOut` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:269:15 [INFO] [stderr] | [INFO] [stderr] 269 | const SpunOut = 0b0000000000000000001000000000000; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `SPUN_OUT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Relax2` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:270:15 [INFO] [stderr] | [INFO] [stderr] 270 | const Relax2 = 0b0000000000000000010000000000000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `RELAX2` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Perfect` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:271:15 [INFO] [stderr] | [INFO] [stderr] 271 | const Perfect = 0b0000000000000000100000000000000; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `PERFECT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key4` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:272:15 [INFO] [stderr] | [INFO] [stderr] 272 | const Key4 = 0b0000000000000001000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY4` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key5` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:273:15 [INFO] [stderr] | [INFO] [stderr] 273 | const Key5 = 0b0000000000000010000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY5` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key6` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:274:15 [INFO] [stderr] | [INFO] [stderr] 274 | const Key6 = 0b0000000000000100000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY6` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key7` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:275:15 [INFO] [stderr] | [INFO] [stderr] 275 | const Key7 = 0b0000000000001000000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY7` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key8` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:276:15 [INFO] [stderr] | [INFO] [stderr] 276 | const Key8 = 0b0000000000010000000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY8` [INFO] [stderr] [INFO] [stderr] warning: associated constant `FadeIn` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:277:15 [INFO] [stderr] | [INFO] [stderr] 277 | const FadeIn = 0b0000000000100000000000000000000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `FADE_IN` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Random` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:278:15 [INFO] [stderr] | [INFO] [stderr] 278 | const Random = 0b0000000001000000000000000000000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `RANDOM` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Cinema` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:279:15 [INFO] [stderr] | [INFO] [stderr] 279 | const Cinema = 0b0000000010000000000000000000000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `CINEMA` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Target` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:280:15 [INFO] [stderr] | [INFO] [stderr] 280 | const Target = 0b0000000100000000000000000000000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `TARGET` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key9` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:281:15 [INFO] [stderr] | [INFO] [stderr] 281 | const Key9 = 0b0000001000000000000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY9` [INFO] [stderr] [INFO] [stderr] warning: associated constant `KeyCoop` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:282:15 [INFO] [stderr] | [INFO] [stderr] 282 | const KeyCoop = 0b0000010000000000000000000000000; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `KEY_COOP` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key1` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:283:15 [INFO] [stderr] | [INFO] [stderr] 283 | const Key1 = 0b0000100000000000000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY1` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key3` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:284:15 [INFO] [stderr] | [INFO] [stderr] 284 | const Key3 = 0b0001000000000000000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY3` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Key2` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:285:15 [INFO] [stderr] | [INFO] [stderr] 285 | const Key2 = 0b0010000000000000000000000000000; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `KEY2` [INFO] [stderr] [INFO] [stderr] warning: associated constant `ScoreV2` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:286:15 [INFO] [stderr] | [INFO] [stderr] 286 | const ScoreV2 = 0b0100000000000000000000000000000; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `SCORE_V2` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Mirror` should have an upper case name [INFO] [stderr] --> src/scores/mod.rs:287:15 [INFO] [stderr] | [INFO] [stderr] 287 | const Mirror = 0b1000000000000000000000000000000; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `MIRROR` [INFO] [stderr] [INFO] [stderr] warning: `rusted-bancho` (bin "rusted-bancho" test) generated 42 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusted_bancho-1507600d7a8b9b8e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--bin rusted-bancho' [INFO] [stdout] test bancho::serde::ser::tests::test_serialize ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- bancho::serde::ser::tests::test_serialize stdout ---- [INFO] [stdout] thread 'bancho::serde::ser::tests::test_serialize' panicked at 'Bytes: [255, 255, 255, 127, 11, 5, 104, 101, 119, 119, 111, 69, 0, 0, 0]', src/bancho/serde/ser.rs:408:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56139a6574dd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x56139a6574dd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56139a6574dd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x56139a6574dd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x56139a679dec - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x56139a653ea1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x56139a659225 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x56139a659225 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x56139a659225 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x56139a658f14 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x56139a659772 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x56139a659657 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x56139a657994 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x56139a659389 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x56139a5f43e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x56139a5f5a7a - rusted_bancho::bancho::serde::ser::tests::test_serialize::h7330bfeed4c8b10a [INFO] [stdout] at /opt/rustwide/workdir/src/bancho/serde/ser.rs:408:9 [INFO] [stdout] 16: 0x56139a5f593a - rusted_bancho::bancho::serde::ser::tests::test_serialize::{{closure}}::h830e91be63cdb80b [INFO] [stdout] at /opt/rustwide/workdir/src/bancho/serde/ser.rs:386:5 [INFO] [stdout] 17: 0x56139a5f472e - core::ops::function::FnOnce::call_once::h1711f24aae747663 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x56139a62c903 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x56139a62c903 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 20: 0x56139a62b6b9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 21: 0x56139a62b6b9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 22: 0x56139a62b6b9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 23: 0x56139a62b6b9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 24: 0x56139a62b6b9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 25: 0x56139a62b6b9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 26: 0x56139a62b6b9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 27: 0x56139a5f786e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 28: 0x56139a5f786e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 29: 0x56139a5fcdd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 30: 0x56139a5fcdd8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 31: 0x56139a5fcdd8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 32: 0x56139a5fcdd8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 33: 0x56139a5fcdd8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 34: 0x56139a5fcdd8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 35: 0x56139a5fcdd8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x56139a65df83 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 37: 0x56139a65df83 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 38: 0x56139a65df83 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 39: 0x7f8ee2303609 - start_thread [INFO] [stdout] 40: 0x7f8ee20d3163 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] bancho::serde::ser::tests::test_serialize [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bdebb836846a75d19748d39f055737b4e20bcee42b6dea5480d0196f2b1c127a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdebb836846a75d19748d39f055737b4e20bcee42b6dea5480d0196f2b1c127a", kill_on_drop: false }` [INFO] [stdout] bdebb836846a75d19748d39f055737b4e20bcee42b6dea5480d0196f2b1c127a