[INFO] fetching crate hokay 0.2.2... [INFO] checking hokay-0.2.2 against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] extracting crate hokay 0.2.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate hokay 0.2.2 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 hokay 0.2.2 [INFO] finished tweaking crates.io crate hokay 0.2.2 [INFO] tweaked toml for crates.io crate hokay 0.2.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate hokay 0.2.2 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] 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] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded clap_derive v3.1.7 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded clap v3.1.12 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded clap_lex v0.1.1 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded itoa v1.0.1 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded libc v0.2.124 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32b83104aadcee8228f9f63472d4b165e7cb404d4f807b593454d66324dc93c1 [INFO] running `Command { std: "docker" "start" "-a" "32b83104aadcee8228f9f63472d4b165e7cb404d4f807b593454d66324dc93c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32b83104aadcee8228f9f63472d4b165e7cb404d4f807b593454d66324dc93c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b83104aadcee8228f9f63472d4b165e7cb404d4f807b593454d66324dc93c1", kill_on_drop: false }` [INFO] [stdout] 32b83104aadcee8228f9f63472d4b165e7cb404d4f807b593454d66324dc93c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 435053a8ca6b44041c00559d1c3313e2e9ca26ceec1095c8d5217b3f73a3e485 [INFO] running `Command { std: "docker" "start" "-a" "435053a8ca6b44041c00559d1c3313e2e9ca26ceec1095c8d5217b3f73a3e485", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hokay v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.24s [INFO] running `Command { std: "docker" "inspect" "435053a8ca6b44041c00559d1c3313e2e9ca26ceec1095c8d5217b3f73a3e485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435053a8ca6b44041c00559d1c3313e2e9ca26ceec1095c8d5217b3f73a3e485", kill_on_drop: false }` [INFO] [stdout] 435053a8ca6b44041c00559d1c3313e2e9ca26ceec1095c8d5217b3f73a3e485 [INFO] checking hokay-0.2.2 against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] extracting crate hokay 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hokay 0.2.2 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 hokay 0.2.2 [INFO] finished tweaking crates.io crate hokay 0.2.2 [INFO] tweaked toml for crates.io crate hokay 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate hokay 0.2.2 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ba03b429eb4cff38789f1dcc468022ad939bbc2cd9eb4871fb01ed90a8b4fa9 [INFO] running `Command { std: "docker" "start" "-a" "1ba03b429eb4cff38789f1dcc468022ad939bbc2cd9eb4871fb01ed90a8b4fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ba03b429eb4cff38789f1dcc468022ad939bbc2cd9eb4871fb01ed90a8b4fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba03b429eb4cff38789f1dcc468022ad939bbc2cd9eb4871fb01ed90a8b4fa9", kill_on_drop: false }` [INFO] [stdout] 1ba03b429eb4cff38789f1dcc468022ad939bbc2cd9eb4871fb01ed90a8b4fa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93c232a2eff5a51be568e4880b044954b97899140f7662ef95cb4331dcc7239d [INFO] running `Command { std: "docker" "start" "-a" "93c232a2eff5a51be568e4880b044954b97899140f7662ef95cb4331dcc7239d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hokay v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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/tokio-1.17.0/src/task/spawn.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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/tokio-1.17.0/src/task/spawn.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | T::Output: Send + 'static, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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/tokio-1.17.0/src/task/spawn.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | T::Output: Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:36:60: 36:67}` 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/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:36:60: 36:67}` 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/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] 39 | | hyper::Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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/tokio-1.17.0/src/task/spawn.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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/tokio-1.17.0/src/task/spawn.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | T::Output: Send + 'static, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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/tokio-1.17.0/src/task/spawn.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | T::Output: Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<_, hyper::Error>(tokio::spawn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] ... | [INFO] [stdout] 50 | | }), [INFO] [stdout] 51 | | )) [INFO] [stdout] | |_____________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] = note: no two async blocks, even if identical, have the same type [INFO] [stdout] = help: consider pinning your async block and casting it to a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:36:60: 36:67}` 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/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |_______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/src/server/server.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hokay` (bin "hokay" test) due to 18 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/src/server/server.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/main.rs:36:60: 36:67}` 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/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | / server [INFO] [stdout] 36 | | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] ... | [INFO] [stdout] 49 | | println!("Closing {addr}"); [INFO] [stdout] 50 | | }), [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/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] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | .serve(hyper::service::make_service_fn(|_conn| async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 37 | | Ok::<_, hyper::Error>(hyper::service::service_fn(|_req| async move { [INFO] [stdout] 38 | | Ok::<_, hyper::Error>( [INFO] [stdout] 39 | | hyper::Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 45 | | })) [INFO] [stdout] 46 | | })) [INFO] [stdout] | |______________________^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:36:68: 36:78}` [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.18/src/service/make.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 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 `hokay` (bin "hokay") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "93c232a2eff5a51be568e4880b044954b97899140f7662ef95cb4331dcc7239d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93c232a2eff5a51be568e4880b044954b97899140f7662ef95cb4331dcc7239d", kill_on_drop: false }` [INFO] [stdout] 93c232a2eff5a51be568e4880b044954b97899140f7662ef95cb4331dcc7239d