[INFO] cloning repository https://github.com/weezy20/exploring_tower [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weezy20/exploring_tower" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweezy20%2Fexploring_tower", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweezy20%2Fexploring_tower'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae319c561cfa7154c235e6931ee4a17a4e721382 [INFO] checking weezy20/exploring_tower against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweezy20%2Fexploring_tower" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weezy20/exploring_tower 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 git repo https://github.com/weezy20/exploring_tower [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/weezy20/exploring_tower [INFO] tweaked toml for git repo https://github.com/weezy20/exploring_tower written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/weezy20/exploring_tower already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.30 [INFO] [stderr] Downloaded tracing-attributes v0.1.19 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded tower v0.4.11 [INFO] [stderr] Downloaded tracing-core v0.1.22 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded libc v0.2.117 [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] 863c2367938b395ab8dadc322318e852b0d38ef29886b89d99bd6db2c021c917 [INFO] running `Command { std: "docker" "start" "-a" "863c2367938b395ab8dadc322318e852b0d38ef29886b89d99bd6db2c021c917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "863c2367938b395ab8dadc322318e852b0d38ef29886b89d99bd6db2c021c917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863c2367938b395ab8dadc322318e852b0d38ef29886b89d99bd6db2c021c917", kill_on_drop: false }` [INFO] [stdout] 863c2367938b395ab8dadc322318e852b0d38ef29886b89d99bd6db2c021c917 [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] f87a3531aba29273332477c0dfbe2b63bd2065dd74368f688be9fd092bab739e [INFO] running `Command { std: "docker" "start" "-a" "f87a3531aba29273332477c0dfbe2b63bd2065dd74368f688be9fd092bab739e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking tower_explorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tower::Service` [INFO] [stdout] --> examples/hello_hyper.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Server` [INFO] [stdout] --> code/logger.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Request, Response, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Server` [INFO] [stdout] --> code/logger.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Request, Response, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.69s [INFO] running `Command { std: "docker" "inspect" "f87a3531aba29273332477c0dfbe2b63bd2065dd74368f688be9fd092bab739e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87a3531aba29273332477c0dfbe2b63bd2065dd74368f688be9fd092bab739e", kill_on_drop: false }` [INFO] [stdout] f87a3531aba29273332477c0dfbe2b63bd2065dd74368f688be9fd092bab739e [INFO] checking weezy20/exploring_tower against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweezy20%2Fexploring_tower" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weezy20/exploring_tower 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 git repo https://github.com/weezy20/exploring_tower [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/weezy20/exploring_tower [INFO] tweaked toml for git repo https://github.com/weezy20/exploring_tower written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/weezy20/exploring_tower already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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] e8a75dddfdcddc78e1d1fa094a0a25f3564c55f9f79ce26a7904d9de4e1ebff6 [INFO] running `Command { std: "docker" "start" "-a" "e8a75dddfdcddc78e1d1fa094a0a25f3564c55f9f79ce26a7904d9de4e1ebff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8a75dddfdcddc78e1d1fa094a0a25f3564c55f9f79ce26a7904d9de4e1ebff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a75dddfdcddc78e1d1fa094a0a25f3564c55f9f79ce26a7904d9de4e1ebff6", kill_on_drop: false }` [INFO] [stdout] e8a75dddfdcddc78e1d1fa094a0a25f3564c55f9f79ce26a7904d9de4e1ebff6 [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] 023ddf70bd56d59c02e310a59a92d1e851e985e4a2dd9d037be0f475e42acc94 [INFO] running `Command { std: "docker" "start" "-a" "023ddf70bd56d59c02e310a59a92d1e851e985e4a2dd9d037be0f475e42acc94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking tower_explorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tower::Service` [INFO] [stdout] --> examples/hello_hyper.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tower::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Server` [INFO] [stdout] --> code/logger.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Request, Response, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Server` [INFO] [stdout] --> code/logger.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use hyper::{Request, Response, Server}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_hyper.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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.17/src/service/make.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_hyper.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 21 | let server = Server::bind(&socket).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@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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.17/src/server/server.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_hyper.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 21 | let server = Server::bind(&socket).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@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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.17/src/server/server.rs:510:42 [INFO] [stdout] | [INFO] [stdout] 510 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_hyper.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 21 | let server = Server::bind(&socket).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@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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.17/src/server/server.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 511 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> examples/hello_hyper.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let server = Server::bind(&socket).serve(make_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@examples/hello_hyper.rs:20:25: 20:32}` 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] --> examples/hello_hyper.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 21 | let server = Server::bind(&socket).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@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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.17/src/server/server.rs:514:12 [INFO] [stdout] | [INFO] [stdout] 514 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_hyper.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 21 | let server = Server::bind(&socket).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@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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.17/src/server/server.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/hello_hyper.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 20 | make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 21 | let server = Server::bind(&socket).serve(make_service); [INFO] [stdout] 22 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [INFO] [stdout] found `async` closure body `{async closure body@examples/hello_hyper.rs:20:33: 20:38}` [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower_explorer` (example "hello_hyper") due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / make_service_fn(|_conn| async { [INFO] [stdout] 38 | | // We change our service from HelloWorld to Logger to ensure [INFO] [stdout] 39 | | // that HelloWorld is called through our Logging service [INFO] [stdout] ... | [INFO] [stdout] 51 | | [INFO] [stdout] 52 | | Ok::<_, Infallible>(service) }); [INFO] [stdout] | |___________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/service/make.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:510:42 [INFO] [stdout] | [INFO] [stdout] 510 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 511 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] | |________________________________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@code/main.rs:37:25: 37:32}` 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] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:514:12 [INFO] [stdout] | [INFO] [stdout] 514 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@code/main.rs:37:25: 37:32}` 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] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 56 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower_explorer` (bin "main") due to 15 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | / make_service_fn(|_conn| async { [INFO] [stdout] 38 | | // We change our service from HelloWorld to Logger to ensure [INFO] [stdout] 39 | | // that HelloWorld is called through our Logging service [INFO] [stdout] ... | [INFO] [stdout] 51 | | [INFO] [stdout] 52 | | Ok::<_, Infallible>(service) }); [INFO] [stdout] | |___________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/service/make.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:510:12 [INFO] [stdout] | [INFO] [stdout] 510 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:510:42 [INFO] [stdout] | [INFO] [stdout] 510 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 511 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] | |________________________________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@code/main.rs:37:25: 37:32}` 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] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:514:12 [INFO] [stdout] | [INFO] [stdout] 514 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .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@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:122:33 [INFO] [stdout] | [INFO] [stdout] 122 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@code/main.rs:37:25: 37:32}` 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] --> code/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 53 | let server = Server::bind(&socket) [INFO] [stdout] | __________________^ [INFO] [stdout] 54 | | .serve(make_service) [INFO] [stdout] 55 | | .with_graceful_shutdown(shutdown_signal()); [INFO] [stdout] | |______________________________________________________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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.17/src/server/server.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> code/main.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 37 | make_service_fn(|_conn| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 56 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [INFO] [stdout] found `async` closure body `{async closure body@code/main.rs:37:33: 37:38}` [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower_explorer` (bin "main" test) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "023ddf70bd56d59c02e310a59a92d1e851e985e4a2dd9d037be0f475e42acc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023ddf70bd56d59c02e310a59a92d1e851e985e4a2dd9d037be0f475e42acc94", kill_on_drop: false }` [INFO] [stdout] 023ddf70bd56d59c02e310a59a92d1e851e985e4a2dd9d037be0f475e42acc94