[INFO] cloning repository https://github.com/KenForever1/gen_stream
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KenForever1/gen_stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fgen_stream", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fgen_stream'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bcb16ba5e642894bd1b97072ee8152e24c8896ed
[INFO] checking KenForever1/gen_stream against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fgen_stream" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KenForever1/gen_stream
[INFO] finished tweaking git repo https://github.com/KenForever1/gen_stream
[INFO] tweaked toml for git repo https://github.com/KenForever1/gen_stream written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KenForever1/gen_stream on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KenForever1/gen_stream 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" "+011c518242557d21690f7936b5812318dc2fec47" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking KenForever1/gen_stream against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKenForever1%2Fgen_stream" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KenForever1/gen_stream
[INFO] finished tweaking git repo https://github.com/KenForever1/gen_stream
[INFO] tweaked toml for git repo https://github.com/KenForever1/gen_stream written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KenForever1/gen_stream on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KenForever1/gen_stream 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" "+011c518242557d21690f7936b5812318dc2fec47" "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 tokio-tungstenite v0.27.0
[INFO] [stderr]   Downloaded warp v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10
[INFO] running `Command { std: "docker" "start" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking iri-string v0.7.9
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking rustls-pki-types v1.13.0
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking toml_datetime v0.7.3
[INFO] [stderr]     Checking serde_spanned v1.0.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking toml_writer v1.0.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking path-clean v1.0.1
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking toml_parser v1.0.4
[INFO] [stderr]     Checking toml v0.9.8
[INFO] [stderr]     Checking sysinfo v0.29.11
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tungstenite v0.27.0
[INFO] [stderr]     Checking tungstenite v0.28.0
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-tungstenite v0.27.0
[INFO] [stderr]     Checking tokio-tungstenite v0.28.0
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking warp v0.4.2
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking rtsp-stream-tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::models::StreamConfig`
[INFO] [stdout]    --> src/stream/manager.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |     use crate::models::StreamConfig;
[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: `super::*`
[INFO] [stdout]    --> src/api/middleware.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_running`
[INFO] [stdout]    --> src/server.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let is_running = server.is_mediakit_running().await;
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_running`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stream_id` is never read
[INFO] [stdout]   --> src/stream/manager.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct StreamProcess {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 22 |     child: AsyncChild,
[INFO] [stdout] 23 |     stream_id: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `state` and `stream_manager` are never read
[INFO] [stdout]   --> src/api/handlers.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ApiHandlers {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 16 |     state: Arc<AppState>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     stream_manager: Arc<StreamManager>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_initial_data` is never used
[INFO] [stdout]   --> src/websocket/handler.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 | async fn send_initial_data(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_ping_pong` is never used
[INFO] [stdout]    --> src/websocket/handler.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | async fn handle_ping_pong(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_close` is never used
[INFO] [stdout]    --> src/websocket/handler.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 | async fn handle_close(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/stream/manager.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 | /         state.update_system_status(|status| {
[INFO] [stdout] 433 | |             status.cpu_usage = cpu_usage;
[INFO] [stdout] 434 | |             status.memory_usage = used_memory;
[INFO] [stdout] 435 | |             status.total_memory = total_memory;
[INFO] [stdout] ...   |
[INFO] [stdout] 438 | |             status.last_update = chrono::Utc::now();
[INFO] [stdout] 439 | |         }).await;
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let _ = state.update_system_status(|status| {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stream_id` is never read
[INFO] [stdout]   --> src/stream/manager.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct StreamProcess {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 22 |     child: AsyncChild,
[INFO] [stdout] 23 |     stream_id: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `state` and `stream_manager` are never read
[INFO] [stdout]   --> src/api/handlers.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ApiHandlers {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 16 |     state: Arc<AppState>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     stream_manager: Arc<StreamManager>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_initial_data` is never used
[INFO] [stdout]   --> src/websocket/handler.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 | async fn send_initial_data(
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_ping_pong` is never used
[INFO] [stdout]    --> src/websocket/handler.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | async fn handle_ping_pong(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_close` is never used
[INFO] [stdout]    --> src/websocket/handler.rs:132:10
[INFO] [stdout]     |
[INFO] [stdout] 132 | async fn handle_close(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/stream/manager.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 | /         state.update_system_status(|status| {
[INFO] [stdout] 433 | |             status.cpu_usage = cpu_usage;
[INFO] [stdout] 434 | |             status.memory_usage = used_memory;
[INFO] [stdout] 435 | |             status.total_memory = total_memory;
[INFO] [stdout] ...   |
[INFO] [stdout] 438 | |             status.last_update = chrono::Utc::now();
[INFO] [stdout] 439 | |         }).await;
[INFO] [stdout]     | |________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let _ = state.update_system_status(|status| {
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `loop`
[INFO] [stdout]    --> tests/integration_tests.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             loop: true,
[INFO] [stdout]     |             ^^^^ expected identifier, found keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `loop` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 126 |             r#loop: true,
[INFO] [stdout]     |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `loop`
[INFO] [stdout]    --> tests/integration_tests.rs:170:21
[INFO] [stdout]     |
[INFO] [stdout] 170 |                     loop: true,
[INFO] [stdout]     |                     ^^^^ expected identifier, found keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `loop` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 170 |                     r#loop: true,
[INFO] [stdout]     |                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `loop`
[INFO] [stdout]    --> tests/integration_tests.rs:408:13
[INFO] [stdout]     |
[INFO] [stdout] 408 |             loop: true,
[INFO] [stdout]     |             ^^^^ expected identifier, found keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `loop` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 408 |             r#loop: true,
[INFO] [stdout]     |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rtsp_stream_tool::stream::ProcessManager`, `rtsp_stream_tool::stream::FFmpegCommandBuilder`
[INFO] [stdout]  --> tests/integration_tests.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     stream::{ProcessManager, FFmpegCommandBuilder},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^ no `FFmpegCommandBuilder` in `stream`
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `ProcessManager` in `stream`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           rtsp_stream_tool::stream::ffmpeg::FFmpegCommandBuilder
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rtsp_stream_tool::mediakit`
[INFO] [stdout]    --> tests/integration_tests.rs:199:27
[INFO] [stdout]     |
[INFO] [stdout] 199 |     use rtsp_stream_tool::mediakit::{MediaKitClient, MediaKitConfig, MediaKitManager};
[INFO] [stdout]     |                           ^^^^^^^^ could not find `mediakit` in `rtsp_stream_tool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rtsp_stream_tool::performance`
[INFO] [stdout]    --> tests/integration_tests.rs:263:27
[INFO] [stdout]     |
[INFO] [stdout] 263 |     use rtsp_stream_tool::performance::{PerformanceManager, PerformanceConfig};
[INFO] [stdout]     |                           ^^^^^^^^^^^ could not find `performance` in `rtsp_stream_tool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rtsp_stream_tool::platform`
[INFO] [stdout]    --> tests/integration_tests.rs:333:27
[INFO] [stdout]     |
[INFO] [stdout] 333 |     use rtsp_stream_tool::platform::{Platform, PlatformPaths, PlatformPermissions};
[INFO] [stdout]     |                           ^^^^^^^^ could not find `platform` in `rtsp_stream_tool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rtsp_stream_tool::stream::FFmpegCommandBuilder`, `rtsp_stream_tool::stream::ProcessManager`, `rtsp_stream_tool::platform`, `rtsp_stream_tool::mediakit`, `rtsp_stream_tool::performance`
[INFO] [stdout]  --> tests/unit_tests.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     stream::{FFmpegCommandBuilder, ProcessManager},
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `ProcessManager` in `stream`
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `FFmpegCommandBuilder` in `stream`
[INFO] [stdout] 4 |     error::{AppError, Result},
[INFO] [stdout] 5 |     platform::{Platform, PlatformPaths, PlatformPermissions},
[INFO] [stdout]   |     ^^^^^^^^ could not find `platform` in `rtsp_stream_tool`
[INFO] [stdout] 6 |     mediakit::{MediaKitClient, MediaKitConfig},
[INFO] [stdout]   |     ^^^^^^^^ could not find `mediakit` in `rtsp_stream_tool`
[INFO] [stdout] 7 |     performance::{PerformanceManager, PerformanceConfig},
[INFO] [stdout]   |     ^^^^^^^^^^^ could not find `performance` in `rtsp_stream_tool`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           rtsp_stream_tool::stream::ffmpeg::FFmpegCommandBuilder
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tempfile`
[INFO] [stdout]    --> tests/integration_tests.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |     use tempfile::NamedTempFile;
[INFO] [stdout]     |         ^^^^^^^^ use of unresolved module or unlinked crate `tempfile`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_test`
[INFO] [stdout]   --> tests/unit_tests.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio_test;
[INFO] [stdout]    |     ^^^^^^^^^^ no external crate `tokio_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tempfile`
[INFO] [stdout]    --> tests/unit_tests.rs:411:9
[INFO] [stdout]     |
[INFO] [stdout] 411 |     use tempfile::{NamedTempFile, tempdir};
[INFO] [stdout]     |         ^^^^^^^^ use of unresolved module or unlinked crate `tempfile`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `performance` in `crate`
[INFO] [stdout]    --> tests/unit_tests.rs:287:29
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let limits = crate::performance::ResourceLimits::default();
[INFO] [stdout]     |                             ^^^^^^^^^^^ could not find `performance` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `StreamConfig` is private
[INFO] [stdout]    --> tests/integration_tests.rs:123:55
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let stream_config = rtsp_stream_tool::config::StreamConfig {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^ private struct
[INFO] [stdout]     |
[INFO] [stdout] note: the struct `StreamConfig` is defined here
[INFO] [stdout]    --> src/config.rs:4:5
[INFO] [stdout]     |
[INFO] [stdout]   4 | use crate::models::StreamConfig;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]     |
[INFO] [stdout] 123 -         let stream_config = rtsp_stream_tool::config::StreamConfig {
[INFO] [stdout] 123 +         let stream_config = rtsp_stream_tool::models::StreamConfig {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `StreamConfig` is private
[INFO] [stdout]    --> tests/integration_tests.rs:167:63
[INFO] [stdout]     |
[INFO] [stdout] 167 |                 let stream_config = rtsp_stream_tool::config::StreamConfig {
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^ private struct
[INFO] [stdout]     |
[INFO] [stdout] note: the struct `StreamConfig` is defined here
[INFO] [stdout]    --> src/config.rs:4:5
[INFO] [stdout]     |
[INFO] [stdout]   4 | use crate::models::StreamConfig;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]     |
[INFO] [stdout] 167 -                 let stream_config = rtsp_stream_tool::config::StreamConfig {
[INFO] [stdout] 167 +                 let stream_config = rtsp_stream_tool::models::StreamConfig {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `StreamConfig` is private
[INFO] [stdout]    --> tests/integration_tests.rs:405:55
[INFO] [stdout]     |
[INFO] [stdout] 405 |         let stream_config = rtsp_stream_tool::config::StreamConfig {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^ private struct
[INFO] [stdout]     |
[INFO] [stdout] note: the struct `StreamConfig` is defined here
[INFO] [stdout]    --> src/config.rs:4:5
[INFO] [stdout]     |
[INFO] [stdout]   4 | use crate::models::StreamConfig;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]     |
[INFO] [stdout] 405 -         let stream_config = rtsp_stream_tool::config::StreamConfig {
[INFO] [stdout] 405 +         let stream_config = rtsp_stream_tool::models::StreamConfig {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]    --> tests/integration_tests.rs:390:9
[INFO] [stdout]     |
[INFO] [stdout] 390 |     use std::sync::Arc;
[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: `tokio::sync::RwLock`
[INFO] [stdout]    --> tests/integration_tests.rs:391:9
[INFO] [stdout]     |
[INFO] [stdout] 391 |     use tokio::sync::RwLock;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `performance` in `crate`
[INFO] [stdout]    --> tests/unit_tests.rs:297:33
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let thresholds = crate::performance::AlertThresholds::default();
[INFO] [stdout]     |                                 ^^^^^^^^^^^ could not find `performance` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `StreamConfig` is private
[INFO] [stdout]  --> tests/unit_tests.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     config::{Config, StreamConfig},
[INFO] [stdout]   |                      ^^^^^^^^^^^^ private struct
[INFO] [stdout]   |
[INFO] [stdout] note: the struct `StreamConfig` is defined here
[INFO] [stdout]  --> src/config.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::StreamConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AppError` and `Result`
[INFO] [stdout]  --> tests/unit_tests.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     error::{AppError, Result},
[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: `tokio::sync::RwLock`
[INFO] [stdout]    --> tests/unit_tests.rs:326:9
[INFO] [stdout]     |
[INFO] [stdout] 326 |     use tokio::sync::RwLock;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `start` found for struct `rtsp_stream_tool::server::Server` in the current scope
[INFO] [stdout]   --> tests/integration_tests.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             server.start().await
[INFO] [stdout]    |                    ^^^^^ method not found in `rtsp_stream_tool::server::Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `start` found for struct `rtsp_stream_tool::server::Server` in the current scope
[INFO] [stdout]   --> tests/integration_tests.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |             server.start().await
[INFO] [stdout]    |                    ^^^^^ method not found in `rtsp_stream_tool::server::Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `StreamConfig` has no field named `r#loop`
[INFO] [stdout]    --> tests/integration_tests.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             loop: true,
[INFO] [stdout]     |             ^^^^ `StreamConfig` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `id`, `name`, `codec`, `bitrate`, `resolution` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `StreamConfig` has no field named `r#loop`
[INFO] [stdout]    --> tests/integration_tests.rs:170:21
[INFO] [stdout]     |
[INFO] [stdout] 170 |                     loop: true,
[INFO] [stdout]     |                     ^^^^ `StreamConfig` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `id`, `name`, `codec`, `bitrate`, `resolution` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/unit_tests.rs:340:31
[INFO] [stdout]     |
[INFO] [stdout] 340 |         config.streams.insert("test".to_string(), stream_config);
[INFO] [stdout]     |                        ------ ^^^^^^^^^^^^^^^^^^ expected `usize`, found `String`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/011c518242557d21690f7936b5812318dc2fec47/library/alloc/src/vec/mod.rs:2309:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NamedTempFile` in this scope
[INFO] [stdout]    --> tests/integration_tests.rs:402:29
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let mut temp_file = NamedTempFile::new()?;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ use of undeclared type `NamedTempFile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `StreamConfig` has no field named `r#loop`
[INFO] [stdout]    --> tests/integration_tests.rs:408:13
[INFO] [stdout]     |
[INFO] [stdout] 408 |             loop: true,
[INFO] [stdout]     |             ^^^^ `StreamConfig` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `id`, `name`, `codec`, `bitrate`, `resolution` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_key` found for struct `Vec<rtsp_stream_tool::models::StreamConfig>` in the current scope
[INFO] [stdout]    --> tests/unit_tests.rs:350:39
[INFO] [stdout]     |
[INFO] [stdout] 350 |         assert!(parsed_config.streams.contains_key("test"));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 350 -         assert!(parsed_config.streams.contains_key("test"));
[INFO] [stdout] 350 +         assert!(parsed_config.streams.contains("test"));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/integration_tests.rs:412:31
[INFO] [stdout]     |
[INFO] [stdout] 412 |         config.streams.insert("test".to_string(), stream_config);
[INFO] [stdout]     |                        ------ ^^^^^^^^^^^^^^^^^^ expected `usize`, found `String`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/011c518242557d21690f7936b5812318dc2fec47/library/alloc/src/vec/mod.rs:2309:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/unit_tests.rs:434:31
[INFO] [stdout]     |
[INFO] [stdout] 434 |         config.streams.insert("test".to_string(), stream_config);
[INFO] [stdout]     |                        ------ ^^^^^^^^^^^^^^^^^^ expected `usize`, found `String`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/011c518242557d21690f7936b5812318dc2fec47/library/alloc/src/vec/mod.rs:2309:11
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `start` found for struct `rtsp_stream_tool::server::Server` in the current scope
[INFO] [stdout]    --> tests/integration_tests.rs:417:20
[INFO] [stdout]     |
[INFO] [stdout] 417 |             server.start().await
[INFO] [stdout]     |                    ^^^^^ method not found in `rtsp_stream_tool::server::Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:428:89
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let streams_response = client.get(&format!("{}/streams", base_url)).send().await?;
[INFO] [stdout]     |                                ---------------------------------------------------------^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:432:99
[INFO] [stdout]     |
[INFO] [stdout] 432 |         let start_response = client.post(&format!("{}/streams/test/start", base_url)).send().await?;
[INFO] [stdout]     |                              ---------------------------------------------------------------------^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:440:100
[INFO] [stdout]     |
[INFO] [stdout] 440 |         let status_response = client.get(&format!("{}/streams/test/status", base_url)).send().await?;
[INFO] [stdout]     |                               ---------------------------------------------------------------------^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:444:97
[INFO] [stdout]     |
[INFO] [stdout] 444 |         let stop_response = client.post(&format!("{}/streams/test/stop", base_url)).send().await?;
[INFO] [stdout]     |                             --------------------------------------------------------------------^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rtsp-stream-tool` (test "unit_tests") due to 9 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `start` found for struct `rtsp_stream_tool::server::Server` in the current scope
[INFO] [stdout]    --> tests/integration_tests.rs:462:20
[INFO] [stdout]     |
[INFO] [stdout] 462 |             server.start().await
[INFO] [stdout]     |                    ^^^^^ method not found in `rtsp_stream_tool::server::Server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:471:93
[INFO] [stdout]     |
[INFO] [stdout] 471 |         let response = client.get(&format!("{}/streams/nonexistent", base_url)).send().await?;
[INFO] [stdout]     |                        ---------------------------------------------------------------------^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:482:26
[INFO] [stdout]     |
[INFO] [stdout] 480 |           let response = client.post(&format!("{}/streams", base_url))
[INFO] [stdout]     |  ________________________-
[INFO] [stdout] 481 | |             .json(&invalid_config)
[INFO] [stdout] 482 | |             .send().await?;
[INFO] [stdout]     | |                         -^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     | |_________________________|
[INFO] [stdout]     |                           this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AppError`
[INFO] [stdout]    --> tests/integration_tests.rs:486:99
[INFO] [stdout]     |
[INFO] [stdout] 486 |         let response = client.post(&format!("{}/streams/nonexistent/stop", base_url)).send().await?;
[INFO] [stdout]     |                        ---------------------------------------------------------------------------^ the trait `From<reqwest::Error>` is not implemented for `AppError`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this can't be annotated with `?` because it has type `Result<_, reqwest::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] help: `AppError` implements trait `From<T>`
[INFO] [stdout]    --> src/error.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl From<std::io::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<std::io::Error>`
[INFO] [stdout] ...
[INFO] [stdout]  40 | impl From<serde_json::Error> for AppError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `From<serde_json::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0560, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rtsp-stream-tool` (test "integration_tests") due to 27 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10", kill_on_drop: false }`
[INFO] [stdout] 86c0665e21d35ca8f6718fdc77958f57ade798d0e9bf25bc53369182a0941d10
