[INFO] cloning repository https://github.com/ha-abdou/http_implementations [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ha-abdou/http_implementations" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fha-abdou%2Fhttp_implementations", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fha-abdou%2Fhttp_implementations'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c623f0fbbeae2d3a5ff4cf2189e67792912e057d [INFO] testing ha-abdou/http_implementations against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fha-abdou%2Fhttp_implementations" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ha-abdou/http_implementations [INFO] finished tweaking git repo https://github.com/ha-abdou/http_implementations [INFO] tweaked toml for git repo https://github.com/ha-abdou/http_implementations written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ha-abdou/http_implementations on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ha-abdou/http_implementations 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 669e9c74d8daebba7929505dd619e0e91e875e0215c59b2bad5f40f4c8ad6e3e [INFO] running `Command { std: "docker" "start" "-a" "669e9c74d8daebba7929505dd619e0e91e875e0215c59b2bad5f40f4c8ad6e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669e9c74d8daebba7929505dd619e0e91e875e0215c59b2bad5f40f4c8ad6e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669e9c74d8daebba7929505dd619e0e91e875e0215c59b2bad5f40f4c8ad6e3e", kill_on_drop: false }` [INFO] [stdout] 669e9c74d8daebba7929505dd619e0e91e875e0215c59b2bad5f40f4c8ad6e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f00b5b9f0cd488792dedb450f31e01840bba7fcd64d20c3b4bc05d586a5ee48b [INFO] running `Command { std: "docker" "start" "-a" "f00b5b9f0cd488792dedb450f31e01840bba7fcd64d20c3b4bc05d586a5ee48b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling rand_core v0.9.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling http_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::http_parser::parse_http_request` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lib::http_parser::parse_http_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand as ring_rand` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ring::rand as ring_rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand::SystemRandom` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ring::rand::SystemRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPair` and `RsaKeyPair` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use ring::signature::{KeyPair, RsaKeyPair}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpParseError` is never constructed [INFO] [stdout] --> src/lib/http_parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/http_parser.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl HttpParseError { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | fn new(msg: &str) -> HttpParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Method` is never used [INFO] [stdout] --> src/lib/http_parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpVersion` is never used [INFO] [stdout] --> src/lib/http_parser.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum HttpVersion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/lib/http_parser.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct HttpRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_request_line` is never used [INFO] [stdout] --> src/lib/http_parser.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_request_line<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_headers` is never used [INFO] [stdout] --> src/lib/http_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_http_headers<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> src/lib/http_parser.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn parse_http_request<'a>(text: &'a str) -> Result, HttpParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.93s [INFO] running `Command { std: "docker" "inspect" "f00b5b9f0cd488792dedb450f31e01840bba7fcd64d20c3b4bc05d586a5ee48b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f00b5b9f0cd488792dedb450f31e01840bba7fcd64d20c3b4bc05d586a5ee48b", kill_on_drop: false }` [INFO] [stdout] f00b5b9f0cd488792dedb450f31e01840bba7fcd64d20c3b4bc05d586a5ee48b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2e645af87096a2a267341bcb5e7b1f72ff36d5022675e2c125f8e35d5ae810f8 [INFO] running `Command { std: "docker" "start" "-a" "2e645af87096a2a267341bcb5e7b1f72ff36d5022675e2c125f8e35d5ae810f8", kill_on_drop: false }` [INFO] [stderr] Compiling http_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::http_parser::parse_http_request` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lib::http_parser::parse_http_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand as ring_rand` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ring::rand as ring_rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand::SystemRandom` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ring::rand::SystemRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPair` and `RsaKeyPair` [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use ring::signature::{KeyPair, RsaKeyPair}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpParseError` is never constructed [INFO] [stdout] --> src/lib/http_parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/http_parser.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl HttpParseError { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | fn new(msg: &str) -> HttpParseError { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Method` is never used [INFO] [stdout] --> src/lib/http_parser.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpVersion` is never used [INFO] [stdout] --> src/lib/http_parser.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum HttpVersion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/lib/http_parser.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct HttpRequest<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_request_line` is never used [INFO] [stdout] --> src/lib/http_parser.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_request_line<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_headers` is never used [INFO] [stdout] --> src/lib/http_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_http_headers<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_http_request` is never used [INFO] [stdout] --> src/lib/http_parser.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn parse_http_request<'a>(text: &'a str) -> Result, HttpParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "2e645af87096a2a267341bcb5e7b1f72ff36d5022675e2c125f8e35d5ae810f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e645af87096a2a267341bcb5e7b1f72ff36d5022675e2c125f8e35d5ae810f8", kill_on_drop: false }` [INFO] [stdout] 2e645af87096a2a267341bcb5e7b1f72ff36d5022675e2c125f8e35d5ae810f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 594de8b1d74196d1c35467df45866ebc2e4003c7556c828c30a4454590994f9e [INFO] running `Command { std: "docker" "start" "-a" "594de8b1d74196d1c35467df45866ebc2e4003c7556c828c30a4454590994f9e", kill_on_drop: false }` [INFO] [stderr] warning: found module declaration for lib.rs [INFO] [stderr] --> src/main.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | mod lib; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lib.rs is the root of this crate's library target [INFO] [stderr] = help: to refer to it from other targets, use the library's name as the path [INFO] [stderr] = note: `#[warn(special_module_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `lib::http_parser::parse_http_request` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use lib::http_parser::parse_http_request; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ring::rand as ring_rand` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ring::rand as ring_rand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ring::rand::SystemRandom` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use ring::rand::SystemRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `KeyPair` and `RsaKeyPair` [INFO] [stderr] --> src/main.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | use ring::signature::{KeyPair, RsaKeyPair}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `rand::thread_rng`: renamed to `rng` [INFO] [stderr] --> src/main.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | let mut rng = rand::thread_rng(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `HttpParseError` is never constructed [INFO] [stderr] --> src/lib/http_parser.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct HttpParseError { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/lib/http_parser.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 9 | impl HttpParseError { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 10 | fn new(msg: &str) -> HttpParseError { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Method` is never used [INFO] [stderr] --> src/lib/http_parser.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | pub enum Method { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `HttpVersion` is never used [INFO] [stderr] --> src/lib/http_parser.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | pub enum HttpVersion { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HttpRequest` is never constructed [INFO] [stderr] --> src/lib/http_parser.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct HttpRequest<'a> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `parse_request_line` is never used [INFO] [stderr] --> src/lib/http_parser.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | fn parse_request_line<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_http_headers` is never used [INFO] [stderr] --> src/lib/http_parser.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn parse_http_headers<'a>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_http_request` is never used [INFO] [stderr] --> src/lib/http_parser.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn parse_http_request<'a>(text: &'a str) -> Result, HttpParseError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `http_1` (bin "http_1" test) generated 14 warnings (run `cargo fix --bin "http_1" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/http_1-37095e5ca7d78fcd) [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] running `Command { std: "docker" "inspect" "594de8b1d74196d1c35467df45866ebc2e4003c7556c828c30a4454590994f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594de8b1d74196d1c35467df45866ebc2e4003c7556c828c30a4454590994f9e", kill_on_drop: false }` [INFO] [stdout] 594de8b1d74196d1c35467df45866ebc2e4003c7556c828c30a4454590994f9e