[INFO] fetching crate lucifer 0.1.0...
[INFO] checking lucifer-0.1.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate lucifer 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate lucifer 0.1.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lucifer 0.1.0
[INFO] finished tweaking crates.io crate lucifer 0.1.0
[INFO] tweaked toml for crates.io crate lucifer 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb7ecb94906367ee6fec261e3195affd6f2ab44c1db4622956a1d847b7eb2db9
[INFO] running `Command { std: "docker" "start" "-a" "fb7ecb94906367ee6fec261e3195affd6f2ab44c1db4622956a1d847b7eb2db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb7ecb94906367ee6fec261e3195affd6f2ab44c1db4622956a1d847b7eb2db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb7ecb94906367ee6fec261e3195affd6f2ab44c1db4622956a1d847b7eb2db9", kill_on_drop: false }`
[INFO] [stdout] fb7ecb94906367ee6fec261e3195affd6f2ab44c1db4622956a1d847b7eb2db9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52895e2f3b581c8feb5d6c627877e7ab35e042de83abab1d38b651eec76bdf03
[INFO] running `Command { std: "docker" "start" "-a" "52895e2f3b581c8feb5d6c627877e7ab35e042de83abab1d38b651eec76bdf03", kill_on_drop: false }`
[INFO] [stderr]     Checking lucifer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<dyn Middleware+Sync+Send>>
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b dyn Fn(Request, Args) -> Response
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<dyn Middleware+Sync+Send>>
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b dyn Fn(Request, Args) -> Response
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<dyn Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b dyn Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b dyn Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<dyn Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b dyn Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b dyn Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 253 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 253 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value")}},
[INFO] [stdout] 254 |             None => panic!("Router fn does not return Some.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 258 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value 2nd visit")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 258 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value 2nd visit")}},
[INFO] [stdout] 259 |             None => panic!("Router fn does not return Some at 2nd visit.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 263 |             Some((func, _args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 263 |             Some((func, _args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout] 264 |             None => panic!("Router fn does not return Some.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 269 |             Some((func, args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 269 |             Some((func, args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout] 270 |             None => panic!("Router fn does not return Some at /.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 281 |             Some((_func, args)) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] ...
[INFO] [stdout] 287 |             None => panic!("Router fn does not return Some with variables.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 298 |             Some((_func, args)) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] ...
[INFO] [stdout] 304 |             None => panic!("Router fn does not return Some with wildcard route.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/router/route_handler.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match routes.get_route(Method::GET, "/some") {
[INFO] [stdout]    |               -------------------------------------- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 72 |             Some(_) => {},
[INFO] [stdout]    |             ^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/router/route_handler.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match routes.get_route(Method::GET, "/some") {
[INFO] [stdout]    |               -------------------------------------- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 72 |             Some(_) => {},
[INFO] [stdout] 73 |             None => panic!("Server routing error")
[INFO] [stdout]    |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lucifer` (lib test) due to 15 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "52895e2f3b581c8feb5d6c627877e7ab35e042de83abab1d38b651eec76bdf03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52895e2f3b581c8feb5d6c627877e7ab35e042de83abab1d38b651eec76bdf03", kill_on_drop: false }`
[INFO] [stdout] 52895e2f3b581c8feb5d6c627877e7ab35e042de83abab1d38b651eec76bdf03
[INFO] checking lucifer-0.1.0 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate lucifer 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate lucifer 0.1.0 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate lucifer 0.1.0
[INFO] finished tweaking crates.io crate lucifer 0.1.0
[INFO] tweaked toml for crates.io crate lucifer 0.1.0 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 911a6be36ba20dd03fd21b11d59fba296d45fabb0dc4cbd5922deac2bfc46b41
[INFO] running `Command { std: "docker" "start" "-a" "911a6be36ba20dd03fd21b11d59fba296d45fabb0dc4cbd5922deac2bfc46b41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "911a6be36ba20dd03fd21b11d59fba296d45fabb0dc4cbd5922deac2bfc46b41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "911a6be36ba20dd03fd21b11d59fba296d45fabb0dc4cbd5922deac2bfc46b41", kill_on_drop: false }`
[INFO] [stdout] 911a6be36ba20dd03fd21b11d59fba296d45fabb0dc4cbd5922deac2bfc46b41
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2afc11416c9c5ca6b9aa8423819c53d2915b992071d6b5cfaedb2f253d88852
[INFO] running `Command { std: "docker" "start" "-a" "f2afc11416c9c5ca6b9aa8423819c53d2915b992071d6b5cfaedb2f253d88852", kill_on_drop: false }`
[INFO] [stderr]     Checking lucifer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<dyn Middleware+Sync+Send>>
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b dyn Fn(Request, Args) -> Response
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<dyn Middleware+Sync+Send>>
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b dyn Fn(Request, Args) -> Response
[INFO] [stdout]    |                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<dyn Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b dyn Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b dyn Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<dyn Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b dyn Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b dyn Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 253 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 253 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value")}},
[INFO] [stdout] 254 |             None => panic!("Router fn does not return Some.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 258 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value 2nd visit")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 258 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value 2nd visit")}},
[INFO] [stdout] 259 |             None => panic!("Router fn does not return Some at 2nd visit.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 263 |             Some((func, _args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 263 |             Some((func, _args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout] 264 |             None => panic!("Router fn does not return Some.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 269 |             Some((func, args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 269 |             Some((func, args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout] 270 |             None => panic!("Router fn does not return Some at /.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 281 |             Some((_func, args)) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] ...
[INFO] [stdout] 287 |             None => panic!("Router fn does not return Some with variables.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 298 |             Some((_func, args)) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] ...
[INFO] [stdout] 304 |             None => panic!("Router fn does not return Some with wildcard route.")
[INFO] [stdout]     |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/router/route_handler.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match routes.get_route(Method::GET, "/some") {
[INFO] [stdout]    |               -------------------------------------- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 72 |             Some(_) => {},
[INFO] [stdout]    |             ^^^^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/router/route_handler.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match routes.get_route(Method::GET, "/some") {
[INFO] [stdout]    |               -------------------------------------- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 72 |             Some(_) => {},
[INFO] [stdout] 73 |             None => panic!("Server routing error")
[INFO] [stdout]    |             ^^^^ expected `(Option<fn(..., ...) -> ...>, ...)`, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lucifer` (lib test) due to 15 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f2afc11416c9c5ca6b9aa8423819c53d2915b992071d6b5cfaedb2f253d88852", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2afc11416c9c5ca6b9aa8423819c53d2915b992071d6b5cfaedb2f253d88852", kill_on_drop: false }`
[INFO] [stdout] f2afc11416c9c5ca6b9aa8423819c53d2915b992071d6b5cfaedb2f253d88852
