[INFO] fetching crate oneshotserver 1.0.0... [INFO] checking oneshotserver-1.0.0 against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] extracting crate oneshotserver 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate oneshotserver 1.0.0 on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "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.1) [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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c424822dda22abf7a255b1dffb4f4dc06780f739b4ec23b97046a7ca32f9ab42 [INFO] running `Command { std: "docker" "start" "-a" "c424822dda22abf7a255b1dffb4f4dc06780f739b4ec23b97046a7ca32f9ab42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c424822dda22abf7a255b1dffb4f4dc06780f739b4ec23b97046a7ca32f9ab42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c424822dda22abf7a255b1dffb4f4dc06780f739b4ec23b97046a7ca32f9ab42", kill_on_drop: false }` [INFO] [stdout] c424822dda22abf7a255b1dffb4f4dc06780f739b4ec23b97046a7ca32f9ab42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d55792d1f17f9effc708dae1a9371c8f8c15ed27bb276f5e777b01cec66afb64 [INFO] running `Command { std: "docker" "start" "-a" "d55792d1f17f9effc708dae1a9371c8f8c15ed27bb276f5e777b01cec66afb64", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking tracing v0.1.40 [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.1 [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 13.59s [INFO] running `Command { std: "docker" "inspect" "d55792d1f17f9effc708dae1a9371c8f8c15ed27bb276f5e777b01cec66afb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55792d1f17f9effc708dae1a9371c8f8c15ed27bb276f5e777b01cec66afb64", kill_on_drop: false }` [INFO] [stdout] d55792d1f17f9effc708dae1a9371c8f8c15ed27bb276f5e777b01cec66afb64 [INFO] checking oneshotserver-1.0.0 against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] extracting crate oneshotserver 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate oneshotserver 1.0.0 on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "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.1) [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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2e4de8f563b693c515fd86607f2f4b9a2b81be26a5ded0905514bf1359acb2b [INFO] running `Command { std: "docker" "start" "-a" "f2e4de8f563b693c515fd86607f2f4b9a2b81be26a5ded0905514bf1359acb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2e4de8f563b693c515fd86607f2f4b9a2b81be26a5ded0905514bf1359acb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e4de8f563b693c515fd86607f2f4b9a2b81be26a5ded0905514bf1359acb2b", kill_on_drop: false }` [INFO] [stdout] f2e4de8f563b693c515fd86607f2f4b9a2b81be26a5ded0905514bf1359acb2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27d499677027d03c8ee9c8bd1975e1822e85737a28030ef689eeeba7b06ad51a [INFO] running `Command { std: "docker" "start" "-a" "27d499677027d03c8ee9c8bd1975e1822e85737a28030ef689eeeba7b06ad51a", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking tracing v0.1.40 [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.1 [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: 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] [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] [stderr] error: could not compile `oneshotserver` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "27d499677027d03c8ee9c8bd1975e1822e85737a28030ef689eeeba7b06ad51a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d499677027d03c8ee9c8bd1975e1822e85737a28030ef689eeeba7b06ad51a", kill_on_drop: false }` [INFO] [stdout] 27d499677027d03c8ee9c8bd1975e1822e85737a28030ef689eeeba7b06ad51a