[INFO] fetching crate media-type 0.4.1-unstable... [INFO] testing media-type-0.4.1-unstable against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate media-type 0.4.1-unstable into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate media-type 0.4.1-unstable [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate media-type 0.4.1-unstable [INFO] tweaked toml for crates.io crate media-type 0.4.1-unstable written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate media-type 0.4.1-unstable on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded quoted-string v0.6.1 [INFO] [stderr] Downloaded lut v0.1.0-unstable [INFO] [stderr] Downloaded media-type-impl-utils v0.3.0-unstable [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aadd0a293f1fe1e363e22da71cbe3852026ef859c46eb470557a938aeb2b3be [INFO] running `Command { std: "docker" "start" "-a" "1aadd0a293f1fe1e363e22da71cbe3852026ef859c46eb470557a938aeb2b3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aadd0a293f1fe1e363e22da71cbe3852026ef859c46eb470557a938aeb2b3be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aadd0a293f1fe1e363e22da71cbe3852026ef859c46eb470557a938aeb2b3be", kill_on_drop: false }` [INFO] [stdout] 1aadd0a293f1fe1e363e22da71cbe3852026ef859c46eb470557a938aeb2b3be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f87deb34cea85fe220905dfdf747b8bf33eca33d9673eb8729865c41f5bc1b2 [INFO] running `Command { std: "docker" "start" "-a" "5f87deb34cea85fe220905dfdf747b8bf33eca33d9673eb8729865c41f5bc1b2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling quoted-string v0.6.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lut v0.1.0-unstable [INFO] [stderr] Compiling media-type-impl-utils v0.3.0-unstable [INFO] [stderr] Compiling media-type v0.4.1-unstable (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ascii`, `HttpSpec`, `InternationalizedSwitch`, `Internationalized`, `MimeSpec`, `Modern`, `ObsNormalSwitch`, `Obs`, and `StrictSpec` [INFO] [stdout] --> src/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | StrictSpec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | MimeSpec, HttpSpec, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 11 | Obs, Modern, Internationalized, Ascii, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 12 | ObsNormalSwitch, InternationalizedSwitch, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:69:68 [INFO] [stdout] | [INFO] [stdout] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/media_type.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut tail = self.buffer[end..].to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef { [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] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn as_ref(&self) -> ParserErrorRef { [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] 180 | pub fn as_ref(&self) -> ParserErrorRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse_token(input: &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] 20 | fn parse_token(input: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_space(input: &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] 21 | fn parse_space(input: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef> { [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] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_unquoted_value(input: &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] 36 | fn parse_unquoted_value(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_quoted_string(input: &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] 42 | fn parse_quoted_string(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result [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] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result> { [INFO] [stdout] | ^^ ----------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden 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] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result, ParserErrorRef<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef> { [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] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_media_type_params(input: &str, offset: usize) [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 69 | -> Result, ParserErrorRef> [INFO] [stdout] | -------------- 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] 69 | -> Result, ParserErrorRef<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/utils.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result { [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] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_token(input: &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] 54 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_space(input: &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] 59 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_token(input: &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] 71 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn parse_space(input: &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] 76 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn parse_token(input: &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] 90 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_space(input: &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] 94 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | fn parse_token(input: &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] 112 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_space(input: &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] 116 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_opt_cfws(input: &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] 8 | pub fn parse_opt_cfws(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result { [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] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result { [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] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result { [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] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef> [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] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result [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] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_quotable(input: &str, offset: usize) -> Result { [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] 127 | fn parse_quotable(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result { [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] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(input: &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] 29 | pub fn parse(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn type_(&self) -> Name { [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] 263 | pub fn type_(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn subtype(&self) -> Name { [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] 267 | pub fn subtype(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn full_type(&self) -> Name { [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] 272 | pub fn full_type(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn params(&self) -> Params { [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] 294 | pub fn params(&self) -> Params<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lut v0.1.0-unstable [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5f87deb34cea85fe220905dfdf747b8bf33eca33d9673eb8729865c41f5bc1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f87deb34cea85fe220905dfdf747b8bf33eca33d9673eb8729865c41f5bc1b2", kill_on_drop: false }` [INFO] [stdout] 5f87deb34cea85fe220905dfdf747b8bf33eca33d9673eb8729865c41f5bc1b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba81281b21ccad50adab4732f99a3982e50b19123a666bc253c88ba28cff651e [INFO] running `Command { std: "docker" "start" "-a" "ba81281b21ccad50adab4732f99a3982e50b19123a666bc253c88ba28cff651e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused imports: `Ascii`, `HttpSpec`, `InternationalizedSwitch`, `Internationalized`, `MimeSpec`, `Modern`, `ObsNormalSwitch`, `Obs`, and `StrictSpec` [INFO] [stdout] --> src/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | StrictSpec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | MimeSpec, HttpSpec, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 11 | Obs, Modern, Internationalized, Ascii, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 12 | ObsNormalSwitch, InternationalizedSwitch, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:69:68 [INFO] [stdout] | [INFO] [stdout] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/media_type.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut tail = self.buffer[end..].to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef { [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] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn as_ref(&self) -> ParserErrorRef { [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] 180 | pub fn as_ref(&self) -> ParserErrorRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse_token(input: &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] 20 | fn parse_token(input: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_space(input: &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] 21 | fn parse_space(input: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef> { [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] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_unquoted_value(input: &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] 36 | fn parse_unquoted_value(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_quoted_string(input: &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] 42 | fn parse_quoted_string(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result [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] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result> { [INFO] [stdout] | ^^ ----------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden 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] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result, ParserErrorRef<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef> { [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] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_media_type_params(input: &str, offset: usize) [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 69 | -> Result, ParserErrorRef> [INFO] [stdout] | -------------- 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] 69 | -> Result, ParserErrorRef<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/utils.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result { [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] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_token(input: &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] 54 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_space(input: &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] 59 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_token(input: &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] 71 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn parse_space(input: &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] 76 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn parse_token(input: &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] 90 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_space(input: &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] 94 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | fn parse_token(input: &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] 112 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_space(input: &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] 116 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling media-type v0.4.1-unstable (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_opt_cfws(input: &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] 8 | pub fn parse_opt_cfws(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result { [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] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result { [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] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result { [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] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef> [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] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result [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] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_quotable(input: &str, offset: usize) -> Result { [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] 127 | fn parse_quotable(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result { [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] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(input: &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] 29 | pub fn parse(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn type_(&self) -> Name { [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] 263 | pub fn type_(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn subtype(&self) -> Name { [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] 267 | pub fn subtype(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn full_type(&self) -> Name { [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] 272 | pub fn full_type(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn params(&self) -> Params { [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] 294 | pub fn params(&self) -> Params<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ascii`, `HttpSpec`, `InternationalizedSwitch`, `Internationalized`, `MimeSpec`, `Modern`, `ObsNormalSwitch`, and `Obs` [INFO] [stdout] --> src/parse/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | MimeSpec, HttpSpec, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 11 | Obs, Modern, Internationalized, Ascii, [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 12 | ObsNormalSwitch, InternationalizedSwitch, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:147:32 [INFO] [stdout] | [INFO] [stdout] 147 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:69:68 [INFO] [stdout] | [INFO] [stdout] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/media_type.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut tail = self.buffer[end..].to_owned(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef { [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] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn as_ref(&self) -> ParserErrorRef { [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] 180 | pub fn as_ref(&self) -> ParserErrorRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse_token(input: &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] 20 | fn parse_token(input: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_space(input: &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] 21 | fn parse_space(input: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef> { [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] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_unquoted_value(input: &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] 36 | fn parse_unquoted_value(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_quoted_string(input: &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] 42 | fn parse_quoted_string(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec/mod.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result [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] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result> { [INFO] [stdout] | ^^ ----------- -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden 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] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result, ParserErrorRef<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef> { [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] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | fn parse_media_type_params(input: &str, offset: usize) [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 69 | -> Result, ParserErrorRef> [INFO] [stdout] | -------------- 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] 69 | -> Result, ParserErrorRef<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/utils.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result { [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] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_token(input: &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] 54 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_space(input: &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] 59 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_token(input: &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] 71 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn parse_space(input: &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] 76 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn parse_token(input: &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] 90 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_space(input: &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] 94 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | fn parse_token(input: &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] 112 | fn parse_token(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/impl_spec.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_space(input: &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] 116 | fn parse_space(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_opt_cfws(input: &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] 8 | pub fn parse_opt_cfws(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result { [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] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result { [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] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result { [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] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef> [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] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef<'_>> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result [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] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | fn parse_quotable(input: &str, offset: usize) -> Result { [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] 127 | fn parse_quotable(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parse_cfws.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result { [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] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(input: &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] 29 | pub fn parse(input: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn type_(&self) -> Name { [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] 263 | pub fn type_(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn subtype(&self) -> Name { [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] 267 | pub fn subtype(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn full_type(&self) -> Name { [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] 272 | pub fn full_type(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/media_type.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn params(&self) -> Params { [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] 294 | pub fn params(&self) -> Params<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lut v0.1.0-unstable [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ba81281b21ccad50adab4732f99a3982e50b19123a666bc253c88ba28cff651e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba81281b21ccad50adab4732f99a3982e50b19123a666bc253c88ba28cff651e", kill_on_drop: false }` [INFO] [stdout] ba81281b21ccad50adab4732f99a3982e50b19123a666bc253c88ba28cff651e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 976b4434e7c078d65a7b3c35bd422629e9843e6e39c8d899c26afdb7b4f9db12 [INFO] running `Command { std: "docker" "start" "-a" "976b4434e7c078d65a7b3c35bd422629e9843e6e39c8d899c26afdb7b4f9db12", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused imports: `Ascii`, `HttpSpec`, `InternationalizedSwitch`, `Internationalized`, `MimeSpec`, `Modern`, `ObsNormalSwitch`, `Obs`, and `StrictSpec` [INFO] [stderr] --> src/parse/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | StrictSpec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 10 | MimeSpec, HttpSpec, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 11 | Obs, Modern, Internationalized, Ascii, [INFO] [stderr] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] 12 | ObsNormalSwitch, InternationalizedSwitch, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:147:32 [INFO] [stderr] | [INFO] [stderr] 147 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 147 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:65:32 [INFO] [stderr] | [INFO] [stderr] 65 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:68:66 [INFO] [stderr] | [INFO] [stderr] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 | &QuotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:69:68 [INFO] [stderr] | [INFO] [stderr] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &StdError), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 | &UnquotedParamValue { ref cause, ..} => Some(cause as &dyn StdError), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/media_type.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | let mut tail = self.buffer[end..].to_owned(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:50:36 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn with_input(self, input: &str) -> ParserErrorRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:180:19 [INFO] [stderr] | [INFO] [stderr] 180 | pub fn as_ref(&self) -> ParserErrorRef { [INFO] [stderr] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 180 | pub fn as_ref(&self) -> ParserErrorRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec/mod.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | fn parse_token(input: &str) -> Result; [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | fn parse_token(input: &str) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec/mod.rs:21:27 [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_space(input: &str) -> Result; [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_space(input: &str) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec/mod.rs:23:30 [INFO] [stderr] | [INFO] [stderr] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef> { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn validate_token(input: &str) -> Result<(), ParserErrorRef<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec/mod.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | fn parse_unquoted_value(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | fn parse_unquoted_value(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec/mod.rs:42:35 [INFO] [stderr] | [INFO] [stderr] 42 | fn parse_quoted_string(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | fn parse_quoted_string(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec/mod.rs:140:46 [INFO] [stderr] | [INFO] [stderr] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 140 | pub(crate) fn parse_unquoted_value(input: &str, mut validator: V) -> Result> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:50:42 [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result> { [INFO] [stderr] | ^^ ----------- -- the same lifetime is named here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 50 | pub(crate) fn parse<'a, S: Spec>(input: &'a str) -> Result, ParserErrorRef<'a>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef> { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 58 | fn parse_media_type_head(input: &str) -> Result<(usize, usize), ParserErrorRef<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:68:44 [INFO] [stderr] | [INFO] [stderr] 68 | fn parse_media_type_params(input: &str, offset: usize) [INFO] [stderr] | ^^^^ the lifetime is elided here [INFO] [stderr] 69 | -> Result, ParserErrorRef> [INFO] [stderr] | -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 69 | -> Result, ParserErrorRef<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/utils.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result { [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 7 | pub fn parse_ascii_char(input: &str, pos: usize, bch: u8) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | fn parse_token(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 54 | fn parse_token(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | fn parse_space(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 59 | fn parse_space(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | fn parse_token(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 71 | fn parse_token(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:76:27 [INFO] [stderr] | [INFO] [stderr] 76 | fn parse_space(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | fn parse_space(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 90 | fn parse_token(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 90 | fn parse_token(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:94:27 [INFO] [stderr] | [INFO] [stderr] 94 | fn parse_space(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 94 | fn parse_space(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:112:27 [INFO] [stderr] | [INFO] [stderr] 112 | fn parse_token(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | fn parse_token(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/impl_spec.rs:116:27 [INFO] [stderr] | [INFO] [stderr] 116 | fn parse_space(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | fn parse_space(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:8:49 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn parse_opt_cfws(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn parse_opt_cfws(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result { [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 24 | fn parse_opt_fws(input: &str, offset: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result { [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | fn _parse_fws_obs(input: &str, offset: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:50:29 [INFO] [stderr] | [INFO] [stderr] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result { [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | fn _parse_fws_modern(input: &str, offset: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:61:32 [INFO] [stderr] | [INFO] [stderr] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef> [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 61 | fn opt_parse_comment(input: &str) -> Result, ParserErrorRef<'_>> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:73:34 [INFO] [stderr] | [INFO] [stderr] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 73 | fn inner_parse_comment(input: &str, offset: usize) -> Result> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:127:45 [INFO] [stderr] | [INFO] [stderr] 127 | fn parse_quotable(input: &str, offset: usize) -> Result { [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 127 | fn parse_quotable(input: &str, offset: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parse_cfws.rs:160:34 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result { [INFO] [stderr] | ^^^^ the lifetime is elided here -------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 160 | pub fn parse_opt_crlf_seq(input: &str, offset: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_type.rs:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse(input: &str) -> Result { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | pub fn parse(input: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_type.rs:263:18 [INFO] [stderr] | [INFO] [stderr] 263 | pub fn type_(&self) -> Name { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 263 | pub fn type_(&self) -> Name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_type.rs:267:20 [INFO] [stderr] | [INFO] [stderr] 267 | pub fn subtype(&self) -> Name { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 267 | pub fn subtype(&self) -> Name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_type.rs:272:22 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn full_type(&self) -> Name { [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 272 | pub fn full_type(&self) -> Name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/media_type.rs:294:19 [INFO] [stderr] | [INFO] [stderr] 294 | pub fn params(&self) -> Params { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 294 | pub fn params(&self) -> Params<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `media-type` (lib) generated 40 warnings (run `cargo fix --lib -p media-type` to apply 40 suggestions) [INFO] [stderr] warning: unused imports: `Ascii`, `HttpSpec`, `InternationalizedSwitch`, `Internationalized`, `MimeSpec`, `Modern`, `ObsNormalSwitch`, and `Obs` [INFO] [stderr] --> src/parse/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | MimeSpec, HttpSpec, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 11 | Obs, Modern, Internationalized, Ascii, [INFO] [stderr] | ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] 12 | ObsNormalSwitch, InternationalizedSwitch, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `media-type` (lib test) generated 40 warnings (39 duplicates) (run `cargo fix --lib -p media-type --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lut v0.1.0-unstable [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/media_type-175cdc4a3fc2be76) [INFO] [stdout] [INFO] [stdout] running 68 tests [INFO] [stdout] test media_type::test::any_media_type_eq ... ok [INFO] [stdout] test media_type::test::new::validates_type ... ok [INFO] [stdout] test media_type::test::media_type_eq_different_spec ... ok [INFO] [stdout] test media_type::test::new::accepts_name_struct ... ok [INFO] [stdout] test media_type::test::new::parses_typical_type ... ok [INFO] [stdout] test media_type::test::new::validates_subtype ... ok [INFO] [stdout] test media_type::test::is_multipart ... ok [INFO] [stdout] test media_type::test::media_type_conversion_mime ... ok [INFO] [stdout] test media_type::test::new_with_params::in_mime_modern_0_is_pencoded ... ok [INFO] [stdout] test media_type::test::new_with_params::in_mime_obs_0_is_quoted ... ok [INFO] [stdout] test media_type::test::new_with_params::simple_creation_works ... ok [INFO] [stdout] test media_type::test::new_with_params::use_perc_encode_for_values_if_needed ... ok [INFO] [stdout] test media_type::test::new_with_params::use_quoted_pair_if_needed ... ok [INFO] [stdout] test media_type::test::new_with_params::use_quoting_if_needed ... ok [INFO] [stdout] test media_type::test::new_with_params::validates_parameter_names ... ok [INFO] [stdout] test media_type::test::new_with_params::validates_subtype ... ok [INFO] [stdout] test media_type::test::new_with_params::validates_type ... ok [INFO] [stdout] test media_type::test::params_iter_behaviour ... ok [INFO] [stdout] test media_type::test::parsing_does_not_normalized_utf8 ... ok [INFO] [stdout] test media_type::test::parsing_does_not_normalizes_whitespaces ... ok [INFO] [stdout] test media_type::test::remove_param::at_the_end ... ok [INFO] [stdout] test media_type::test::remove_param::in_between_other_params ... ok [INFO] [stdout] test media_type::test::remove_param::no_param ... ok [INFO] [stdout] test media_type::test::remove_param::only_other_params ... ok [INFO] [stdout] test media_type::test::set_param::add_additional_one ... ok [INFO] [stdout] test media_type::test::set_param::add_to_empty ... ok [INFO] [stdout] test media_type::test::set_param::replace_at_end ... ok [INFO] [stdout] test media_type::test::set_param::replace_in_between_other_params ... ok [INFO] [stdout] test media_type::test::simple_parse ... ok [INFO] [stdout] test name::test::test_name_eq_name ... ok [INFO] [stdout] test name::test::test_name_eq_str ... ok [INFO] [stdout] test parse::parse_cfws::test::_parse_fws_modern::crlf_space ... ok [INFO] [stdout] test parse::parse_cfws::test::_parse_fws_modern::crlf_tab ... ok [INFO] [stdout] test parse::parse_cfws::test::_parse_fws_modern::no_fws ... ok [INFO] [stdout] test parse::parse_cfws::test::_parse_fws_modern::ws_then_crlf ... ok [INFO] [stdout] test parse::parse_cfws::test::_parse_fws_modern::ws_then_crlf_then_ws ... ok [INFO] [stdout] test parse::parse_cfws::test::_parse_fws_modern::wsonly ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::empty ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::not_a_comment ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::obs_with_bad_fws_no_cr ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::simple ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_bad_fws_no_cr ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_bad_fws_twice_in_row ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_comment ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_fws ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_fws_ons ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_fws_twice_in_row_obs_grammar ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_more_data_at_the_end ... ok [INFO] [stdout] test parse::parse_cfws::test::opt_parse_comment::with_quoted_pair ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_crlf_seq::crnl_space ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_crlf_seq::crnl_tab ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_crlf_seq::non_crlf ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_ws_seq::mixed_spaces ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_ws_seq::no_ws ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_ws_seq::spaces ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_ws_seq::spaces_then_more ... ok [INFO] [stdout] test parse::parse_cfws::test::parse_opt_ws_seq::start_offset ... ok [INFO] [stdout] test parse::test::parse_charset_utf8 ... ok [INFO] [stdout] test value::test::as_str_repr ... ok [INFO] [stdout] test value::test::test_value_eq_str ... ok [INFO] [stdout] test value::test::test_value_eq_value ... ok [INFO] [stdout] test value::test::to_content_not_quoted ... ok [INFO] [stdout] test value::test::to_content_quoted_simple ... ok [INFO] [stdout] test value::test::to_content_with_quoted_pair ... ok [INFO] [stdout] test value::test::value_eq_str ... ok [INFO] [stdout] test value::test::value_eq_value_ignore_ascii_case ... ok [INFO] [stdout] test media_type::test::media_type_conversion_http ... ok [INFO] [stdout] test media_type::test::new_with_params::creation_with_parameters_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 68 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests media_type [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/macros.rs - macros::at_pos (line 22) ... ignored [INFO] [stdout] test src/value.rs - value::Value<'a>::as_str_repr (line 46) ... ignored [INFO] [stdout] test src/value.rs - value::Value<'a>::to_content (line 73) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "976b4434e7c078d65a7b3c35bd422629e9843e6e39c8d899c26afdb7b4f9db12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "976b4434e7c078d65a7b3c35bd422629e9843e6e39c8d899c26afdb7b4f9db12", kill_on_drop: false }` [INFO] [stdout] 976b4434e7c078d65a7b3c35bd422629e9843e6e39c8d899c26afdb7b4f9db12