[INFO] cloning repository https://github.com/GitaiQAQ/SimpleWebServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GitaiQAQ/SimpleWebServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGitaiQAQ%2FSimpleWebServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGitaiQAQ%2FSimpleWebServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46179c9a0cd0a122fc6f66ad7d9b566904cb9b89 [INFO] checking GitaiQAQ/SimpleWebServer against master#7c4ac0603e9ee5295bc802c90575391288a69a8a for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGitaiQAQ%2FSimpleWebServer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GitaiQAQ/SimpleWebServer on toolchain 7c4ac0603e9ee5295bc802c90575391288a69a8a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GitaiQAQ/SimpleWebServer [INFO] finished tweaking git repo https://github.com/GitaiQAQ/SimpleWebServer [INFO] tweaked toml for git repo https://github.com/GitaiQAQ/SimpleWebServer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GitaiQAQ/SimpleWebServer 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" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Updating `git://mirrors.ustc.edu.cn/crates.io-index` index [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking GitaiQAQ/SimpleWebServer against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGitaiQAQ%2FSimpleWebServer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GitaiQAQ/SimpleWebServer on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GitaiQAQ/SimpleWebServer [INFO] finished tweaking git repo https://github.com/GitaiQAQ/SimpleWebServer [INFO] tweaked toml for git repo https://github.com/GitaiQAQ/SimpleWebServer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GitaiQAQ/SimpleWebServer 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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Updating `git://mirrors.ustc.edu.cn/crates.io-index` index [ERROR] error running command: no output for 300 seconds [INFO] checking GitaiQAQ/SimpleWebServer against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGitaiQAQ%2FSimpleWebServer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GitaiQAQ/SimpleWebServer on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GitaiQAQ/SimpleWebServer [INFO] finished tweaking git repo https://github.com/GitaiQAQ/SimpleWebServer [INFO] tweaked toml for git repo https://github.com/GitaiQAQ/SimpleWebServer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GitaiQAQ/SimpleWebServer 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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Updating `git://mirrors.ustc.edu.cn/crates.io-index` index [INFO] [stderr] Adding aho-corasick v1.1.3 [INFO] [stderr] Adding android-tzdata v0.1.1 [INFO] [stderr] Adding android_system_properties v0.1.5 [INFO] [stderr] Adding atty v0.2.14 [INFO] [stderr] Adding autocfg v1.3.0 [INFO] [stderr] Adding bumpalo v3.16.0 [INFO] [stderr] Adding cc v1.0.97 [INFO] [stderr] Adding cfg-if v1.0.0 [INFO] [stderr] Adding chrono v0.4.38 [INFO] [stderr] Adding core-foundation-sys v0.8.6 [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding iana-time-zone v0.1.60 [INFO] [stderr] Adding iana-time-zone-haiku v0.1.2 [INFO] [stderr] Adding js-sys v0.3.69 [INFO] [stderr] Adding libc v0.2.154 [INFO] [stderr] Adding log v0.4.21 [INFO] [stderr] Adding memchr v2.7.2 [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding once_cell v1.19.0 [INFO] [stderr] Adding proc-macro2 v1.0.82 [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v1.0.36 [INFO] [stderr] Adding regex v1.10.4 [INFO] [stderr] Adding regex-automata v0.4.6 [INFO] [stderr] Adding regex-syntax v0.8.3 [INFO] [stderr] Adding syn v2.0.63 [INFO] [stderr] Adding termcolor v1.4.1 [INFO] [stderr] Adding unicode-ident v1.0.12 [INFO] [stderr] Adding wasm-bindgen v0.2.92 [INFO] [stderr] Adding wasm-bindgen-backend v0.2.92 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.92 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.92 [INFO] [stderr] Adding winapi v0.3.9 [INFO] [stderr] Adding winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding winapi-util v0.1.8 [INFO] [stderr] Adding winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] [stderr] Adding windows-sys v0.52.0 [INFO] [stderr] Adding windows-targets v0.52.5 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.5 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.5 [INFO] [stderr] Adding windows_i686_gnu v0.52.5 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.5 [INFO] [stderr] Adding windows_i686_msvc v0.52.5 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.5 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.5 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.5 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afca0b96cd71c0ca7651639911c214f679389284fc4244d218f58902b9b2bec4 [INFO] running `Command { std: "docker" "start" "-a" "afca0b96cd71c0ca7651639911c214f679389284fc4244d218f58902b9b2bec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afca0b96cd71c0ca7651639911c214f679389284fc4244d218f58902b9b2bec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afca0b96cd71c0ca7651639911c214f679389284fc4244d218f58902b9b2bec4", kill_on_drop: false }` [INFO] [stdout] afca0b96cd71c0ca7651639911c214f679389284fc4244d218f58902b9b2bec4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2717e1b48771d13ea3f59aed95d90221b6beafbd21f47bae5a4a7399dd60e151 [INFO] running `Command { std: "docker" "start" "-a" "2717e1b48771d13ea3f59aed95d90221b6beafbd21f47bae5a4a7399dd60e151", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking simplewebserver v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HeaderName` [INFO] [stdout] --> src/simplewebserver/request.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | use super::header::{Header, HeaderName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderName` [INFO] [stdout] --> src/simplewebserver/request.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | use super::header::{Header, HeaderName}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bufreader_buffer` has been stable since 1.37.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(bufreader_buffer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `bufreader_buffer` has been stable since 1.37.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(bufreader_buffer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/simplewebserver/request.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | .trim_left_matches("@") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 122 | .trim_start_matches("@") [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/simplewebserver/request.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | .trim_left_matches("@") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 122 | .trim_start_matches("@") [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/simplewebserver/header.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => unimplemented!() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/simplewebserver/header.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => unimplemented!() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:224:19 [INFO] [stdout] | [INFO] [stdout] 224 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/simplewebserver/header.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/simplewebserver/status.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum StatusCode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | Created = 201, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | /// 202 Accepted [INFO] [stdout] 52 | Accepted = 202, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | /// 204 No Content [INFO] [stdout] 54 | NoContent = 204, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | MultipleChoices = 300, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | /// 301 Move Permanently [INFO] [stdout] 69 | MovedPermanently = 301, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// 302 Move Temporarily [INFO] [stdout] 71 | MovedTemporarily = 302, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | /// 304 Not Modified [INFO] [stdout] 73 | NotModified = 304, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 87 | /// 401 Unauthorized [INFO] [stdout] 88 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 89 | /// 403 Forbidden [INFO] [stdout] 90 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | /// 404 Not Found [INFO] [stdout] 92 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | InternalServerError = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | /// 501 Not Implemented [INFO] [stdout] 109 | NotImplemented = 501, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 110 | /// 502 BadGateway [INFO] [stdout] 111 | BadGateway = 502, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 112 | /// 503 Service Unavailable [INFO] [stdout] 113 | ServiceUnavailable = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/simplewebserver/status.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum StatusCode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | Created = 201, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | /// 202 Accepted [INFO] [stdout] 52 | Accepted = 202, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | /// 204 No Content [INFO] [stdout] 54 | NoContent = 204, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | MultipleChoices = 300, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | /// 301 Move Permanently [INFO] [stdout] 69 | MovedPermanently = 301, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | /// 302 Move Temporarily [INFO] [stdout] 71 | MovedTemporarily = 302, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | /// 304 Not Modified [INFO] [stdout] 73 | NotModified = 304, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 87 | /// 401 Unauthorized [INFO] [stdout] 88 | Unauthorized = 401, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 89 | /// 403 Forbidden [INFO] [stdout] 90 | Forbidden = 403, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | /// 404 Not Found [INFO] [stdout] 92 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | InternalServerError = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | /// 501 Not Implemented [INFO] [stdout] 109 | NotImplemented = 501, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 110 | /// 502 BadGateway [INFO] [stdout] 111 | BadGateway = 502, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 112 | /// 503 Service Unavailable [INFO] [stdout] 113 | ServiceUnavailable = 503, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `password` are never read [INFO] [stdout] --> src/simplewebserver/header.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | BaseAuthorization { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 74 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentLength` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | type ContentLength = usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GIF`, `JPEG`, `PNG`, `SVG`, and `WEBP` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 152 | enum Image { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 156 | GIF, [INFO] [stdout] | ^^^ [INFO] [stdout] 157 | JPEG, [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | PNG, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | SVG, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | WEBP, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` 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 `username` and `password` are never read [INFO] [stdout] --> src/simplewebserver/header.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | BaseAuthorization { [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 74 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentLength` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:126:6 [INFO] [stdout] | [INFO] [stdout] 126 | type ContentLength = usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WAVE`, `WAV`, `WEBM`, and `OGG` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 180 | enum Audio { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | WAVE, [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | WAV, [INFO] [stdout] | ^^^ [INFO] [stdout] 185 | WEBM, [INFO] [stdout] | ^^^^ [INFO] [stdout] 186 | OGG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Audio` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GIF`, `JPEG`, `PNG`, `SVG`, and `WEBP` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 152 | enum Image { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 156 | GIF, [INFO] [stdout] | ^^^ [INFO] [stdout] 157 | JPEG, [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | PNG, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | SVG, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | WEBP, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WAVE`, `WAV`, `WEBM`, and `OGG` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 180 | enum Audio { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | WAVE, [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | WAV, [INFO] [stdout] | ^^^ [INFO] [stdout] 185 | WEBM, [INFO] [stdout] | ^^^^ [INFO] [stdout] 186 | OGG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Audio` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WEBM` and `OGG` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 206 | enum Video { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | WEBM, [INFO] [stdout] | ^^^^ [INFO] [stdout] 210 | OGG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Video` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WEBM` and `OGG` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 206 | enum Video { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 209 | WEBM, [INFO] [stdout] | ^^^^ [INFO] [stdout] 210 | OGG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Video` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `JavaScript` and `OGG` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 230 | enum Application { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 234 | JavaScript, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 235 | OGG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `JavaScript` and `OGG` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 230 | enum Application { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 234 | JavaScript, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 235 | OGG, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Application` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FormData` and `ByteRanges` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 256 | enum Multipart { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 260 | FormData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 261 | ByteRanges, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Multipart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FormData` and `ByteRanges` are never constructed [INFO] [stdout] --> src/simplewebserver/header.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 256 | enum Multipart { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 260 | FormData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 261 | ByteRanges, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Multipart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | Image(Image), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 284 | Image(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | Image(Image), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 284 | Image(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | Audio(Audio), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 285 | Audio(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | Video(Video), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 286 | Video(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | Audio(Audio), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 285 | Audio(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | Application(Application), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 287 | Application(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | Video(Video), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 286 | Video(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 288 | Multipart(Multipart), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 288 | Multipart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | Application(Application), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 287 | Application(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Date` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:311:6 [INFO] [stdout] | [INFO] [stdout] 311 | type Date = DateTime; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Expires` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:312:6 [INFO] [stdout] | [INFO] [stdout] 312 | type Expires = Date; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IfModifiedSince` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | type IfModifiedSince = Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/simplewebserver/header.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 288 | Multipart(Multipart), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 288 | Multipart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LastModified` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:315:6 [INFO] [stdout] | [INFO] [stdout] 315 | type LastModified = Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Date` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:311:6 [INFO] [stdout] | [INFO] [stdout] 311 | type Date = DateTime; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Location` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:316:6 [INFO] [stdout] | [INFO] [stdout] 316 | type Location = String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Expires` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:312:6 [INFO] [stdout] | [INFO] [stdout] 312 | type Expires = Date; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Referer` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | type Referer = String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IfModifiedSince` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:314:6 [INFO] [stdout] | [INFO] [stdout] 314 | type IfModifiedSince = Date; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Server` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:318:6 [INFO] [stdout] | [INFO] [stdout] 318 | type Server = String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LastModified` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:315:6 [INFO] [stdout] | [INFO] [stdout] 315 | type LastModified = Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UserAgent` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:319:6 [INFO] [stdout] | [INFO] [stdout] 319 | type UserAgent = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WWWAuthenticate` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:320:6 [INFO] [stdout] | [INFO] [stdout] 320 | type WWWAuthenticate = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Location` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:316:6 [INFO] [stdout] | [INFO] [stdout] 316 | type Location = String; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Accept` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:321:6 [INFO] [stdout] | [INFO] [stdout] 321 | type Accept = ContentType; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Referer` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | type Referer = String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Charset` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 324 | enum Charset {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Server` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:318:6 [INFO] [stdout] | [INFO] [stdout] 318 | type Server = String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AcceptCharset` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:326:6 [INFO] [stdout] | [INFO] [stdout] 326 | type AcceptCharset = Charset; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UserAgent` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:319:6 [INFO] [stdout] | [INFO] [stdout] 319 | type UserAgent = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AcceptEncoding` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:327:6 [INFO] [stdout] | [INFO] [stdout] 327 | type AcceptEncoding = ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WWWAuthenticate` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:320:6 [INFO] [stdout] | [INFO] [stdout] 320 | type WWWAuthenticate = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AcceptLanguage` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 328 | type AcceptLanguage = String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Accept` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:321:6 [INFO] [stdout] | [INFO] [stdout] 321 | type Accept = ContentType; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Charset` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 324 | enum Charset {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AcceptCharset` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:326:6 [INFO] [stdout] | [INFO] [stdout] 326 | type AcceptCharset = Charset; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentLanguage` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | type ContentLanguage = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AcceptEncoding` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:327:6 [INFO] [stdout] | [INFO] [stdout] 327 | type AcceptEncoding = ContentType; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:330:6 [INFO] [stdout] | [INFO] [stdout] 330 | type Link = String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AcceptLanguage` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:328:6 [INFO] [stdout] | [INFO] [stdout] 328 | type AcceptLanguage = String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MIMEVersion` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | type MIMEVersion = String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContentLanguage` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | type ContentLanguage = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RetryAfter` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:332:6 [INFO] [stdout] | [INFO] [stdout] 332 | type RetryAfter = String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Title` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | type Title = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:330:6 [INFO] [stdout] | [INFO] [stdout] 330 | type Link = String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `URI` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:334:6 [INFO] [stdout] | [INFO] [stdout] 334 | type URI = String; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MIMEVersion` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | type MIMEVersion = String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RetryAfter` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:332:6 [INFO] [stdout] | [INFO] [stdout] 332 | type RetryAfter = String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Title` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 333 | type Title = String; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `URI` is never used [INFO] [stdout] --> src/simplewebserver/header.rs:334:6 [INFO] [stdout] | [INFO] [stdout] 334 | type URI = String; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/simplewebserver/request.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl URI { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn scheme(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn protocol(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn secure(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn socket(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn path(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn query(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn fragment(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason_phrase` is never read [INFO] [stdout] --> src/simplewebserver/response.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StatusLine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | reason_phrase: ReasonPhrase, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `not_found` is never used [INFO] [stdout] --> src/simplewebserver/response.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 77 | pub fn not_found() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/simplewebserver/request.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl URI { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn scheme(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn protocol(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | fn secure(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn socket(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn path(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn query(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn fragment(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Element` is never used [INFO] [stdout] --> src/simplewebserver/index.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | trait Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason_phrase` is never read [INFO] [stdout] --> src/simplewebserver/response.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StatusLine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | reason_phrase: ReasonPhrase, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/simplewebserver/index.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct Index<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `not_found` is never used [INFO] [stdout] --> src/simplewebserver/response.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 77 | pub fn not_found() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/simplewebserver/index.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Page where T: Display { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Element` is never used [INFO] [stdout] --> src/simplewebserver/index.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | trait Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/simplewebserver/index.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/simplewebserver/index.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct Index<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/simplewebserver/index.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct Page where T: Display { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/simplewebserver/index.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / App::new(addr) [INFO] [stdout] 40 | | .run(); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = App::new(addr) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | stream.write_fmt(format_args!("{}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = stream.write_fmt(format_args!("{}", res)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/header.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | write!(f, "{},", item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / App::new(addr) [INFO] [stdout] 40 | | .run(); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = App::new(addr) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | stream.write_fmt(format_args!("{}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = stream.write_fmt(format_args!("{}", res)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | writeln!(f, "{}: {}", k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | writeln!(f, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | writeln!(f, "{}", HORIZONTAL_LINE_REQUEST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | writeln!(f, "{:#?}", &self.header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/header.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | write!(f, "{},", item); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | reader.read_exact(&mut buffer[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = reader.read_exact(&mut buffer[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "{} ", self.version); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | write!(f, "{} ", self.status_code.to_u16()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | writeln!(f, "{}: {}", k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | writeln!(f, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | writeln!(f, "{}", HORIZONTAL_LINE_RESPONSE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | writeln!(f, "{:#?}", &self.header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/index.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | f.write_str(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = f.write_str(""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/index.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | f.write_str(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = f.write_str(""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/index.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | f.write_fmt(format_args!("{}", self.ele)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = f.write_fmt(format_args!("{}", self.ele)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | writeln!(f, "{}: {}", k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | writeln!(f, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | writeln!(f, "{}", HORIZONTAL_LINE_REQUEST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | writeln!(f, "{:#?}", &self.header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/request.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | reader.read_exact(&mut buffer[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = reader.read_exact(&mut buffer[..]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "{} ", self.version); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | write!(f, "{} ", self.status_code.to_u16()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | writeln!(f, "{}: {}", k, v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | writeln!(f, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | writeln!(f, "{}", HORIZONTAL_LINE_RESPONSE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | writeln!(f, "{}", &self.status_line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/response.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | writeln!(f, "{:#?}", &self.header); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/index.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | f.write_str(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = f.write_str(""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/index.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | f.write_str(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = f.write_str(""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simplewebserver/index.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | f.write_fmt(format_args!("{}", self.ele)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = f.write_fmt(format_args!("{}", self.ele)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.87s [INFO] running `Command { std: "docker" "inspect" "2717e1b48771d13ea3f59aed95d90221b6beafbd21f47bae5a4a7399dd60e151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2717e1b48771d13ea3f59aed95d90221b6beafbd21f47bae5a4a7399dd60e151", kill_on_drop: false }` [INFO] [stdout] 2717e1b48771d13ea3f59aed95d90221b6beafbd21f47bae5a4a7399dd60e151