[INFO] fetching crate rama-hyper 0.1001000.0... [INFO] checking rama-hyper-0.1001000.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rama-hyper 0.1001000.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rama-hyper 0.1001000.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rama-hyper 0.1001000.0 [INFO] removed 15 missing examples [INFO] removed 3 missing tests [INFO] finished tweaking crates.io crate rama-hyper 0.1001000.0 [INFO] tweaked toml for crates.io crate rama-hyper 0.1001000.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate rama-hyper 0.1001000.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fac951282ceb42c7f89b2a167c48d42ded34617447e0acb5df5c76c189425029 [INFO] running `Command { std: "docker" "start" "-a" "fac951282ceb42c7f89b2a167c48d42ded34617447e0acb5df5c76c189425029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fac951282ceb42c7f89b2a167c48d42ded34617447e0acb5df5c76c189425029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac951282ceb42c7f89b2a167c48d42ded34617447e0acb5df5c76c189425029", kill_on_drop: false }` [INFO] [stdout] fac951282ceb42c7f89b2a167c48d42ded34617447e0acb5df5c76c189425029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076d5fdae94400be5cdea1bf3ead37e9e648229a1dbfe5132fbb9288e7304ebd [INFO] running `Command { std: "docker" "start" "-a" "076d5fdae94400be5cdea1bf3ead37e9e648229a1dbfe5132fbb9288e7304ebd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking spmc v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking rama-hyper v0.1001000.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `hyper_unstable_tracing` [INFO] [stdout] --> src/trace.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(not(hyper_unstable_tracing), feature = "tracing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(hyper_unstable_tracing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(hyper_unstable_tracing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Streaming` is never constructed [INFO] [stdout] --> src/body/incoming.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | struct Streaming; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecodedLength` is never constructed [INFO] [stdout] --> src/body/length.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct DecodedLength(u64); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `CLOSE_DELIMITED`, `CHUNKED`, and `ZERO` are never used [INFO] [stdout] --> src/body/length.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 20 | impl DecodedLength { [INFO] [stdout] | ------------------ associated constants in this implementation [INFO] [stdout] 21 | pub(crate) const CLOSE_DELIMITED: DecodedLength = DecodedLength(::std::u64::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub(crate) const CHUNKED: DecodedLength = DecodedLength(::std::u64::MAX - 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub(crate) const ZERO: DecodedLength = DecodedLength(0); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssertSendSync` is never used [INFO] [stdout] --> src/error.rs:605:7 [INFO] [stdout] | [INFO] [stdout] 605 | trait AssertSendSync: Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeaderCaseMap` is never constructed [INFO] [stdout] --> src/ext/mod.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) struct HeaderCaseMap(HeaderMap); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/service/http.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait HttpService: sealed::Sealed { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn call(&mut self, req: Request) -> Self::Future; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stdout] error[E0432]: unresolved imports `super::DecodedLength`, `super::Sender` [INFO] [stdout] --> src/body/incoming.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 438 | use super::{Body, DecodedLength, Incoming, Sender, SizeHint}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ no `Sender` in `body::incoming` [INFO] [stdout] | | [INFO] [stdout] | no `DecodedLength` in `body::incoming` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::body::length::DecodedLength [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/body/incoming.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use super::DecodedLength; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/body/incoming.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / #[cfg(all( [INFO] [stdout] 17 | | any(feature = "http1", feature = "http2"), [INFO] [stdout] 18 | | any(feature = "client", feature = "server") [INFO] [stdout] 19 | | ))] [INFO] [stdout] | |___^ [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::sync::mpsc::Sender [INFO] [stdout] spmc::Sender [INFO] [stdout] tokio::net::unix::pipe::Sender [INFO] [stdout] tokio::sync::broadcast::Sender [INFO] [stdout] tokio::sync::mpsc::Sender [INFO] [stdout] tokio::sync::oneshot::Sender [INFO] [stdout] tokio::sync::watch::Sender [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/body/incoming.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/body/incoming.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(all(feature = "http1", any(feature = "client", feature = "server")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/body/incoming.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Sender, Incoming) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:83:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Send` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Send, Incoming) { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 + use spmc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net::unix::pipe::Sender; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::broadcast::Sender; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecodedLength` [INFO] [stdout] --> src/body/incoming.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | Self::new_channel(DecodedLength::CHUNKED, /*wanter =*/ false) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DecodedLength` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::body::length::DecodedLength; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `hyper_unstable_tracing` [INFO] [stdout] --> src/trace.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(not(hyper_unstable_tracing), feature = "tracing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(hyper_unstable_tracing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(hyper_unstable_tracing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_channel` found for struct `incoming::Incoming` in the current scope [INFO] [stdout] --> src/body/incoming.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Incoming { [INFO] [stdout] | ------------------- function or associated item `new_channel` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | Self::new_channel(DecodedLength::CHUNKED, /*wanter =*/ false) [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Incoming` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `incoming::Incoming` consider using one of the following associated functions: [INFO] [stdout] incoming::Incoming::new [INFO] [stdout] incoming::Incoming::empty [INFO] [stdout] --> src/body/incoming.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn new(kind: Kind) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn empty() -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `channel` with a similar name [INFO] [stdout] --> src/body/incoming.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Sender, Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_channel` found for struct `incoming::Incoming` in the current scope [INFO] [stdout] --> src/body/incoming.rs:483:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Incoming { [INFO] [stdout] | ------------------- function or associated item `new_channel` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 483 | Incoming::new_channel(DecodedLength::new(4), /*wanter =*/ false).1, [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Incoming` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `incoming::Incoming` consider using one of the following associated functions: [INFO] [stdout] incoming::Incoming::new [INFO] [stdout] incoming::Incoming::empty [INFO] [stdout] --> src/body/incoming.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn new(kind: Kind) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn empty() -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `channel` with a similar name [INFO] [stdout] --> src/body/incoming.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Sender, Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_channel` found for struct `incoming::Incoming` in the current scope [INFO] [stdout] --> src/body/incoming.rs:544:39 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Incoming { [INFO] [stdout] | ------------------- function or associated item `new_channel` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 544 | let (mut tx, _rx) = Incoming::new_channel(DecodedLength::CHUNKED, /*wanter = */ false); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Incoming` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `incoming::Incoming` consider using one of the following associated functions: [INFO] [stdout] incoming::Incoming::new [INFO] [stdout] incoming::Incoming::empty [INFO] [stdout] --> src/body/incoming.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn new(kind: Kind) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn empty() -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `channel` with a similar name [INFO] [stdout] --> src/body/incoming.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Sender, Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_channel` found for struct `incoming::Incoming` in the current scope [INFO] [stdout] --> src/body/incoming.rs:555:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Incoming { [INFO] [stdout] | ------------------- function or associated item `new_channel` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 555 | Incoming::new_channel(DecodedLength::CHUNKED, /*wanter = */ true); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Incoming` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `incoming::Incoming` consider using one of the following associated functions: [INFO] [stdout] incoming::Incoming::new [INFO] [stdout] incoming::Incoming::empty [INFO] [stdout] --> src/body/incoming.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn new(kind: Kind) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn empty() -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `channel` with a similar name [INFO] [stdout] --> src/body/incoming.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Sender, Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_channel` found for struct `incoming::Incoming` in the current scope [INFO] [stdout] --> src/body/incoming.rs:577:38 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Incoming { [INFO] [stdout] | ------------------- function or associated item `new_channel` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 577 | let (mut tx, rx) = Incoming::new_channel(DecodedLength::CHUNKED, /*wanter = */ true); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Incoming` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `incoming::Incoming` consider using one of the following associated functions: [INFO] [stdout] incoming::Incoming::new [INFO] [stdout] incoming::Incoming::empty [INFO] [stdout] --> src/body/incoming.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | fn new(kind: Kind) -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn empty() -> Incoming { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `channel` with a similar name [INFO] [stdout] --> src/body/incoming.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn channel() -> (Sender, Incoming) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/body/incoming.rs:590:42 [INFO] [stdout] | [INFO] [stdout] 590 | Poll::Ready(Err(ref e)) if e.is_closed() => (), [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_if` found for struct `length::DecodedLength` in the current scope [INFO] [stdout] --> src/body/length.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct DecodedLength(u64); [INFO] [stdout] | ------------------------------- method `sub_if` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | len.sub_if(20); [INFO] [stdout] | ^^^^^^ method not found in `DecodedLength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_if` found for struct `length::DecodedLength` in the current scope [INFO] [stdout] --> src/body/length.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct DecodedLength(u64); [INFO] [stdout] | ------------------------------- method `sub_if` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | len.sub_if(20); [INFO] [stdout] | ^^^^^^ method not found in `DecodedLength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rama-hyper` (lib test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "076d5fdae94400be5cdea1bf3ead37e9e648229a1dbfe5132fbb9288e7304ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076d5fdae94400be5cdea1bf3ead37e9e648229a1dbfe5132fbb9288e7304ebd", kill_on_drop: false }` [INFO] [stdout] 076d5fdae94400be5cdea1bf3ead37e9e648229a1dbfe5132fbb9288e7304ebd