[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] checking elcid14/rust-http-proxy against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felcid14%2Frust-http-proxy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elcid14/rust-http-proxy on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4294196b38a8522d56a8370e41d961aa093fd8187e5695782fb6d34668722777 [INFO] running `Command { std: "docker" "start" "-a" "4294196b38a8522d56a8370e41d961aa093fd8187e5695782fb6d34668722777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4294196b38a8522d56a8370e41d961aa093fd8187e5695782fb6d34668722777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4294196b38a8522d56a8370e41d961aa093fd8187e5695782fb6d34668722777", kill_on_drop: false }` [INFO] [stdout] 4294196b38a8522d56a8370e41d961aa093fd8187e5695782fb6d34668722777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cca22ec54ed7de164e8001bdcf603b684d4ff43429007d4c69c19963600dbf24 [INFO] running `Command { std: "docker" "start" "-a" "cca22ec54ed7de164e8001bdcf603b684d4ff43429007d4c69c19963600dbf24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [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 neli-proc-macros v0.1.3 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking local-ip-address v0.6.3 [INFO] [stderr] Checking 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] 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/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/result.rs:557:5 [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/998b6603a58e47f42ccce7a67943234e96b6839e/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] [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" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "cca22ec54ed7de164e8001bdcf603b684d4ff43429007d4c69c19963600dbf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca22ec54ed7de164e8001bdcf603b684d4ff43429007d4c69c19963600dbf24", kill_on_drop: false }` [INFO] [stdout] cca22ec54ed7de164e8001bdcf603b684d4ff43429007d4c69c19963600dbf24