[INFO] cloning repository https://github.com/uraneko/will [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uraneko/will" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furaneko%2Fwill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furaneko%2Fwill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 785f564beebf71637bbaa019b20612e9b5f51ea4 [INFO] checking uraneko/will against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furaneko%2Fwill" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/uraneko/will [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/uraneko/will [INFO] tweaked toml for git repo https://github.com/uraneko/will written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uraneko/will on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/uraneko/will 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `will` [INFO] [stderr] * `bin` target `will` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c645e58c798ec6eea509a8f3df2af5bec8d93d5ee2c9e90f1a73dc0340dfc14c [INFO] running `Command { std: "docker" "start" "-a" "c645e58c798ec6eea509a8f3df2af5bec8d93d5ee2c9e90f1a73dc0340dfc14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c645e58c798ec6eea509a8f3df2af5bec8d93d5ee2c9e90f1a73dc0340dfc14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c645e58c798ec6eea509a8f3df2af5bec8d93d5ee2c9e90f1a73dc0340dfc14c", kill_on_drop: false }` [INFO] [stdout] c645e58c798ec6eea509a8f3df2af5bec8d93d5ee2c9e90f1a73dc0340dfc14c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 584c36909f0026dbbc4075a64b339c38041a3cee3b3e5e276a0f8732c9cb7590 [INFO] running `Command { std: "docker" "start" "-a" "584c36909f0026dbbc4075a64b339c38041a3cee3b3e5e276a0f8732c9cb7590", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `will` [INFO] [stderr] * `bin` target `will` [INFO] [stderr] Checking will v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `dirs` [INFO] [stdout] --> src/server/response.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | dirs: &'a HashMap<&PathBuf, String>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_icons` [INFO] [stdout] --> src/server/response.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | file_icons: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_icons` [INFO] [stdout] --> src/server/response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | app_icons: &'a HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirs` [INFO] [stdout] --> src/server/response.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | dirs: &'a HashMap<&PathBuf, String>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_icons` [INFO] [stdout] --> src/server/response.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | file_icons: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_icons` [INFO] [stdout] --> src/server/response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | app_icons: &'a HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/response.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | req: &Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/server/response.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | headers: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/server/response.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | body: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server/response.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Some(data) => "", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/server/response.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/response.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/response.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | req: &Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/server/response.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | headers: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/server/response.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | body: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server/response.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Some(data) => "", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/server/response.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/response.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result { [INFO] [stdout] | ^^^^ ------- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result, HashMap<&str, &str>), RequestErr> { [INFO] [stdout] | ^^^^ ---------- ---- ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result>, HashMap<&str, &str>), RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr> { [INFO] [stdout] | ^^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/response.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&'a str, &'a 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/server/response.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&'a str, &'a 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/server/request.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result { [INFO] [stdout] | ^^^^ ------- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result, HashMap<&str, &str>), RequestErr> { [INFO] [stdout] | ^^^^ ---------- ---- ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result>, HashMap<&str, &str>), RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr> { [INFO] [stdout] | ^^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/response.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&'a str, &'a 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/server/response.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&'a str, &'a str) { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `will_o_wisp` [INFO] [stdout] --> examples/tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use will_o_wisp::files::tree::{scan_dir, tree}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `will_o_wisp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `will_o_wisp`, use `cargo add will_o_wisp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sa_family_t` should have an upper camel case name [INFO] [stdout] --> examples/ifnet.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type sa_family_t = u16; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaFamilyT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `will` (example "tree") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `dirs` [INFO] [stdout] --> src/server/response.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | dirs: &'a HashMap<&PathBuf, String>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_icons` [INFO] [stdout] --> src/server/response.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | file_icons: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_icons` [INFO] [stdout] --> src/server/response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | app_icons: &'a HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/response.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | req: &Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/server/response.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | headers: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/server/response.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | body: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server/response.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Some(data) => "", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/server/response.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/response.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirs` [INFO] [stdout] --> src/server/response.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | dirs: &'a HashMap<&PathBuf, String>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_icons` [INFO] [stdout] --> src/server/response.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | file_icons: &'a HashMap, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_icons` [INFO] [stdout] --> src/server/response.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | app_icons: &'a HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_icons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/server/response.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | req: &Request, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/server/response.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | headers: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/server/response.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | body: &mut HashMap<&str, &str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server/response.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | Some(data) => "", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/server/response.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/server/response.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 166 | fn write_response(response: Response, writer: &mut std::io::BufWriter<&mut std::net::TcpStream>) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result { [INFO] [stdout] | ^^^^ ------- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result, HashMap<&str, &str>), RequestErr> { [INFO] [stdout] | ^^^^ ---------- ---- ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result>, HashMap<&str, &str>), RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr> { [INFO] [stdout] | ^^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/response.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&'a str, &'a 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/server/response.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&'a str, &'a 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/server/request.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result { [INFO] [stdout] | ^^^^ ------- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [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] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 105 | fn parse_request_line(line: &str) -> Result<[&str; 3], RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result, HashMap<&str, &str>), RequestErr> { [INFO] [stdout] | ^^^^ ---------- ---- ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 124 | fn parse_url(url: &str) -> Result<(Result>, HashMap<&str, &str>), RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 170 | fn parse_url_param(param: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr> { [INFO] [stdout] | ^^^^ ---- ---- ---------- the lifetimes get resolved as `'_` [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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:391:27 [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/request.rs:479:29 [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr> { [INFO] [stdout] | ^^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/server/response.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&'a str, &'a 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/server/response.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | ^^ ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&'a str, &'a str) { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "584c36909f0026dbbc4075a64b339c38041a3cee3b3e5e276a0f8732c9cb7590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584c36909f0026dbbc4075a64b339c38041a3cee3b3e5e276a0f8732c9cb7590", kill_on_drop: false }` [INFO] [stdout] 584c36909f0026dbbc4075a64b339c38041a3cee3b3e5e276a0f8732c9cb7590