[INFO] cloning repository https://github.com/zhuan69/web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhuan69/web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/zhuan69/web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhuan69/web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fde9ce6614da320c2697a83eeca4d1a8889aa409 [INFO] checking zhuan69/web-server against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] error: failed to write new configuration file /workspace/builds/worker-2-tc2/source/.git/config.lock [INFO] [stderr] fatal: could not set 'core.repositoryformatversion' to '0' [INFO] checking zhuan69/web-server against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuan69%2Fweb-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhuan69/web-server on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhuan69/web-server [INFO] finished tweaking git repo https://github.com/zhuan69/web-server [INFO] tweaked toml for git repo https://github.com/zhuan69/web-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zhuan69/web-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.namme [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd4749d81120a5e090ecd674807f8fb555f62fdebb346bb385118f3b55cf1d4e [INFO] running `Command { std: "docker" "start" "-a" "cd4749d81120a5e090ecd674807f8fb555f62fdebb346bb385118f3b55cf1d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd4749d81120a5e090ecd674807f8fb555f62fdebb346bb385118f3b55cf1d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd4749d81120a5e090ecd674807f8fb555f62fdebb346bb385118f3b55cf1d4e", kill_on_drop: false }` [INFO] [stdout] cd4749d81120a5e090ecd674807f8fb555f62fdebb346bb385118f3b55cf1d4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9184abccaaad4dd8c0e5e1a98cbb15a49e211220be1c33599bd9d0bc16e15c2a [INFO] running `Command { std: "docker" "start" "-a" "9184abccaaad4dd8c0e5e1a98cbb15a49e211220be1c33599bd9d0bc16e15c2a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.namme [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking web-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/server/http/response.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum HttpResponseStatus { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 10 | StatusOK(u16, String), [INFO] [stdout] 11 | StatusCreated(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | StatusAccepted(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | StatusNonAuthoritativeInfomation(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | StatusNoContent(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | StatusResetContent(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | StatusPartialContent(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | StatusMultipleChoices(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | StatusMovedPermanently(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | StatusFound(u16, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | StatusSeeOther(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | StatusNoModified(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | StatusUseProxy(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | StatusUnused(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | StatusTemporaryRedirect(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | StatusBadRequest(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | StatusUnauthorized(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | StatusPaymentRequired(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | StatusForbidden(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | StatusNotFound(u16, String), [INFO] [stdout] 30 | StatusMethodNotAllowed(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | StatusNotAcceptable(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | StatusProxyAuthenticationRequired(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | StatusRequestTimeout(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | StatusConflict(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | StatusGone(u16, String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | StatusLengthRequired(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | StatusPreconditionFailed(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | StatusRequestEntityTooLarge(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | StatusRequestUriTooLong(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | StatusUnsupportedMediaType(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | StatusRequestedRangeNotSatisfiable(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | StatusExpectationFailed(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | StatusInternalServerError(u16, String), [INFO] [stdout] 44 | StatusNotImplemented(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | StatusBadGateway(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | StatusServiceUnavailable(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | StatusGatewayTimeout(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | StatusHttpVersionNotSupported(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/server/http/response.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl HttpResponseStatus { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 52 | pub(crate) fn status_http_version_not_supported() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn status_gateway_timeout() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn status_service_unavailable() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn status_bad_gateway() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn status_not_implemented() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn status_expectation_failed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub(crate) fn status_requested_range_not_satisfiable() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub(crate) fn status_unsupported_media_type() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn status_request_uri_too_long() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub(crate) fn status_request_entity_too_large() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn status_precondition_failed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn status_length_required() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn status_gone() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn status_conflict() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn status_request_timeout() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn status_proxy_authentication_required() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn status_not_acceptable() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn status_method_not_allowed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn status_forbidden() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub(crate) fn status_payment_required() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn status_unauthorized() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn status_bad_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub(crate) fn status_temporary_redirect() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub(crate) fn status_unused() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub(crate) fn status_use_proxy() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub(crate) fn status_no_modified() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn status_see_other() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn status_found() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub(crate) fn status_moved_permanently() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub(crate) fn status_multiple_choices() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn status_partial_content() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub(crate) fn status_reset_content() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub(crate) fn status_no_content() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn status_non_authoritative_infomation() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub(crate) fn status_accepted() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/server/http/response.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum HttpResponseStatus { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 10 | StatusOK(u16, String), [INFO] [stdout] 11 | StatusCreated(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | StatusAccepted(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | StatusNonAuthoritativeInfomation(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | StatusNoContent(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | StatusResetContent(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | StatusPartialContent(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | StatusMultipleChoices(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | StatusMovedPermanently(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | StatusFound(u16, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | StatusSeeOther(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | StatusNoModified(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | StatusUseProxy(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | StatusUnused(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | StatusTemporaryRedirect(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | StatusBadRequest(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | StatusUnauthorized(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | StatusPaymentRequired(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | StatusForbidden(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | StatusNotFound(u16, String), [INFO] [stdout] 30 | StatusMethodNotAllowed(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | StatusNotAcceptable(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | StatusProxyAuthenticationRequired(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | StatusRequestTimeout(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | StatusConflict(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | StatusGone(u16, String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | StatusLengthRequired(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | StatusPreconditionFailed(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | StatusRequestEntityTooLarge(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | StatusRequestUriTooLong(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | StatusUnsupportedMediaType(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | StatusRequestedRangeNotSatisfiable(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | StatusExpectationFailed(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | StatusInternalServerError(u16, String), [INFO] [stdout] 44 | StatusNotImplemented(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | StatusBadGateway(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | StatusServiceUnavailable(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | StatusGatewayTimeout(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | StatusHttpVersionNotSupported(u16, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/server/http/response.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 51 | impl HttpResponseStatus { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 52 | pub(crate) fn status_http_version_not_supported() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn status_gateway_timeout() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn status_service_unavailable() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn status_bad_gateway() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn status_not_implemented() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn status_expectation_failed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub(crate) fn status_requested_range_not_satisfiable() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub(crate) fn status_unsupported_media_type() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn status_request_uri_too_long() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub(crate) fn status_request_entity_too_large() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub(crate) fn status_precondition_failed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn status_length_required() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub(crate) fn status_gone() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) fn status_conflict() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn status_request_timeout() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub(crate) fn status_proxy_authentication_required() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn status_not_acceptable() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn status_method_not_allowed() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub(crate) fn status_forbidden() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub(crate) fn status_payment_required() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub(crate) fn status_unauthorized() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub(crate) fn status_bad_request() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub(crate) fn status_temporary_redirect() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub(crate) fn status_unused() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub(crate) fn status_use_proxy() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub(crate) fn status_no_modified() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub(crate) fn status_see_other() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn status_found() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub(crate) fn status_moved_permanently() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub(crate) fn status_multiple_choices() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn status_partial_content() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub(crate) fn status_reset_content() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub(crate) fn status_no_content() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub(crate) fn status_non_authoritative_infomation() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub(crate) fn status_accepted() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_server::server` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_server::server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_server::server` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_server::server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "9184abccaaad4dd8c0e5e1a98cbb15a49e211220be1c33599bd9d0bc16e15c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9184abccaaad4dd8c0e5e1a98cbb15a49e211220be1c33599bd9d0bc16e15c2a", kill_on_drop: false }` [INFO] [stdout] 9184abccaaad4dd8c0e5e1a98cbb15a49e211220be1c33599bd9d0bc16e15c2a