500 lines
22 KiB
Text
500 lines
22 KiB
Text
#21 104.9 Compiling sqlx-macros v0.7.4
|
|
#21 105.2 Compiling tokio-tungstenite v0.17.2
|
|
#21 106.1 Compiling async-compression v0.4.34
|
|
#21 108.2 Compiling redis v0.25.4
|
|
#21 108.9 Compiling pem v3.0.6
|
|
#21 109.6 Compiling clap_derive v4.5.49
|
|
#21 110.4 Compiling symphonia-codec-vorbis v0.5.5
|
|
#21 111.6 Compiling symphonia-format-mkv v0.5.5
|
|
#21 112.3 Compiling symphonia-bundle-flac v0.5.5
|
|
#21 114.6 Compiling symphonia-format-isomp4 v0.5.5
|
|
#21 115.2 Compiling symphonia-format-ogg v0.5.5
|
|
#21 115.5 Compiling dasp_slice v0.11.0
|
|
#21 116.4 Compiling tungstenite v0.21.0
|
|
#21 116.5 Compiling brotli-decompressor v2.5.1
|
|
#21 116.5 Compiling dashmap v5.5.3
|
|
#21 116.6 Compiling axum-core v0.2.9
|
|
#21 117.5 Compiling simple_asn1 v0.6.3
|
|
#21 119.3 Compiling symphonia-format-caf v0.5.5
|
|
#21 119.9 Compiling symphonia-bundle-mp3 v0.5.5
|
|
#21 120.8 Compiling symphonia-codec-adpcm v0.5.5
|
|
#21 120.9 Compiling symphonia-codec-aac v0.5.5
|
|
#21 121.2 Compiling symphonia-codec-alac v0.5.5
|
|
#21 121.3 Compiling symphonia-codec-pcm v0.5.5
|
|
#21 121.5 Compiling blowfish v0.9.1
|
|
#21 121.8 Compiling filetime v0.2.26
|
|
#21 121.9 Compiling mio v0.8.11
|
|
#21 122.2 Compiling slice-ring-buffer v0.3.4
|
|
#21 122.6 Compiling spinning_top v0.3.0
|
|
#21 122.8 Compiling http-range-header v0.4.2
|
|
#21 123.1 Compiling nonzero_ext v0.3.0
|
|
#21 123.2 Compiling futures-timer v3.0.3
|
|
#21 123.2 Compiling no-std-compat v0.4.1
|
|
#21 123.3 Compiling twox-hash v2.1.2
|
|
#21 123.5 Compiling lz4_flex v0.11.5
|
|
#21 123.7 Compiling governor v0.6.3
|
|
#21 123.8 Compiling minimp3 v0.5.2
|
|
#21 123.9 Compiling tower-http v0.5.2
|
|
#21 124.0 Compiling notify v6.1.1
|
|
#21 124.1 Compiling symphonia v0.5.5
|
|
#21 124.1 Compiling bcrypt v0.15.1
|
|
#21 124.8 Compiling axum-tungstenite v0.1.1
|
|
#21 124.8 Compiling deadpool-redis v0.15.1
|
|
#21 125.1 Compiling brotli v3.5.0
|
|
#21 125.4 Compiling jsonwebtoken v9.3.1
|
|
#21 125.4 Compiling tokio-tungstenite v0.21.0
|
|
#21 126.0 Compiling dasp v0.11.0
|
|
#21 126.0 Compiling clap v4.5.53
|
|
#21 126.1 Compiling axum-extra v0.9.6
|
|
#21 126.1 Compiling sysinfo v0.30.13
|
|
#21 126.8 Compiling tonic v0.11.0
|
|
#21 128.2 Compiling sqlx v0.7.4
|
|
#21 128.8 Compiling toml v0.8.23
|
|
#21 129.9 Compiling tracing-appender v0.2.3
|
|
#21 132.1 Compiling metrics-exporter-prometheus v0.13.1
|
|
#21 132.3 Compiling lru v0.12.5
|
|
#21 132.6 Compiling rubato v0.15.0
|
|
#21 132.8 Compiling reqwest v0.11.27
|
|
#21 134.6 Compiling crossbeam v0.8.4
|
|
#21 134.7 Compiling id3 v1.16.3
|
|
#21 135.8 Compiling m3u8-rs v5.0.5
|
|
#21 136.6 Compiling bincode v1.3.3
|
|
#21 138.2 Compiling metaflac v0.2.8
|
|
#21 138.3 Compiling daemonize v0.5.0
|
|
#21 138.9 Compiling memmap2 v0.9.9
|
|
#21 139.2 Compiling dotenv v0.15.0
|
|
#21 139.4 Compiling hound v3.5.1
|
|
#21 140.3 Compiling apodize v1.0.0
|
|
#21 150.3 Compiling zstd v0.13.3
|
|
#21 151.3 error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
|
|
#21 151.3 --> src/core/encoding_pool.rs:409:9
|
|
#21 151.3 |
|
|
#21 151.3 409 | / sqlx::query!(
|
|
#21 151.3 410 | | r#"
|
|
#21 151.3 411 | | UPDATE stream_jobs
|
|
#21 151.3 412 | | SET updated_at = NOW()
|
|
#21 151.3 ... |
|
|
#21 151.3 417 | | job.track_id
|
|
#21 151.3 418 | | )
|
|
#21 151.3 | |_________^
|
|
#21 151.3 |
|
|
#21 151.3 = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
#21 151.3
|
|
#21 151.3 error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
|
|
#21 151.3 --> src/core/encoding_pool.rs:449:9
|
|
#21 151.3 |
|
|
#21 151.3 449 | / sqlx::query!(
|
|
#21 151.3 450 | | r#"
|
|
#21 151.3 451 | | UPDATE stream_jobs
|
|
#21 151.3 452 | | SET status = $1, updated_at = NOW()
|
|
#21 151.3 ... |
|
|
#21 151.3 458 | | track_id
|
|
#21 151.3 459 | | )
|
|
#21 151.3 | |_________^
|
|
#21 151.3 |
|
|
#21 151.3 = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
#21 151.3
|
|
#21 151.3 error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
|
|
#21 151.3 --> src/core/encoding_pool.rs:475:9
|
|
#21 151.3 |
|
|
#21 151.3 475 | / sqlx::query!(
|
|
#21 151.3 476 | | r#"
|
|
#21 151.3 477 | | UPDATE stream_jobs
|
|
#21 151.3 478 | | SET status = 'error', error_message = $1, updated_at = NOW()
|
|
#21 151.3 ... |
|
|
#21 151.3 484 | | track_id
|
|
#21 151.3 485 | | )
|
|
#21 151.3 | |_________^
|
|
#21 151.3 |
|
|
#21 151.3 = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
#21 151.3
|
|
#21 151.3 error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
|
|
#21 151.3 --> src/core/encoding_service.rs:52:21
|
|
#21 151.3 |
|
|
#21 151.3 52 | let track = sqlx::query!(
|
|
#21 151.3 | _____________________^
|
|
#21 151.3 53 | | r#"
|
|
#21 151.3 54 | | SELECT id, source_path
|
|
#21 151.3 55 | | FROM tracks
|
|
#21 151.3 ... |
|
|
#21 151.3 58 | | track_id
|
|
#21 151.3 59 | | )
|
|
#21 151.3 | |_________^
|
|
#21 151.3 |
|
|
#21 151.3 = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
#21 151.3
|
|
#21 152.7 warning: unused import: `DecodedAudio`
|
|
#21 152.7 --> src/audio/pipeline.rs:12:49
|
|
#21 152.7 |
|
|
#21 152.7 12 | use crate::codecs::{AudioDecoder, AudioEncoder, DecodedAudio, DecoderInfo, EncoderInfo};
|
|
#21 152.7 | ^^^^^^^^^^^^
|
|
#21 152.7 |
|
|
#21 152.7 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `AppError`
|
|
#21 152.7 --> src/audio/pipeline.rs:13:20
|
|
#21 152.7 |
|
|
#21 152.7 13 | use crate::error::{AppError, Result as AppResult};
|
|
#21 152.7 | ^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `std::sync::Arc`
|
|
#21 152.7 --> src/audio/pipeline.rs:14:5
|
|
#21 152.7 |
|
|
#21 152.7 14 | use std::sync::Arc;
|
|
#21 152.7 | ^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `std::time::Duration`
|
|
#21 152.7 --> src/audio/pipeline.rs:16:5
|
|
#21 152.7 |
|
|
#21 152.7 16 | use std::time::Duration;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `Deserialize` and `Serialize`
|
|
#21 152.7 --> src/audio/realtime.rs:4:13
|
|
#21 152.7 |
|
|
#21 152.7 4 | use serde::{Deserialize, Serialize};
|
|
#21 152.7 | ^^^^^^^^^^^ ^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `SystemTime`
|
|
#21 152.7 --> src/audio/realtime.rs:11:36
|
|
#21 152.7 |
|
|
#21 152.7 11 | use std::time::{Duration, Instant, SystemTime};
|
|
#21 152.7 | ^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `effects::*`
|
|
#21 152.7 --> src/audio/mod.rs:12:9
|
|
#21 152.7 |
|
|
#21 152.7 12 | pub use effects::*;
|
|
#21 152.7 | ^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `std::collections::hash_map::DefaultHasher`
|
|
#21 152.7 --> src/cache/audio_cache.rs:2:5
|
|
#21 152.7 |
|
|
#21 152.7 2 | use std::collections::hash_map::DefaultHasher;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `AudioSampleFormat`, `CodecQuality`, and `LatencyMode`
|
|
#21 152.7 --> src/codecs/flac.rs:2:33
|
|
#21 152.7 |
|
|
#21 152.7 2 | AudioDecoder, AudioEncoder, AudioSampleFormat, CodecQuality, DecodedAudio, DecoderConfig,
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^
|
|
#21 152.7 3 | DecoderInfo, EncoderConfig, EncoderInfo, EncoderMetrics, LatencyMode,
|
|
#21 152.7 | ^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `Deserialize` and `Serialize`
|
|
#21 152.7 --> src/codecs/flac.rs:6:13
|
|
#21 152.7 |
|
|
#21 152.7 6 | use serde::{Deserialize, Serialize};
|
|
#21 152.7 | ^^^^^^^^^^^ ^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `std::collections::HashMap`
|
|
#21 152.7 --> src/codecs/flac.rs:14:5
|
|
#21 152.7 |
|
|
#21 152.7 14 | use std::collections::HashMap;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `SystemTime`
|
|
#21 152.7 --> src/codecs/flac.rs:15:26
|
|
#21 152.7 |
|
|
#21 152.7 15 | use std::time::{Instant, SystemTime};
|
|
#21 152.7 | ^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `AudioFrame`, `CodecConfig`, `DecodingResult`, and `EncodingResult`
|
|
#21 152.7 --> src/codecs/mp3.rs:19:33
|
|
#21 152.7 |
|
|
#21 152.7 19 | AudioDecoder, AudioEncoder, AudioFrame, CodecConfig, CodecQuality, DecoderConfig,
|
|
#21 152.7 | ^^^^^^^^^^ ^^^^^^^^^^^
|
|
#21 152.7 20 | DecodingResult, EncoderConfig, EncodingResult,
|
|
#21 152.7 | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `mpsc`
|
|
#21 152.7 --> src/core/buffer.rs:15:19
|
|
#21 152.7 |
|
|
#21 152.7 15 | use tokio::sync::{mpsc, Mutex};
|
|
#21 152.7 | ^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `mpsc`
|
|
#21 152.7 --> src/core/stream.rs:10:30
|
|
#21 152.7 |
|
|
#21 152.7 10 | use tokio::sync::{broadcast, mpsc};
|
|
#21 152.7 | ^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `mpsc`
|
|
#21 152.7 --> src/core/sync.rs:16:30
|
|
#21 152.7 |
|
|
#21 152.7 16 | use tokio::sync::{broadcast, mpsc};
|
|
#21 152.7 | ^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `Error as LapinError` and `ExchangeKind`
|
|
#21 152.7 --> src/event_bus.rs:3:5
|
|
#21 152.7 |
|
|
#21 152.7 3 | Error as LapinError, ExchangeKind,
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `UNIX_EPOCH`
|
|
#21 152.7 --> src/monitoring/alerting.rs:7:39
|
|
#21 152.7 |
|
|
#21 152.7 7 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
|
|
#21 152.7 | ^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `Instant`
|
|
#21 152.7 --> src/monitoring/prometheus_metrics.rs:3:27
|
|
#21 152.7 |
|
|
#21 152.7 3 | use std::time::{Duration, Instant};
|
|
#21 152.7 | ^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `Deserialize` and `Serialize`
|
|
#21 152.7 --> src/monitoring/prometheus_metrics.rs:6:13
|
|
#21 152.7 |
|
|
#21 152.7 6 | use serde::{Deserialize, Serialize};
|
|
#21 152.7 | ^^^^^^^^^^^ ^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `Duration`
|
|
#21 152.7 --> src/monitoring/tracing_module.rs:4:17
|
|
#21 152.7 |
|
|
#21 152.7 4 | use std::time::{Duration, SystemTime};
|
|
#21 152.7 | ^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `SystemHealth`
|
|
#21 152.7 --> src/monitoring/mod.rs:27:35
|
|
#21 152.7 |
|
|
#21 152.7 27 | use health_checks::{HealthConfig, SystemHealth};
|
|
#21 152.7 | ^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: private item shadows public glob re-export
|
|
#21 152.7 --> src/monitoring/mod.rs:27:21
|
|
#21 152.7 |
|
|
#21 152.7 27 | use health_checks::{HealthConfig, SystemHealth};
|
|
#21 152.7 | ^^^^^^^^^^^^
|
|
#21 152.7 |
|
|
#21 152.7 note: the name `HealthConfig` in the type namespace is supposed to be publicly re-exported here
|
|
#21 152.7 --> src/monitoring/mod.rs:14:9
|
|
#21 152.7 |
|
|
#21 152.7 14 | pub use health_checks::*;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^
|
|
#21 152.7 note: but the private item here shadows it
|
|
#21 152.7 --> src/monitoring/mod.rs:27:21
|
|
#21 152.7 |
|
|
#21 152.7 27 | use health_checks::{HealthConfig, SystemHealth};
|
|
#21 152.7 | ^^^^^^^^^^^^
|
|
#21 152.7 = note: `#[warn(hidden_glob_reexports)]` on by default
|
|
#21 152.7
|
|
#21 152.7 warning: private item shadows public glob re-export
|
|
#21 152.7 --> src/monitoring/mod.rs:27:35
|
|
#21 152.7 |
|
|
#21 152.7 27 | use health_checks::{HealthConfig, SystemHealth};
|
|
#21 152.7 | ^^^^^^^^^^^^
|
|
#21 152.7 |
|
|
#21 152.7 note: the name `SystemHealth` in the type namespace is supposed to be publicly re-exported here
|
|
#21 152.7 --> src/monitoring/mod.rs:14:9
|
|
#21 152.7 |
|
|
#21 152.7 14 | pub use health_checks::*;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^
|
|
#21 152.7 note: but the private item here shadows it
|
|
#21 152.7 --> src/monitoring/mod.rs:27:35
|
|
#21 152.7 |
|
|
#21 152.7 27 | use health_checks::{HealthConfig, SystemHealth};
|
|
#21 152.7 | ^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: private item shadows public glob re-export
|
|
#21 152.7 --> src/monitoring/mod.rs:28:5
|
|
#21 152.7 |
|
|
#21 152.7 28 | use tracing_module::TracingConfig;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7 |
|
|
#21 152.7 note: the name `TracingConfig` in the type namespace is supposed to be publicly re-exported here
|
|
#21 152.7 --> src/monitoring/mod.rs:17:9
|
|
#21 152.7 |
|
|
#21 152.7 17 | pub use tracing_module::*;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^
|
|
#21 152.7 note: but the private item here shadows it
|
|
#21 152.7 --> src/monitoring/mod.rs:28:5
|
|
#21 152.7 |
|
|
#21 152.7 28 | use tracing_module::TracingConfig;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused imports: `Deserialize` and `Serialize`
|
|
#21 152.7 --> src/structured_logging.rs:12:13
|
|
#21 152.7 |
|
|
#21 152.7 12 | use serde::{Deserialize, Serialize};
|
|
#21 152.7 | ^^^^^^^^^^^ ^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `std::time::Duration`
|
|
#21 152.7 --> src/structured_logging.rs:15:5
|
|
#21 152.7 |
|
|
#21 152.7 15 | use std::time::Duration;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `format::Writer`
|
|
#21 152.7 --> src/structured_logging.rs:22:17
|
|
#21 152.7 |
|
|
#21 152.7 22 | fmt::{self, format::Writer, time::ChronoUtc},
|
|
#21 152.7 | ^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `uuid::Uuid`
|
|
#21 152.7 --> src/structured_logging.rs:182:9
|
|
#21 152.7 |
|
|
#21 152.7 182 | use uuid::Uuid;
|
|
#21 152.7 | ^^^^^^^^^^
|
|
#21 152.7
|
|
#21 152.7 warning: unused import: `std::collections::HashMap`
|
|
#21 152.7 --> src/lib.rs:27:5
|
|
#21 152.7 |
|
|
#21 152.7 27 | use std::collections::HashMap;
|
|
#21 152.7 | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#21 152.7
|
|
#21 154.0 warning: unused variable: `user_id`
|
|
#21 154.0 --> src/auth/token_validator.rs:256:21
|
|
#21 154.0 |
|
|
#21 154.0 256 | if let Some(user_id) = user_id {
|
|
#21 154.0 | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
|
|
#21 154.0 |
|
|
#21 154.0 = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
|
|
#21 154.0
|
|
#21 154.3 warning: unused variable: `sample_rate`
|
|
#21 154.3 --> src/codecs/mp3.rs:766:13
|
|
#21 154.3 |
|
|
#21 154.3 766 | let sample_rate =
|
|
#21 154.3 | ^^^^^^^^^^^
|
|
#21 154.3 |
|
|
#21 154.3 help: if this is intentional, prefix it with an underscore
|
|
#21 154.3 |
|
|
#21 154.3 766 | let _sample_rate =
|
|
#21 154.3 | +
|
|
#21 154.3 help: you might have meant to pattern match on the similarly named constant `BRANCHES`
|
|
#21 154.3 |
|
|
#21 154.3 766 - let sample_rate =
|
|
#21 154.3 766 + let transcoding::pipeline::queue::PriorityQueue::next_job::{closure#0}::BRANCHES =
|
|
#21 154.3 |
|
|
#21 154.3
|
|
#21 154.3 warning: unused variable: `chunk`
|
|
#21 154.3 --> src/core/buffer.rs:453:25
|
|
#21 154.3 |
|
|
#21 154.3 453 | if let Some(ref chunk) = chunk {
|
|
#21 154.3 | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk`
|
|
#21 154.3
|
|
#21 154.6 warning: unused variable: `client_id`
|
|
#21 154.6 --> src/core/sync.rs:742:9
|
|
#21 154.6 |
|
|
#21 154.6 742 | client_id: Uuid,
|
|
#21 154.6 | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id`
|
|
#21 154.6
|
|
#21 154.6 warning: unused variable: `master_time`
|
|
#21 154.6 --> src/core/sync.rs:743:9
|
|
#21 154.6 |
|
|
#21 154.6 743 | master_time: MasterTime,
|
|
#21 154.6 | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_master_time`
|
|
#21 154.6
|
|
#21 156.1 warning: unused variable: `data`
|
|
#21 156.1 --> src/streaming/websocket.rs:335:43
|
|
#21 156.1 |
|
|
#21 156.1 335 | ... Message::Ping(data) => {
|
|
#21 156.1 | ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
|
#21 156.1
|
|
#21 156.1 warning: unused variable: `conn`
|
|
#21 156.1 --> src/streaming/websocket.rs:337:45
|
|
#21 156.1 |
|
|
#21 156.1 337 | ... if let Some(conn) =
|
|
#21 156.1 | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
|
|
#21 156.1
|
|
#21 156.1 warning: unused variable: `global_sender_clone`
|
|
#21 156.1 --> src/streaming/websocket.rs:289:13
|
|
#21 156.1 |
|
|
#21 156.1 289 | let global_sender_clone = self.global_sender.clone();
|
|
#21 156.1 | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_sender_clone`
|
|
#21 156.1
|
|
#21 156.2 warning: unused variable: `token`
|
|
#21 156.2 --> src/streaming/websocket.rs:673:9
|
|
#21 156.2 |
|
|
#21 156.2 673 | let token = params.token.or_else(|| {
|
|
#21 156.2 | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
|
|
#21 156.2
|
|
#21 156.6 warning: unreachable expression
|
|
#21 156.6 --> src/auth/token_validator.rs:312:9
|
|
#21 156.6 |
|
|
#21 156.6 305 | / panic!(
|
|
#21 156.6 306 | | "TokenValidator::default() cannot be used in production. \
|
|
#21 156.6 307 | | Use TokenValidator::new() with require_env_min_length(\"SECRET_KEY\", 32)"
|
|
#21 156.6 308 | | );
|
|
#21 156.6 | |_____________- any code following this expression is unreachable
|
|
#21 156.6 ...
|
|
#21 156.6 312 | / Self::new(SignatureConfig {
|
|
#21 156.6 313 | | secret_key: "test_secret_key_minimum_32_characters_long".to_string(),
|
|
#21 156.6 314 | | default_ttl: Duration::from_secs(3600), // 1 heure
|
|
#21 156.6 315 | | max_ttl: Duration::from_secs(86400), // 24 heures
|
|
#21 156.6 316 | | })
|
|
#21 156.6 | |__________^ unreachable expression
|
|
#21 156.6 |
|
|
#21 156.6 = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
|
|
#21 156.6
|
|
#21 157.0 warning: unreachable expression
|
|
#21 157.0 --> src/config/mod.rs:219:9
|
|
#21 157.0 |
|
|
#21 157.0 212 | / panic!(
|
|
#21 157.0 213 | | "Config::default() cannot be used in production. \
|
|
#21 157.0 214 | | Use Config::from_env() which requires SECRET_KEY and JWT_SECRET to be set."
|
|
#21 157.0 215 | | );
|
|
#21 157.0 | |_____________- any code following this expression is unreachable
|
|
#21 157.0 ...
|
|
#21 157.0 219 | / Self {
|
|
#21 157.0 220 | | secret_key: "test_secret_key_minimum_32_characters_long".to_string(),
|
|
#21 157.0 221 | | port: 3002,
|
|
#21 157.0 222 | | backend_url: "http://localhost:8080".to_string(),
|
|
#21 157.0 ... |
|
|
#21 157.0 305 | | environment: Environment::Development,
|
|
#21 157.0 306 | | }
|
|
#21 157.0 | |_________^ unreachable expression
|
|
#21 157.0
|
|
#21 158.8 warning: unused import: `AudioEffect`
|
|
#21 158.8 --> src/audio/pipeline.rs:11:29
|
|
#21 158.8 |
|
|
#21 158.8 11 | use crate::audio::effects::{AudioEffect, EffectsChain};
|
|
#21 158.8 | ^^^^^^^^^^^
|
|
#21 158.8
|
|
#21 158.8 warning: unused import: `Hasher`
|
|
#21 158.8 --> src/cache/audio_cache.rs:3:23
|
|
#21 158.8 |
|
|
#21 158.8 3 | use std::hash::{Hash, Hasher};
|
|
#21 158.8 | ^^^^^^
|
|
#21 158.8
|
|
#21 158.8 warning: unused import: `super`
|
|
#21 158.8 --> src/structured_logging.rs:179:9
|
|
#21 158.8 |
|
|
#21 158.8 179 | use super::*;
|
|
#21 158.8 | ^^^^^
|
|
#21 158.8
|
|
#21 159.6 warning: unused variable: `config`
|
|
#21 159.6 --> src/codecs/mp3.rs:579:16
|
|
#21 159.6 |
|
|
#21 159.6 579 | pub fn new(config: DecoderConfig) -> Result<Self, AppError> {
|
|
#21 159.6 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
|
|
#21 159.6
|
|
#21 160.6 warning: unused variable: `resource`
|
|
#21 160.6 --> src/error.rs:449:34
|
|
#21 160.6 |
|
|
#21 160.6 449 | AppError::NotFound { resource } => StreamError::FileNotFound,
|
|
#21 160.6 | ^^^^^^^^ help: try ignoring the field: `resource: _`
|
|
#21 160.6
|
|
#21 160.6 warning: unused variable: `err`
|
|
#21 160.6 --> src/error.rs:513:13
|
|
#21 160.6 |
|
|
#21 160.6 513 | fn from(err: serde_json::Error) -> Self {
|
|
#21 160.6 | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
|
|
#21 160.6
|
|
#21 163.3 warning: `stream_server` (lib) generated 47 warnings
|
|
#21 163.3 error: could not compile `stream_server` (lib) due to 4 previous errors; 47 warnings emitted
|
|
#21 ERROR: process "/bin/sh -c cargo build --release --locked --target x86_64-unknown-linux-musl" did not complete successfully: exit code: 101
|
|
------
|
|
> [stream-server builder 12/12] RUN cargo build --release --locked --target x86_64-unknown-linux-musl:
|
|
160.6 | ^^^^^^^^ help: try ignoring the field: `resource: _`
|
|
160.6
|
|
160.6 warning: unused variable: `err`
|
|
160.6 --> src/error.rs:513:13
|
|
160.6 |
|
|
160.6 513 | fn from(err: serde_json::Error) -> Self {
|
|
160.6 | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
|
|
160.6
|
|
163.3 warning: `stream_server` (lib) generated 47 warnings
|
|
163.3 error: could not compile `stream_server` (lib) due to 4 previous errors; 47 warnings emitted
|
|
------
|
|
failed to solve: process "/bin/sh -c cargo build --release --locked --target x86_64-unknown-linux-musl" did not complete successfully: exit code: 101
|