[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] testing uraneko/will against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furaneko%2Fwill" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uraneko/will on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `will` [INFO] [stderr] * `bin` target `will` [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80eb5d46fd5e536717932d5e0700c3156ca018a7c14423b6c3116cb752745104 [INFO] running `Command { std: "docker" "start" "-a" "80eb5d46fd5e536717932d5e0700c3156ca018a7c14423b6c3116cb752745104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80eb5d46fd5e536717932d5e0700c3156ca018a7c14423b6c3116cb752745104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80eb5d46fd5e536717932d5e0700c3156ca018a7c14423b6c3116cb752745104", kill_on_drop: false }` [INFO] [stdout] 80eb5d46fd5e536717932d5e0700c3156ca018a7c14423b6c3116cb752745104 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 872cdf0df896aeafc81232bc493b0c64b064a4c7e39d3f9e86278f539328eddf [INFO] running `Command { std: "docker" "start" "-a" "872cdf0df896aeafc81232bc493b0c64b064a4c7e39d3f9e86278f539328eddf", 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] Compiling 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "872cdf0df896aeafc81232bc493b0c64b064a4c7e39d3f9e86278f539328eddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "872cdf0df896aeafc81232bc493b0c64b064a4c7e39d3f9e86278f539328eddf", kill_on_drop: false }` [INFO] [stdout] 872cdf0df896aeafc81232bc493b0c64b064a4c7e39d3f9e86278f539328eddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adabfd63d35a5cc59abcc96084b7d42e77c13718ee4b03891bec659831666f0d [INFO] running `Command { std: "docker" "start" "-a" "adabfd63d35a5cc59abcc96084b7d42e77c13718ee4b03891bec659831666f0d", 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] Compiling 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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] [stderr] error: could not compile `will` (example "tree") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(nonstandard_style)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn parse_request(request: &str) -> Result, RequestErr<'_>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server/request.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn parse_url_target(target: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 195 | fn parse_header(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | fn parse_field(line: &str) -> Result<(&str, &str), RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | pub(crate) fn how_bad(&self, level: u8) -> RequestErr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 479 | pub(crate) fn mime_type(&self) -> Result<&str, RequestErr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | fn status(&'a self, code: &'a str) -> (&str, &str); [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/server/response.rs:320:44 [INFO] [stdout] | [INFO] [stdout] 320 | fn status(&'a self, code: &'a str) -> (&str, &str) { [INFO] [stdout] | -- -- ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: 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" "adabfd63d35a5cc59abcc96084b7d42e77c13718ee4b03891bec659831666f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adabfd63d35a5cc59abcc96084b7d42e77c13718ee4b03891bec659831666f0d", kill_on_drop: false }` [INFO] [stdout] adabfd63d35a5cc59abcc96084b7d42e77c13718ee4b03891bec659831666f0d