[INFO] cloning repository https://github.com/elcid14/rust-http-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elcid14/rust-http-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felcid14%2Frust-http-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felcid14%2Frust-http-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8072ad208eefe9d81f0664216281be79fa3fe654 [INFO] testing elcid14/rust-http-proxy against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felcid14%2Frust-http-proxy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/elcid14/rust-http-proxy [INFO] finished tweaking git repo https://github.com/elcid14/rust-http-proxy [INFO] tweaked toml for git repo https://github.com/elcid14/rust-http-proxy written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elcid14/rust-http-proxy on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elcid14/rust-http-proxy 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded local-ip-address v0.6.3 [INFO] [stderr] Downloaded neli-proc-macros v0.1.3 [INFO] [stderr] Downloaded neli v0.6.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded serde_derive v1.0.215 [INFO] [stderr] Downloaded serde v1.0.215 [INFO] [stderr] Downloaded serde_json v1.0.132 [INFO] [stderr] Downloaded syn v2.0.87 [INFO] [stderr] Downloaded libc v0.2.167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec766e0d16a56ed6d8c3866b4899a5dd36316a0a91e2f7cb5be642f5fd094a0d [INFO] running `Command { std: "docker" "start" "-a" "ec766e0d16a56ed6d8c3866b4899a5dd36316a0a91e2f7cb5be642f5fd094a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec766e0d16a56ed6d8c3866b4899a5dd36316a0a91e2f7cb5be642f5fd094a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec766e0d16a56ed6d8c3866b4899a5dd36316a0a91e2f7cb5be642f5fd094a0d", kill_on_drop: false }` [INFO] [stdout] ec766e0d16a56ed6d8c3866b4899a5dd36316a0a91e2f7cb5be642f5fd094a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 698bb3ad50dd82bd3e99d4855ba4e33bab57296caa8a548fdee84dc369dfe0fc [INFO] running `Command { std: "docker" "start" "-a" "698bb3ad50dd82bd3e99d4855ba4e33bab57296caa8a548fdee84dc369dfe0fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Compiling neli v0.6.4 [INFO] [stderr] Compiling local-ip-address v0.6.3 [INFO] [stderr] Compiling api_inspector_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error::Error` and `f32::consts::E` [INFO] [stdout] --> src/main.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, error::Error, f32::consts::E, fmt, io::{Read, Write}, net::{IpAddr, SocketAddr, TcpListener, TcpStream}, ... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | let parsed_request: Result<_, Result<(HttpRequest), std::io::Error>> = match parse_incoming_reqest(&stream,request_ip){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let parsed_request: Result<_, Result<(HttpRequest), std::io::Error>> = match parse_incoming_reqest(&stream,request_ip){ [INFO] [stdout] 113 + let parsed_request: Result<_, Result> = match parse_incoming_reqest(&stream,request_ip){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => Err(e), [INFO] [stdout] | --- ^ expected `Result`, found `HttpError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `HttpError` [INFO] [stdout] help: the type constructed contains `HttpError` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => Err(e), [INFO] [stdout] | ^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:557:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `api_inspector_project` (bin "api_inspector_project") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "698bb3ad50dd82bd3e99d4855ba4e33bab57296caa8a548fdee84dc369dfe0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "698bb3ad50dd82bd3e99d4855ba4e33bab57296caa8a548fdee84dc369dfe0fc", kill_on_drop: false }` [INFO] [stdout] 698bb3ad50dd82bd3e99d4855ba4e33bab57296caa8a548fdee84dc369dfe0fc