[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#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurmohammed840%2Frpc-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nurmohammed840/rpc-example on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "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-2-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/nurmohammed840/frpc` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-gen v0.2.3 [INFO] [stderr] Downloaded quote2-macros v0.7.0 [INFO] [stderr] Downloaded databuf-derive v0.5.0 [INFO] [stderr] Downloaded h2x v0.5.0 [INFO] [stderr] Downloaded databuf_derive_impl v0.2.3 [INFO] [stderr] Downloaded databuf v0.5.0 [INFO] [stderr] Downloaded tokio-tls-listener v0.2.0 [INFO] [stderr] Downloaded quote2 v0.7.0 [INFO] [stderr] Downloaded async-gen-macros v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d36b573de4a365e3e800c1ce13773c183d756cbb58e9554f3b4f22602391b84 [INFO] running `Command { std: "docker" "start" "-a" "5d36b573de4a365e3e800c1ce13773c183d756cbb58e9554f3b4f22602391b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d36b573de4a365e3e800c1ce13773c183d756cbb58e9554f3b4f22602391b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d36b573de4a365e3e800c1ce13773c183d756cbb58e9554f3b4f22602391b84", kill_on_drop: false }` [INFO] [stdout] 5d36b573de4a365e3e800c1ce13773c183d756cbb58e9554f3b4f22602391b84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c68ab8d0daf7463f73b4adf995c1cea1e95340e285ac4a4ab08224dd540318d [INFO] running `Command { std: "docker" "start" "-a" "8c68ab8d0daf7463f73b4adf995c1cea1e95340e285ac4a4ab08224dd540318d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quote2-macros v0.7.0 [INFO] [stderr] Checking type-id v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking tracing v0.1.40 [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] 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] Checking parking_lot v0.12.3 [INFO] [stderr] Checking async-gen v0.2.3 [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] 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 frpc v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [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 17.16s [INFO] running `Command { std: "docker" "inspect" "8c68ab8d0daf7463f73b4adf995c1cea1e95340e285ac4a4ab08224dd540318d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c68ab8d0daf7463f73b4adf995c1cea1e95340e285ac4a4ab08224dd540318d", kill_on_drop: false }` [INFO] [stdout] 8c68ab8d0daf7463f73b4adf995c1cea1e95340e285ac4a4ab08224dd540318d [INFO] checking nurmohammed840/rpc-example against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnurmohammed840%2Frpc-example" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nurmohammed840/rpc-example on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "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-2-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a358d2bce820a8125242edc20ce837dd0b97d240f0cf2c9440ae55ba210dd26 [INFO] running `Command { std: "docker" "start" "-a" "0a358d2bce820a8125242edc20ce837dd0b97d240f0cf2c9440ae55ba210dd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a358d2bce820a8125242edc20ce837dd0b97d240f0cf2c9440ae55ba210dd26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a358d2bce820a8125242edc20ce837dd0b97d240f0cf2c9440ae55ba210dd26", kill_on_drop: false }` [INFO] [stdout] 0a358d2bce820a8125242edc20ce837dd0b97d240f0cf2c9440ae55ba210dd26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fc3ea99bbdd968f8422268a2b02a168313b5a3202ea2395785ef2117dbe51f1 [INFO] running `Command { std: "docker" "start" "-a" "4fc3ea99bbdd968f8422268a2b02a168313b5a3202ea2395785ef2117dbe51f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quote2-macros v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking tracing v0.1.40 [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] 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] Checking parking_lot v0.12.3 [INFO] [stderr] Checking async-gen v0.2.3 [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] 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 frpc v0.1.0 (https://github.com/nurmohammed840/frpc#291d03ec) [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [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: 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] 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] [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] [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] [stderr] error: could not compile `rpc-example` (bin "rpc-example" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4fc3ea99bbdd968f8422268a2b02a168313b5a3202ea2395785ef2117dbe51f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc3ea99bbdd968f8422268a2b02a168313b5a3202ea2395785ef2117dbe51f1", kill_on_drop: false }` [INFO] [stdout] 4fc3ea99bbdd968f8422268a2b02a168313b5a3202ea2395785ef2117dbe51f1