[INFO] cloning repository https://github.com/sfgwfn1402/video-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sfgwfn1402/video-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsfgwfn1402%2Fvideo-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsfgwfn1402%2Fvideo-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 02f606cc27de54d262081549dc607bf1fbb4dd45
[INFO] checking sfgwfn1402/video-server against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsfgwfn1402%2Fvideo-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sfgwfn1402/video-server
[INFO] finished tweaking git repo https://github.com/sfgwfn1402/video-server
[INFO] tweaked toml for git repo https://github.com/sfgwfn1402/video-server written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sfgwfn1402/video-server on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sfgwfn1402/video-server 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded lebe v0.5.2
[INFO] [stderr]   Downloaded avif-serialize v0.8.5
[INFO] [stderr]   Downloaded tempfile v3.20.0
[INFO] [stderr]   Downloaded axum-core v0.5.2
[INFO] [stderr]   Downloaded arbitrary v1.4.1
[INFO] [stderr]   Downloaded image-webp v0.2.3
[INFO] [stderr]   Downloaded imgref v1.11.0
[INFO] [stderr]   Downloaded zune-jpeg v0.4.19
[INFO] [stderr]   Downloaded av1-grain v0.2.4
[INFO] [stderr]   Downloaded cc v1.2.29
[INFO] [stderr]   Downloaded sysinfo v0.30.13
[INFO] [stderr]   Downloaded reqwest v0.11.27
[INFO] [stderr]   Downloaded axum v0.8.4
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded rgb v0.8.51
[INFO] [stderr]   Downloaded tokio v1.46.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c933586683a3070a68392c0eac2a5ba6d23719f27d93dfb9d5b451b2bd83103f
[INFO] running `Command { std: "docker" "start" "-a" "c933586683a3070a68392c0eac2a5ba6d23719f27d93dfb9d5b451b2bd83103f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c933586683a3070a68392c0eac2a5ba6d23719f27d93dfb9d5b451b2bd83103f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c933586683a3070a68392c0eac2a5ba6d23719f27d93dfb9d5b451b2bd83103f", kill_on_drop: false }`
[INFO] [stdout] c933586683a3070a68392c0eac2a5ba6d23719f27d93dfb9d5b451b2bd83103f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 211188e3f9a3a679a3456463c75ef6b5b72a9771af37a7cdd6658e205c00d38d
[INFO] running `Command { std: "docker" "start" "-a" "211188e3f9a3a679a3456463c75ef6b5b72a9771af37a7cdd6658e205c00d38d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking bitstream-io v2.6.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking weezl v0.1.10
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking imgref v1.11.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking avif-serialize v0.8.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking rgb v0.8.51
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking exr v1.73.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking gif v0.13.3
[INFO] [stderr]     Checking zune-jpeg v0.4.19
[INFO] [stderr]     Checking image-webp v0.2.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking sysinfo v0.30.13
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking av1-grain v0.2.4
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking ravif v0.11.20
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking image v0.25.6
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking video-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `config::AppConfig`
[INFO] [stdout]   --> src/core/mod.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use config::AppConfig;
[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 import: `app::VideoServerApp`
[INFO] [stdout]   --> src/core/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use app::VideoServerApp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stream_handler::*`
[INFO] [stdout]  --> src/services/video/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use stream_handler::*; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `video::*`
[INFO] [stdout]  --> src/services/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use video::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `notification::*`
[INFO] [stdout]  --> src/services/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use notification::*; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config::AppConfig`
[INFO] [stdout]   --> src/core/mod.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub use config::AppConfig;
[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 import: `app::VideoServerApp`
[INFO] [stdout]   --> src/core/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use app::VideoServerApp;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stream_handler::*`
[INFO] [stdout]  --> src/services/video/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use stream_handler::*; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `video::*`
[INFO] [stdout]  --> src/services/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use video::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `notification::*`
[INFO] [stdout]  --> src/services/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use notification::*; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_host`, `with_port`, `with_clips_dir`, and `with_frontend_dir` are never used
[INFO] [stdout]   --> src/core/config.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl AppConfig {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 25 |     /// 创建新的配置
[INFO] [stdout] 26 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn with_host(mut self, host: [u8; 4]) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn with_port(mut self, port: u16) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn with_clips_dir(mut self, dir: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn with_frontend_dir(mut self, dir: &str) -> Self {
[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 `with_config` is never used
[INFO] [stdout]   --> src/core/builder.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl AppBuilder {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn with_config(mut self, config: AppConfig) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClipResponse` is never constructed
[INFO] [stdout]  --> src/models/responses.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ClipResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `check_ffmpeg_supports_reconnect` and `is_realtime_stream` are never used
[INFO] [stdout]    --> src/services/video/snapshot.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl VideoSnapshotService {
[INFO] [stdout]     | ------------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  26 |     fn check_ffmpeg_supports_reconnect() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 414 |     fn is_realtime_stream(url: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StreamProtocol` is never used
[INFO] [stdout]  --> src/services/video/stream_handler.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum StreamProtocol {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RtspTransport` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum RtspTransport {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl RtspTransport {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `StreamHandler` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait StreamHandler {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RTSPHandler` is never constructed
[INFO] [stdout]   --> src/services/video/stream_handler.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct RTSPHandler {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl RTSPHandler {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 53 |     pub fn new(transport: RtspTransport, timeout: Duration, reconnect: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RTMPHandler` is never constructed
[INFO] [stdout]    --> src/services/video/stream_handler.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct RTMPHandler {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl RTMPHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 112 |     pub fn new(chunk_size: usize, live: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HLSHandler` is never constructed
[INFO] [stdout]    --> src/services/video/stream_handler.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct HLSHandler {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 179 | impl HLSHandler {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 180 |     pub fn new(segment_duration: u32, playlist_size: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTTPHandler` is never constructed
[INFO] [stdout]    --> src/services/video/stream_handler.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct HTTPHandler {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl HTTPHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(timeout: Duration) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_handler` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:273:8
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub fn create_handler(url: &str) -> Box<dyn StreamHandler> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_host`, `with_port`, `with_clips_dir`, and `with_frontend_dir` are never used
[INFO] [stdout]   --> src/core/config.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl AppConfig {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 25 |     /// 创建新的配置
[INFO] [stdout] 26 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn with_host(mut self, host: [u8; 4]) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn with_port(mut self, port: u16) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn with_clips_dir(mut self, dir: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn with_frontend_dir(mut self, dir: &str) -> Self {
[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 `with_config` is never used
[INFO] [stdout]   --> src/core/builder.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl AppBuilder {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn with_config(mut self, config: AppConfig) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClipResponse` is never constructed
[INFO] [stdout]  --> src/models/responses.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ClipResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `check_ffmpeg_supports_reconnect` and `is_realtime_stream` are never used
[INFO] [stdout]    --> src/services/video/snapshot.rs:26:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl VideoSnapshotService {
[INFO] [stdout]     | ------------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  26 |     fn check_ffmpeg_supports_reconnect() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 414 |     fn is_realtime_stream(url: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StreamProtocol` is never used
[INFO] [stdout]  --> src/services/video/stream_handler.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum StreamProtocol {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RtspTransport` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum RtspTransport {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl RtspTransport {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `StreamHandler` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub trait StreamHandler {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RTSPHandler` is never constructed
[INFO] [stdout]   --> src/services/video/stream_handler.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct RTSPHandler {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/services/video/stream_handler.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl RTSPHandler {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 53 |     pub fn new(transport: RtspTransport, timeout: Duration, reconnect: bool) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RTMPHandler` is never constructed
[INFO] [stdout]    --> src/services/video/stream_handler.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct RTMPHandler {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl RTMPHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 112 |     pub fn new(chunk_size: usize, live: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HLSHandler` is never constructed
[INFO] [stdout]    --> src/services/video/stream_handler.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub struct HLSHandler {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 179 | impl HLSHandler {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 180 |     pub fn new(segment_duration: u32, playlist_size: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HTTPHandler` is never constructed
[INFO] [stdout]    --> src/services/video/stream_handler.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct HTTPHandler {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl HTTPHandler {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(timeout: Duration) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_handler` is never used
[INFO] [stdout]    --> src/services/video/stream_handler.rs:273:8
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub fn create_handler(url: &str) -> Box<dyn StreamHandler> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.76s
[INFO] running `Command { std: "docker" "inspect" "211188e3f9a3a679a3456463c75ef6b5b72a9771af37a7cdd6658e205c00d38d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "211188e3f9a3a679a3456463c75ef6b5b72a9771af37a7cdd6658e205c00d38d", kill_on_drop: false }`
[INFO] [stdout] 211188e3f9a3a679a3456463c75ef6b5b72a9771af37a7cdd6658e205c00d38d
