[INFO] fetching crate oneshotserver 1.0.0... [INFO] checking oneshotserver-1.0.0 against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] extracting crate oneshotserver 1.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate oneshotserver 1.0.0 on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d50ece66818f2a791e9faa5f2aaf1dd7776bc56c7edc505eec927f0476c55324 [INFO] running `Command { std: "docker" "start" "-a" "d50ece66818f2a791e9faa5f2aaf1dd7776bc56c7edc505eec927f0476c55324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d50ece66818f2a791e9faa5f2aaf1dd7776bc56c7edc505eec927f0476c55324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50ece66818f2a791e9faa5f2aaf1dd7776bc56c7edc505eec927f0476c55324", kill_on_drop: false }` [INFO] [stdout] d50ece66818f2a791e9faa5f2aaf1dd7776bc56c7edc505eec927f0476c55324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb3b6a0ed8c06e1ae09bd8a4c7ec90a9c4e67210e7f7f344579cf09ee4fab925 [INFO] running `Command { std: "docker" "start" "-a" "bb3b6a0ed8c06e1ae09bd8a4c7ec90a9c4e67210e7f7f344579cf09ee4fab925", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.2 [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 11.65s [INFO] running `Command { std: "docker" "inspect" "bb3b6a0ed8c06e1ae09bd8a4c7ec90a9c4e67210e7f7f344579cf09ee4fab925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3b6a0ed8c06e1ae09bd8a4c7ec90a9c4e67210e7f7f344579cf09ee4fab925", kill_on_drop: false }` [INFO] [stdout] bb3b6a0ed8c06e1ae09bd8a4c7ec90a9c4e67210e7f7f344579cf09ee4fab925 [INFO] checking oneshotserver-1.0.0 against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] extracting crate oneshotserver 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate oneshotserver 1.0.0 on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "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 miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53b55d04fd762f6a5abedf0f1d6f05af142554a05eec196ce9524864b03d43dd [INFO] running `Command { std: "docker" "start" "-a" "53b55d04fd762f6a5abedf0f1d6f05af142554a05eec196ce9524864b03d43dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53b55d04fd762f6a5abedf0f1d6f05af142554a05eec196ce9524864b03d43dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b55d04fd762f6a5abedf0f1d6f05af142554a05eec196ce9524864b03d43dd", kill_on_drop: false }` [INFO] [stdout] 53b55d04fd762f6a5abedf0f1d6f05af142554a05eec196ce9524864b03d43dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85c29952b44119d21e8ab5c6c0dc99376e9b8a656900ef873c89d25841d3b2aa [INFO] running `Command { std: "docker" "start" "-a" "85c29952b44119d21e8ab5c6c0dc99376e9b8a656900ef873c89d25841d3b2aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [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 bytes v1.7.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.2 [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" "85c29952b44119d21e8ab5c6c0dc99376e9b8a656900ef873c89d25841d3b2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c29952b44119d21e8ab5c6c0dc99376e9b8a656900ef873c89d25841d3b2aa", kill_on_drop: false }` [INFO] [stdout] 85c29952b44119d21e8ab5c6c0dc99376e9b8a656900ef873c89d25841d3b2aa