[INFO] cloning repository https://github.com/slime21023/kaserve
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slime21023/kaserve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslime21023%2Fkaserve", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslime21023%2Fkaserve'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed47ee42d2c4d8e29830a48167e9f2f9a5c80762
[INFO] checking slime21023/kaserve/ed47ee42d2c4d8e29830a48167e9f2f9a5c80762 against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslime21023%2Fkaserve" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/slime21023/kaserve
[INFO] finished tweaking git repo https://github.com/slime21023/kaserve
[INFO] tweaked toml for git repo https://github.com/slime21023/kaserve written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/slime21023/kaserve on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/slime21023/kaserve 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 85 packages to latest compatible versions
[INFO] [stderr]       Adding async-compression v0.4.34
[INFO] [stderr]       Adding async-stream v0.3.6
[INFO] [stderr]       Adding async-stream-impl v0.3.6
[INFO] [stderr]       Adding async-trait v0.1.89
[INFO] [stderr]  Downgrading base64 v0.22.1 -> v0.21.7
[INFO] [stderr]       Adding bitflags v1.3.2
[INFO] [stderr]       Adding compression-codecs v0.4.33
[INFO] [stderr]       Adding compression-core v0.4.31
[INFO] [stderr]       Adding core-foundation v0.9.4
[INFO] [stderr]       Adding dashmap v5.5.3 (available: v6.1.0)
[INFO] [stderr]       Adding errno v0.3.14
[INFO] [stderr]       Adding fastrand v2.3.0
[INFO] [stderr]     Updating flate2 v1.1.0 -> v1.1.5
[INFO] [stderr]       Adding foreign-types v0.3.2
[INFO] [stderr]       Adding foreign-types-shared v0.1.1
[INFO] [stderr]       Adding futures v0.3.31
[INFO] [stderr]       Adding futures-channel v0.3.31
[INFO] [stderr]       Adding futures-executor v0.3.31
[INFO] [stderr]       Adding futures-io v0.3.31
[INFO] [stderr]       Adding futures-macro v0.3.31
[INFO] [stderr]       Adding getrandom v0.2.16
[INFO] [stderr]       Adding hashbrown v0.14.5
[INFO] [stderr]       Adding http-body v0.4.6
[INFO] [stderr]       Adding http-range-header v0.3.1
[INFO] [stderr]       Adding hyper v0.14.32 (available: v1.8.1)
[INFO] [stderr]       Adding hyper-rustls v0.24.2 (available: v0.27.7)
[INFO] [stderr]       Adding hyper-tls v0.5.0
[INFO] [stderr]       Adding ipnet v2.11.0
[INFO] [stderr]       Adding linux-raw-sys v0.11.0
[INFO] [stderr]       Adding native-tls v0.2.14
[INFO] [stderr]       Adding openssl v0.10.75
[INFO] [stderr]       Adding openssl-macros v0.1.1
[INFO] [stderr]       Adding openssl-probe v0.1.6
[INFO] [stderr]       Adding openssl-sys v0.9.111
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.24)
[INFO] [stderr]       Adding ring v0.17.14
[INFO] [stderr]       Adding rustix v1.1.2
[INFO] [stderr]       Adding rustls v0.21.12 (available: v0.23.35)
[INFO] [stderr]       Adding rustls-native-certs v0.6.3
[INFO] [stderr]       Adding rustls-pemfile v1.0.4 (available: v2.2.0)
[INFO] [stderr]       Adding rustls-webpki v0.101.7
[INFO] [stderr]       Adding schannel v0.1.28
[INFO] [stderr]       Adding sct v0.7.1
[INFO] [stderr]       Adding security-framework v2.11.1
[INFO] [stderr]       Adding security-framework-sys v2.15.0
[INFO] [stderr]       Adding serde_spanned v0.6.9
[INFO] [stderr]       Adding simd-adler32 v0.3.7
[INFO] [stderr]       Adding sync_wrapper v0.1.2
[INFO] [stderr]       Adding system-configuration v0.5.1
[INFO] [stderr]       Adding system-configuration-sys v0.5.0
[INFO] [stderr]       Adding tempfile v3.23.0
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] [stderr]       Adding thiserror-impl v1.0.69
[INFO] [stderr]       Adding tokio-native-tls v0.3.1
[INFO] [stderr]       Adding tokio-rustls v0.24.1
[INFO] [stderr]       Adding tokio-stream v0.1.17
[INFO] [stderr]       Adding tokio-test v0.4.4
[INFO] [stderr]       Adding toml v0.8.23 (available: v0.9.8)
[INFO] [stderr]       Adding toml_datetime v0.6.11
[INFO] [stderr]       Adding toml_edit v0.22.27
[INFO] [stderr]       Adding toml_write v0.1.2
[INFO] [stderr]       Adding tower v0.4.13 (available: v0.5.2)
[INFO] [stderr]       Adding tower-http v0.4.4 (available: v0.6.7)
[INFO] [stderr]       Adding tower-layer v0.3.3
[INFO] [stderr]       Adding tower-service v0.3.3
[INFO] [stderr]       Adding try-lock v0.2.5
[INFO] [stderr]       Adding untrusted v0.9.0
[INFO] [stderr]       Adding vcpkg v0.2.15
[INFO] [stderr]       Adding want v0.3.1
[INFO] [stderr]       Adding wasm-bindgen-futures v0.4.50 (available: v0.4.55)
[INFO] [stderr]       Adding web-sys v0.3.77 (available: v0.3.82)
[INFO] [stderr]       Adding webpki-roots v0.25.4
[INFO] [stderr]     Updating windows-link v0.1.1 -> v0.2.1
[INFO] [stderr]       Adding windows-sys v0.48.0
[INFO] [stderr]       Adding windows-sys v0.61.2
[INFO] [stderr]       Adding windows-targets v0.48.5
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5
[INFO] [stderr]       Adding winnow v0.7.14
[INFO] [stderr]       Adding winreg v0.50.0
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded compression-core v0.4.31
[INFO] [stderr]   Downloaded tokio-test v0.4.4
[INFO] [stderr]   Downloaded compression-codecs v0.4.33
[INFO] [stderr]   Downloaded async-compression v0.4.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7c016a0dda9d858361c8c2cb5ae3f75bf21534a49fe2992c79cc29adb5475d4
[INFO] running `Command { std: "docker" "start" "-a" "e7c016a0dda9d858361c8c2cb5ae3f75bf21534a49fe2992c79cc29adb5475d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7c016a0dda9d858361c8c2cb5ae3f75bf21534a49fe2992c79cc29adb5475d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7c016a0dda9d858361c8c2cb5ae3f75bf21534a49fe2992c79cc29adb5475d4", kill_on_drop: false }`
[INFO] [stdout] e7c016a0dda9d858361c8c2cb5ae3f75bf21534a49fe2992c79cc29adb5475d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 66db02b9da702568ef6bc2746c41fd08473b71253ae5aaa4a75f42f40cb15086
[INFO] running `Command { std: "docker" "start" "-a" "66db02b9da702568ef6bc2746c41fd08473b71253ae5aaa4a75f42f40cb15086", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking compression-core v0.4.31
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking compression-codecs v0.4.33
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking http-range-header v0.3.1
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking async-compression v0.4.34
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking kaserve v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut encoder = flate2::write::GzEncoder::new(
[INFO] [stdout]    |                       ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:62:23
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut encoder = flate2::write::DeflateEncoder::new(
[INFO] [stdout]    |                       ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]   --> src/utils/logging.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let time_str = chrono::Utc::now().format("%d/%b/%Y:%H:%M:%S %z").to_string();
[INFO] [stdout]    |                        ^^^^^^ use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         flate2::Compression::default(),
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rustls::internal::msgs::enums::Compression;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tower_http::compression::Compression;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Compression`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 53 -         flate2::Compression::default(),
[INFO] [stdout] 53 +         Compression::default(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |         flate2::Compression::default(),
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rustls::internal::msgs::enums::Compression;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tower_http::compression::Compression;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Compression`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 64 -         flate2::Compression::default(),
[INFO] [stdout] 64 +         Compression::default(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::header`
[INFO] [stdout]  --> src/network/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::header;
[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: `info`
[INFO] [stdout]  --> src/handlers/static_files.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, error, info};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]  --> src/handlers/fastcgi.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/handlers/fastcgi.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[INFO] [stdout]   |                      ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::handlers::common::HandlerType`
[INFO] [stdout]  --> src/routing/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::handlers::common::HandlerType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Captures`
[INFO] [stdout]  --> src/routing/rewrite.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use regex::{Regex, Captures};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/routing/rewrite.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/plugins/manager.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, error, info};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PluginContext`
[INFO] [stdout]  --> src/plugins/manager.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::plugins::api::{Plugin, PluginContext, PluginEvent};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::server::Server`
[INFO] [stdout]  --> src/plugins/api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::core::server::Server;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/security/auth.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/security/acl.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[INFO] [stdout]   |                      ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/utils/compression.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> src/utils/logging.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tracing::{info, debug, error, warn, Level};
[INFO] [stdout]   |                     ^^^^^         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError + std::marker::Send + Sync: Sized` is not satisfied
[INFO] [stdout]   --> src/core/server.rs:67:39
[INFO] [stdout]    |
[INFO] [stdout] 67 |         self.plugin_manager.shutdown()?;
[INFO] [stdout]    |                             ----------^ doesn't have a size known at compile-time
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + std::marker::Send + Sync + 'static)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn StdError + std::marker::Send + Sync`
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = note: required for `Box<dyn StdError + std::marker::Send + Sync>` to implement `StdError`
[INFO] [stdout]    = note: required for `Box<dyn StdError>` to implement `From<Box<dyn StdError + std::marker::Send + Sync>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]   --> src/core/eventloop.rs:41:69
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let num_workers = self.config.server.workers.unwrap_or_else(num_cpus::get);
[INFO] [stdout]    |                                                                     ^^^^^^^^ use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_cpus`, use `cargo add num_cpus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/eventloop.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 Self::accept_connections(listener, config).await;
[INFO] [stdout]    |                 ------------------------ ^^^^^^^^ expected `TcpListener`, found `&TcpListener`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: `tokio::net::TcpListener` does not implement `Clone`, so `&tokio::net::TcpListener` was cloned instead
[INFO] [stdout]   --> src/core/eventloop.rs:45:28
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let listener = listener.clone();
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/core/eventloop.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     async fn accept_connections(listener: TcpListener, config: Arc<Config>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::net::TcpStream` in the current scope
[INFO] [stdout]   --> src/network/connection.rs:65:64
[INFO] [stdout]    |
[INFO] [stdout] 65 |             futures::future::ok::<_, hyper::Error>(self.stream.clone())
[INFO] [stdout]    |                                                                ^^^^^ method not found in `tokio::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for struct `StaticFileHandler` in the current scope
[INFO] [stdout]   --> src/network/connection.rs:99:48
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     "static" => static_handler.handle(req).await,
[INFO] [stdout]    |                                                ^^^^^^ method not found in `StaticFileHandler`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/handlers/common.rs:9:14
[INFO] [stdout]    |
[INFO] [stdout]  9 |     async fn handle(&self, request: Request<Body>) -> Result<Response<Body>, Box<dyn Error + Send + Sync>>;
[INFO] [stdout]    |              ------ the method is available for `StaticFileHandler` here
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/handlers/static_files.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct StaticFileHandler {
[INFO] [stdout]    | ---------------------------- method `handle` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Handler` which provides `handle` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::handlers::common::Handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for struct `StaticFileHandler` in the current scope
[INFO] [stdout]    --> src/network/connection.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 static_handler.handle(req).await
[INFO] [stdout]     |                                ^^^^^^ method not found in `StaticFileHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/handlers/common.rs:9:14
[INFO] [stdout]     |
[INFO] [stdout]   9 |     async fn handle(&self, request: Request<Body>) -> Result<Response<Body>, Box<dyn Error + Send + Sync>>;
[INFO] [stdout]     |              ------ the method is available for `StaticFileHandler` here
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/handlers/static_files.rs:16:1
[INFO] [stdout]     |
[INFO] [stdout]  16 | pub struct StaticFileHandler {
[INFO] [stdout]     | ---------------------------- method `handle` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Handler` which provides `handle` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::handlers::common::Handler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError + std::marker::Send + Sync: Sized` is not satisfied
[INFO] [stdout]   --> src/core/server.rs:29:59
[INFO] [stdout]    |
[INFO] [stdout] 29 |         self.plugin_manager.init(Arc::clone(&self.config))?;
[INFO] [stdout]    |                             ------------------------------^ doesn't have a size known at compile-time
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + std::marker::Send + Sync + 'static)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn StdError + std::marker::Send + Sync`
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = note: required for `Box<dyn StdError + std::marker::Send + Sync>` to implement `StdError`
[INFO] [stdout]    = note: required for `Box<dyn StdError>` to implement `From<Box<dyn StdError + std::marker::Send + Sync>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]    --> src/core/config.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 workers: Some(num_cpus::get()),
[INFO] [stdout]     |                               ^^^^^^^^ use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_cpus`, use `cargo add num_cpus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/config.rs:124:49
[INFO] [stdout]     |
[INFO] [stdout] 124 |             .map_err(|e| ConfigError::TomlError(e))?;
[INFO] [stdout]     |                          ---------------------- ^ expected `toml::de::Error`, found `toml::ser::Error`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> src/core/config.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 |     TomlError(#[from] toml::de::Error),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `httpdate`
[INFO] [stdout]   --> src/network/http/response.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 let time_string = httpdate::fmt_http_date(
[INFO] [stdout]    |                                   ^^^^^^^^ use of unresolved module or unlinked crate `httpdate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `httpdate`, use `cargo add httpdate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `dyn Plugin: Clone` is not satisfied
[INFO] [stdout]   --> src/plugins/manager.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |         plugins.get(name).map(|p| Arc::new(Box::clone(p)))
[INFO] [stdout]    |                                            ^^^ the trait `Clone` is not implemented for `dyn Plugin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required for `Box<dyn Plugin>` to implement `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base64`
[INFO] [stdout]   --> src/security/auth.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let decoded = match base64::decode(encoded) {
[INFO] [stdout]    |                             ^^^^^^ use of unresolved module or unlinked crate `base64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/security/auth.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(bytes) => String::from_utf8_lossy(&bytes).to_string(),
[INFO] [stdout]    |                ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/security/auth.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(bytes) => String::from_utf8_lossy(&bytes).to_string(),
[INFO] [stdout]    |             ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut encoder = flate2::write::GzEncoder::new(
[INFO] [stdout]    |                       ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:62:23
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let mut encoder = flate2::write::DeflateEncoder::new(
[INFO] [stdout]    |                       ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/security/acl.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |             AccessCondition::Network(cidr) => {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]   --> src/utils/logging.rs:64:24
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let time_str = chrono::Utc::now().format("%d/%b/%Y:%H:%M:%S %z").to_string();
[INFO] [stdout]    |                        ^^^^^^ use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         flate2::Compression::default(),
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rustls::internal::msgs::enums::Compression;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tower_http::compression::Compression;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Compression`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 53 -         flate2::Compression::default(),
[INFO] [stdout] 53 +         Compression::default(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/utils/compression.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |         flate2::Compression::default(),
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rustls::internal::msgs::enums::Compression;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tower_http::compression::Compression;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Compression`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 64 -         flate2::Compression::default(),
[INFO] [stdout] 64 +         Compression::default(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::header`
[INFO] [stdout]  --> src/network/http/response.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::header;
[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: `info`
[INFO] [stdout]  --> src/handlers/static_files.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::{debug, error, info};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpStream`
[INFO] [stdout]  --> src/handlers/fastcgi.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::net::TcpStream;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/handlers/fastcgi.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[INFO] [stdout]   |                      ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::handlers::common::HandlerType`
[INFO] [stdout]  --> src/routing/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::handlers::common::HandlerType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Captures`
[INFO] [stdout]  --> src/routing/rewrite.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use regex::{Regex, Captures};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/routing/rewrite.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{debug, error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/plugins/manager.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tracing::{debug, error, info};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PluginContext`
[INFO] [stdout]  --> src/plugins/manager.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::plugins::api::{Plugin, PluginContext, PluginEvent};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::server::Server`
[INFO] [stdout]  --> src/plugins/api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::core::server::Server;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/security/auth.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/security/acl.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[INFO] [stdout]   |                      ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/utils/compression.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> src/utils/logging.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tracing::{info, debug, error, warn, Level};
[INFO] [stdout]   |                     ^^^^^         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]   --> src/plugins/api.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn with_plugin_config(mut self, config: serde_json::Value) -> Self {
[INFO] [stdout]    |                                                 ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]   --> src/plugins/api.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub plugin_config: Option<serde_json::Value>,
[INFO] [stdout]    |                               ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kaserve` (bin "kaserve") due to 21 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError + std::marker::Send + Sync: Sized` is not satisfied
[INFO] [stdout]   --> src/core/server.rs:67:39
[INFO] [stdout]    |
[INFO] [stdout] 67 |         self.plugin_manager.shutdown()?;
[INFO] [stdout]    |                             ----------^ doesn't have a size known at compile-time
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + std::marker::Send + Sync + 'static)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn StdError + std::marker::Send + Sync`
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = note: required for `Box<dyn StdError + std::marker::Send + Sync>` to implement `StdError`
[INFO] [stdout]    = note: required for `Box<dyn StdError>` to implement `From<Box<dyn StdError + std::marker::Send + Sync>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]   --> src/core/eventloop.rs:41:69
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let num_workers = self.config.server.workers.unwrap_or_else(num_cpus::get);
[INFO] [stdout]    |                                                                     ^^^^^^^^ use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `num_cpus`, use `cargo add num_cpus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/eventloop.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 Self::accept_connections(listener, config).await;
[INFO] [stdout]    |                 ------------------------ ^^^^^^^^ expected `TcpListener`, found `&TcpListener`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: `tokio::net::TcpListener` does not implement `Clone`, so `&tokio::net::TcpListener` was cloned instead
[INFO] [stdout]   --> src/core/eventloop.rs:45:28
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let listener = listener.clone();
[INFO] [stdout]    |                            ^^^^^^^^
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/core/eventloop.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     async fn accept_connections(listener: TcpListener, config: Arc<Config>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ ---------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::net::TcpStream` in the current scope
[INFO] [stdout]   --> src/network/connection.rs:65:64
[INFO] [stdout]    |
[INFO] [stdout] 65 |             futures::future::ok::<_, hyper::Error>(self.stream.clone())
[INFO] [stdout]    |                                                                ^^^^^ method not found in `tokio::net::TcpStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for struct `StaticFileHandler` in the current scope
[INFO] [stdout]   --> src/network/connection.rs:99:48
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     "static" => static_handler.handle(req).await,
[INFO] [stdout]    |                                                ^^^^^^ method not found in `StaticFileHandler`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/handlers/common.rs:9:14
[INFO] [stdout]    |
[INFO] [stdout]  9 |     async fn handle(&self, request: Request<Body>) -> Result<Response<Body>, Box<dyn Error + Send + Sync>>;
[INFO] [stdout]    |              ------ the method is available for `StaticFileHandler` here
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/handlers/static_files.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct StaticFileHandler {
[INFO] [stdout]    | ---------------------------- method `handle` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Handler` which provides `handle` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::handlers::common::Handler;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for struct `StaticFileHandler` in the current scope
[INFO] [stdout]    --> src/network/connection.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 static_handler.handle(req).await
[INFO] [stdout]     |                                ^^^^^^ method not found in `StaticFileHandler`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/handlers/common.rs:9:14
[INFO] [stdout]     |
[INFO] [stdout]   9 |     async fn handle(&self, request: Request<Body>) -> Result<Response<Body>, Box<dyn Error + Send + Sync>>;
[INFO] [stdout]     |              ------ the method is available for `StaticFileHandler` here
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/handlers/static_files.rs:16:1
[INFO] [stdout]     |
[INFO] [stdout]  16 | pub struct StaticFileHandler {
[INFO] [stdout]     | ---------------------------- method `handle` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Handler` which provides `handle` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::handlers::common::Handler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error: `dyn StdError + std::marker::Send + Sync: Sized` is not satisfied
[INFO] [stdout]   --> src/core/server.rs:29:59
[INFO] [stdout]    |
[INFO] [stdout] 29 |         self.plugin_manager.init(Arc::clone(&self.config))?;
[INFO] [stdout]    |                             ------------------------------^ doesn't have a size known at compile-time
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             this can't be annotated with `?` because it has type `Result<_, Box<(dyn StdError + std::marker::Send + Sync + 'static)>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn StdError + std::marker::Send + Sync`
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = note: required for `Box<dyn StdError + std::marker::Send + Sync>` to implement `StdError`
[INFO] [stdout]    = note: required for `Box<dyn StdError>` to implement `From<Box<dyn StdError + std::marker::Send + Sync>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]    --> src/core/config.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 workers: Some(num_cpus::get()),
[INFO] [stdout]     |                               ^^^^^^^^ use of unresolved module or unlinked crate `num_cpus`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `num_cpus`, use `cargo add num_cpus` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/core/config.rs:124:49
[INFO] [stdout]     |
[INFO] [stdout] 124 |             .map_err(|e| ConfigError::TomlError(e))?;
[INFO] [stdout]     |                          ---------------------- ^ expected `toml::de::Error`, found `toml::ser::Error`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> src/core/config.rs:12:5
[INFO] [stdout]     |
[INFO] [stdout]  12 |     TomlError(#[from] toml::de::Error),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `httpdate`
[INFO] [stdout]   --> src/network/http/response.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 let time_string = httpdate::fmt_http_date(
[INFO] [stdout]    |                                   ^^^^^^^^ use of unresolved module or unlinked crate `httpdate`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `httpdate`, use `cargo add httpdate` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `dyn Plugin: Clone` is not satisfied
[INFO] [stdout]   --> src/plugins/manager.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |         plugins.get(name).map(|p| Arc::new(Box::clone(p)))
[INFO] [stdout]    |                                            ^^^ the trait `Clone` is not implemented for `dyn Plugin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required for `Box<dyn Plugin>` to implement `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base64`
[INFO] [stdout]   --> src/security/auth.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let decoded = match base64::decode(encoded) {
[INFO] [stdout]    |                             ^^^^^^ use of unresolved module or unlinked crate `base64`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/security/auth.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(bytes) => String::from_utf8_lossy(&bytes).to_string(),
[INFO] [stdout]    |                ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/security/auth.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(bytes) => String::from_utf8_lossy(&bytes).to_string(),
[INFO] [stdout]    |             ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/2c0f4860cc86e2354a55ea04e738848168435c90/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cidr`
[INFO] [stdout]   --> src/security/acl.rs:77:38
[INFO] [stdout]    |
[INFO] [stdout] 77 |             AccessCondition::Network(cidr) => {
[INFO] [stdout]    |                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_cidr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]   --> src/plugins/api.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn with_plugin_config(mut self, config: serde_json::Value) -> Self {
[INFO] [stdout]    |                                                 ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]   --> src/plugins/api.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub plugin_config: Option<serde_json::Value>,
[INFO] [stdout]    |                               ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kaserve` (bin "kaserve" test) due to 21 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "66db02b9da702568ef6bc2746c41fd08473b71253ae5aaa4a75f42f40cb15086", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66db02b9da702568ef6bc2746c41fd08473b71253ae5aaa4a75f42f40cb15086", kill_on_drop: false }`
[INFO] [stdout] 66db02b9da702568ef6bc2746c41fd08473b71253ae5aaa4a75f42f40cb15086
