[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#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felcid14%2Frust-http-proxy" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elcid14/rust-http-proxy on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded neli-proc-macros v0.1.3 [INFO] [stderr] Downloaded neli v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b589db6bd42db31a72040a008874e7fcacb4ac3c24b4142187d39d9d73b7995c [INFO] running `Command { std: "docker" "start" "-a" "b589db6bd42db31a72040a008874e7fcacb4ac3c24b4142187d39d9d73b7995c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b589db6bd42db31a72040a008874e7fcacb4ac3c24b4142187d39d9d73b7995c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b589db6bd42db31a72040a008874e7fcacb4ac3c24b4142187d39d9d73b7995c", kill_on_drop: false }` [INFO] [stdout] b589db6bd42db31a72040a008874e7fcacb4ac3c24b4142187d39d9d73b7995c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35c0a13f45753a5cab4d9621a6f6684c72d03951f98360032c790d57427d7adb [INFO] running `Command { std: "docker" "start" "-a" "35c0a13f45753a5cab4d9621a6f6684c72d03951f98360032c790d57427d7adb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror 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, TcpStrea... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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, TcpStrea... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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/d336647335db03a0fc5b24fc5325cd3905c5b8e8/library/core/src/result.rs:566:4 [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/d336647335db03a0fc5b24fc5325cd3905c5b8e8/library/core/src/result.rs:566:4 [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" "35c0a13f45753a5cab4d9621a6f6684c72d03951f98360032c790d57427d7adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c0a13f45753a5cab4d9621a6f6684c72d03951f98360032c790d57427d7adb", kill_on_drop: false }` [INFO] [stdout] 35c0a13f45753a5cab4d9621a6f6684c72d03951f98360032c790d57427d7adb