[INFO] cloning repository https://github.com/MatiasOrcajo/http_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatiasOrcajo/http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatiasOrcajo%2Fhttp_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatiasOrcajo%2Fhttp_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55e038d8d9296784a26bc66f02e805c77013fb2e [INFO] checking MatiasOrcajo/http_server against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatiasOrcajo%2Fhttp_server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MatiasOrcajo/http_server [INFO] finished tweaking git repo https://github.com/MatiasOrcajo/http_server [INFO] tweaked toml for git repo https://github.com/MatiasOrcajo/http_server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatiasOrcajo/http_server on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MatiasOrcajo/http_server 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking MatiasOrcajo/http_server against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatiasOrcajo%2Fhttp_server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MatiasOrcajo/http_server [INFO] finished tweaking git repo https://github.com/MatiasOrcajo/http_server [INFO] tweaked toml for git repo https://github.com/MatiasOrcajo/http_server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatiasOrcajo/http_server on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MatiasOrcajo/http_server 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 133d1dbb0b0bf95aceb2c93506cca2d4e2fd8dd50bb2441e6c48775e136c0b3d [INFO] running `Command { std: "docker" "start" "-a" "133d1dbb0b0bf95aceb2c93506cca2d4e2fd8dd50bb2441e6c48775e136c0b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "133d1dbb0b0bf95aceb2c93506cca2d4e2fd8dd50bb2441e6c48775e136c0b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133d1dbb0b0bf95aceb2c93506cca2d4e2fd8dd50bb2441e6c48775e136c0b3d", kill_on_drop: false }` [INFO] [stdout] 133d1dbb0b0bf95aceb2c93506cca2d4e2fd8dd50bb2441e6c48775e136c0b3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b41bf84b791d5d6cbf955b0147600d26dbd1e3eefcf34f7d266ee69661e2c8c6 [INFO] running `Command { std: "docker" "start" "-a" "b41bf84b791d5d6cbf955b0147600d26dbd1e3eefcf34f7d266ee69661e2c8c6", kill_on_drop: false }` [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/http/handle_requests.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io::{Read, Write}, net::TcpListener}; [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 import: `crate::utils::fastcgi::fastcgi` [INFO] [stdout] --> src/http/handle_requests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::fastcgi::fastcgi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/http/handle_requests.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let request = Request::new(String::from_utf8_lossy(&buffer).to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub request_uri: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub form_data: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub http_user_agent: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub content_length: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub server_protocol: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub remote_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub server_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub server_port: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCGI_BEGIN_REQUEST` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const FCGI_BEGIN_REQUEST: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCGI_PARAMS` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const FCGI_PARAMS: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCGI_STDIN` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FCGI_STDIN: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_header` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn build_header(ty: u8, request_id: u16, content_length: u16, padding_length: u8) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_name_value_pair` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn build_name_value_pair(key: &str, value: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fastcgi` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fastcgi(request: Request) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/http/handle_requests.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io::{Read, Write}, net::TcpListener}; [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 import: `crate::utils::fastcgi::fastcgi` [INFO] [stdout] --> src/http/handle_requests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::fastcgi::fastcgi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/http/handle_requests.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let request = Request::new(String::from_utf8_lossy(&buffer).to_string()).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/request.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub request_uri: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub form_data: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub http_user_agent: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub content_length: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub server_protocol: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub remote_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub server_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | pub server_port: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCGI_BEGIN_REQUEST` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const FCGI_BEGIN_REQUEST: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCGI_PARAMS` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const FCGI_PARAMS: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCGI_STDIN` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FCGI_STDIN: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_header` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn build_header(ty: u8, request_id: u16, content_length: u16, padding_length: u8) -> [u8; 8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_name_value_pair` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn build_name_value_pair(key: &str, value: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fastcgi` is never used [INFO] [stdout] --> src/utils/fastcgi.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fastcgi(request: Request) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "b41bf84b791d5d6cbf955b0147600d26dbd1e3eefcf34f7d266ee69661e2c8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41bf84b791d5d6cbf955b0147600d26dbd1e3eefcf34f7d266ee69661e2c8c6", kill_on_drop: false }` [INFO] [stdout] b41bf84b791d5d6cbf955b0147600d26dbd1e3eefcf34f7d266ee69661e2c8c6