[INFO] fetching crate serde_hzdata 0.1.1... [INFO] testing serde_hzdata-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate serde_hzdata 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate serde_hzdata 0.1.1 [INFO] finished tweaking crates.io crate serde_hzdata 0.1.1 [INFO] tweaked toml for crates.io crate serde_hzdata 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_hzdata 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93a82f06d0985fd64273c9ef64321f7a2afb310cf158bf6bd87454d7f4d748f4 [INFO] running `Command { std: "docker" "start" "-a" "93a82f06d0985fd64273c9ef64321f7a2afb310cf158bf6bd87454d7f4d748f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a82f06d0985fd64273c9ef64321f7a2afb310cf158bf6bd87454d7f4d748f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a82f06d0985fd64273c9ef64321f7a2afb310cf158bf6bd87454d7f4d748f4", kill_on_drop: false }` [INFO] [stdout] 93a82f06d0985fd64273c9ef64321f7a2afb310cf158bf6bd87454d7f4d748f4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d30cd102828933f8612552c43fa6e952174e978faced67d94856cb34b52af340 [INFO] running `Command { std: "docker" "start" "-a" "d30cd102828933f8612552c43fa6e952174e978faced67d94856cb34b52af340", kill_on_drop: false }` [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_hzdata v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/de/deserialize.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | variants: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:188:35 [INFO] [stdout] | [INFO] [stdout] 188 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de/value.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de/value.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/de/value.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | variants: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:299:40 [INFO] [stdout] | [INFO] [stdout] 299 | fn deserialize_identifier(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/serialize.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/value.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | fn serialize_char(self, v: char) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/value.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | fn serialize_unit_struct(self, name: &'static str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser/value.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser/value.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser/value.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | value: &T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser/value.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser/value.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser/value.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | value: &T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser/value.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn serialize_seq(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pretty` is never read [INFO] [stdout] --> src/ser/serialize.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct HzdataSerialize { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | pub(crate) writer: W, [INFO] [stdout] 11 | pub(crate) pretty: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/ser/serialize_map.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct HzdataSerializeMap<'a, W: Write> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | ser: &'a mut HzdataSerialize, [INFO] [stdout] 15 | len: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/ser/serialize_seq.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HzdataSerializeSeq<'a, W: Write> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | ser: &'a mut HzdataSerialize, [INFO] [stdout] 15 | len: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_bool.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult { [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] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult<'_, bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_identifier.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult { [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] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_number.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_number(s: &[u8]) -> ParseResult { [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] 16 | pub fn parse_number(s: &[u8]) -> ParseResult<'_, Number> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_string.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_string(s: &[u8]) -> ParseResult { [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] 11 | pub fn parse_string(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/util.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<&[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.38s [INFO] running `Command { std: "docker" "inspect" "d30cd102828933f8612552c43fa6e952174e978faced67d94856cb34b52af340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d30cd102828933f8612552c43fa6e952174e978faced67d94856cb34b52af340", kill_on_drop: false }` [INFO] [stdout] d30cd102828933f8612552c43fa6e952174e978faced67d94856cb34b52af340 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fee5b275e60636c55c867dab52b0c1da0e00e0c8c683ebfe42e32de33a2f4bbb [INFO] running `Command { std: "docker" "start" "-a" "fee5b275e60636c55c867dab52b0c1da0e00e0c8c683ebfe42e32de33a2f4bbb", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/de/deserialize.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | variants: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:188:35 [INFO] [stdout] | [INFO] [stdout] 188 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de/value.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de/value.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/de/value.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | variants: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:299:40 [INFO] [stdout] | [INFO] [stdout] 299 | fn deserialize_identifier(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/serialize.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/value.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | fn serialize_char(self, v: char) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/value.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | fn serialize_unit_struct(self, name: &'static str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser/value.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser/value.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser/value.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | value: &T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser/value.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser/value.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser/value.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | value: &T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser/value.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn serialize_seq(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pretty` is never read [INFO] [stdout] --> src/ser/serialize.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct HzdataSerialize { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | pub(crate) writer: W, [INFO] [stdout] 11 | pub(crate) pretty: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/ser/serialize_map.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct HzdataSerializeMap<'a, W: Write> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | ser: &'a mut HzdataSerialize, [INFO] [stdout] 15 | len: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/ser/serialize_seq.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HzdataSerializeSeq<'a, W: Write> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | ser: &'a mut HzdataSerialize, [INFO] [stdout] 15 | len: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_bool.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult { [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] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult<'_, bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_identifier.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult { [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] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_number.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_number(s: &[u8]) -> ParseResult { [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] 16 | pub fn parse_number(s: &[u8]) -> ParseResult<'_, Number> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_string.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_string(s: &[u8]) -> ParseResult { [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] 11 | pub fn parse_string(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/util.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<&[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling serde_hzdata v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> tests/de_test.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | struct Test { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/deserialize.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/de/deserialize.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | variants: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/deserialize.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:188:35 [INFO] [stdout] | [INFO] [stdout] 188 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:195:38 [INFO] [stdout] | [INFO] [stdout] 195 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:213:34 [INFO] [stdout] | [INFO] [stdout] 213 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de/value.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de/value.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/de/value.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variants` [INFO] [stdout] --> src/de/value.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | variants: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | visitor: V, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:299:40 [INFO] [stdout] | [INFO] [stdout] 299 | fn deserialize_identifier(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de/value.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/serialize.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/value.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | fn serialize_char(self, v: char) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/ser/value.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | fn serialize_unit_struct(self, name: &'static str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser/value.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser/value.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser/value.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | value: &T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/ser/value.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | name: &'static str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant_index` [INFO] [stdout] --> src/ser/value.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | variant_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> src/ser/value.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | variant: &'static str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ser/value.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | value: &T, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ser/value.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn serialize_seq(self, len: Option) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pretty` is never read [INFO] [stdout] --> src/ser/serialize.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct HzdataSerialize { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 10 | pub(crate) writer: W, [INFO] [stdout] 11 | pub(crate) pretty: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/ser/serialize_map.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct HzdataSerializeMap<'a, W: Write> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | ser: &'a mut HzdataSerialize, [INFO] [stdout] 15 | len: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `len` is never read [INFO] [stdout] --> src/ser/serialize_seq.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HzdataSerializeSeq<'a, W: Write> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | ser: &'a mut HzdataSerialize, [INFO] [stdout] 15 | len: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_bool.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult { [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] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult<'_, bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_identifier.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult { [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] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_number.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_number(s: &[u8]) -> ParseResult { [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] 16 | pub fn parse_number(s: &[u8]) -> ParseResult<'_, Number> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/parse_string.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_string(s: &[u8]) -> ParseResult { [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] 11 | pub fn parse_string(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de/parse/util.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<&[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "fee5b275e60636c55c867dab52b0c1da0e00e0c8c683ebfe42e32de33a2f4bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee5b275e60636c55c867dab52b0c1da0e00e0c8c683ebfe42e32de33a2f4bbb", kill_on_drop: false }` [INFO] [stdout] fee5b275e60636c55c867dab52b0c1da0e00e0c8c683ebfe42e32de33a2f4bbb [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dfc956d134e16b521d21226aef2c100f49410438a3664f2f8f09d9bd8f2d5644 [INFO] running `Command { std: "docker" "start" "-a" "dfc956d134e16b521d21226aef2c100f49410438a3664f2f8f09d9bd8f2d5644", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:111:34 [INFO] [stderr] | [INFO] [stderr] 111 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:132:35 [INFO] [stderr] | [INFO] [stderr] 132 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:139:38 [INFO] [stderr] | [INFO] [stderr] 139 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:153:34 [INFO] [stderr] | [INFO] [stderr] 153 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/deserialize.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/deserialize.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/deserialize.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variants` [INFO] [stderr] --> src/de/deserialize.rs:232:9 [INFO] [stderr] | [INFO] [stderr] 232 | variants: &'static [&'static str], [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:233:9 [INFO] [stderr] | [INFO] [stderr] 233 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/deserialize.rs:250:41 [INFO] [stderr] | [INFO] [stderr] 250 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:181:34 [INFO] [stderr] | [INFO] [stderr] 181 | fn deserialize_char(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:188:35 [INFO] [stderr] | [INFO] [stderr] 188 | fn deserialize_bytes(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:195:38 [INFO] [stderr] | [INFO] [stderr] 195 | fn deserialize_byte_buf(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:213:34 [INFO] [stderr] | [INFO] [stderr] 213 | fn deserialize_unit(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/value.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:223:9 [INFO] [stderr] | [INFO] [stderr] 223 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/value.rs:233:9 [INFO] [stderr] | [INFO] [stderr] 233 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:234:9 [INFO] [stderr] | [INFO] [stderr] 234 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/de/value.rs:249:35 [INFO] [stderr] | [INFO] [stderr] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:249:47 [INFO] [stderr] | [INFO] [stderr] 249 | fn deserialize_tuple(self, len: usize, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/value.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/de/value.rs:259:9 [INFO] [stderr] | [INFO] [stderr] 259 | len: usize, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:260:9 [INFO] [stderr] | [INFO] [stderr] 260 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/de/value.rs:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variants` [INFO] [stderr] --> src/de/value.rs:290:9 [INFO] [stderr] | [INFO] [stderr] 290 | variants: &'static [&'static str], [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variants` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:291:9 [INFO] [stderr] | [INFO] [stderr] 291 | visitor: V, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:299:40 [INFO] [stderr] | [INFO] [stderr] 299 | fn deserialize_identifier(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/de/value.rs:306:41 [INFO] [stderr] | [INFO] [stderr] 306 | fn deserialize_ignored_any(self, visitor: V) -> Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/ser/serialize.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/ser/value.rs:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | fn serialize_char(self, v: char) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/ser/value.rs:130:30 [INFO] [stderr] | [INFO] [stderr] 130 | fn serialize_bytes(self, v: &[u8]) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ser/value.rs:149:36 [INFO] [stderr] | [INFO] [stderr] 149 | fn serialize_unit_struct(self, name: &'static str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ser/value.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variant_index` [INFO] [stderr] --> src/ser/value.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | variant_index: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variant` [INFO] [stderr] --> src/ser/value.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | variant: &'static str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ser/value.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/ser/value.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | value: &T, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/ser/value.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | name: &'static str, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variant_index` [INFO] [stderr] --> src/ser/value.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 176 | variant_index: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variant` [INFO] [stderr] --> src/ser/value.rs:177:9 [INFO] [stderr] | [INFO] [stderr] 177 | variant: &'static str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variant` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/ser/value.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | value: &T, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/ser/value.rs:186:28 [INFO] [stderr] | [INFO] [stderr] 186 | fn serialize_seq(self, len: Option) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: field `pretty` is never read [INFO] [stderr] --> src/ser/serialize.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) struct HzdataSerialize { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 10 | pub(crate) writer: W, [INFO] [stderr] 11 | pub(crate) pretty: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `len` is never read [INFO] [stderr] --> src/ser/serialize_map.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) struct HzdataSerializeMap<'a, W: Write> { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 14 | ser: &'a mut HzdataSerialize, [INFO] [stderr] 15 | len: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `len` is never read [INFO] [stderr] --> src/ser/serialize_seq.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct HzdataSerializeSeq<'a, W: Write> { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 14 | ser: &'a mut HzdataSerialize, [INFO] [stderr] 15 | len: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/de/parse/parse_bool.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult { [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] 5 | pub fn parse_bool(s: &[u8]) -> ParseResult<'_, bool> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/de/parse/parse_identifier.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult { [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] 12 | pub fn parse_identifier(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/de/parse/parse_number.rs:16:24 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn parse_number(s: &[u8]) -> ParseResult { [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] 16 | pub fn parse_number(s: &[u8]) -> ParseResult<'_, Number> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/de/parse/parse_string.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse_string(s: &[u8]) -> ParseResult { [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] 11 | pub fn parse_string(s: &[u8]) -> ParseResult<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/de/parse/util.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<&[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is hidden here [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] 5 | pub fn skip_whitespaces(s: &[u8]) -> ParseResult<'_, &[u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `serde_hzdata` (lib) generated 52 warnings (run `cargo fix --lib -p serde_hzdata` to apply 49 suggestions) [INFO] [stderr] warning: `serde_hzdata` (lib test) generated 52 warnings (52 duplicates) [INFO] [stderr] warning: struct `Test` is never constructed [INFO] [stderr] --> tests/de_test.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | struct Test { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `serde_hzdata` (test "de_test") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_hzdata-0d3fa4799d91a8a5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/de_test.rs (/opt/rustwide/target/debug/deps/de_test-9de2ec37af181fb9) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_de_array ... ok [INFO] [stdout] test test_de_i8 ... ok [INFO] [stdout] test test_de_struct ... ok [INFO] [stdout] test test_de_value ... ok [INFO] [stdout] test test_de_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests serde_hzdata [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfc956d134e16b521d21226aef2c100f49410438a3664f2f8f09d9bd8f2d5644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc956d134e16b521d21226aef2c100f49410438a3664f2f8f09d9bd8f2d5644", kill_on_drop: false }` [INFO] [stdout] dfc956d134e16b521d21226aef2c100f49410438a3664f2f8f09d9bd8f2d5644