[INFO] cloning repository https://github.com/Arturr-H/Fastserve
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arturr-H/Fastserve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturr-H%2FFastserve", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturr-H%2FFastserve'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b0f9b04b80100d82888f5d0a0b83a777f980517
[INFO] testing Arturr-H/Fastserve against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturr-H%2FFastserve" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Arturr-H/Fastserve on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Arturr-H/Fastserve
[INFO] finished tweaking git repo https://github.com/Arturr-H/Fastserve
[INFO] tweaked toml for git repo https://github.com/Arturr-H/Fastserve written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Arturr-H/Fastserve 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing-core v0.1.27
[INFO] [stderr]   Downloaded hyper v0.14.19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff5a7efa8d9a89bb4f522dd7dd2f3c317e1fa8f7d4cf4b0b58e18536054154f3
[INFO] running `Command { std: "docker" "start" "-a" "ff5a7efa8d9a89bb4f522dd7dd2f3c317e1fa8f7d4cf4b0b58e18536054154f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff5a7efa8d9a89bb4f522dd7dd2f3c317e1fa8f7d4cf4b0b58e18536054154f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff5a7efa8d9a89bb4f522dd7dd2f3c317e1fa8f7d4cf4b0b58e18536054154f3", kill_on_drop: false }`
[INFO] [stdout] ff5a7efa8d9a89bb4f522dd7dd2f3c317e1fa8f7d4cf4b0b58e18536054154f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8e802091cedb01183422afa86dabd54f1ef8a2dcaaf6f84a4a9f3a634bad9dc
[INFO] running `Command { std: "docker" "start" "-a" "c8e802091cedb01183422afa86dabd54f1ef8a2dcaaf6f84a4a9f3a634bad9dc", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling tracing-core v0.1.27
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling fastserve v0.2.1 (/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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.81s
[INFO] running `Command { std: "docker" "inspect" "c8e802091cedb01183422afa86dabd54f1ef8a2dcaaf6f84a4a9f3a634bad9dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8e802091cedb01183422afa86dabd54f1ef8a2dcaaf6f84a4a9f3a634bad9dc", kill_on_drop: false }`
[INFO] [stdout] c8e802091cedb01183422afa86dabd54f1ef8a2dcaaf6f84a4a9f3a634bad9dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0a74ff2882e92c126ef4879634b3310be0c872e67fbb37aee05a8bb9393055f
[INFO] running `Command { std: "docker" "start" "-a" "c0a74ff2882e92c126ef4879634b3310be0c872e67fbb37aee05a8bb9393055f", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[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]    Compiling fastserve v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[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] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "c0a74ff2882e92c126ef4879634b3310be0c872e67fbb37aee05a8bb9393055f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0a74ff2882e92c126ef4879634b3310be0c872e67fbb37aee05a8bb9393055f", kill_on_drop: false }`
[INFO] [stdout] c0a74ff2882e92c126ef4879634b3310be0c872e67fbb37aee05a8bb9393055f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5ffaad65f36b1b529443331c34a45621d10514843a56f98da62c53f7cefcd57a
[INFO] running `Command { std: "docker" "start" "-a" "5ffaad65f36b1b529443331c34a45621d10514843a56f98da62c53f7cefcd57a", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[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.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastserve-330856ad48f554c2)
[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::log (line 233) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::respond (line 141) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::expect_headers (line 191) ... 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::log (line 233) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]  --> src/utils.rs:234: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:234: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] ---- src/utils.rs - utils::respond (line 141) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]  --> src/utils.rs:142: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:142: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:142: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::expect_headers (line 191) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `expect_headers` in this scope
[INFO] [stdout]  --> src/utils.rs:192: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:192: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:192: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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - start (line 73)
[INFO] [stdout]     src/utils.rs - utils::expect_headers (line 191)
[INFO] [stdout]     src/utils.rs - utils::log (line 233)
[INFO] [stdout]     src/utils.rs - utils::respond (line 141)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5ffaad65f36b1b529443331c34a45621d10514843a56f98da62c53f7cefcd57a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ffaad65f36b1b529443331c34a45621d10514843a56f98da62c53f7cefcd57a", kill_on_drop: false }`
[INFO] [stdout] 5ffaad65f36b1b529443331c34a45621d10514843a56f98da62c53f7cefcd57a
[INFO] testing Arturr-H/Fastserve against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturr-H%2FFastserve" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Arturr-H/Fastserve on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Arturr-H/Fastserve
[INFO] finished tweaking git repo https://github.com/Arturr-H/Fastserve
[INFO] tweaked toml for git repo https://github.com/Arturr-H/Fastserve written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Arturr-H/Fastserve 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f21f5e91064bffdfbf683a4a7b3201f4560830b33805ef5eab19ea907a5dbee9
[INFO] running `Command { std: "docker" "start" "-a" "f21f5e91064bffdfbf683a4a7b3201f4560830b33805ef5eab19ea907a5dbee9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f21f5e91064bffdfbf683a4a7b3201f4560830b33805ef5eab19ea907a5dbee9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f21f5e91064bffdfbf683a4a7b3201f4560830b33805ef5eab19ea907a5dbee9", kill_on_drop: false }`
[INFO] [stdout] f21f5e91064bffdfbf683a4a7b3201f4560830b33805ef5eab19ea907a5dbee9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43a8eb2ed058f78067f2cb270a3940eef1b20e60b0c48fa4e0b395c790fdecb0
[INFO] running `Command { std: "docker" "start" "-a" "43a8eb2ed058f78067f2cb270a3940eef1b20e60b0c48fa4e0b395c790fdecb0", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling tracing-core v0.1.27
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling num v0.2.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling fastserve v0.2.1 (/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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.20s
[INFO] running `Command { std: "docker" "inspect" "43a8eb2ed058f78067f2cb270a3940eef1b20e60b0c48fa4e0b395c790fdecb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43a8eb2ed058f78067f2cb270a3940eef1b20e60b0c48fa4e0b395c790fdecb0", kill_on_drop: false }`
[INFO] [stdout] 43a8eb2ed058f78067f2cb270a3940eef1b20e60b0c48fa4e0b395c790fdecb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c7c377dc1a498f23eb25c22e70dbb4c277387d35f8e7f902c1d0b0e4b59b925
[INFO] running `Command { std: "docker" "start" "-a" "4c7c377dc1a498f23eb25c22e70dbb4c277387d35f8e7f902c1d0b0e4b59b925", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr]    Compiling fastserve v0.2.1 (/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: 1 warning emitted
[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] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] running `Command { std: "docker" "inspect" "4c7c377dc1a498f23eb25c22e70dbb4c277387d35f8e7f902c1d0b0e4b59b925", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c7c377dc1a498f23eb25c22e70dbb4c277387d35f8e7f902c1d0b0e4b59b925", kill_on_drop: false }`
[INFO] [stdout] 4c7c377dc1a498f23eb25c22e70dbb4c277387d35f8e7f902c1d0b0e4b59b925
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cbfd627201db5aec4eac47d8f67b4b5bd3f3277b5756288ab8891010efbe256c
[INFO] running `Command { std: "docker" "start" "-a" "cbfd627201db5aec4eac47d8f67b4b5bd3f3277b5756288ab8891010efbe256c", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[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-330856ad48f554c2)
[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 191) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::log (line 233) ... FAILED
[INFO] [stdout] test src/utils.rs - utils::respond (line 141) ... 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 191) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `expect_headers` in this scope
[INFO] [stdout]  --> src/utils.rs:192: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:192: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:192: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::log (line 233) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `log` in this scope
[INFO] [stdout]  --> src/utils.rs:234: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:234: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] ---- src/utils.rs - utils::respond (line 141) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `respond` in this scope
[INFO] [stdout]  --> src/utils.rs:142: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:142: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:142: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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - start (line 73)
[INFO] [stdout]     src/utils.rs - utils::expect_headers (line 191)
[INFO] [stdout]     src/utils.rs - utils::log (line 233)
[INFO] [stdout]     src/utils.rs - utils::respond (line 141)
[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" "cbfd627201db5aec4eac47d8f67b4b5bd3f3277b5756288ab8891010efbe256c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbfd627201db5aec4eac47d8f67b4b5bd3f3277b5756288ab8891010efbe256c", kill_on_drop: false }`
[INFO] [stdout] cbfd627201db5aec4eac47d8f67b4b5bd3f3277b5756288ab8891010efbe256c
