[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] building kylaro/rust-http-server against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylaro%2Frust-http-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylaro/rust-http-server on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-6-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6348e835474438712b40c91d5ffd9afe2b095780aa651ddb6b885f913432a5f6 [INFO] running `Command { std: "docker" "start" "-a" "6348e835474438712b40c91d5ffd9afe2b095780aa651ddb6b885f913432a5f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6348e835474438712b40c91d5ffd9afe2b095780aa651ddb6b885f913432a5f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6348e835474438712b40c91d5ffd9afe2b095780aa651ddb6b885f913432a5f6", kill_on_drop: false }` [INFO] [stdout] 6348e835474438712b40c91d5ffd9afe2b095780aa651ddb6b885f913432a5f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f27c786973bd753dd431cfa4539e4fced49e4f4c4ec5c1216e1f4147e105b33 [INFO] running `Command { std: "docker" "start" "-a" "8f27c786973bd753dd431cfa4539e4fced49e4f4c4ec5c1216e1f4147e105b33", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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 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: `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: `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: `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: 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 `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: enum `StatusCode` is never used [INFO] [stdout] --> src/http/status_code.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Clone` and `Debug`, 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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/query_string.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, key: &str) -> Option<&Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "8f27c786973bd753dd431cfa4539e4fced49e4f4c4ec5c1216e1f4147e105b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f27c786973bd753dd431cfa4539e4fced49e4f4c4ec5c1216e1f4147e105b33", kill_on_drop: false }` [INFO] [stdout] 8f27c786973bd753dd431cfa4539e4fced49e4f4c4ec5c1216e1f4147e105b33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22922ce8e9bfa913370e2adfbe178c52a2d71e409fdc03a9ff7c5d1f205d241c [INFO] running `Command { std: "docker" "start" "-a" "22922ce8e9bfa913370e2adfbe178c52a2d71e409fdc03a9ff7c5d1f205d241c", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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 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: `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: `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: `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: 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 `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: enum `StatusCode` is never used [INFO] [stdout] --> src/http/status_code.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Clone` and `Debug`, 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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/http/query_string.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&self, key: &str) -> Option<&Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "22922ce8e9bfa913370e2adfbe178c52a2d71e409fdc03a9ff7c5d1f205d241c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22922ce8e9bfa913370e2adfbe178c52a2d71e409fdc03a9ff7c5d1f205d241c", kill_on_drop: false }` [INFO] [stdout] 22922ce8e9bfa913370e2adfbe178c52a2d71e409fdc03a9ff7c5d1f205d241c