[INFO] fetching crate pingora-core 0.5.0... [INFO] checking pingora-core-0.5.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate pingora-core 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate pingora-core 0.5.0 [INFO] finished tweaking crates.io crate pingora-core 0.5.0 [INFO] tweaked toml for crates.io crate pingora-core 0.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pingora-core 0.5.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pingora-core 0.5.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee8c50399a3494cffdbfb32156fd5db826b4c3c94a38632e1e317a01bad8f611 [INFO] running `Command { std: "docker" "start" "-a" "ee8c50399a3494cffdbfb32156fd5db826b4c3c94a38632e1e317a01bad8f611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee8c50399a3494cffdbfb32156fd5db826b4c3c94a38632e1e317a01bad8f611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8c50399a3494cffdbfb32156fd5db826b4c3c94a38632e1e317a01bad8f611", kill_on_drop: false }` [INFO] [stdout] ee8c50399a3494cffdbfb32156fd5db826b4c3c94a38632e1e317a01bad8f611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56f6a7861814bab29a5bfa8a6b3408467199385cb72e58ff8a6f3fad3d874ee7 [INFO] running `Command { std: "docker" "start" "-a" "56f6a7861814bab29a5bfa8a6b3408467199385cb72e58ff8a6f3fad3d874ee7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking lru v0.14.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking pingora-error v0.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Checking sfv v0.10.4 [INFO] [stderr] Checking pingora-http v0.5.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking serde v1.0.202 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking pingora-timeout v0.5.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking pingora-runtime v0.5.0 [INFO] [stderr] Checking pingora-pool v0.5.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking pingora-core v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocols/http/v2/server.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn idle(&mut self) -> Idle { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 469 | pub fn idle(&mut self) -> Idle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking jemallocator v0.5.4 [INFO] [stdout] error[E0277]: `F` is not a future [INFO] [stdout] --> src/protocols/http/v1/server.rs:2024:72 [INFO] [stdout] | [INFO] [stdout] 2024 | let read_result = tokio::time::timeout(TEST_MAX_WAIT_FOR_READ, read_future).await; [INFO] [stdout] | -------------------- ^^^^^^^^^^^ `F` is not a future [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `tokio::time::timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.37.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: Future, [INFO] [stdout] | ^^^^^^ required by this bound in `timeout` [INFO] [stdout] help: consider further restricting type parameter `F` with trait `Future` [INFO] [stdout] | [INFO] [stdout] 2022 | F: IntoFuture>> + futures::Future, [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `F` is not a future [INFO] [stdout] --> src/protocols/http/v1/server.rs:2024:85 [INFO] [stdout] | [INFO] [stdout] 2024 | let read_result = tokio::time::timeout(TEST_MAX_WAIT_FOR_READ, read_future).await; [INFO] [stdout] | --------------------------------------------------------- ^^^^^ `F` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `F` [INFO] [stdout] | [INFO] [stdout] = note: required for `tokio::time::Timeout` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 2024 - let read_result = tokio::time::timeout(TEST_MAX_WAIT_FOR_READ, read_future).await; [INFO] [stdout] 2024 + let read_result = tokio::time::timeout(TEST_MAX_WAIT_FOR_READ, read_future); [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `F` with trait `Future` [INFO] [stdout] | [INFO] [stdout] 2022 | F: IntoFuture>> + futures::Future, [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pingora-core` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "56f6a7861814bab29a5bfa8a6b3408467199385cb72e58ff8a6f3fad3d874ee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f6a7861814bab29a5bfa8a6b3408467199385cb72e58ff8a6f3fad3d874ee7", kill_on_drop: false }` [INFO] [stdout] 56f6a7861814bab29a5bfa8a6b3408467199385cb72e58ff8a6f3fad3d874ee7