[INFO] fetching crate oneshotserver 1.0.0... [INFO] checking oneshotserver-1.0.0 against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] extracting crate oneshotserver 1.0.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate oneshotserver 1.0.0 on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oneshotserver 1.0.0 [INFO] finished tweaking crates.io crate oneshotserver 1.0.0 [INFO] tweaked toml for crates.io crate oneshotserver 1.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded debug_print v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e28b2f7e4d1bd5e744790e0ab3d2f56f50740cd457234383036136be33312692 [INFO] running `Command { std: "docker" "start" "-a" "e28b2f7e4d1bd5e744790e0ab3d2f56f50740cd457234383036136be33312692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e28b2f7e4d1bd5e744790e0ab3d2f56f50740cd457234383036136be33312692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28b2f7e4d1bd5e744790e0ab3d2f56f50740cd457234383036136be33312692", kill_on_drop: false }` [INFO] [stdout] e28b2f7e4d1bd5e744790e0ab3d2f56f50740cd457234383036136be33312692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0ab9db20a5881c0a8c2e6cfca6d23c3a646160ce7d1eaf70420ef92a9aa5fff [INFO] running `Command { std: "docker" "start" "-a" "e0ab9db20a5881c0a8c2e6cfca6d23c3a646160ce7d1eaf70420ef92a9aa5fff", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking oneshotserver v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.40s [INFO] running `Command { std: "docker" "inspect" "e0ab9db20a5881c0a8c2e6cfca6d23c3a646160ce7d1eaf70420ef92a9aa5fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ab9db20a5881c0a8c2e6cfca6d23c3a646160ce7d1eaf70420ef92a9aa5fff", kill_on_drop: false }` [INFO] [stdout] e0ab9db20a5881c0a8c2e6cfca6d23c3a646160ce7d1eaf70420ef92a9aa5fff [INFO] checking oneshotserver-1.0.0 against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] extracting crate oneshotserver 1.0.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate oneshotserver 1.0.0 on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oneshotserver 1.0.0 [INFO] finished tweaking crates.io crate oneshotserver 1.0.0 [INFO] tweaked toml for crates.io crate oneshotserver 1.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13647506b6d38c8f1c387243264228942b5d03d1a97c01c2cc5f0c9328de06a0 [INFO] running `Command { std: "docker" "start" "-a" "13647506b6d38c8f1c387243264228942b5d03d1a97c01c2cc5f0c9328de06a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13647506b6d38c8f1c387243264228942b5d03d1a97c01c2cc5f0c9328de06a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13647506b6d38c8f1c387243264228942b5d03d1a97c01c2cc5f0c9328de06a0", kill_on_drop: false }` [INFO] [stdout] 13647506b6d38c8f1c387243264228942b5d03d1a97c01c2cc5f0c9328de06a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 372811843da8c593735dc7eb7472f41abbf080d1de22b81cdccb7b6dda261aa6 [INFO] running `Command { std: "docker" "start" "-a" "372811843da8c593735dc7eb7472f41abbf080d1de22b81cdccb7b6dda261aa6", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking oneshotserver v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 55 | | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] 56 | | }); [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/service/make.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:582:42 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/lib.rs:54:40: 54:62}` must implement `FnOnce<(&AddrStream,)>` [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'0 AddrStream,)>`, for some specific lifetime `'0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 586 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/lib.rs:54:40: 54:62}` must implement `FnOnce<(&AddrStream,)>` [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'0 AddrStream,)>`, for some specific lifetime `'0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 74 | if let Err(error) = server.await { [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 55 | | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] 56 | | }); [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/service/make.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:582:42 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/lib.rs:54:40: 54:62}` must implement `FnOnce<(&AddrStream,)>` [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'0 AddrStream,)>`, for some specific lifetime `'0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 586 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] | |____________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/lib.rs:54:40: 54:62}` must implement `FnOnce<(&AddrStream,)>` [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'0 AddrStream,)>`, for some specific lifetime `'0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 61 | let server = Server::bind(&addr) [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | .serve(make_service) [INFO] [stdout] 63 | | .with_graceful_shutdown(async { [INFO] [stdout] 64 | | match rx.await { [INFO] [stdout] ... | [INFO] [stdout] 71 | | }; [INFO] [stdout] 72 | | }); [INFO] [stdout] | |__________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.30/src/server/server.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 54 | let make_service = make_service_fn(|_socket: &AddrStream| async move { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 55 | Ok::<_, Infallible>(service_fn(move |request| handle_request(request))) [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | the expected closure [INFO] [stdout] | the found closure [INFO] [stdout] ... [INFO] [stdout] 74 | if let Err(error) = server.await { [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:54:63: 54:73}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oneshotserver` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `oneshotserver` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "372811843da8c593735dc7eb7472f41abbf080d1de22b81cdccb7b6dda261aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "372811843da8c593735dc7eb7472f41abbf080d1de22b81cdccb7b6dda261aa6", kill_on_drop: false }` [INFO] [stdout] 372811843da8c593735dc7eb7472f41abbf080d1de22b81cdccb7b6dda261aa6