[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturr-H%2FFastserve" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arturr-H/Fastserve on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea4b15afab6bd6b75fbe5fce1043c1122dc69d2361a57cefc43a3e9e66f75f6c
[INFO] running `Command { std: "docker" "start" "-a" "ea4b15afab6bd6b75fbe5fce1043c1122dc69d2361a57cefc43a3e9e66f75f6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea4b15afab6bd6b75fbe5fce1043c1122dc69d2361a57cefc43a3e9e66f75f6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea4b15afab6bd6b75fbe5fce1043c1122dc69d2361a57cefc43a3e9e66f75f6c", kill_on_drop: false }`
[INFO] [stdout] ea4b15afab6bd6b75fbe5fce1043c1122dc69d2361a57cefc43a3e9e66f75f6c
[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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 61364bdb1dd6f3593af35c2e3c278a869e1c18d9c3669396c645014fdad7b0f1
[INFO] running `Command { std: "docker" "start" "-a" "61364bdb1dd6f3593af35c2e3c278a869e1c18d9c3669396c645014fdad7b0f1", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[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 once_cell v1.12.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.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 openssl v0.10.40
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling num-bigint v0.2.6
[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-complex v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling idna v0.2.3
[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: unexpected `cfg` condition value: `nightly`
[INFO] [stdout]   --> src/utils.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stdout] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stdout] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     ];
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stdout]   --> src/utils.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stdout] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stdout] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     ];
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "61364bdb1dd6f3593af35c2e3c278a869e1c18d9c3669396c645014fdad7b0f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61364bdb1dd6f3593af35c2e3c278a869e1c18d9c3669396c645014fdad7b0f1", kill_on_drop: false }`
[INFO] [stdout] 61364bdb1dd6f3593af35c2e3c278a869e1c18d9c3669396c645014fdad7b0f1
[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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9120de5446c90793adbf188df901c565a7a3042292beb6cf31cac692e2bf3137
[INFO] running `Command { std: "docker" "start" "-a" "9120de5446c90793adbf188df901c565a7a3042292beb6cf31cac692e2bf3137", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[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: unexpected `cfg` condition value: `nightly`
[INFO] [stdout]   --> src/utils.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stdout] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stdout] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     ];
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stdout]   --> src/utils.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stdout] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stdout] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     ];
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[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: unexpected `cfg` condition value: `nightly`
[INFO] [stdout]   --> src/utils.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stdout] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stdout] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     ];
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stdout]   --> src/utils.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stdout] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stdout] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stdout] ...  |
[INFO] [stdout] 46 | |     ];
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "9120de5446c90793adbf188df901c565a7a3042292beb6cf31cac692e2bf3137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9120de5446c90793adbf188df901c565a7a3042292beb6cf31cac692e2bf3137", kill_on_drop: false }`
[INFO] [stdout] 9120de5446c90793adbf188df901c565a7a3042292beb6cf31cac692e2bf3137
[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" "-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] cadb7f96f71945243118a98f938c547380e53fb6d1716b6fbb6f3eb31bdb9db9
[INFO] running `Command { std: "docker" "start" "-a" "cadb7f96f71945243118a98f938c547380e53fb6d1716b6fbb6f3eb31bdb9db9", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[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: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/utils.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | / lazy_static! {
[INFO] [stderr] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stderr] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stderr] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stderr] ...  |
[INFO] [stderr] 46 | |     ];
[INFO] [stderr] 47 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `nightly`
[INFO] [stderr]   --> src/utils.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | / lazy_static! {
[INFO] [stderr] 14 | |     static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[
[INFO] [stderr] 15 | |     (&400, "Bad Request"),                      (&500, "Internal Server Error"),
[INFO] [stderr] 16 | |     (&401, "Unauthorized"),                     (&501, "Not Implemented"),
[INFO] [stderr] ...  |
[INFO] [stderr] 46 | |     ];
[INFO] [stderr] 47 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]    = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]    = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `fastserve` (lib) generated 3 warnings
[INFO] [stderr] warning: `fastserve` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/fastserve/027f394d96e96ed9/deps/fastserve-027f394d96e96ed9)
[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] 74 | start(ServerOptions { ... })
[INFO] [stdout]    |       -------------   ^^^ expected identifier
[INFO] [stdout]    |       |
[INFO] [stdout]    |       while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `start` in this scope
[INFO] [stdout]   --> src/lib.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | start(ServerOptions { ... })
[INFO] [stdout]    | ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 73 + 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] 74 | start(ServerOptions { ... })
[INFO] [stdout]    |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 73 + 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, E0425.
[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] 234 | 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] 233 + 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] 234 | 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] 233 + 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] 142 | 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] 141 + 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] 142 | 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] 142 | 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] 141 + 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] 192 | 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] 191 + 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] 192 | 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] 192 | 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.22s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cadb7f96f71945243118a98f938c547380e53fb6d1716b6fbb6f3eb31bdb9db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cadb7f96f71945243118a98f938c547380e53fb6d1716b6fbb6f3eb31bdb9db9", kill_on_drop: false }`
[INFO] [stdout] cadb7f96f71945243118a98f938c547380e53fb6d1716b6fbb6f3eb31bdb9db9
