[INFO] cloning repository https://github.com/pusher-community/pusher-http-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pusher-community/pusher-http-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpusher-community%2Fpusher-http-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpusher-community%2Fpusher-http-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcaa68777d63847623964f8f0165e349e9b73112 [INFO] checking pusher-community/pusher-http-rust against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpusher-community%2Fpusher-http-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pusher-community/pusher-http-rust 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/pusher-community/pusher-http-rust [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/pusher-community/pusher-http-rust [INFO] tweaked toml for git repo https://github.com/pusher-community/pusher-http-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pusher-community/pusher-http-rust 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md-5 v0.10.4 [INFO] [stderr] Downloaded sha2 v0.10.5 [INFO] [stderr] Downloaded yup-hyper-mock v6.0.0 [INFO] [stderr] Downloaded tokio v1.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c0dc9e7f0cdd7828171b48e93cb8bfa269890d9898c944e5f8756f4cfbf2dd82 [INFO] running `Command { std: "docker" "start" "-a" "c0dc9e7f0cdd7828171b48e93cb8bfa269890d9898c944e5f8756f4cfbf2dd82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0dc9e7f0cdd7828171b48e93cb8bfa269890d9898c944e5f8756f4cfbf2dd82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0dc9e7f0cdd7828171b48e93cb8bfa269890d9898c944e5f8756f4cfbf2dd82", kill_on_drop: false }` [INFO] [stdout] c0dc9e7f0cdd7828171b48e93cb8bfa269890d9898c944e5f8756f4cfbf2dd82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1a0f4303ca898dbadb6c9f0abccd0e219fc9e9e7b75e6fc82f3597c5821f5856 [INFO] running `Command { std: "docker" "start" "-a" "1a0f4303ca898dbadb6c9f0abccd0e219fc9e9e7b75e6fc82f3597c5821f5856", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking md-5 v0.10.4 [INFO] [stderr] Checking sha2 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking yup-hyper-mock v6.0.0 [INFO] [stderr] Checking pusher v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.09s [INFO] running `Command { std: "docker" "inspect" "1a0f4303ca898dbadb6c9f0abccd0e219fc9e9e7b75e6fc82f3597c5821f5856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a0f4303ca898dbadb6c9f0abccd0e219fc9e9e7b75e6fc82f3597c5821f5856", kill_on_drop: false }` [INFO] [stdout] 1a0f4303ca898dbadb6c9f0abccd0e219fc9e9e7b75e6fc82f3597c5821f5856 [INFO] checking pusher-community/pusher-http-rust against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpusher-community%2Fpusher-http-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pusher-community/pusher-http-rust 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/pusher-community/pusher-http-rust [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/pusher-community/pusher-http-rust [INFO] tweaked toml for git repo https://github.com/pusher-community/pusher-http-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pusher-community/pusher-http-rust 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9bdb6896f698e481b3a558a02748de853f33667949a3d7d12c920689bedf1e3f [INFO] running `Command { std: "docker" "start" "-a" "9bdb6896f698e481b3a558a02748de853f33667949a3d7d12c920689bedf1e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bdb6896f698e481b3a558a02748de853f33667949a3d7d12c920689bedf1e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bdb6896f698e481b3a558a02748de853f33667949a3d7d12c920689bedf1e3f", kill_on_drop: false }` [INFO] [stdout] 9bdb6896f698e481b3a558a02748de853f33667949a3d7d12c920689bedf1e3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ef3bd35d6504eb5337eb8f99f1179985a661bf9c0bed086101eed501cf2d3690 [INFO] running `Command { std: "docker" "start" "-a" "ef3bd35d6504eb5337eb8f99f1179985a661bf9c0bed086101eed501cf2d3690", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking sha2 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking yup-hyper-mock v6.0.0 [INFO] [stderr] Checking pusher v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/auth_server.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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.20/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/auth_server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 22 | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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.20/src/server/server.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/auth_server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 22 | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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.20/src/server/server.rs:541:42 [INFO] [stdout] | [INFO] [stdout] 541 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/auth_server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 22 | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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.20/src/server/server.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> examples/auth_server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@examples/auth_server.rs:21:36: 21:43}` 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/auth_server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 22 | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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.20/src/server/server.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 545 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/auth_server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 22 | [INFO] [stdout] 23 | let server = Server::bind(&addr).serve(make_svc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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.20/src/server/server.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/auth_server.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 21 | let make_svc = make_service_fn(|_conn| async { Ok::<_, Error>(service_fn(authenticate)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 25 | 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/auth_server.rs:21:44: 21:49}` [INFO] [stdout] found `async` closure body `{async closure body@examples/auth_server.rs:21:44: 21:49}` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pusher` (example "auth_server") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "ef3bd35d6504eb5337eb8f99f1179985a661bf9c0bed086101eed501cf2d3690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3bd35d6504eb5337eb8f99f1179985a661bf9c0bed086101eed501cf2d3690", kill_on_drop: false }` [INFO] [stdout] ef3bd35d6504eb5337eb8f99f1179985a661bf9c0bed086101eed501cf2d3690