[INFO] fetching crate sunweb_core 0.4.0... [INFO] testing sunweb_core-0.4.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate sunweb_core 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate sunweb_core 0.4.0 [INFO] finished tweaking crates.io crate sunweb_core 0.4.0 [INFO] tweaked toml for crates.io crate sunweb_core 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sunweb_core 0.4.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sunweb_core 0.4.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.3.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d78dbc7ee5595f92d857818bafbfc88ae0953ebbf4976f5a23fa440dc8a50669 [INFO] running `Command { std: "docker" "start" "-a" "d78dbc7ee5595f92d857818bafbfc88ae0953ebbf4976f5a23fa440dc8a50669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d78dbc7ee5595f92d857818bafbfc88ae0953ebbf4976f5a23fa440dc8a50669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78dbc7ee5595f92d857818bafbfc88ae0953ebbf4976f5a23fa440dc8a50669", kill_on_drop: false }` [INFO] [stdout] d78dbc7ee5595f92d857818bafbfc88ae0953ebbf4976f5a23fa440dc8a50669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e24902cd9b5cbb4960bc13a6dfb972b555981d734db626565d4268d6f2963a [INFO] running `Command { std: "docker" "start" "-a" "23e24902cd9b5cbb4960bc13a6dfb972b555981d734db626565d4268d6f2963a", kill_on_drop: false }` [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling inventory v0.3.22 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling sunweb_core v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.76s [INFO] running `Command { std: "docker" "inspect" "23e24902cd9b5cbb4960bc13a6dfb972b555981d734db626565d4268d6f2963a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e24902cd9b5cbb4960bc13a6dfb972b555981d734db626565d4268d6f2963a", kill_on_drop: false }` [INFO] [stdout] 23e24902cd9b5cbb4960bc13a6dfb972b555981d734db626565d4268d6f2963a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8746d89717c4d082bc2059385847bf2e0a52fa1444b0ad77cf049aef8a4b7e [INFO] running `Command { std: "docker" "start" "-a" "8b8746d89717c4d082bc2059385847bf2e0a52fa1444b0ad77cf049aef8a4b7e", kill_on_drop: false }` [INFO] [stderr] Compiling sunweb_core v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "8b8746d89717c4d082bc2059385847bf2e0a52fa1444b0ad77cf049aef8a4b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8746d89717c4d082bc2059385847bf2e0a52fa1444b0ad77cf049aef8a4b7e", kill_on_drop: false }` [INFO] [stdout] 8b8746d89717c4d082bc2059385847bf2e0a52fa1444b0ad77cf049aef8a4b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69d596e1f5f5ae878ee99abff2b7e0831b3ba6ce4b47e083ac8d25d277939ca1 [INFO] running `Command { std: "docker" "start" "-a" "69d596e1f5f5ae878ee99abff2b7e0831b3ba6ce4b47e083ac8d25d277939ca1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sunweb_core-134fefb9a9e4772e) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests sunweb_core [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 60 tests [INFO] [stdout] test src/app/builder/mod.rs - app::builder::AppBuilder (line 13) ... ignored [INFO] [stdout] test src/app/builder/mod.rs - app::builder::AppBuilder (line 28) ... ignored [INFO] [stdout] test src/http_packet/body/mod.rs - http_packet::body::Body::as_form (line 49) ... ignored [INFO] [stdout] test src/http_packet/body/mod.rs - http_packet::body::Body::as_json (line 34) ... ignored [INFO] [stdout] test src/http_packet/body/mod.rs - http_packet::body::Body::parse (line 78) ... ignored [INFO] [stdout] test src/http_packet/header/content_types/audio.rs - http_packet::header::content_types::audio::AudioSubType::from_str (line 49) ... FAILED [INFO] [stdout] test src/app/server/files/mod.rs - app::server::files::get_file_content (line 112) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/application.rs - http_packet::header::content_types::application::ApplicationSubType (line 10) ... FAILED [INFO] [stdout] test src/http_packet/header/connection.rs - http_packet::header::connection::ConnectionType (line 12) ... FAILED [INFO] [stdout] test src/app/config/mod.rs - app::config::ServerConfig::new (line 44) ... FAILED [INFO] [stdout] test src/app/config/mod.rs - app::config::ServerConfig::set_base_domain (line 130) ... FAILED [INFO] [stdout] test src/app/server/proxy/mod.rs - app::server::proxy::Proxy::send_http_request (line 137) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/image.rs - http_packet::header::content_types::image::ImageSubType (line 10) ... FAILED [INFO] [stdout] test src/app/config/mod.rs - app::config::ServerConfig::add_cert (line 80) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/font.rs - http_packet::header::content_types::font::FontSubType::from_str (line 43) ... FAILED [INFO] [stdout] test src/app/server/proxy/mod.rs - app::server::proxy::Proxy::new (line 50) ... FAILED [INFO] [stdout] test src/app/config/mod.rs - app::config::ServerConfig (line 12) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/audio.rs - http_packet::header::content_types::audio::AudioSubType (line 11) ... FAILED [INFO] [stdout] test src/app/server/files/mod.rs - app::server::files::get_static_file_content (line 43) ... FAILED [INFO] [stdout] test src/http_packet/header/mod.rs - http_packet::header::HTTPHeader::set_cache_control (line 142) ... ignored [INFO] [stdout] test src/http_packet/header/mod.rs - http_packet::header::HTTPHeader::set_csp (line 185) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::cookie (line 370) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::form (line 344) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::form_as (line 354) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::param (line 310) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::param_as (line 321) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::query (line 274) ... ignored [INFO] [stdout] test src/http_packet/requests/mod.rs - http_packet::requests::HTTPRequest::query_as (line 286) ... ignored [INFO] [stdout] test src/http_packet/responses/mod.rs - http_packet::responses::Response (line 30) ... ignored [INFO] [stdout] test src/http_packet/responses/mod.rs - http_packet::responses::Response::set_cache_control (line 182) ... ignored [INFO] [stdout] test src/http_packet/responses/mod.rs - http_packet::responses::Response::set_csp (line 218) ... ignored [INFO] [stdout] test src/http_packet/responses/response_types/mod.rs - http_packet::responses::response_types::HtmlResponse (line 33) ... ignored [INFO] [stdout] test src/http_packet/responses/response_types/mod.rs - http_packet::responses::response_types::ImageResponse (line 191) ... ignored [INFO] [stdout] test src/http_packet/responses/response_types/mod.rs - http_packet::responses::response_types::JsonResponse (line 90) ... ignored [INFO] [stdout] test src/http_packet/responses/response_types/mod.rs - http_packet::responses::response_types::NoContentResponse (line 309) ... ignored [INFO] [stdout] test src/http_packet/responses/response_types/mod.rs - http_packet::responses::response_types::PlainTextResponse (line 139) ... ignored [INFO] [stdout] test src/http_packet/responses/response_types/mod.rs - http_packet::responses::response_types::RedirectResponse (line 254) ... ignored [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::path (line 203) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/mod.rs - http_packet::header::content_types (line 14) ... FAILED [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::expires (line 135) ... FAILED [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::same_site (line 227) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/text.rs - http_packet::header::content_types::text::TextSubType (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - parse_addr (line 31) ... ignored [INFO] [stdout] test src/logger/mod.rs - logger::Logger (line 30) ... ignored [INFO] [stdout] test src/logger/mod.rs - logger::Logger::init (line 51) ... ignored [INFO] [stdout] test src/http_packet/header/http_method.rs - http_packet::header::http_method::HTTPMethod::from_str (line 45) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/multipart.rs - http_packet::header::content_types::multipart::MultipartSubType (line 10) ... FAILED [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::secure (line 157) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/video.rs - http_packet::header::content_types::video::VideoSubType (line 10) ... FAILED [INFO] [stdout] test src/http_packet/header/content_types/font.rs - http_packet::header::content_types::font::FontSubType (line 11) ... FAILED [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::as_string (line 84) ... FAILED [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::new (line 54) ... FAILED [INFO] [stdout] test src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::http_only (line 179) ... FAILED [INFO] [stdout] test src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::fmt (line 311) ... FAILED [INFO] [stdout] test src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode (line 85) ... FAILED [INFO] [stdout] test src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::equals (line 416) ... FAILED [INFO] [stdout] test src/http_packet/responses/status_code.rs - http_packet::responses::status_code (line 16) ... FAILED [INFO] [stdout] test src/http_packet/header/http_method.rs - http_packet::header::http_method::HTTPMethod::fmt (line 75) ... FAILED [INFO] [stdout] test src/app/server/proxy/mod.rs - app::server::proxy::Proxy::parse_http_response_bytes (line 241) ... FAILED [INFO] [stdout] test src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::as_u16 (line 441) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/http_packet/header/content_types/audio.rs - http_packet::header::content_types::audio::AudioSubType::from_str (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/http_packet/header/content_types/audio.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use your_crate::AudioSubType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/server/files/mod.rs - app::server::files::get_file_content (line 112) stdout ---- [INFO] [stdout] error[E0433]: cannot find `server` in `crate` [INFO] [stdout] --> src/app/server/files/mod.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | use crate::server::files::get_file_content; [INFO] [stdout] | ^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 115 | use crate::rustls::server::files::get_file_content; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/application.rs - http_packet::header::content_types::application::ApplicationSubType (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/application.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use http_packet::header::content_types::application::ApplicationSubType; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/connection.rs - http_packet::header::connection::ConnectionType (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http_packet::header::connection::ConnectionType; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/config/mod.rs - app::config::ServerConfig::new (line 44) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sunweb` in this scope [INFO] [stdout] --> src/app/config/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use sunweb::server::server_config::ServerConfig; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/config/mod.rs - app::config::ServerConfig::set_base_domain (line 130) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sunweb` in this scope [INFO] [stdout] --> src/app/config/mod.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | use sunweb::server::server_config::ServerConfig; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/server/proxy/mod.rs - app::server::proxy::Proxy::send_http_request (line 137) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Proxy` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | let mut stream = Proxy::connect_to_server("example.com", 80)?; [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sunweb_core::RouteRegistration::Proxy` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 138 - let mut stream = Proxy::connect_to_server("example.com", 80)?; [INFO] [stdout] 138 + let mut stream = sunweb_core::RouteRegistration::connect_to_server("example.com", 80)?; [INFO] [stdout] | [INFO] [stdout] 138 - let mut stream = Proxy::connect_to_server("example.com", 80)?; [INFO] [stdout] 138 + let mut stream = sunweb_core::app::server::routes::RouteType::connect_to_server("example.com", 80)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Proxy` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | let raw = Proxy::send_http_request(&mut stream, "/index.html", "example.com")?; [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sunweb_core::RouteRegistration::Proxy` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 139 - let raw = Proxy::send_http_request(&mut stream, "/index.html", "example.com")?; [INFO] [stdout] 139 + let raw = sunweb_core::RouteRegistration::send_http_request(&mut stream, "/index.html", "example.com")?; [INFO] [stdout] | [INFO] [stdout] 139 - let raw = Proxy::send_http_request(&mut stream, "/index.html", "example.com")?; [INFO] [stdout] 139 + let raw = sunweb_core::app::server::routes::RouteType::send_http_request(&mut stream, "/index.html", "example.com")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Proxy` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | let (body, mime) = Proxy::parse_http_response_bytes(&raw); [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sunweb_core::RouteRegistration::Proxy` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 140 - let (body, mime) = Proxy::parse_http_response_bytes(&raw); [INFO] [stdout] 140 + let (body, mime) = sunweb_core::RouteRegistration::parse_http_response_bytes(&raw); [INFO] [stdout] | [INFO] [stdout] 140 - let (body, mime) = Proxy::parse_http_response_bytes(&raw); [INFO] [stdout] 140 + let (body, mime) = sunweb_core::app::server::routes::RouteType::parse_http_response_bytes(&raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/image.rs - http_packet::header::content_types::image::ImageSubType (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/image.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use http_packet::header::content_types::image::ImageSubType; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/config/mod.rs - app::config::ServerConfig::add_cert (line 80) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sunweb` in this scope [INFO] [stdout] --> src/app/config/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | use sunweb::server::server_config::ServerConfig; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/font.rs - http_packet::header::content_types::font::FontSubType::from_str (line 43) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/http_packet/header/content_types/font.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use your_crate::FontSubType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/server/proxy/mod.rs - app::server::proxy::Proxy::new (line 50) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Proxy` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut p = Proxy::new("https://example.com/api".into()); [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sunweb_core::RouteRegistration::Proxy` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 51 - let mut p = Proxy::new("https://example.com/api".into()); [INFO] [stdout] 51 + let mut p = sunweb_core::RouteRegistration::new("https://example.com/api".into()); [INFO] [stdout] | [INFO] [stdout] 51 - let mut p = Proxy::new("https://example.com/api".into()); [INFO] [stdout] 51 + let mut p = sunweb_core::app::server::routes::RouteType::new("https://example.com/api".into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/config/mod.rs - app::config::ServerConfig (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `sunweb` in this scope [INFO] [stdout] --> src/app/config/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sunweb::server::server_config::ServerConfig; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/audio.rs - http_packet::header::content_types::audio::AudioSubType (line 11) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `AudioSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/audio.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let a = AudioSubType::from_str("mp3").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AudioSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::audio::AudioSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AudioSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/audio.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(a, AudioSubType::Mpeg); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AudioSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::audio::AudioSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AudioSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/audio.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let unknown = AudioSubType::from_str("opus").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AudioSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::audio::AudioSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AudioSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/audio.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(unknown, AudioSubType::Other("opus".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AudioSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::audio::AudioSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/server/files/mod.rs - app::server::files::get_static_file_content (line 43) stdout ---- [INFO] [stdout] error[E0433]: cannot find `server` in `crate` [INFO] [stdout] --> src/app/server/files/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::server::files::get_static_file_content; [INFO] [stdout] | ^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 47 | use crate::rustls::server::files::get_static_file_content; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/app/server/files/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use tempfile::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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::path (line 203) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | use webserver::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/mod.rs - http_packet::header::content_types (line 14) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use http_packet::header::content_types::{ContentType, text::TextSubType}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::expires (line 135) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | use webserver::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::same_site (line 227) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | use webserver::cookie::{Cookie, SameSite}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/text.rs - http_packet::header::content_types::text::TextSubType (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/text.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use http_packet::header::content_types::text::TextSubType; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/http_method.rs - http_packet::header::http_method::HTTPMethod::from_str (line 45) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [INFO] [stdout] --> src/http_packet/header/http_method.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use your_crate::webserver::route::HTTPMethod; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/multipart.rs - http_packet::header::content_types::multipart::MultipartSubType (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/multipart.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use http_packet::header::content_types::multipart::MultipartSubType; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::secure (line 157) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | use webserver::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/video.rs - http_packet::header::content_types::video::VideoSubType (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `http_packet` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/video.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use http_packet::header::content_types::video::VideoSubType; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_packet` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `http_packet`, use `cargo add http_packet` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/content_types/font.rs - http_packet::header::content_types::font::FontSubType (line 11) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `FontSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/font.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let f = FontSubType::from_str("woff2").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FontSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::font::FontSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FontSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/font.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(f, FontSubType::Woff2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FontSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::font::FontSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FontSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/font.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let unknown = FontSubType::from_str("bitmap").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FontSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::font::FontSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FontSubType` in this scope [INFO] [stdout] --> src/http_packet/header/content_types/font.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(unknown, FontSubType::Other("bitmap".to_string())); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FontSubType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 11 + use sunweb_core::http_packet::header::content_types::font::FontSubType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::as_string (line 84) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | use webserver::cookie::{Cookie, SameSite}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::new (line 54) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use webserver::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::http_only (line 179) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webserver` in this scope [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | use webserver::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `webserver` [INFO] [stdout] --> src/http_packet/header/headers/cookie.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | use webserver::Domain; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `webserver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webserver`, use `cargo add webserver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::fmt (line 311) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sunweb` [INFO] [stdout] --> src/http_packet/responses/status_code.rs:312:5 [INFO] [stdout] | [INFO] [stdout] 312 | use sunweb::StatusCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode (line 85) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sunweb` [INFO] [stdout] --> src/http_packet/responses/status_code.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | use sunweb::StatusCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::equals (line 416) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sunweb` [INFO] [stdout] --> src/http_packet/responses/status_code.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | use sunweb::StatusCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/responses/status_code.rs - http_packet::responses::status_code (line 16) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sunweb` [INFO] [stdout] --> src/http_packet/responses/status_code.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunweb::StatusCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/header/http_method.rs - http_packet::header::http_method::HTTPMethod::fmt (line 75) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [INFO] [stdout] --> src/http_packet/header/http_method.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | use your_crate::webserver::route::HTTPMethod; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/app/server/proxy/mod.rs - app::server::proxy::Proxy::parse_http_response_bytes (line 241) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tls_stream` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | let raw = Proxy::send_https_request(&mut tls_stream, "/api", "api.example.com")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Proxy` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | let raw = Proxy::send_https_request(&mut tls_stream, "/api", "api.example.com")?; [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sunweb_core::RouteRegistration::Proxy` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 242 - let raw = Proxy::send_https_request(&mut tls_stream, "/api", "api.example.com")?; [INFO] [stdout] 242 + let raw = sunweb_core::RouteRegistration::send_https_request(&mut tls_stream, "/api", "api.example.com")?; [INFO] [stdout] | [INFO] [stdout] 242 - let raw = Proxy::send_https_request(&mut tls_stream, "/api", "api.example.com")?; [INFO] [stdout] 242 + let raw = sunweb_core::app::server::routes::RouteType::send_https_request(&mut tls_stream, "/api", "api.example.com")?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Proxy` in this scope [INFO] [stdout] --> src/app/server/proxy/mod.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | let (json, _mime) = Proxy::parse_http_response_bytes(&raw); [INFO] [stdout] | ^^^^^ use of undeclared type `Proxy` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `sunweb_core::RouteRegistration::Proxy` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 243 - let (json, _mime) = Proxy::parse_http_response_bytes(&raw); [INFO] [stdout] 243 + let (json, _mime) = sunweb_core::RouteRegistration::parse_http_response_bytes(&raw); [INFO] [stdout] | [INFO] [stdout] 243 - let (json, _mime) = Proxy::parse_http_response_bytes(&raw); [INFO] [stdout] 243 + let (json, _mime) = sunweb_core::app::server::routes::RouteType::parse_http_response_bytes(&raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::as_u16 (line 441) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `sunweb` [INFO] [stdout] --> src/http_packet/responses/status_code.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | use sunweb::StatusCode; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sunweb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sunweb`, use `cargo add sunweb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/app/config/mod.rs - app::config::ServerConfig (line 12) [INFO] [stdout] src/app/config/mod.rs - app::config::ServerConfig::add_cert (line 80) [INFO] [stdout] src/app/config/mod.rs - app::config::ServerConfig::new (line 44) [INFO] [stdout] src/app/config/mod.rs - app::config::ServerConfig::set_base_domain (line 130) [INFO] [stdout] src/app/server/files/mod.rs - app::server::files::get_file_content (line 112) [INFO] [stdout] src/app/server/files/mod.rs - app::server::files::get_static_file_content (line 43) [INFO] [stdout] src/app/server/proxy/mod.rs - app::server::proxy::Proxy::new (line 50) [INFO] [stdout] src/app/server/proxy/mod.rs - app::server::proxy::Proxy::parse_http_response_bytes (line 241) [INFO] [stdout] src/app/server/proxy/mod.rs - app::server::proxy::Proxy::send_http_request (line 137) [INFO] [stdout] src/http_packet/header/connection.rs - http_packet::header::connection::ConnectionType (line 12) [INFO] [stdout] src/http_packet/header/content_types/application.rs - http_packet::header::content_types::application::ApplicationSubType (line 10) [INFO] [stdout] src/http_packet/header/content_types/audio.rs - http_packet::header::content_types::audio::AudioSubType (line 11) [INFO] [stdout] src/http_packet/header/content_types/audio.rs - http_packet::header::content_types::audio::AudioSubType::from_str (line 49) [INFO] [stdout] src/http_packet/header/content_types/font.rs - http_packet::header::content_types::font::FontSubType (line 11) [INFO] [stdout] src/http_packet/header/content_types/font.rs - http_packet::header::content_types::font::FontSubType::from_str (line 43) [INFO] [stdout] src/http_packet/header/content_types/image.rs - http_packet::header::content_types::image::ImageSubType (line 10) [INFO] [stdout] src/http_packet/header/content_types/mod.rs - http_packet::header::content_types (line 14) [INFO] [stdout] src/http_packet/header/content_types/multipart.rs - http_packet::header::content_types::multipart::MultipartSubType (line 10) [INFO] [stdout] src/http_packet/header/content_types/text.rs - http_packet::header::content_types::text::TextSubType (line 10) [INFO] [stdout] src/http_packet/header/content_types/video.rs - http_packet::header::content_types::video::VideoSubType (line 10) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::as_string (line 84) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::expires (line 135) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::http_only (line 179) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::new (line 54) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::path (line 203) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::same_site (line 227) [INFO] [stdout] src/http_packet/header/headers/cookie.rs - http_packet::header::headers::cookie::Cookie::secure (line 157) [INFO] [stdout] src/http_packet/header/http_method.rs - http_packet::header::http_method::HTTPMethod::fmt (line 75) [INFO] [stdout] src/http_packet/header/http_method.rs - http_packet::header::http_method::HTTPMethod::from_str (line 45) [INFO] [stdout] src/http_packet/responses/status_code.rs - http_packet::responses::status_code (line 16) [INFO] [stdout] src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode (line 85) [INFO] [stdout] src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::as_u16 (line 441) [INFO] [stdout] src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::equals (line 416) [INFO] [stdout] src/http_packet/responses/status_code.rs - http_packet::responses::status_code::StatusCode::fmt (line 311) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 34 failed; 26 ignored; 0 measured; 0 filtered out; finished in 1.06s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.34s; merged doctests compilation took 0.27s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "69d596e1f5f5ae878ee99abff2b7e0831b3ba6ce4b47e083ac8d25d277939ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d596e1f5f5ae878ee99abff2b7e0831b3ba6ce4b47e083ac8d25d277939ca1", kill_on_drop: false }` [INFO] [stdout] 69d596e1f5f5ae878ee99abff2b7e0831b3ba6ce4b47e083ac8d25d277939ca1