[INFO] cloning repository https://github.com/trilaf/simple-file-server-bounty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trilaf/simple-file-server-bounty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/trilaf/simple-file-server-bounty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trilaf/simple-file-server-bounty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/trilaf/simple-file-server-bounty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trilaf/simple-file-server-bounty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d35d47de3a2bbc88e3e33bf1121a345854eb0cb [INFO] checking trilaf/simple-file-server-bounty against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrilaf%2Fsimple-file-server-bounty" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trilaf/simple-file-server-bounty [INFO] finished tweaking git repo https://github.com/trilaf/simple-file-server-bounty [INFO] tweaked toml for git repo https://github.com/trilaf/simple-file-server-bounty written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trilaf/simple-file-server-bounty on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trilaf/simple-file-server-bounty 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded url-escape v0.1.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b82165c0bc0dc6bc4cd06a6149c9afdace96096f6fbeabb14afc9f02fc89bb55 [INFO] running `Command { std: "docker" "start" "-a" "b82165c0bc0dc6bc4cd06a6149c9afdace96096f6fbeabb14afc9f02fc89bb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b82165c0bc0dc6bc4cd06a6149c9afdace96096f6fbeabb14afc9f02fc89bb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82165c0bc0dc6bc4cd06a6149c9afdace96096f6fbeabb14afc9f02fc89bb55", kill_on_drop: false }` [INFO] [stdout] b82165c0bc0dc6bc4cd06a6149c9afdace96096f6fbeabb14afc9f02fc89bb55 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5691aa34d7157bcc8b0450600a1a08ae2d6937814e13efe4d550c0e7c0ad610 [INFO] running `Command { std: "docker" "start" "-a" "e5691aa34d7157bcc8b0450600a1a08ae2d6937814e13efe4d550c0e7c0ad610", kill_on_drop: false }` [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Checking url-escape v0.1.1 [INFO] [stderr] Checking simple-file-server-bounty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/http/response.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ borrow::Borrow, fmt::Display, fs::DirEntry, io, path::Path }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/http/response.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ borrow::Borrow, fmt::Display, fs::DirEntry, io, path::Path }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `content_length` is never read [INFO] [stdout] --> src/http/response.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut content_length: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `content_length` is never read [INFO] [stdout] --> src/http/response.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut content_length: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `version`, and `headers` are never read [INFO] [stdout] --> src/http/request.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub resource: Resource, [INFO] [stdout] 9 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | headers: HttpHeader, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method`, `version`, and `headers` are never read [INFO] [stdout] --> src/http/request.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub resource: Resource, [INFO] [stdout] 9 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | headers: HttpHeader, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `status`, `content_length`, and `accept_ranges` are never read [INFO] [stdout] --> src/http/response.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | status: ResponseStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | content_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | accept_ranges: AcceptRanges, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `status`, `content_length`, and `accept_ranges` are never read [INFO] [stdout] --> src/http/response.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | status: ResponseStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | content_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | accept_ranges: AcceptRanges, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "e5691aa34d7157bcc8b0450600a1a08ae2d6937814e13efe4d550c0e7c0ad610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5691aa34d7157bcc8b0450600a1a08ae2d6937814e13efe4d550c0e7c0ad610", kill_on_drop: false }` [INFO] [stdout] e5691aa34d7157bcc8b0450600a1a08ae2d6937814e13efe4d550c0e7c0ad610