[INFO] cloning repository https://github.com/alexpdp7/ragent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexpdp7/ragent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexpdp7%2Fragent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexpdp7%2Fragent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7640f80c8c0812e057d07a9a6023089dfbd6c536 [INFO] checking alexpdp7/ragent against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexpdp7%2Fragent" "/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/alexpdp7/ragent 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/alexpdp7/ragent [INFO] finished tweaking git repo https://github.com/alexpdp7/ragent [INFO] tweaked toml for git repo https://github.com/alexpdp7/ragent written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alexpdp7/ragent 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 rustc-demangle v0.1.24 [INFO] [stderr] Downloaded sync_wrapper v1.0.1 [INFO] [stderr] Downloaded anstyle v1.0.8 [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded http-body-util v0.1.2 [INFO] [stderr] Downloaded clap v4.5.14 [INFO] [stderr] Downloaded base64 v0.22.1 [INFO] [stderr] Downloaded cc v1.1.8 [INFO] [stderr] Downloaded url v2.5.2 [INFO] [stderr] Downloaded serde v1.0.205 [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded clap_builder v4.5.14 [INFO] [stderr] Downloaded hyper v0.14.30 [INFO] [stderr] Downloaded hyper v1.4.1 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded syn v2.0.72 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded tinyvec v1.8.0 [INFO] [stderr] Downloaded ryu v1.0.18 [INFO] [stderr] Downloaded serde_derive v1.0.205 [INFO] [stderr] Downloaded ipnet v2.9.0 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded httparse v1.9.4 [INFO] [stderr] Downloaded miniz_oxide v0.7.4 [INFO] [stderr] Downloaded tokio-macros v2.4.0 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded nagios-range v0.2.5 [INFO] [stderr] Downloaded http-body v1.0.1 [INFO] [stderr] Downloaded tokio v1.39.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] 3f803ac4de5a1d02331662120e0e70149458c384948128cc7cbd0eb3fbbcf73e [INFO] running `Command { std: "docker" "start" "-a" "3f803ac4de5a1d02331662120e0e70149458c384948128cc7cbd0eb3fbbcf73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f803ac4de5a1d02331662120e0e70149458c384948128cc7cbd0eb3fbbcf73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f803ac4de5a1d02331662120e0e70149458c384948128cc7cbd0eb3fbbcf73e", kill_on_drop: false }` [INFO] [stdout] 3f803ac4de5a1d02331662120e0e70149458c384948128cc7cbd0eb3fbbcf73e [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] 8038853cfc27b3f13109f6e05bd076c74010bdebe27df751008d7e3cdc96bc2e [INFO] running `Command { std: "docker" "start" "-a" "8038853cfc27b3f13109f6e05bd076c74010bdebe27df751008d7e3cdc96bc2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking clap_builder v4.5.14 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking nagios-range v0.2.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.14 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking ragent v4.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.57s [INFO] running `Command { std: "docker" "inspect" "8038853cfc27b3f13109f6e05bd076c74010bdebe27df751008d7e3cdc96bc2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8038853cfc27b3f13109f6e05bd076c74010bdebe27df751008d7e3cdc96bc2e", kill_on_drop: false }` [INFO] [stdout] 8038853cfc27b3f13109f6e05bd076c74010bdebe27df751008d7e3cdc96bc2e [INFO] checking alexpdp7/ragent against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexpdp7%2Fragent" "/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/alexpdp7/ragent 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/alexpdp7/ragent [INFO] finished tweaking git repo https://github.com/alexpdp7/ragent [INFO] tweaked toml for git repo https://github.com/alexpdp7/ragent written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alexpdp7/ragent 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] b38e6ebfc444b0f47133f37c8b2eeba1652b1bacfd9afcc109c3c2ce66d7f015 [INFO] running `Command { std: "docker" "start" "-a" "b38e6ebfc444b0f47133f37c8b2eeba1652b1bacfd9afcc109c3c2ce66d7f015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b38e6ebfc444b0f47133f37c8b2eeba1652b1bacfd9afcc109c3c2ce66d7f015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38e6ebfc444b0f47133f37c8b2eeba1652b1bacfd9afcc109c3c2ce66d7f015", kill_on_drop: false }` [INFO] [stdout] b38e6ebfc444b0f47133f37c8b2eeba1652b1bacfd9afcc109c3c2ce66d7f015 [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] 3a15f248fa51f48eebd6ee56512d09fb2dbd1f6e9a0f44e889f96cbe19c3f67a [INFO] running `Command { std: "docker" "start" "-a" "3a15f248fa51f48eebd6ee56512d09fb2dbd1f6e9a0f44e889f96cbe19c3f67a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking clap_builder v4.5.14 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking nagios-range v0.2.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.14 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking ragent v4.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | _______________________^ [INFO] [stdout] 11 | | Ok::<_, Infallible>(service_fn(|_| async { [INFO] [stdout] 12 | | Ok::<_, Infallible>(Response::new(Body::from( [INFO] [stdout] 13 | | serde_json::to_string(&get_ragent_info()).unwrap(), [INFO] [stdout] 14 | | ))) [INFO] [stdout] 15 | | })) [INFO] [stdout] 16 | | }); [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/service/make.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:582:42 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/bin/ragent.rs:10:39: 10:42}` 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/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 586 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 21 | server.await?; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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 `ragent` (bin "ragent") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | _______________________^ [INFO] [stdout] 11 | | Ok::<_, Infallible>(service_fn(|_| async { [INFO] [stdout] 12 | | Ok::<_, Infallible>(Response::new(Body::from( [INFO] [stdout] 13 | | serde_json::to_string(&get_ragent_info()).unwrap(), [INFO] [stdout] 14 | | ))) [INFO] [stdout] 15 | | })) [INFO] [stdout] 16 | | }); [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/service/make.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | F: FnMut(&Target) -> Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:582:42 [INFO] [stdout] | [INFO] [stdout] 582 | S: MakeServiceRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | S::Error: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/bin/ragent.rs:10:39: 10:42}` 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/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 586 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 17 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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.30/src/server/server.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/ragent.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | let new_service = make_service_fn(|_| async { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] ... [INFO] [stdout] 21 | server.await?; [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [INFO] [stdout] found `async` closure body `{async closure body@src/bin/ragent.rs:10:43: 10:48}` [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 `ragent` (bin "ragent" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "3a15f248fa51f48eebd6ee56512d09fb2dbd1f6e9a0f44e889f96cbe19c3f67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a15f248fa51f48eebd6ee56512d09fb2dbd1f6e9a0f44e889f96cbe19c3f67a", kill_on_drop: false }` [INFO] [stdout] 3a15f248fa51f48eebd6ee56512d09fb2dbd1f6e9a0f44e889f96cbe19c3f67a