[INFO] fetching crate humbird 0.1.4... [INFO] testing humbird-0.1.4 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate humbird 0.1.4 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate humbird 0.1.4 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57acf7669a17467aaabcc9ac21c4c5e125aa3eab4674ac8aa5859d395db752ba [INFO] running `Command { std: "docker" "start" "-a" "57acf7669a17467aaabcc9ac21c4c5e125aa3eab4674ac8aa5859d395db752ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57acf7669a17467aaabcc9ac21c4c5e125aa3eab4674ac8aa5859d395db752ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57acf7669a17467aaabcc9ac21c4c5e125aa3eab4674ac8aa5859d395db752ba", kill_on_drop: false }` [INFO] [stdout] 57acf7669a17467aaabcc9ac21c4c5e125aa3eab4674ac8aa5859d395db752ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b18d4a94698bcceeefe4c79e2f6fe5d00bda47cf551dddcda19e6edce32cc87c [INFO] running `Command { std: "docker" "start" "-a" "b18d4a94698bcceeefe4c79e2f6fe5d00bda47cf551dddcda19e6edce32cc87c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling winnow v0.6.3 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling humbird v0.1.4 (/opt/rustwide/workdir) [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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: `http` [INFO] [stdout] --> src/core/server.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | ... Ok(http) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/core/server.rs:180:46 [INFO] [stdout] | [INFO] [stdout] 180 | ... Some(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [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] [INFO] [stdout] warning: fields `request` and `response` are never read [INFO] [stdout] --> src/core/proxy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Proxy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | /// request abstract structure [INFO] [stdout] 23 | request: Request, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | /// Response abstract structure [INFO] [stdout] 25 | response: Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Proxy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol` and `params` are never read [INFO] [stdout] --> src/protocol/http.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 157 | protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 158 | params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol`, `req_method`, and `req_path` are never read [INFO] [stdout] --> src/protocol/http.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 388 | protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | req_method: Method, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 396 | req_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.22s [INFO] running `Command { std: "docker" "inspect" "b18d4a94698bcceeefe4c79e2f6fe5d00bda47cf551dddcda19e6edce32cc87c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b18d4a94698bcceeefe4c79e2f6fe5d00bda47cf551dddcda19e6edce32cc87c", kill_on_drop: false }` [INFO] [stdout] b18d4a94698bcceeefe4c79e2f6fe5d00bda47cf551dddcda19e6edce32cc87c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2e9c5e63f75a540f057f7ff943615c01cc7dd8e3b3aa761e5b3f9c3dd44174a [INFO] running `Command { std: "docker" "start" "-a" "c2e9c5e63f75a540f057f7ff943615c01cc7dd8e3b3aa761e5b3f9c3dd44174a", kill_on_drop: false }` [INFO] [stderr] Compiling humbird v0.1.4 (/opt/rustwide/workdir) [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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: `http` [INFO] [stdout] --> src/core/server.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | ... Ok(http) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/core/server.rs:180:46 [INFO] [stdout] | [INFO] [stdout] 180 | ... Some(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [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] [INFO] [stdout] warning: fields `request` and `response` are never read [INFO] [stdout] --> src/core/proxy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Proxy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | /// request abstract structure [INFO] [stdout] 23 | request: Request, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | /// Response abstract structure [INFO] [stdout] 25 | response: Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Proxy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol` and `params` are never read [INFO] [stdout] --> src/protocol/http.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 157 | protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 158 | params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol`, `req_method`, and `req_path` are never read [INFO] [stdout] --> src/protocol/http.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 388 | protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | req_method: Method, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 396 | req_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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: `http` [INFO] [stdout] --> src/core/server.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | ... Ok(http) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/core/server.rs:180:46 [INFO] [stdout] | [INFO] [stdout] 180 | ... Some(stream) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [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] [INFO] [stdout] warning: fields `request` and `response` are never read [INFO] [stdout] --> src/core/proxy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Proxy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 22 | /// request abstract structure [INFO] [stdout] 23 | request: Request, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | /// Response abstract structure [INFO] [stdout] 25 | response: Response, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Proxy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol` and `params` are never read [INFO] [stdout] --> src/protocol/http.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 157 | protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 158 | params: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol`, `req_method`, and `req_path` are never read [INFO] [stdout] --> src/protocol/http.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 387 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 388 | protocol: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | req_method: Method, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 396 | req_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "c2e9c5e63f75a540f057f7ff943615c01cc7dd8e3b3aa761e5b3f9c3dd44174a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e9c5e63f75a540f057f7ff943615c01cc7dd8e3b3aa761e5b3f9c3dd44174a", kill_on_drop: false }` [INFO] [stdout] c2e9c5e63f75a540f057f7ff943615c01cc7dd8e3b3aa761e5b3f9c3dd44174a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edbfc12f659fe11c9e9cc174c231b7cb9e00c5a35f5fad774db17fdb75ac561f [INFO] running `Command { std: "docker" "start" "-a" "edbfc12f659fe11c9e9cc174c231b7cb9e00c5a35f5fad774db17fdb75ac561f", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/core/server.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | /// global constants related to services [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `event::Event` [INFO] [stderr] --> src/core/server.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use mio::{event::Event, Events, Interest, Poll, Token}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/core/event.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | /// global event pool [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/protocol/http.rs:494:21 [INFO] [stderr] | [INFO] [stderr] 494 | /// response body [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 495 | / match response.head.get("Content-Length") { [INFO] [stderr] 496 | | Some(length_str) => { [INFO] [stderr] 497 | | match length_str.parse::() { [INFO] [stderr] 498 | | Ok(length) => { [INFO] [stderr] ... | [INFO] [stderr] 518 | | None => break, [INFO] [stderr] 519 | | } [INFO] [stderr] | |_____________________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/core/proxy.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | _ => Err("".to_string()), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/core/server.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | io::{self, Write}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `http` [INFO] [stderr] --> src/core/server.rs:172:40 [INFO] [stderr] | [INFO] [stderr] 172 | ... Ok(http) => {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_http` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/core/server.rs:180:46 [INFO] [stderr] | [INFO] [stderr] 180 | ... Some(stream) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/protocol/http.rs:436:21 [INFO] [stderr] | [INFO] [stderr] 436 | Err(e) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: fields `request` and `response` are never read [INFO] [stderr] --> src/core/proxy.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Proxy { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 22 | /// request abstract structure [INFO] [stderr] 23 | request: Request, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 24 | /// Response abstract structure [INFO] [stderr] 25 | response: Response, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Proxy` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `protocol` and `params` are never read [INFO] [stderr] --> src/protocol/http.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 154 | pub struct Request { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 157 | protocol: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 158 | params: HashMap, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `protocol`, `req_method`, and `req_path` are never read [INFO] [stderr] --> src/protocol/http.rs:388:5 [INFO] [stderr] | [INFO] [stderr] 387 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 388 | protocol: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 395 | req_method: Method, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 396 | req_path: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `humbird` (lib) generated 12 warnings (run `cargo fix --lib -p humbird` to apply 1 suggestion) [INFO] [stderr] warning: `humbird` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/humbird-697c34285721d16c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests humbird [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/protocol/http.rs - protocol::http::Request::raw (line 366) ... FAILED [INFO] [stdout] test src/core/server.rs - core::server::Server::config_run (line 46) ... FAILED [INFO] [stdout] test src/core/server.rs - core::server::Server::run (line 58) ... FAILED [INFO] [stdout] test src/core/plugins.rs - core::plugins::register_router_plugin (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/protocol/http.rs - protocol::http::Request::raw (line 366) stdout ---- [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 3 | GET / HTTP/1.1\r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 3 | GET / HTTP/1.1\r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 4 | request head1\r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 4 | request head1\r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 5 | request head1\r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 5 | request head1\r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 6 | \r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/protocol/http.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 6 | \r\n [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `r` [INFO] [stdout] --> src/protocol/http.rs:367:16 [INFO] [stdout] | [INFO] [stdout] 3 | GET / HTTP/1.1\r\n [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/server.rs - core::server::Server::config_run (line 46) stdout ---- [INFO] [stdout] error: expected expression, found `:` [INFO] [stdout] --> src/core/server.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 3 | Server::run(:NetModel::EventPoll,"/config.toml"); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> src/core/server.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 5 | Server::run(NetModel::Multithread,"/config.toml"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use humbird::core::server::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetModel` [INFO] [stdout] --> src/core/server.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 5 | Server::run(NetModel::Multithread,"/config.toml"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NetModel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use humbird::core::server::NetModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/server.rs - core::server::Server::run (line 58) stdout ---- [INFO] [stdout] error: expected expression, found `:` [INFO] [stdout] --> src/core/server.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 3 | Server::run(:NetModel::EventPoll); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> src/core/server.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 5 | Server::run(NetModel::Multithread); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use humbird::core::server::Server; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetModel` [INFO] [stdout] --> src/core/server.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 5 | Server::run(NetModel::Multithread); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NetModel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use humbird::core::server::NetModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/plugins.rs - core::plugins::register_router_plugin (line 16) stdout ---- [INFO] [stdout] error: cannot find macro `run` in this scope [INFO] [stdout] --> src/core/plugins.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 12 | run!(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `register_router_plugin` in this scope [INFO] [stdout] --> src/core/plugins.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 10 | register_router_plugin!("/path" => router_function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use humbird::register_router_plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/core/plugins.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 6 | fn router_function(req: Request, mut res: Response) -> Response { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use core::error::Request; [INFO] [stdout] | [INFO] [stdout] 3 + use humbird::protocol::http::Request; [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/core/plugins.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 6 | fn router_function(req: Request, mut res: Response) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use humbird::protocol::http::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/core/plugins.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 6 | fn router_function(req: Request, mut res: Response) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use humbird::protocol::http::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/core/plugins.rs - core::plugins::register_router_plugin (line 16) [INFO] [stdout] src/core/server.rs - core::server::Server::config_run (line 46) [INFO] [stdout] src/core/server.rs - core::server::Server::run (line 58) [INFO] [stdout] src/protocol/http.rs - protocol::http::Request::raw (line 366) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "edbfc12f659fe11c9e9cc174c231b7cb9e00c5a35f5fad774db17fdb75ac561f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbfc12f659fe11c9e9cc174c231b7cb9e00c5a35f5fad774db17fdb75ac561f", kill_on_drop: false }` [INFO] [stdout] edbfc12f659fe11c9e9cc174c231b7cb9e00c5a35f5fad774db17fdb75ac561f [INFO] testing humbird-0.1.4 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate humbird 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate humbird 0.1.4 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 767aca37ec58aeccc2a02aa3258c1d9dabd690fa932b42134e4d1b5f9d410345 [INFO] running `Command { std: "docker" "start" "-a" "767aca37ec58aeccc2a02aa3258c1d9dabd690fa932b42134e4d1b5f9d410345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "767aca37ec58aeccc2a02aa3258c1d9dabd690fa932b42134e4d1b5f9d410345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767aca37ec58aeccc2a02aa3258c1d9dabd690fa932b42134e4d1b5f9d410345", kill_on_drop: false }` [INFO] [stdout] 767aca37ec58aeccc2a02aa3258c1d9dabd690fa932b42134e4d1b5f9d410345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d92f8493bbb35db56fadb7799ad797d245f6c9015b4bd6b6b3e65eff0e02c7 [INFO] running `Command { std: "docker" "start" "-a" "98d92f8493bbb35db56fadb7799ad797d245f6c9015b4bd6b6b3e65eff0e02c7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling winnow v0.6.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="full"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="num_cpus"' --cfg 'feature="parking_lot"' --cfg 'feature="process"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="signal"' --cfg 'feature="signal-hook-registry"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' --cfg 'feature="windows-sys"' -C metadata=b20701621ae5c646 -C extra-filename=-b20701621ae5c646 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-9a0875bf2af5b73e.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-6d8946442dcf11ac.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-a098f4a5e70993ac.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-90c8c664a844620a.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-ba2e9ff06164bdc2.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-e7704e5c7ccfd1ec.rmeta --extern signal_hook_registry=/opt/rustwide/target/debug/deps/libsignal_hook_registry-37bd8e84c8f8ffdb.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-f7e07c045f1b362b.rmeta --extern tokio_macros=/opt/rustwide/target/debug/deps/libtokio_macros-866236446e8cc221.so --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "98d92f8493bbb35db56fadb7799ad797d245f6c9015b4bd6b6b3e65eff0e02c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d92f8493bbb35db56fadb7799ad797d245f6c9015b4bd6b6b3e65eff0e02c7", kill_on_drop: false }` [INFO] [stdout] 98d92f8493bbb35db56fadb7799ad797d245f6c9015b4bd6b6b3e65eff0e02c7