[INFO] cloning repository https://github.com/igomez10/proxyrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igomez10/proxyrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figomez10%2Fproxyrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figomez10%2Fproxyrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e4fd138c418d56a24ca98b2024e40ab02019831 [INFO] checking igomez10/proxyrs against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figomez10%2Fproxyrs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/igomez10/proxyrs [INFO] finished tweaking git repo https://github.com/igomez10/proxyrs [INFO] tweaked toml for git repo https://github.com/igomez10/proxyrs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/igomez10/proxyrs on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/igomez10/proxyrs 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ace618b6c7bc8c1ff2c146950f27fe5f78c78e2a8a612a7d97bfd2328a96925 [INFO] running `Command { std: "docker" "start" "-a" "4ace618b6c7bc8c1ff2c146950f27fe5f78c78e2a8a612a7d97bfd2328a96925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ace618b6c7bc8c1ff2c146950f27fe5f78c78e2a8a612a7d97bfd2328a96925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ace618b6c7bc8c1ff2c146950f27fe5f78c78e2a8a612a7d97bfd2328a96925", kill_on_drop: false }` [INFO] [stdout] 4ace618b6c7bc8c1ff2c146950f27fe5f78c78e2a8a612a7d97bfd2328a96925 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59e86af0ee4aa6cb27fd949c34f4a794b110be5abddf2e539380e3976f90a7fc [INFO] running `Command { std: "docker" "start" "-a" "59e86af0ee4aa6cb27fd949c34f4a794b110be5abddf2e539380e3976f90a7fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking proxyrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_method` [INFO] [stdout] --> src/utils.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | method: http_method::Method::Get, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_method` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/http_method.rs, use `mod http_method` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod http_method; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::http_method::Method; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Method; [INFO] [stdout] | [INFO] [stdout] help: if you import `Method`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 199 - method: http_method::Method::Get, [INFO] [stdout] 199 + method: Method::Get, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_method` [INFO] [stdout] --> src/utils.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | method: http_method::Method::Post, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_method` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/http_method.rs, use `mod http_method` in this file to declare the module [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + mod http_method; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::http_method::Method; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Method; [INFO] [stdout] | [INFO] [stdout] help: if you import `Method`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 210 - method: http_method::Method::Post, [INFO] [stdout] 210 + method: Method::Post, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_headers` is never read [INFO] [stdout] --> src/http_client.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HTTPClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub default_headers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 121 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 124 | let _handle = thread::spawn(|| listen("localhost", "5656")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proxyrs` (bin "proxyrs" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "59e86af0ee4aa6cb27fd949c34f4a794b110be5abddf2e539380e3976f90a7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e86af0ee4aa6cb27fd949c34f4a794b110be5abddf2e539380e3976f90a7fc", kill_on_drop: false }` [INFO] [stdout] 59e86af0ee4aa6cb27fd949c34f4a794b110be5abddf2e539380e3976f90a7fc