[INFO] cloning repository https://github.com/nurmohammed840/rpc-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nurmohammed840/rpc-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurmohammed840%2Frpc-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurmohammed840%2Frpc-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d781e10a17042190b081b4e854d5eca8a1b56131 [INFO] checking nurmohammed840/rpc-example against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurmohammed840%2Frpc-example" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nurmohammed840/rpc-example 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/nurmohammed840/rpc-example [INFO] finished tweaking git repo https://github.com/nurmohammed840/rpc-example [INFO] tweaked toml for git repo https://github.com/nurmohammed840/rpc-example written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nurmohammed840/rpc-example 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 git repository `https://github.com/nurmohammed840/frpc` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded databuf-derive v0.5.0 [INFO] [stderr] Downloaded databuf_derive_impl v0.2.3 [INFO] [stderr] Downloaded databuf v0.5.0 [INFO] [stderr] Downloaded quote2 v0.7.0 [INFO] [stderr] Downloaded async-gen-macros v0.3.0 [INFO] [stderr] Downloaded quote2-macros v0.7.0 [INFO] [stderr] Downloaded cc v1.0.99 [INFO] [stderr] Downloaded h2x v0.5.0 [INFO] [stderr] Downloaded tokio-tls-listener v0.2.0 [INFO] [stderr] Downloaded async-gen v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9d438315393cd55282bb4754f1d17901f4469c7f77b98e17bc218bc3af442f5c [INFO] running `Command { std: "docker" "start" "-a" "9d438315393cd55282bb4754f1d17901f4469c7f77b98e17bc218bc3af442f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d438315393cd55282bb4754f1d17901f4469c7f77b98e17bc218bc3af442f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d438315393cd55282bb4754f1d17901f4469c7f77b98e17bc218bc3af442f5c", kill_on_drop: false }` [INFO] [stdout] 9d438315393cd55282bb4754f1d17901f4469c7f77b98e17bc218bc3af442f5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cfe920bd4880140508708b0b792bed347d791b701ad04fefb238136b8a29cd26 [INFO] running `Command { std: "docker" "start" "-a" "cfe920bd4880140508708b0b792bed347d791b701ad04fefb238136b8a29cd26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quote2-macros v0.7.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking type-id v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking frpc-transport-core v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking std-lib v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-gen-macros v0.3.0 [INFO] [stderr] Checking frpc-message v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking frpc-codegen v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking async-gen v0.2.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking frpc-codegen-client v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling quote2 v0.7.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling databuf_derive_impl v0.2.3 [INFO] [stderr] Compiling type-id-derive-impl v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling databuf-derive v0.5.0 [INFO] [stderr] Compiling frpc-macros v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking databuf v0.5.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking frpc v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-tls-listener v0.2.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2x v0.5.0 [INFO] [stderr] Checking frpc-transport-http v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking rpc v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking rpc-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.54s [INFO] running `Command { std: "docker" "inspect" "cfe920bd4880140508708b0b792bed347d791b701ad04fefb238136b8a29cd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfe920bd4880140508708b0b792bed347d791b701ad04fefb238136b8a29cd26", kill_on_drop: false }` [INFO] [stdout] cfe920bd4880140508708b0b792bed347d791b701ad04fefb238136b8a29cd26 [INFO] checking nurmohammed840/rpc-example against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurmohammed840%2Frpc-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nurmohammed840/rpc-example 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/nurmohammed840/rpc-example [INFO] finished tweaking git repo https://github.com/nurmohammed840/rpc-example [INFO] tweaked toml for git repo https://github.com/nurmohammed840/rpc-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nurmohammed840/rpc-example 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ca00b162e101680c3de2465afdf94f69151f276efb79c90d4540663462a93de6 [INFO] running `Command { std: "docker" "start" "-a" "ca00b162e101680c3de2465afdf94f69151f276efb79c90d4540663462a93de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca00b162e101680c3de2465afdf94f69151f276efb79c90d4540663462a93de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca00b162e101680c3de2465afdf94f69151f276efb79c90d4540663462a93de6", kill_on_drop: false }` [INFO] [stdout] ca00b162e101680c3de2465afdf94f69151f276efb79c90d4540663462a93de6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 95eeee5c6616996556e51dd200235f4109e57e2ecd587108744c649cadef4aa9 [INFO] running `Command { std: "docker" "start" "-a" "95eeee5c6616996556e51dd200235f4109e57e2ecd587108744c649cadef4aa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling quote2-macros v0.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking type-id v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking std-lib v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking frpc-transport-core v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-gen-macros v0.3.0 [INFO] [stderr] Checking frpc-message v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking frpc-codegen v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking async-gen v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking frpc-codegen-client v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling quote2 v0.7.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling databuf_derive_impl v0.2.3 [INFO] [stderr] Compiling type-id-derive-impl v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling databuf-derive v0.5.0 [INFO] [stderr] Compiling frpc-macros v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking databuf v0.5.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking frpc v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-tls-listener v0.2.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2x v0.5.0 [INFO] [stderr] Checking frpc-transport-http v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking rpc v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking rpc-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / Server::new("./.secret/key.pem", "./.secret/cert.pem")? [INFO] [stdout] 28 | | .bind("127.0.0.1:4433", |_addr, _| async { App {} }) [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:28:44: 28:49}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:28:44: 28: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/git/checkouts/frpc-49ab6bf934a5e516/291d03e/libs/rpc/src/lib.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | mut app: impl FnMut(SocketAddr, &mut Conn>) -> Fut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / Server::new("./.secret/key.pem", "./.secret/cert.pem")? [INFO] [stdout] 28 | | .bind("127.0.0.1:4433", |_addr, _| async { App {} }) [INFO] [stdout] 29 | | .await [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:28:44: 28:49}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:28:44: 28: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/git/checkouts/frpc-49ab6bf934a5e516/291d03e/libs/rpc/src/lib.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | mut app: impl FnMut(SocketAddr, &mut Conn>) -> Fut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | .bind("127.0.0.1:4433", |_addr, _| async { App {} }) [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 29 | .await [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:28:44: 28:49}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:28:44: 28: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/git/checkouts/frpc-49ab6bf934a5e516/291d03e/libs/rpc/src/lib.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | mut app: impl FnMut(SocketAddr, &mut Conn>) -> Fut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / Server::new("./.secret/key.pem", "./.secret/cert.pem")? [INFO] [stdout] 28 | | .bind("127.0.0.1:4433", |_addr, _| async { App {} }) [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:28:44: 28:49}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:28:44: 28: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/git/checkouts/frpc-49ab6bf934a5e516/291d03e/libs/rpc/src/lib.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | mut app: impl FnMut(SocketAddr, &mut Conn>) -> Fut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / Server::new("./.secret/key.pem", "./.secret/cert.pem")? [INFO] [stdout] 28 | | .bind("127.0.0.1:4433", |_addr, _| async { App {} }) [INFO] [stdout] 29 | | .await [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:28:44: 28:49}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:28:44: 28: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/git/checkouts/frpc-49ab6bf934a5e516/291d03e/libs/rpc/src/lib.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | mut app: impl FnMut(SocketAddr, &mut Conn>) -> Fut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 28 | .bind("127.0.0.1:4433", |_addr, _| async { App {} }) [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 29 | .await [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:28:44: 28:49}` [INFO] [stdout] found `async` closure body `{async closure body@src/main.rs:28:44: 28: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/git/checkouts/frpc-49ab6bf934a5e516/291d03e/libs/rpc/src/lib.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | mut app: impl FnMut(SocketAddr, &mut Conn>) -> Fut, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpc-example` (bin "rpc-example") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rpc-example` (bin "rpc-example" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "95eeee5c6616996556e51dd200235f4109e57e2ecd587108744c649cadef4aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95eeee5c6616996556e51dd200235f4109e57e2ecd587108744c649cadef4aa9", kill_on_drop: false }` [INFO] [stdout] 95eeee5c6616996556e51dd200235f4109e57e2ecd587108744c649cadef4aa9