[INFO] fetching crate prometheus-measures-exporter 0.0.1... [INFO] checking prometheus-measures-exporter-0.0.1 against master#899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 for pr-127827-3 [INFO] extracting crate prometheus-measures-exporter 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate prometheus-measures-exporter 0.0.1 on toolchain 899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate prometheus-measures-exporter 0.0.1 [INFO] finished tweaking crates.io crate prometheus-measures-exporter 0.0.1 [INFO] tweaked toml for crates.io crate prometheus-measures-exporter 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding protobuf v2.28.0 (latest: v3.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4693387ff8476d707db2c1820d4cf2b1871c9134afd29ab4c47cb4671f68bb18 [INFO] running `Command { std: "docker" "start" "-a" "4693387ff8476d707db2c1820d4cf2b1871c9134afd29ab4c47cb4671f68bb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4693387ff8476d707db2c1820d4cf2b1871c9134afd29ab4c47cb4671f68bb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4693387ff8476d707db2c1820d4cf2b1871c9134afd29ab4c47cb4671f68bb18", kill_on_drop: false }` [INFO] [stdout] 4693387ff8476d707db2c1820d4cf2b1871c9134afd29ab4c47cb4671f68bb18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+899eb03926be23f2e5d2ffcaa1d6f9ac40af7f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fc1ecd22732600345506dee063edea4e471c493a4327d3bdf5378308d647d8 [INFO] running `Command { std: "docker" "start" "-a" "d4fc1ecd22732600345506dee063edea4e471c493a4327d3bdf5378308d647d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking prometheus-measures-exporter v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.85s [INFO] running `Command { std: "docker" "inspect" "d4fc1ecd22732600345506dee063edea4e471c493a4327d3bdf5378308d647d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fc1ecd22732600345506dee063edea4e471c493a4327d3bdf5378308d647d8", kill_on_drop: false }` [INFO] [stdout] d4fc1ecd22732600345506dee063edea4e471c493a4327d3bdf5378308d647d8 [INFO] checking prometheus-measures-exporter-0.0.1 against try#71e0d7ccb3d54cfc766c826c50c8d523223fcc5c for pr-127827-3 [INFO] extracting crate prometheus-measures-exporter 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate prometheus-measures-exporter 0.0.1 on toolchain 71e0d7ccb3d54cfc766c826c50c8d523223fcc5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate prometheus-measures-exporter 0.0.1 [INFO] finished tweaking crates.io crate prometheus-measures-exporter 0.0.1 [INFO] tweaked toml for crates.io crate prometheus-measures-exporter 0.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (latest: v1.4.1) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding protobuf v2.28.0 (latest: v3.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d12c3e1d34f62c8e2370243e5b070f24ff9484a7fa6e4b70486929cb0aaea21d [INFO] running `Command { std: "docker" "start" "-a" "d12c3e1d34f62c8e2370243e5b070f24ff9484a7fa6e4b70486929cb0aaea21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d12c3e1d34f62c8e2370243e5b070f24ff9484a7fa6e4b70486929cb0aaea21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12c3e1d34f62c8e2370243e5b070f24ff9484a7fa6e4b70486929cb0aaea21d", kill_on_drop: false }` [INFO] [stdout] d12c3e1d34f62c8e2370243e5b070f24ff9484a7fa6e4b70486929cb0aaea21d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+71e0d7ccb3d54cfc766c826c50c8d523223fcc5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f4b4b9828d8eaaf57c7851f369d1822d2a78fc70bfa18941cf3b6bb8eac08f6 [INFO] running `Command { std: "docker" "start" "-a" "0f4b4b9828d8eaaf57c7851f369d1822d2a78fc70bfa18941cf3b6bb8eac08f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.73 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking prometheus-measures-exporter v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/lib.rs:23:39: 23:46}` 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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [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@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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 `prometheus-measures-exporter` (lib test) 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/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: `{async closure@src/lib.rs:23:39: 23:46}` 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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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/lib.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 23 | let service = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(metrics)) }); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | the expected `async` closure body [INFO] [stdout] | the found `async` closure body [INFO] [stdout] 24 | let server = Server::bind(&addr).serve(service); [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@src/lib.rs:23:47: 23:52}` [INFO] [stdout] found `async` closure body `{async closure body@src/lib.rs:23:47: 23:52}` [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 `prometheus-measures-exporter` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "0f4b4b9828d8eaaf57c7851f369d1822d2a78fc70bfa18941cf3b6bb8eac08f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4b4b9828d8eaaf57c7851f369d1822d2a78fc70bfa18941cf3b6bb8eac08f6", kill_on_drop: false }` [INFO] [stdout] 0f4b4b9828d8eaaf57c7851f369d1822d2a78fc70bfa18941cf3b6bb8eac08f6