[INFO] fetching crate fastserve 0.2.3...
[INFO] testing fastserve-0.2.3 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate fastserve 0.2.3 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate fastserve 0.2.3 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fastserve 0.2.3
[INFO] finished tweaking crates.io crate fastserve 0.2.3
[INFO] tweaked toml for crates.io crate fastserve 0.2.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 152 packages to latest compatible versions
[INFO] [stderr]       Adding lazy_static v0.1.16 (available: v1.5.0)
[INFO] [stderr]       Adding num v0.2.1 (available: v0.4.3)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be884140dc33cd4ee8cc16d40217c2ae32295791052e964887702baa8aceb302
[INFO] running `Command { std: "docker" "start" "-a" "be884140dc33cd4ee8cc16d40217c2ae32295791052e964887702baa8aceb302", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be884140dc33cd4ee8cc16d40217c2ae32295791052e964887702baa8aceb302", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be884140dc33cd4ee8cc16d40217c2ae32295791052e964887702baa8aceb302", kill_on_drop: false }`
[INFO] [stdout] be884140dc33cd4ee8cc16d40217c2ae32295791052e964887702baa8aceb302
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8abd2ecef0ba58b314aeec20c8d7b341ebfd69e8d0fdd56062d8a9eb0a3dd618
[INFO] running `Command { std: "docker" "start" "-a" "8abd2ecef0ba58b314aeec20c8d7b341ebfd69e8d0fdd56062d8a9eb0a3dd618", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling fastserve v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::guess_response_type;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::utils::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::guess_response_type;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.23s
[INFO] running `Command { std: "docker" "inspect" "8abd2ecef0ba58b314aeec20c8d7b341ebfd69e8d0fdd56062d8a9eb0a3dd618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8abd2ecef0ba58b314aeec20c8d7b341ebfd69e8d0fdd56062d8a9eb0a3dd618", kill_on_drop: false }`
[INFO] [stdout] 8abd2ecef0ba58b314aeec20c8d7b341ebfd69e8d0fdd56062d8a9eb0a3dd618
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13795b07eb769739b189e8c252e830d4945443b3ebbdb1ec716278df0a9f6f13
[INFO] running `Command { std: "docker" "start" "-a" "13795b07eb769739b189e8c252e830d4945443b3ebbdb1ec716278df0a9f6f13", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastserve v0.2.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::guess_response_type;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::utils::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::guess_response_type;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: private item shadows public glob re-export
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::guess_response_type;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::utils::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] note: but the private item here shadows it
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use utils::guess_response_type;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "13795b07eb769739b189e8c252e830d4945443b3ebbdb1ec716278df0a9f6f13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13795b07eb769739b189e8c252e830d4945443b3ebbdb1ec716278df0a9f6f13", kill_on_drop: false }`
[INFO] [stdout] 13795b07eb769739b189e8c252e830d4945443b3ebbdb1ec716278df0a9f6f13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 84ff41f3e1d64ef2cb1086db2ef099329c2b30b0a1bec363c7cae15529a1ab30
[INFO] running `Command { std: "docker" "start" "-a" "84ff41f3e1d64ef2cb1086db2ef099329c2b30b0a1bec363c7cae15529a1ab30", kill_on_drop: false }`
[INFO] [stderr] warning: private item shadows public glob re-export
[INFO] [stderr]   --> src/lib.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use utils::guess_response_type;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here
[INFO] [stderr]   --> src/lib.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub use crate::utils::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] note: but the private item here shadows it
[INFO] [stderr]   --> src/lib.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use utils::guess_response_type;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(hidden_glob_reexports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `fastserve` (lib) generated 1 warning
[INFO] [stderr] warning: `fastserve` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastserve-8fe85f855c20f110)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests fastserve
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - start (line 73) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::expect_headers (line 206) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::respond (line 146) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::log (line 248) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - start (line 73) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]  --> src/lib.rs:74:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | start(ServerOptions { ... })
[INFO] [stdout]   |       -------------   ^^^ expected identifier
[INFO] [stdout]   |       |
[INFO] [stdout]   |       while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found built-in attribute `start`
[INFO] [stdout]  --> src/lib.rs:74:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | start(ServerOptions { ... })
[INFO] [stdout]   | ^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]   |
[INFO] [stdout] 2 + use fastserve::start;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerOptions` in this scope
[INFO] [stdout]  --> src/lib.rs:74:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | start(ServerOptions { ... })
[INFO] [stdout]   |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use fastserve::ServerOptions;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::expect_headers (line 206) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `expect_headers` in this scope
[INFO] [stdout]  --> src/utils.rs:207:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !expect_headers(&mut stream, &headers, vec!["Content-Type", "Content-Length"]) {
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use fastserve::expect_headers;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]  --> src/utils.rs:207:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !expect_headers(&mut stream, &headers, vec!["Content-Type", "Content-Length"]) {
[INFO] [stdout]   |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `headers` in this scope
[INFO] [stdout]  --> src/utils.rs:207:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | if !expect_headers(&mut stream, &headers, vec!["Content-Type", "Content-Length"]) {
[INFO] [stdout]   |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/utils.rs - utils::respond (line 146) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]  --> src/utils.rs:147:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | respond(&mut stream, 200u16, Some(ResponseType::Text), "Hello World");
[INFO] [stdout]   | ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use fastserve::respond;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]  --> src/utils.rs:147:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | respond(&mut stream, 200u16, Some(ResponseType::Text), "Hello World");
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseType`
[INFO] [stdout]  --> src/utils.rs:147:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | respond(&mut stream, 200u16, Some(ResponseType::Text), "Hello World");
[INFO] [stdout]   |                                   ^^^^^^^^^^^^ use of undeclared type `ResponseType`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use fastserve::ResponseType;
[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/utils.rs - utils::log (line 248) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]  --> src/utils.rs:249:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | log(Color::Green, "Hello World");
[INFO] [stdout]   | ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use fastserve::log;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color`
[INFO] [stdout]  --> src/utils.rs:249:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | log(Color::Green, "Hello World");
[INFO] [stdout]   |     ^^^^^ use of undeclared type `Color`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use termcolor::Color;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - start (line 73)
[INFO] [stdout]     src/utils.rs - utils::expect_headers (line 206)
[INFO] [stdout]     src/utils.rs - utils::log (line 248)
[INFO] [stdout]     src/utils.rs - utils::respond (line 146)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "84ff41f3e1d64ef2cb1086db2ef099329c2b30b0a1bec363c7cae15529a1ab30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84ff41f3e1d64ef2cb1086db2ef099329c2b30b0a1bec363c7cae15529a1ab30", kill_on_drop: false }`
[INFO] [stdout] 84ff41f3e1d64ef2cb1086db2ef099329c2b30b0a1bec363c7cae15529a1ab30
