[INFO] cloning repository https://github.com/JakeStanger/rust-simple-http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JakeStanger/rust-simple-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeStanger%2Frust-simple-http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeStanger%2Frust-simple-http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 692c3266f20c1eddfd61fba07306a820d193f725 [INFO] checking JakeStanger/rust-simple-http against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeStanger%2Frust-simple-http" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JakeStanger/rust-simple-http [INFO] finished tweaking git repo https://github.com/JakeStanger/rust-simple-http [INFO] tweaked toml for git repo https://github.com/JakeStanger/rust-simple-http written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JakeStanger/rust-simple-http on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JakeStanger/rust-simple-http 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f22d7995d3728354f453b1ebe6f8ef6215701a5b7473f60a13235fc3d830ead [INFO] running `Command { std: "docker" "start" "-a" "3f22d7995d3728354f453b1ebe6f8ef6215701a5b7473f60a13235fc3d830ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f22d7995d3728354f453b1ebe6f8ef6215701a5b7473f60a13235fc3d830ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f22d7995d3728354f453b1ebe6f8ef6215701a5b7473f60a13235fc3d830ead", kill_on_drop: false }` [INFO] [stdout] 3f22d7995d3728354f453b1ebe6f8ef6215701a5b7473f60a13235fc3d830ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ca5ba0647fffc40840915de32d5c9e97c8f79b27f93ed30d4a7b85878d20225 [INFO] running `Command { std: "docker" "start" "-a" "6ca5ba0647fffc40840915de32d5c9e97c8f79b27f93ed30d4a7b85878d20225", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking urlencoding v1.3.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking http-impl-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap(short, long, default_value = "127.0.0.1")] [INFO] [stdout] 24 | | pub host: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-impl-demo` (lib test) due to 12 previous errors; 6 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(default_value = ".")] [INFO] [stdout] 27 | | pub directory: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_bytes(buffer: &[u8]) -> Request { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_bytes(buffer: &[u8]) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_status_line(status_line: &[u8]) -> ReqStatusLine { [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] 79 | fn parse_status_line(status_line: &[u8]) -> ReqStatusLine<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn parse_complex_header(header: &str) -> ComplexHeader { [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] 110 | pub fn parse_complex_header(header: &str) -> ComplexHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/patch.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [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] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/patch.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let requested_path = req.status_line.uri.parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/patch.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let requested_path = req.status_line.uri.parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/patch.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let rel_path = req_path.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/patch.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/patch.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/post.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [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] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/post.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | (filename, req_path.parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/post.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/post.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/delete.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [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] 13 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/delete.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/delete.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap(short, long, default_value = "127.0.0.1")] [INFO] [stdout] 24 | | pub host: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(default_value = ".")] [INFO] [stdout] 27 | | pub directory: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_bytes(buffer: &[u8]) -> Request { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_bytes(buffer: &[u8]) -> Request<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_status_line(status_line: &[u8]) -> ReqStatusLine { [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] 79 | fn parse_status_line(status_line: &[u8]) -> ReqStatusLine<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/request/mod.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn parse_complex_header(header: &str) -> ComplexHeader { [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] 110 | pub fn parse_complex_header(header: &str) -> ComplexHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/patch.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [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] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/patch.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let requested_path = req.status_line.uri.parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/patch.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let requested_path = req.status_line.uri.parse::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/patch.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | let rel_path = req_path.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/patch.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/patch.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/post.rs:14:67 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [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] 14 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/post.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | (filename, req_path.parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/post.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/post.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request/delete.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [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] 13 | fn get_response<'a>(req: &'a Request<'a>, opts: Arc) -> ResponseResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/request/delete.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/request/delete.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | req.status_line.uri.parse()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-impl-demo` (lib) due to 12 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6ca5ba0647fffc40840915de32d5c9e97c8f79b27f93ed30d4a7b85878d20225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca5ba0647fffc40840915de32d5c9e97c8f79b27f93ed30d4a7b85878d20225", kill_on_drop: false }` [INFO] [stdout] 6ca5ba0647fffc40840915de32d5c9e97c8f79b27f93ed30d4a7b85878d20225