[INFO] cloning repository https://github.com/Luxzi/http-server-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luxzi/http-server-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxzi%2Fhttp-server-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxzi%2Fhttp-server-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d15108fc19aae0af60363f08a0f757266125134e [INFO] checking Luxzi/http-server-rs/d15108fc19aae0af60363f08a0f757266125134e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuxzi%2Fhttp-server-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luxzi/http-server-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luxzi/http-server-rs [INFO] finished tweaking git repo https://github.com/Luxzi/http-server-rs [INFO] tweaked toml for git repo https://github.com/Luxzi/http-server-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Luxzi/http-server-rs 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c642891340a900911f6d7b83a573a16f7380c1de885b18e0fcb3c50c1b479e70 [INFO] running `Command { std: "docker" "start" "-a" "c642891340a900911f6d7b83a573a16f7380c1de885b18e0fcb3c50c1b479e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c642891340a900911f6d7b83a573a16f7380c1de885b18e0fcb3c50c1b479e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c642891340a900911f6d7b83a573a16f7380c1de885b18e0fcb3c50c1b479e70", kill_on_drop: false }` [INFO] [stdout] c642891340a900911f6d7b83a573a16f7380c1de885b18e0fcb3c50c1b479e70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df2329633122d5a3b135e1bc8a8634c163c7a1e8f139a7b49e55064502ad732 [INFO] running `Command { std: "docker" "start" "-a" "4df2329633122d5a3b135e1bc8a8634c163c7a1e8f139a7b49e55064502ad732", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking http-server-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_extension` is never read [INFO] [stdout] --> src/media.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ContentExtension { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 5 | pub content_type: HttpContentType, [INFO] [stdout] 6 | pub file_extension: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root`, `threading`, and `async_` are never read [INFO] [stdout] --> src/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub root: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub threading: ServerThreadingConfig, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub async_: ServerAsyncConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable` and `max_threads` are never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ServerThreadingConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 26 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | pub max_threads: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable` and `max_tasks` are never read [INFO] [stdout] --> src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ServerAsyncConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 32 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub max_tasks: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_file_level` and `log_file` are never read [INFO] [stdout] --> src/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LoggingConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 38 | pub default_level: String, [INFO] [stdout] 39 | pub log_file_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub log_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_extension` is never read [INFO] [stdout] --> src/media.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ContentExtension { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 5 | pub content_type: HttpContentType, [INFO] [stdout] 6 | pub file_extension: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root`, `threading`, and `async_` are never read [INFO] [stdout] --> src/config.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub root: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub threading: ServerThreadingConfig, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | pub async_: ServerAsyncConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable` and `max_threads` are never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ServerThreadingConfig { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 26 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | pub max_threads: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enable` and `max_tasks` are never read [INFO] [stdout] --> src/config.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ServerAsyncConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 32 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | pub max_tasks: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_file_level` and `log_file` are never read [INFO] [stdout] --> src/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LoggingConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 38 | pub default_level: String, [INFO] [stdout] 39 | pub log_file_level: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub log_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.39s [INFO] running `Command { std: "docker" "inspect" "4df2329633122d5a3b135e1bc8a8634c163c7a1e8f139a7b49e55064502ad732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df2329633122d5a3b135e1bc8a8634c163c7a1e8f139a7b49e55064502ad732", kill_on_drop: false }` [INFO] [stdout] 4df2329633122d5a3b135e1bc8a8634c163c7a1e8f139a7b49e55064502ad732