[INFO] cloning repository https://github.com/kylaro/rust-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylaro/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f2e9e59e41b5ecef3c2b239e9c2f55766774206 [INFO] checking kylaro/rust-http-server against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] /workspace/builds/worker-0-tc2/source/.git/branches/: No space left on device [INFO] checking kylaro/rust-http-server against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylaro/rust-http-server on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylaro/rust-http-server [INFO] finished tweaking git repo https://github.com/kylaro/rust-http-server [INFO] tweaked toml for git repo https://github.com/kylaro/rust-http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kylaro/rust-http-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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efc78904d81c8d8dd56c98ba047592b72fafc59529db1eccdedcce05e2a0ce3b [INFO] running `Command { std: "docker" "start" "-a" "efc78904d81c8d8dd56c98ba047592b72fafc59529db1eccdedcce05e2a0ce3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efc78904d81c8d8dd56c98ba047592b72fafc59529db1eccdedcce05e2a0ce3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc78904d81c8d8dd56c98ba047592b72fafc59529db1eccdedcce05e2a0ce3b", kill_on_drop: false }` [INFO] [stdout] efc78904d81c8d8dd56c98ba047592b72fafc59529db1eccdedcce05e2a0ce3b [INFO] checking kylaro/rust-http-server against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to create directory for '/workspace/builds/worker-0-tc2/source/.git/logs/refs/remotes/origin/HEAD': No such file or directory [INFO] validating manifest of git repo https://github.com/kylaro/rust-http-server on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylaro/rust-http-server [INFO] finished tweaking git repo https://github.com/kylaro/rust-http-server [INFO] tweaked toml for git repo https://github.com/kylaro/rust-http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kylaro/rust-http-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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e525c20f45607f8d46c3964af8bb92219030cb3ba6182d527ffedf2543672591 [INFO] running `Command { std: "docker" "start" "-a" "e525c20f45607f8d46c3964af8bb92219030cb3ba6182d527ffedf2543672591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e525c20f45607f8d46c3964af8bb92219030cb3ba6182d527ffedf2543672591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e525c20f45607f8d46c3964af8bb92219030cb3ba6182d527ffedf2543672591", kill_on_drop: false }` [INFO] [stdout] e525c20f45607f8d46c3964af8bb92219030cb3ba6182d527ffedf2543672591 [INFO] checking kylaro/rust-http-server against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-commit.sample' to '/workspace/builds/worker-0-tc2/source/.git/hooks/pre-commit.sample': No space left on device [INFO] checking kylaro/rust-http-server against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylaro/rust-http-server on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylaro/rust-http-server [INFO] finished tweaking git repo https://github.com/kylaro/rust-http-server [INFO] tweaked toml for git repo https://github.com/kylaro/rust-http-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kylaro/rust-http-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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a0d9fd0e1a4da90ac9448bccd2a1c9297fe2240d92454c09ccce1a31f2d707 [INFO] running `Command { std: "docker" "start" "-a" "f6a0d9fd0e1a4da90ac9448bccd2a1c9297fe2240d92454c09ccce1a31f2d707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a0d9fd0e1a4da90ac9448bccd2a1c9297fe2240d92454c09ccce1a31f2d707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a0d9fd0e1a4da90ac9448bccd2a1c9297fe2240d92454c09ccce1a31f2d707", kill_on_drop: false }` [INFO] [stdout] f6a0d9fd0e1a4da90ac9448bccd2a1c9297fe2240d92454c09ccce1a31f2d707 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fce0eb1eae05f6a83e5a732dbaa1706c19c716d9ddd720a1394e523aa23bbd7f [INFO] running `Command { std: "docker" "start" "-a" "fce0eb1eae05f6a83e5a732dbaa1706c19c716d9ddd720a1394e523aa23bbd7f", kill_on_drop: false }` [INFO] [stderr] Checking rust-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `request::ParseError` [INFO] [stdout] --> src/http/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use request::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request::ParseError` [INFO] [stdout] --> src/http/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use request::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/http/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/http/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/server.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | Ok((mut stream, address)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/server.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | Ok((mut stream, address)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_byte_array(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_byte_array(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/http/request.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let (protocol, request) = get_next_word(request).ok_or(ParseError::InvalidRequest)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/http/request.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let (protocol, request) = get_next_word(request).ok_or(ParseError::InvalidRequest)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let get = Method::GET; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let get = Method::GET; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delete` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let delete = Method::DELETE; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delete` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let delete = Method::DELETE; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let post = Method::POST; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let post = Method::POST; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `put` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let put = Method::PUT; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_put` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `put` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let put = Method::PUT; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_put` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | path: &'buf str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 16 | fn from_byte_array(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` 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 `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | path: &'buf str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | method: Method, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 17 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/http/response.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 16 | fn from_byte_array(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(status_code: StatusCode, body: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` 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 `Ok`, `BadRequest`, and `NotFound` are never constructed [INFO] [stdout] --> src/http/status_code.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Ok = 200, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | NotFound = 404, [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] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 17 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reason_phrase` is never used [INFO] [stdout] --> src/http/status_code.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StatusCode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 11 | pub fn reason_phrase(&self) ->&str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/http/response.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(status_code: StatusCode, body: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok`, `BadRequest`, and `NotFound` are never constructed [INFO] [stdout] --> src/http/status_code.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 5 | Ok = 200, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | NotFound = 404, [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] [INFO] [stdout] [INFO] [stdout] warning: method `reason_phrase` is never used [INFO] [stdout] --> src/http/status_code.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StatusCode { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 11 | pub fn reason_phrase(&self) ->&str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "fce0eb1eae05f6a83e5a732dbaa1706c19c716d9ddd720a1394e523aa23bbd7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce0eb1eae05f6a83e5a732dbaa1706c19c716d9ddd720a1394e523aa23bbd7f", kill_on_drop: false }` [INFO] [stdout] fce0eb1eae05f6a83e5a732dbaa1706c19c716d9ddd720a1394e523aa23bbd7f