[INFO] fetching crate humbird 0.1.4... [INFO] checking humbird-0.1.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate humbird 0.1.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate humbird 0.1.4 [INFO] finished tweaking crates.io crate humbird 0.1.4 [INFO] tweaked toml for crates.io crate humbird 0.1.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate humbird 0.1.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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 158 packages to latest compatible versions [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.4) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90663f9f4873451f72698d10750c60106e0ac558708754459f75c4f8cea7876a [INFO] running `Command { std: "docker" "start" "-a" "90663f9f4873451f72698d10750c60106e0ac558708754459f75c4f8cea7876a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90663f9f4873451f72698d10750c60106e0ac558708754459f75c4f8cea7876a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90663f9f4873451f72698d10750c60106e0ac558708754459f75c4f8cea7876a", kill_on_drop: false }` [INFO] [stdout] 90663f9f4873451f72698d10750c60106e0ac558708754459f75c4f8cea7876a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c24632d62d62d1859cd002bd4ed2191f7f52786a775a0d657a7e9b37207634d [INFO] running `Command { std: "docker" "start" "-a" "1c24632d62d62d1859cd002bd4ed2191f7f52786a775a0d657a7e9b37207634d", kill_on_drop: false }` [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking humbird v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::net` [INFO] [stdout] --> src/core/server.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | use mio::net::TcpListener; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.8.11/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | / cfg_net! { [INFO] [stdout] 61 | | pub mod net; [INFO] [stdout] | | ^^^ [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::net` [INFO] [stdout] --> src/protocol/http.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use mio::{event::Event, net::TcpStream, Token}; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.8.11/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | / cfg_net! { [INFO] [stdout] 61 | | pub mod net; [INFO] [stdout] | | ^^^ [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `mio` [INFO] [stdout] --> src/protocol/http.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn event_poll_decode(stream: &mio::net::TcpStream) -> Result { [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.8.11/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | / cfg_net! { [INFO] [stdout] 61 | | pub mod net; [INFO] [stdout] | | ^^^ [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use std::net; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net; [INFO] [stdout] | [INFO] [stdout] help: if you import `net`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 245 - pub fn event_poll_decode(stream: &mio::net::TcpStream) -> Result { [INFO] [stdout] 245 + pub fn event_poll_decode(stream: &net::TcpStream) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/server.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | /// global constants related to services [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::Event` [INFO] [stdout] --> src/core/server.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::{event::Event, Events, Interest, Poll, Token}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/event.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// global event pool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/protocol/http.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | /// response body [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 495 | / match response.head.get("Content-Length") { [INFO] [stdout] 496 | | Some(length_str) => { [INFO] [stdout] 497 | | match length_str.parse::() { [INFO] [stdout] 498 | | Ok(length) => { [INFO] [stdout] ... | [INFO] [stdout] 518 | | None => break, [INFO] [stdout] 519 | | } [INFO] [stdout] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::net` [INFO] [stdout] --> src/core/server.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | use mio::net::TcpListener; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.8.11/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | / cfg_net! { [INFO] [stdout] 61 | | pub mod net; [INFO] [stdout] | | ^^^ [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::net` [INFO] [stdout] --> src/protocol/http.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use mio::{event::Event, net::TcpStream, Token}; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.8.11/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | / cfg_net! { [INFO] [stdout] 61 | | pub mod net; [INFO] [stdout] | | ^^^ [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/proxy.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | _ => Err("".to_string()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/proxy.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 37 | BalancingMode::WEIGHT => Proxy::to(host, port, request).await, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 38 | BalancingMode::RANDOM => Proxy::to(host, port, request).await, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 39 | BalancingMode::POLLING => Proxy::to(host, port, request).await, [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 40 | _ => Err("".to_string()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `mio` [INFO] [stdout] --> src/protocol/http.rs:245:44 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn event_poll_decode(stream: &mio::net::TcpStream) -> Result { [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mio-0.8.11/src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 60 | / cfg_net! { [INFO] [stdout] 61 | | pub mod net; [INFO] [stdout] | | ^^^ [INFO] [stdout] 62 | | } [INFO] [stdout] | |_- the item is gated behind the `net` feature [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use std::net; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net; [INFO] [stdout] | [INFO] [stdout] help: if you import `net`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 245 - pub fn event_poll_decode(stream: &mio::net::TcpStream) -> Result { [INFO] [stdout] 245 + pub fn event_poll_decode(stream: &net::TcpStream) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/server.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | /// global constants related to services [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::Event` [INFO] [stdout] --> src/core/server.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::{event::Event, Events, Interest, Poll, Token}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/event.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// global event pool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/protocol/http.rs:494:21 [INFO] [stdout] | [INFO] [stdout] 494 | /// response body [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 495 | / match response.head.get("Content-Length") { [INFO] [stdout] 496 | | Some(length_str) => { [INFO] [stdout] 497 | | match length_str.parse::() { [INFO] [stdout] 498 | | Ok(length) => { [INFO] [stdout] ... | [INFO] [stdout] 518 | | None => break, [INFO] [stdout] 519 | | } [INFO] [stdout] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/proxy.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | _ => Err("".to_string()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/proxy.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 37 | BalancingMode::WEIGHT => Proxy::to(host, port, request).await, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 38 | BalancingMode::RANDOM => Proxy::to(host, port, request).await, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 39 | BalancingMode::POLLING => Proxy::to(host, port, request).await, [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 40 | _ => Err("".to_string()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `mio::Poll` in the current scope [INFO] [stdout] --> src/core/server.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | match Poll::new() { [INFO] [stdout] | ^^^ function or associated item not found in `mio::Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | Err(ref err) if err.kind() == io::ErrorKind::WouldBlock => break, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | Err(ref err) if err.kind() == io::ErrorKind::Interrupted => break, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:310:61 [INFO] [stdout] | [INFO] [stdout] 310 | ... Err(ref err) if err.kind() == io::ErrorKind::WouldBlock => { [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:314:52 [INFO] [stdout] | [INFO] [stdout] 314 | ... if err.kind() == io::ErrorKind::Interrupted => [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/core/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `mio::Poll` in the current scope [INFO] [stdout] --> src/core/server.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | match Poll::new() { [INFO] [stdout] | ^^^ function or associated item not found in `mio::Poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocol/http.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, 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 `humbird` (lib) due to 8 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | Err(ref err) if err.kind() == io::ErrorKind::WouldBlock => break, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:287:45 [INFO] [stdout] | [INFO] [stdout] 287 | Err(ref err) if err.kind() == io::ErrorKind::Interrupted => break, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:310:61 [INFO] [stdout] | [INFO] [stdout] 310 | ... Err(ref err) if err.kind() == io::ErrorKind::WouldBlock => { [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:314:52 [INFO] [stdout] | [INFO] [stdout] 314 | ... if err.kind() == io::ErrorKind::Interrupted => [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/core/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | io::{self, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocol/http.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, 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 `humbird` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1c24632d62d62d1859cd002bd4ed2191f7f52786a775a0d657a7e9b37207634d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c24632d62d62d1859cd002bd4ed2191f7f52786a775a0d657a7e9b37207634d", kill_on_drop: false }` [INFO] [stdout] 1c24632d62d62d1859cd002bd4ed2191f7f52786a775a0d657a7e9b37207634d