[INFO] cloning repository https://github.com/Sniadekk/home-fm-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sniadekk/home-fm-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fhome-fm-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fhome-fm-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de5b28ac48b34e95cf7034d14bbffb772801f212 [INFO] checking Sniadekk/home-fm-server against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSniadekk%2Fhome-fm-server" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sniadekk/home-fm-server on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sniadekk/home-fm-server [INFO] finished tweaking git repo https://github.com/Sniadekk/home-fm-server [INFO] tweaked toml for git repo https://github.com/Sniadekk/home-fm-server written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Sniadekk/home-fm-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43d1b7de32ee6f69672e954a07fcbb7845856d90343bd4a11965f4d494630d8e [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" "43d1b7de32ee6f69672e954a07fcbb7845856d90343bd4a11965f4d494630d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43d1b7de32ee6f69672e954a07fcbb7845856d90343bd4a11965f4d494630d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d1b7de32ee6f69672e954a07fcbb7845856d90343bd4a11965f4d494630d8e", kill_on_drop: false }` [INFO] [stdout] 43d1b7de32ee6f69672e954a07fcbb7845856d90343bd4a11965f4d494630d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d554e0813bdaf663016a5e4570b630e6711da4f6f8b982ef63f9083eb3d48b8 [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" "5d554e0813bdaf663016a5e4570b630e6711da4f6f8b982ef63f9083eb3d48b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking arc-swap v0.3.7 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.3.0 [INFO] [stderr] Compiling v_escape v0.3.2 [INFO] [stderr] Compiling v_htmlescape v0.3.2 [INFO] [stderr] Compiling actix-web v0.7.18 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking lru-cache v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Checking scheduled-thread-pool v0.2.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking r2d2 v0.8.3 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Compiling libsqlite3-sys v0.12.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling nom v4.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking tokio-sync v0.1.3 [INFO] [stderr] Checking tower-service v0.1.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking socket2 v0.3.8 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking signal-hook v0.1.8 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking listenfd v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking tokio-current-thread v0.1.5 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.16 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-threadpool v0.1.12 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking tokio-process v0.2.3 [INFO] [stderr] Checking tokio v0.1.16 [INFO] [stderr] Checking h2 v0.1.16 [INFO] [stderr] Checking cookie v0.11.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking serde v1.0.89 [INFO] [stderr] Checking uuid v0.7.2 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking diesel v1.4.2 [INFO] [stderr] Checking actix-net v0.2.6 [INFO] [stderr] Checking home-fm-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GetRandomSong` [INFO] [stdout] --> src/song.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::db::{DeleteSong, GetAllSongs, GetRandomSong, ToggleSongNsfw}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as AWError` [INFO] [stdout] --> src/song.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{AsyncResponder, Error as AWError, FutureResponse, HttpResponse, Path, State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/song.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::song_queue::SongQueue` [INFO] [stdout] --> src/client_publisher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::song_queue::SongQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as AWError` [INFO] [stdout] --> src/config.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{AsyncResponder, Error as AWError, FutureResponse, HttpResponse, Json, State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Song` [INFO] [stdout] --> src/io.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use super::song::{download_song, Song}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StaticFileConfig`, `StaticFiles` [INFO] [stdout] --> src/system.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::fs::{NamedFile, StaticFileConfig, StaticFiles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/system.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .start();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/web_socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GetRandomSong` [INFO] [stdout] --> src/song.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::db::{DeleteSong, GetAllSongs, GetRandomSong, ToggleSongNsfw}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as AWError` [INFO] [stdout] --> src/song.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{AsyncResponder, Error as AWError, FutureResponse, HttpResponse, Path, State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/song.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::song_queue::SongQueue` [INFO] [stdout] --> src/client_publisher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::song_queue::SongQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as AWError` [INFO] [stdout] --> src/config.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{AsyncResponder, Error as AWError, FutureResponse, HttpResponse, Json, State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Song` [INFO] [stdout] --> src/io.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use super::song::{download_song, Song}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StaticFileConfig`, `StaticFiles` [INFO] [stdout] --> src/system.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use actix_web::fs::{NamedFile, StaticFileConfig, StaticFiles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/system.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | .start();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::Future` [INFO] [stdout] --> src/web_socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/song_queue.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::future::{ok as fut_ok, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/web_socket.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let system = System::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `song_name` [INFO] [stdout] --> src/song.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_song_info(song_path: &str, song_name: &str) -> Result<Info, ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_song_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn service_started(&mut self, ctx: &mut Context<Self>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle(&mut self, msg: DeleteWS, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | fn handle(&mut self, msg: RegisterWS, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | fn handle(&mut self, msg: UserMessage<T>, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | fn handle(&mut self, msg: GetRandomSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | fn handle(&mut self, msg: GetRandomSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | fn handle(&mut self, msg: CheckSongExistence, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | fn handle(&mut self, msg: SaveSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn handle(&mut self, msg: GetAllSongs, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | fn handle(&mut self, msg: GetAllSongs, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | fn handle(&mut self, msg: ToggleSongNsfw, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | fn handle(&mut self, msg: DeleteSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/io.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle(&mut self, msg: IOJob, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/radio.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn started(&mut self, ctx: &mut Self::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/radio.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | fn handle(&mut self, msg: SetFrequency, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/radio.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn handle(&mut self, msg: GetFrequency, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/radio.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | fn handle(&mut self, msg: GetFrequency, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/song_queue.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e, a, c| println!("something went wrong")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/song_queue.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e, a, c| println!("something went wrong")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/song_queue.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e, a, c| println!("something went wrong")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | .and_then(|song, actor, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | .and_then(|song, actor, ctx| (fut_ok(song.unwrap()).into_actor(actor))) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | ctx: &mut ActorContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/song_queue.rs:217:56 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> src/song_queue.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::future::{ok as fut_ok, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/song_queue.rs:217:59 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/song_queue.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/song_queue.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e, a, c| println!("db crashed - {:#?}", e)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/song_queue.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e, a, c| println!("db crashed - {:#?}", e)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/song_queue.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | fn handle(&mut self, msg: radio::NextSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/song_queue.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | fn handle(&mut self, msg: BroadcastState, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:244:47 [INFO] [stdout] | [INFO] [stdout] 244 | fn handle(&mut self, msg: BroadcastState, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/system.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | let radio = Arbiter::start(|ctx| Radio::new()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/web_socket.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let system = System::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `song_name` [INFO] [stdout] --> src/song.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_song_info(song_path: &str, song_name: &str) -> Result<Info, ()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_song_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn service_started(&mut self, ctx: &mut Context<Self>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | fn handle(&mut self, msg: DeleteWS, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | fn handle(&mut self, msg: RegisterWS, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/client_publisher.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | fn handle(&mut self, msg: UserMessage<T>, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | fn handle(&mut self, msg: GetRandomSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | fn handle(&mut self, msg: GetRandomSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | fn handle(&mut self, msg: CheckSongExistence, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:85:41 [INFO] [stdout] | [INFO] [stdout] 85 | fn handle(&mut self, msg: SaveSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn handle(&mut self, msg: GetAllSongs, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | fn handle(&mut self, msg: GetAllSongs, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | fn handle(&mut self, msg: ToggleSongNsfw, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/db.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | fn handle(&mut self, msg: DeleteSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/io.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle(&mut self, msg: IOJob, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/radio.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn started(&mut self, ctx: &mut Self::Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/radio.rs:113:45 [INFO] [stdout] | [INFO] [stdout] 113 | fn handle(&mut self, msg: SetFrequency, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/radio.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn handle(&mut self, msg: GetFrequency, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/radio.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | fn handle(&mut self, msg: GetFrequency, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/song_queue.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e, a, c| println!("something went wrong")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/song_queue.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e, a, c| println!("something went wrong")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/song_queue.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | .map_err(|e, a, c| println!("something went wrong")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | .and_then(|song, actor, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:197:37 [INFO] [stdout] | [INFO] [stdout] 197 | .and_then(|song, actor, ctx| (fut_ok(song.unwrap()).into_actor(actor))) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | ctx: &mut ActorContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/song_queue.rs:217:56 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/song_queue.rs:217:59 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor` [INFO] [stdout] --> src/song_queue.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_actor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | .and_then(|res, actor, ctx| res.map(|song, a, c| song)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/song_queue.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e, a, c| println!("db crashed - {:#?}", e)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/song_queue.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(|e, a, c| println!("db crashed - {:#?}", e)), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/song_queue.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | fn handle(&mut self, msg: radio::NextSong, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/song_queue.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | fn handle(&mut self, msg: BroadcastState, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/song_queue.rs:244:47 [INFO] [stdout] | [INFO] [stdout] 244 | fn handle(&mut self, msg: BroadcastState, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/system.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | let radio = Arbiter::start(|ctx| Radio::new()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/song_queue.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(scheduled_song) = self.songs_queue.first() { [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 129 | self.handle_activities( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 132 | song: scheduled_song.song.clone(), [INFO] [stdout] | ------------------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/song_queue.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 128 | if let Some(scheduled_song) = self.songs_queue.first() { [INFO] [stdout] | ---------------- immutable borrow occurs here [INFO] [stdout] 129 | self.handle_activities( [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 132 | song: scheduled_song.song.clone(), [INFO] [stdout] | ------------------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_standard_failure_response` [INFO] [stdout] --> src/responses.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_standard_failure_response() -> StandardResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/song.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fs::remove_file(json_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | diesel::insert_into(songs::table).values(song).execute(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / diesel::update(songs::table.filter(id.eq(song_id))) [INFO] [stdout] 177 | | .set(nsfw.eq(is_nsfw)) [INFO] [stdout] 178 | | .execute(conn); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | diesel::delete(songs::table.filter(id.eq(song_id))).execute(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | std::fs::remove_file(&song.path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IO` should have a snake case name [INFO] [stdout] --> src/song_queue.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub IO: Addr<MyIO>, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_standard_failure_response` [INFO] [stdout] --> src/responses.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_standard_failure_response() -> StandardResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/song.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fs::remove_file(json_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | diesel::insert_into(songs::table).values(song).execute(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / diesel::update(songs::table.filter(id.eq(song_id))) [INFO] [stdout] 177 | | .set(nsfw.eq(is_nsfw)) [INFO] [stdout] 178 | | .execute(conn); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | diesel::delete(songs::table.filter(id.eq(song_id))).execute(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/db.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | std::fs::remove_file(&song.path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IO` should have a snake case name [INFO] [stdout] --> src/song_queue.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub IO: Addr<MyIO>, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `io` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 03s [INFO] running `Command { std: "docker" "inspect" "5d554e0813bdaf663016a5e4570b630e6711da4f6f8b982ef63f9083eb3d48b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d554e0813bdaf663016a5e4570b630e6711da4f6f8b982ef63f9083eb3d48b8", kill_on_drop: false }` [INFO] [stdout] 5d554e0813bdaf663016a5e4570b630e6711da4f6f8b982ef63f9083eb3d48b8