[INFO] fetching crate humbird 0.1.4... [INFO] testing humbird-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate humbird 0.1.4 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate humbird 0.1.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding mio v0.8.11 (available: v1.1.0) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f95f1b6b2beb0f22f866d04e836da294f94e65eb0dedd34dea6827ee4c92fc10 [INFO] running `Command { std: "docker" "start" "-a" "f95f1b6b2beb0f22f866d04e836da294f94e65eb0dedd34dea6827ee4c92fc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f95f1b6b2beb0f22f866d04e836da294f94e65eb0dedd34dea6827ee4c92fc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f95f1b6b2beb0f22f866d04e836da294f94e65eb0dedd34dea6827ee4c92fc10", kill_on_drop: false }` [INFO] [stdout] f95f1b6b2beb0f22f866d04e836da294f94e65eb0dedd34dea6827ee4c92fc10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de0ef08e7b733d67cd219396f118a92df8e0d839c63e099a4461eab39833ff03 [INFO] running `Command { std: "docker" "start" "-a" "de0ef08e7b733d67cd219396f118a92df8e0d839c63e099a4461eab39833ff03", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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/core/server.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | poll.registry() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/server.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 150 | ... Err(e) if e.kind() == io::ErrorKind::WouldBlock => { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:286:41 [INFO] [stdout] | [INFO] [stdout] 286 | Err(ref err) if err.kind() == io::ErrorKind::WouldBlock => break, [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | Err(ref err) if err.kind() == io::ErrorKind::Interrupted => break, [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:310:57 [INFO] [stdout] | [INFO] [stdout] 310 | ... Err(ref err) if err.kind() == io::ErrorKind::WouldBlock => { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/protocol/http.rs:314:48 [INFO] [stdout] | [INFO] [stdout] 314 | ... if err.kind() == io::ErrorKind::Interrupted => [INFO] [stdout] | ^^^ cannot infer type [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)]` (part of `#[warn(unused)]`) 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 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "de0ef08e7b733d67cd219396f118a92df8e0d839c63e099a4461eab39833ff03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0ef08e7b733d67cd219396f118a92df8e0d839c63e099a4461eab39833ff03", kill_on_drop: false }` [INFO] [stdout] de0ef08e7b733d67cd219396f118a92df8e0d839c63e099a4461eab39833ff03