[INFO] cloning repository https://github.com/sanzor/audio-dsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanzor/audio-dsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanzor%2Faudio-dsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanzor%2Faudio-dsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f8998799f9dcda721e05a6d651ccd0f71123fcc [INFO] checking sanzor/audio-dsp against master#a2db9280539229a3b8a084a09886670a57bc7e9c for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanzor%2Faudio-dsp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sanzor/audio-dsp [INFO] finished tweaking git repo https://github.com/sanzor/audio-dsp [INFO] tweaked toml for git repo https://github.com/sanzor/audio-dsp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sanzor/audio-dsp on toolchain a2db9280539229a3b8a084a09886670a57bc7e9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sanzor/audio-dsp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.25.0 [INFO] [stderr] Downloaded basic-cookies v0.1.5 [INFO] [stderr] Downloaded tokio-tungstenite v0.27.0 [INFO] [stderr] Downloaded async-object-pool v0.1.5 [INFO] [stderr] Downloaded objc2-core-audio-types v0.3.1 [INFO] [stderr] Downloaded actix-ws v0.3.0 [INFO] [stderr] Downloaded coreaudio-rs v0.13.0 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded cpal v0.16.0 [INFO] [stderr] Downloaded rstest_macros v0.25.0 [INFO] [stderr] Downloaded rstest_macros v0.26.1 [INFO] [stderr] Downloaded httpmock v0.7.0 [INFO] [stderr] Downloaded tungstenite v0.27.0 [INFO] [stderr] Downloaded rstest v0.26.1 [INFO] [stderr] Downloaded objc2-core-audio v0.3.1 [INFO] [stderr] Downloaded kameo_macros v0.17.0 [INFO] [stderr] Downloaded objc2-audio-toolbox v0.3.1 [INFO] [stderr] Downloaded kameo v0.17.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42942eaf3673cbc791edada67eac7049347d44d9340ba4b946a0887373ce1877 [INFO] running `Command { std: "docker" "start" "-a" "42942eaf3673cbc791edada67eac7049347d44d9340ba4b946a0887373ce1877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42942eaf3673cbc791edada67eac7049347d44d9340ba4b946a0887373ce1877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42942eaf3673cbc791edada67eac7049347d44d9340ba4b946a0887373ce1877", kill_on_drop: false }` [INFO] [stdout] 42942eaf3673cbc791edada67eac7049347d44d9340ba4b946a0887373ce1877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+a2db9280539229a3b8a084a09886670a57bc7e9c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5632bb799f73eac41ecbfb2c651581f82eb00092fe73c3542fd649837b8a8b35 [INFO] running `Command { std: "docker" "start" "-a" "5632bb799f73eac41ecbfb2c651581f82eb00092fe73c3542fd649837b8a8b35", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling kameo_macros v0.17.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling cpal v0.16.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking kameo v0.17.2 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking async-io v2.4.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking async-signal v0.2.12 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking async-process v2.4.0 [INFO] [stderr] Checking actix v0.13.5 [INFO] [stderr] Checking tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling actix-multipart-derive v0.7.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking async-object-pool v0.1.5 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking audiolib v0.1.0 (/opt/rustwide/workdir/audiolib) [INFO] [stderr] Checking domain v0.1.0 (/opt/rustwide/workdir/domain) [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking data-provider v0.1.0 (/opt/rustwide/workdir/data-provider) [INFO] [stderr] Checking player v0.1.0 (/opt/rustwide/workdir/player) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> data-provider/src/in_memory_user_provider.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | Some((k, deleted)) => Ok(deleted), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> data-provider/src/in_memory_user_provider.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | user: DomainUser, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> data-provider/src/local_tracks_provider.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|v| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> data-provider/src/local_tracks_provider.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Err(e) => return Err("Could not store track".into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | n => panic!("Invalid sample rate"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn sample_rate(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 32 | self.sample_rate() [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|e| "e".to_string())? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | |e| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | n => panic!("Invalid sample rate"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn sample_rate(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 32 | self.sample_rate() [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|e| "e".to_string())? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | |e| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `host` are never read [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CpalSink { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | device: cpal::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | host: cpal::Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> data-provider/src/in_memory_user_provider.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | Some((k, deleted)) => Ok(deleted), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sample_rate` is never used [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl CpalSink { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn sample_rate(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> data-provider/src/in_memory_user_provider.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | user: DomainUser, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `host` are never read [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CpalSink { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | device: cpal::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | host: cpal::Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sample_rate` is never used [INFO] [stdout] --> player/src/audio_sink/cpal_sink.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl CpalSink { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn sample_rate(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> data-provider/src/local_tracks_provider.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|v| ()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> data-provider/src/local_tracks_provider.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | Err(e) => return Err("Could not store track".into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking actors v0.1.0 (/opt/rustwide/workdir/actors) [INFO] [stdout] warning: unused import: `audio_buffer::AudioBuffer` [INFO] [stdout] --> actors/src/audio_player_actor/audio_player_actor.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use audiolib::{audio_buffer::AudioBuffer, decoded_audio::DecodedAudio}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> actors/src/user_actor/api/regions.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if (val <= new_region_start_time) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - if (val <= new_region_start_time) { [INFO] [stdout] 50 + if val <= new_region_start_time { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `audio_buffer::AudioBuffer` [INFO] [stdout] --> actors/src/audio_player_actor/audio_player_actor.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use audiolib::{audio_buffer::AudioBuffer, decoded_audio::DecodedAudio}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> actors/src/user_actor/api/regions.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | if (val <= new_region_start_time) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - if (val <= new_region_start_time) { [INFO] [stdout] 50 + if val <= new_region_start_time { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::encode_audio_buffer_as_wav` [INFO] [stdout] --> actors/src/tests/utils.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | audio_buffer::AudioBuffer, decoded_audio::DecodedAudio, utils::encode_audio_buffer_as_wav, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> actors/src/audio_player_actor/audio_player_actor.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let v = args.start_streaming_task(actor_ref); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> actors/src/audio_player_actor/audio_player_actor.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let v = args.start_streaming_task(actor_ref); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | async fn handle(&mut self, msg: Play, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | async fn handle(&mut self, msg: Play, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | async fn handle(&mut self, msg: Play, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | async fn handle(&mut self, msg: Play, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | async fn handle(&mut self, msg: Pause, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | async fn handle(&mut self, msg: Pause, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | async fn handle(&mut self, msg: Seek, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | async fn handle(&mut self, msg: Pause, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | async fn handle(&mut self, msg: Pause, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | async fn handle(&mut self, msg: Seek, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | async fn handle(&mut self, msg: Stop, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | msg: PlayFrame, [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] --> actors/src/audio_player_actor/control.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_id` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | for (sink_id, sink) in self.sinks.iter_mut() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | async fn handle(&mut self, msg: Stop, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | Some(s) => Err("Sink already present".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | Some(sink) => Ok(RemoveSinkResult {}), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> actors/src/audio_player_actor/query.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | msg: GetPlayerState, [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] --> actors/src/audio_player_actor/query.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: &mut Context, [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] --> actors/src/audio_player_actor/control.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | msg: PlayFrame, [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] --> actors/src/audio_player_actor/control.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_id` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | for (sink_id, sink) in self.sinks.iter_mut() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | async fn handle(&mut self, msg: UserPlay, ctx: &mut Context) -> Self::Reply { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let res = match player_result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | async fn handle(&mut self, msg: UserStop, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/user_actor/api/player.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | async fn handle(&mut self, msg: UserSeek, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/audio_player_actor/control.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | Some(s) => Err("Sink already present".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | Some(sink) => Ok(RemoveSinkResult {}), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | ctx: &mut Context, [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] --> actors/src/audio_player_actor/query.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | msg: GetPlayerState, [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] --> actors/src/audio_player_actor/query.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | async fn handle(&mut self, msg: UserPlay, ctx: &mut Context) -> Self::Reply { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | Some(v) => Err("key alrdy present".into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let res = match player_result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ctx: &mut Context, [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] --> actors/src/user_actor/api/player.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(e) => Ok(UserRemoveSinkResult {}), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | async fn handle(&mut self, msg: UserStop, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/user_actor/api/region_set.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | async fn handle(&mut self, msg: UserSeek, ctx: &mut Context) -> Self::Reply { [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] --> actors/src/user_actor/api/region_set.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ctx: &mut Context, [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] --> actors/src/user_actor/api/region_set.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | msg: GetRegionSets, [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] --> actors/src/user_actor/api/region_set.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ctx: &mut 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] --> actors/src/user_actor/api/regions.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> actors/src/user_actor/api/player.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | Some(v) => Err("key alrdy present".into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/regions.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ctx: &mut 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] --> actors/src/user_actor/api/regions.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ctx: &mut Context, [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] --> actors/src/user_actor/api/tracks.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => Err("Could not find track".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/tracks.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ctx: &mut Context, [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] --> actors/src/user_actor/api/tracks.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | msg: GetTrackMetas, [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] --> actors/src/user_actor/api/tracks.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ctx: &mut Context, [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] --> actors/src/user_actor/api/player.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(e) => Ok(UserRemoveSinkResult {}), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/tracks.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | ctx: &mut 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] --> actors/src/user_actor/api/player.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | ctx: &mut Context, [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] --> actors/src/user_actor/api/user.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | msg: GetUserState, [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] --> actors/src/user_actor/api/user.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ctx: &mut Context, [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] --> actors/src/user_actor/api/user.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | msg: RemoveUser, [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] --> actors/src/user_actor/api/user.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | ctx: &mut 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] --> actors/src/user_actor/api/user.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ctx: &mut Context, [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] --> actors/src/user_actor/api/region_set.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | msg: GetRegionSets, [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] --> actors/src/user_actor/api/region_set.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_actor_test.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | user_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_actor_test.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | user_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/region_set.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | ctx: &mut 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] --> actors/src/user_actor/api/region_set.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | ctx: &mut 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] --> actors/src/user_actor/api/regions.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ctx: &mut 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] --> actors/src/user_actor/api/regions.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ctx: &mut 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] --> actors/src/user_actor/api/regions.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | ctx: &mut Context, [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] --> actors/src/user_actor/api/tracks.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => Err("Could not find track".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> actors/src/user_actor/api/tracks.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ctx: &mut Context, [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] --> actors/src/user_actor/api/tracks.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | msg: GetTrackMetas, [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] --> actors/src/user_actor/api/tracks.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | ctx: &mut 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] --> actors/src/user_actor/api/tracks.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | ctx: &mut Context, [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] --> actors/src/user_actor/api/user.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | msg: GetUserState, [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] --> actors/src/user_actor/api/user.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ctx: &mut Context, [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] --> actors/src/user_actor/api/user.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | msg: RemoveUser, [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] --> actors/src/user_actor/api/user.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | ctx: &mut 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] --> actors/src/user_actor/api/user.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let task = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let x = actor_ref.tell(PlayFrame {}).await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let task = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> actors/src/audio_player_actor/control.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | let x = actor_ref.tell(PlayFrame {}).await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_meta` is never read [INFO] [stdout] --> actors/src/audio_player_actor/audio_player_actor.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AudioPlayerActor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub(crate) track_meta: TrackMeta, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Players` is never used [INFO] [stdout] --> actors/src/user_actor/create_user_actor_params.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Players = HashMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Players` is never used [INFO] [stdout] --> actors/src/user_actor/user_actor.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Players = HashMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracks_provider` [INFO] [stdout] --> actors/src/tests/user_actor_test.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let tracks_provider = Box::new(LocalTrackStoreProvider::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracks_provider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> actors/src/tests/user_actor_test.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let g = kameo::registry::ActorRegistry::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | frame: AudioFrame, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let g = kameo::registry::ActorRegistry::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let user_name = "my_user".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let user_name = "my_user".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_sink_result` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let remove_sink_result: UserRemoveSinkResult = user_actor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_sink_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_actor_state_result_after_remove` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let user_actor_state_result_after_remove = get_user_state(&user_actor).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_actor_state_result_after_remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attached_sink_exists` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let attached_sink_exists = sinks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attached_sink_exists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let user_name = "my_user".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attach_result` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let attach_result: UserAttachSinkResult = user_actor [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attach_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `play` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let play = user_actor [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let user_name = "my_user".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attach_result` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let attach_result: UserAttachSinkResult = user_actor [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attach_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `play` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let play = user_actor [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pause` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | let pause = user_actor [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `play_again` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | let play_again = user_actor [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_play_again` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | let user_name = "my_user".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attach_result` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let attach_result: UserAttachSinkResult = user_actor [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attach_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `play` [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | let play = user_actor [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> actors/src/tests/utils.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let g = kameo::registry::ActorRegistry::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `track_meta` is never read [INFO] [stdout] --> actors/src/audio_player_actor/audio_player_actor.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AudioPlayerActor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub(crate) track_meta: TrackMeta, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Players` is never used [INFO] [stdout] --> actors/src/user_actor/create_user_actor_params.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Players = HashMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Players` is never used [INFO] [stdout] --> actors/src/user_actor/user_actor.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Players = HashMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sink` is never used [INFO] [stdout] --> actors/src/tests/audio_player_actor_test.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn create_sink(written: Arc>>>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestSink` is never constructed [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct TestSink { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_string` is never used [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn to_string(track: &RawTrack) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attach_sink` is never used [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | async fn attach_sink( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_sink` is never used [INFO] [stdout] --> actors/src/tests/user_and_audio_actor_test.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | async fn remove_sink( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Checking httpmock v0.7.0 [INFO] [stderr] Checking actix-multipart v0.7.2 [INFO] [stderr] Checking actix-ws v0.3.0 [INFO] [stderr] Checking actix-cors v0.7.1 [INFO] [stderr] Checking actix-session v0.10.1 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{delete, get, patch, post, web, HttpResponse}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> api/src/controllers/ws_controller.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ///create queue [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | let queue = Arc::new(Mutex::new(VecDeque::new())); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> api/src/controllers/ws_controller.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | ///create sink [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 64 | / let sink = QueueSink { [INFO] [stdout] 65 | | queue: Arc::clone(&queue), [INFO] [stdout] 66 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> api/src/controllers/ws_controller.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | ///create source [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | let mut source = QueueSource { queue: queue }; [INFO] [stdout] | ---------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest` and `dev::Payload` [INFO] [stdout] --> api/src/token/csrf_token.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{dev::Payload, Error, FromRequest, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{delete, get, patch, post, web, HttpResponse}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> api/src/controllers/ws_controller.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ///create queue [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | let queue = Arc::new(Mutex::new(VecDeque::new())); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> api/src/controllers/ws_controller.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | ///create sink [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 64 | / let sink = QueueSink { [INFO] [stdout] 65 | | queue: Arc::clone(&queue), [INFO] [stdout] 66 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> api/src/controllers/ws_controller.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | ///create source [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | let mut source = QueueSource { queue: queue }; [INFO] [stdout] | ---------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TestRequest` [INFO] [stdout] --> api/src/tests/player_controller_test.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | test::{self, TestRequest}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_token` [INFO] [stdout] --> api/src/tests/tracks_crud_controller_test.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | token::token_utils::{create_access_token, create_token}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpRequest` and `dev::Payload` [INFO] [stdout] --> api/src/token/csrf_token.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{dev::Payload, Error, FromRequest, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> api/src/controllers/facebook_controller.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let code = query.get("code").unwrap().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_player_state` [INFO] [stdout] --> api/src/controllers/player_controller.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let get_player_state = path.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_player_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => return HttpResponse::InternalServerError().body("Could not create region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | Err(e) => return HttpResponse::InternalServerError().body("Could not find region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(r) => HttpResponse::Ok().body("Region deleted"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | Err(e) => return HttpResponse::InternalServerError().body("Could not delete region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => return HttpResponse::InternalServerError().body("Could not add region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(r) => HttpResponse::Ok().body("Region deleted"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => return HttpResponse::InternalServerError().body("Could not insert track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smth` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(smth) => HttpResponse::Ok().json("track copied"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_smth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Err(e) => return HttpResponse::InternalServerError().body("Could not copy track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smth` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(smth) => HttpResponse::Ok().json("track updated"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_smth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | Err(e) => return HttpResponse::InternalServerError().body("Could not insert track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> api/src/controllers/facebook_controller.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let code = query.get("code").unwrap().to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smth` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(smth) => HttpResponse::Ok().json("track removed"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_smth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Err(e) => return HttpResponse::InternalServerError().body("Could not remove track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | Err(e) => return HttpResponse::NotFound().body("Could not find track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | Err(e) => return HttpResponse::InternalServerError().body("Could not get track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(e) => return HttpResponse::InternalServerError().body("Could not get tracks"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | Err(e) => return HttpResponse::InternalServerError().body("Could not get track info"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/user_controller.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => return HttpResponse::BadRequest().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> api/src/controllers/user_controller.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let result = user.ask(RemoveUser {}).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/utils.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => Err("Could not find user".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_player_state` [INFO] [stdout] --> api/src/controllers/player_controller.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let get_player_state = path.into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_player_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/player_controller.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Err(e) => return HttpResponse::NotFound().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => return Ok(HttpResponse::NotFound().body("User not found")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => return HttpResponse::InternalServerError().body("Could not create region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 152 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 152 - let res = user_actor [INFO] [stdout] 152 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 159 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 159 - let res = user_actor [INFO] [stdout] 159 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 166 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 166 - let res = user_actor [INFO] [stdout] 166 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 173 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 173 - let res = user_actor [INFO] [stdout] 173 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | Err(e) => return HttpResponse::InternalServerError().body("Could not find region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | Ok(r) => HttpResponse::Ok().body("Region deleted"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/region_set_controller.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | Err(e) => return HttpResponse::InternalServerError().body("Could not delete region set"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Err(e) => return HttpResponse::InternalServerError().body("Could not add region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(r) => HttpResponse::Ok().body("Region deleted"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/regions_controller.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Err(e) => return HttpResponse::InternalServerError().body("Could not edit region"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => return HttpResponse::InternalServerError().body("Could not insert track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smth` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(smth) => HttpResponse::Ok().json("track copied"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_smth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Err(e) => return HttpResponse::InternalServerError().body("Could not copy track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smth` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(smth) => HttpResponse::Ok().json("track updated"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_smth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | Err(e) => return HttpResponse::InternalServerError().body("Could not insert track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smth` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(smth) => HttpResponse::Ok().json("track removed"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_smth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Err(e) => return HttpResponse::InternalServerError().body("Could not remove track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | Err(e) => return HttpResponse::NotFound().body("Could not find track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | Err(e) => return HttpResponse::InternalServerError().body("Could not get track"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | Err(e) => return HttpResponse::InternalServerError().body("Could not get tracks"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Err(e) => return HttpResponse::NotFound().body("User not found"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/tracks_crud_controller.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | Err(e) => return HttpResponse::InternalServerError().body("Could not get track info"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/user_controller.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => return HttpResponse::BadRequest().body("Could not find user"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> api/src/controllers/user_controller.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let result = user.ask(RemoveUser {}).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/utils.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => Err("Could not find user".to_string()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Err(e) => return Ok(HttpResponse::NotFound().body("User not found")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 152 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 152 - let res = user_actor [INFO] [stdout] 152 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 159 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 159 - let res = user_actor [INFO] [stdout] 159 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 166 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 166 - let res = user_actor [INFO] [stdout] 166 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> api/src/controllers/ws_controller.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let res = user_actor [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 173 | let _res = user_actor [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 173 - let res = user_actor [INFO] [stdout] 173 + let dtos::token_response::_ = user_actor [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> api/src/tests/google_controller_test.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let app = test::init_service( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> api/src/tests/player_controller_test.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let app = test::init_service(App::new().configure(player_controller::init)).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> api/src/tests/player_controller_test.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let req = test::TestRequest::get() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_name` [INFO] [stdout] --> api/src/tests/player_controller_test.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | user_name: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> api/src/tests/tracks_crud_controller_test.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let resp: AddTrackResult = test::call_and_read_body_json(&app, req).await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> api/src/controllers/user_controller.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use kameo::{actor::ActorRef, Actor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> api/src/tests/tracks_crud_controller_test.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | let status = resp.status(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> api/src/tests/user_controller_test.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let result: GetUserDataResult = test::call_and_read_body_json(&app, get_user_request).await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> api/src/tests/utils.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let status = resp.status(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | WebsocketSendMessage::AudioFrame { audio_frame } => audio_frame, [INFO] [stdout] | ------------------------------------------------ matches all the relevant values [INFO] [stdout] 109 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_handle` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let server_handle = actix_rt::spawn(bound.run()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let v = write.send(Message::Text(play_request.into())).await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let frame = match msg { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | WebsocketSendMessage::AudioFrame { audio_frame } => audio_frame, [INFO] [stdout] | ------------------------------------------------ matches all the relevant values [INFO] [stdout] 178 | _ => panic!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_handle` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let server_handle = actix_rt::spawn(bound.run()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_state` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let user_state = get_user_state(&mut app, user_id.to_string()).await?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let v = write.send(Message::Text(play_request.into())).await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> api/src/tests/ws_controller_test.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let frame = match msg { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/dtos/authenticated_user.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| actix_web::error::ErrorUnauthorized("Invalid token")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> api/src/token/csrf_token.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | payload: &mut actix_http::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GoogleUserInfo` is more private than the item `LocalUserAndActorResolver::resolve_google_user_and_actor` [INFO] [stdout] --> api/src/user_and_actor_resolver/local_user_and_actor_resolver.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub async fn resolve_google_user_and_actor( [INFO] [stdout] 30 | | &self, [INFO] [stdout] 31 | | google_user_info: &GoogleUserInfo, [INFO] [stdout] 32 | | build_actor_params: F, [INFO] [stdout] 33 | | ) -> Result [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | F: FnOnce(DomainUser) -> Result, [INFO] [stdout] | |_______________________________________________________________________^ method `LocalUserAndActorResolver::resolve_google_user_and_actor` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GoogleUserInfo` is only usable at visibility `pub(crate)` [INFO] [stdout] --> api/src/dtos/google_user_info.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct GoogleUserInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_token`, `expires_in`, `token_type`, and `refresh_token` are never read [INFO] [stdout] --> api/src/dtos/token_response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | pub access_token: String, [INFO] [stdout] 6 | pub id_token: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub expires_in: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> api/src/controllers/user_controller.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use kameo::{actor::ActorRef, Actor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> api/src/dtos/authenticated_user.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| actix_web::error::ErrorUnauthorized("Invalid token")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_mock` [INFO] [stdout] --> api/src/tests/google_controller_test.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let token_mock = server.mock(|when, then| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_info_mock` [INFO] [stdout] --> api/src/tests/google_controller_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let user_info_mock = server.mock(|when, then| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_info_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> api/src/tests/utils.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let g = kameo::registry::ActorRegistry::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> api/src/token/csrf_token.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | payload: &mut actix_http::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GoogleUserInfo` is more private than the item `LocalUserAndActorResolver::resolve_google_user_and_actor` [INFO] [stdout] --> api/src/user_and_actor_resolver/local_user_and_actor_resolver.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / pub async fn resolve_google_user_and_actor( [INFO] [stdout] 30 | | &self, [INFO] [stdout] 31 | | google_user_info: &GoogleUserInfo, [INFO] [stdout] 32 | | build_actor_params: F, [INFO] [stdout] 33 | | ) -> Result [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | F: FnOnce(DomainUser) -> Result, [INFO] [stdout] | |_______________________________________________________________________^ method `LocalUserAndActorResolver::resolve_google_user_and_actor` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GoogleUserInfo` is only usable at visibility `pub(crate)` [INFO] [stdout] --> api/src/dtos/google_user_info.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct GoogleUserInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id_token`, `expires_in`, `token_type`, and `refresh_token` are never read [INFO] [stdout] --> api/src/dtos/token_response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct TokenResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | pub access_token: String, [INFO] [stdout] 6 | pub id_token: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | pub expires_in: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert` is never used [INFO] [stdout] --> api/src/tests/player_controller_test.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | async fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_user` is never used [INFO] [stdout] --> api/src/tests/user_controller_test.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | async fn remove_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "5632bb799f73eac41ecbfb2c651581f82eb00092fe73c3542fd649837b8a8b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5632bb799f73eac41ecbfb2c651581f82eb00092fe73c3542fd649837b8a8b35", kill_on_drop: false }` [INFO] [stdout] 5632bb799f73eac41ecbfb2c651581f82eb00092fe73c3542fd649837b8a8b35