[INFO] cloning repository https://github.com/bjmoore/rs-httpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjmoore/rs-httpd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjmoore%2Frs-httpd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjmoore%2Frs-httpd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16614ec5aa22505621654d74300b026a03c75f70 [INFO] checking bjmoore/rs-httpd against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjmoore%2Frs-httpd" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjmoore/rs-httpd on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bjmoore/rs-httpd [INFO] finished tweaking git repo https://github.com/bjmoore/rs-httpd [INFO] tweaked toml for git repo https://github.com/bjmoore/rs-httpd written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bjmoore/rs-httpd 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f69e45af2f466ad555d16b8300f5d18551e3f24f264a5111d239c16ab6a72d15 [INFO] running `Command { std: "docker" "start" "-a" "f69e45af2f466ad555d16b8300f5d18551e3f24f264a5111d239c16ab6a72d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f69e45af2f466ad555d16b8300f5d18551e3f24f264a5111d239c16ab6a72d15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69e45af2f466ad555d16b8300f5d18551e3f24f264a5111d239c16ab6a72d15", kill_on_drop: false }` [INFO] [stdout] f69e45af2f466ad555d16b8300f5d18551e3f24f264a5111d239c16ab6a72d15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3119e2171e67bbf8ea6e99331bdf15482218bbf2a6bb6a4234472fd417c1372d [INFO] running `Command { std: "docker" "start" "-a" "3119e2171e67bbf8ea6e99331bdf15482218bbf2a6bb6a4234472fd417c1372d", kill_on_drop: false }` [INFO] [stderr] Checking rs-httpd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, and `Write` [INFO] [stdout] --> src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `BufWriter`, and `Write` [INFO] [stdout] --> src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | io::{BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut request = HttpRequest { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/http.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | fn parse_httpreq_header(line: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let conn = HttpConnection::new(stream); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn handle_client(mut stream: TcpStream) -> std::io::Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/http.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/http.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpResponse` is never constructed [INFO] [stdout] --> src/http.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket` is never read [INFO] [stdout] --> src/http.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct HttpConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 21 | socket: BufReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_request` and `send_reply` are never used [INFO] [stdout] --> src/http.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HttpConnection { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_next_request(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn send_reply(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_crlf` is never used [INFO] [stdout] --> src/http.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn read_to_crlf(socket: &mut BufReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_httpreq_header` is never used [INFO] [stdout] --> src/http.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn parse_httpreq_header(line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/http.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut request = HttpRequest { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/http.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | fn parse_httpreq_header(line: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let conn = HttpConnection::new(stream); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn handle_client(mut stream: TcpStream) -> std::io::Result<()> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpMethod` is never used [INFO] [stdout] --> src/http.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum HttpMethod { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/http.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpResponse` is never constructed [INFO] [stdout] --> src/http.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `socket` is never read [INFO] [stdout] --> src/http.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct HttpConnection { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 21 | socket: BufReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_next_request` and `send_reply` are never used [INFO] [stdout] --> src/http.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HttpConnection { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_next_request(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn send_reply(&mut self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_crlf` is never used [INFO] [stdout] --> src/http.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn read_to_crlf(socket: &mut BufReader) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_httpreq_header` is never used [INFO] [stdout] --> src/http.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn parse_httpreq_header(line: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "3119e2171e67bbf8ea6e99331bdf15482218bbf2a6bb6a4234472fd417c1372d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3119e2171e67bbf8ea6e99331bdf15482218bbf2a6bb6a4234472fd417c1372d", kill_on_drop: false }` [INFO] [stdout] 3119e2171e67bbf8ea6e99331bdf15482218bbf2a6bb6a4234472fd417c1372d