[INFO] cloning repository https://github.com/thtTNT/PotatoWebServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thtTNT/PotatoWebServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthtTNT%2FPotatoWebServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthtTNT%2FPotatoWebServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 986c571373116cbd0b254d6fb9b6bc8510162176 [INFO] checking thtTNT/PotatoWebServer against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthtTNT%2FPotatoWebServer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thtTNT/PotatoWebServer on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thtTNT/PotatoWebServer [INFO] finished tweaking git repo https://github.com/thtTNT/PotatoWebServer [INFO] tweaked toml for git repo https://github.com/thtTNT/PotatoWebServer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thtTNT/PotatoWebServer 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" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8606f083e10e7cd73d92542fed050847711d877e894a3a97560bde2927892fe [INFO] running `Command { std: "docker" "start" "-a" "d8606f083e10e7cd73d92542fed050847711d877e894a3a97560bde2927892fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8606f083e10e7cd73d92542fed050847711d877e894a3a97560bde2927892fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8606f083e10e7cd73d92542fed050847711d877e894a3a97560bde2927892fe", kill_on_drop: false }` [INFO] [stdout] d8606f083e10e7cd73d92542fed050847711d877e894a3a97560bde2927892fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f57312adeaf45346618497b73150e08cb33772eeea279ca361ecdc76f133b0f [INFO] running `Command { std: "docker" "start" "-a" "2f57312adeaf45346618497b73150e08cb33772eeea279ca361ecdc76f133b0f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking PotatoWebServer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpStatus` [INFO] [stdout] --> src/main.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::network::{FileProxy, HttpStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpStatus` [INFO] [stdout] --> src/main.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::network::{FileProxy, HttpStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/network.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Proxy { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 10 | fn read(&mut self, buf: &mut [u8]) -> std::io::Result; [INFO] [stdout] 11 | fn write(&mut self, buf: &[u8]) -> std::io::Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/network.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum HttpStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 115 | Ok, [INFO] [stdout] 116 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | Accepted, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 118 | NoContent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 119 | MovedPermanently, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | Found, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 121 | NotModified, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | BadRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 125 | NotFound, [INFO] [stdout] 126 | MethodNotAllowed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | BadGateway, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/network.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Proxy { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 10 | fn read(&mut self, buf: &mut [u8]) -> std::io::Result; [INFO] [stdout] 11 | fn write(&mut self, buf: &[u8]) -> std::io::Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/network.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum HttpStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 115 | Ok, [INFO] [stdout] 116 | Created, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | Accepted, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 118 | NoContent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 119 | MovedPermanently, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 120 | Found, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 121 | NotModified, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 122 | BadRequest, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 123 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 124 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 125 | NotFound, [INFO] [stdout] 126 | MethodNotAllowed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 129 | BadGateway, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 130 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.72s [INFO] running `Command { std: "docker" "inspect" "2f57312adeaf45346618497b73150e08cb33772eeea279ca361ecdc76f133b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f57312adeaf45346618497b73150e08cb33772eeea279ca361ecdc76f133b0f", kill_on_drop: false }` [INFO] [stdout] 2f57312adeaf45346618497b73150e08cb33772eeea279ca361ecdc76f133b0f