[INFO] fetching crate linux-audit-parser 0.2.7... [INFO] checking linux-audit-parser-0.2.7 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate linux-audit-parser 0.2.7 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate linux-audit-parser 0.2.7 [INFO] finished tweaking crates.io crate linux-audit-parser 0.2.7 [INFO] tweaked toml for crates.io crate linux-audit-parser 0.2.7 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linux-audit-parser 0.2.7 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate linux-audit-parser 0.2.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f240098892849c97ef4bd6d74a2a483194d1648430a7dffcc4808a948d41dd92 [INFO] running `Command { std: "docker" "start" "-a" "f240098892849c97ef4bd6d74a2a483194d1648430a7dffcc4808a948d41dd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f240098892849c97ef4bd6d74a2a483194d1648430a7dffcc4808a948d41dd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f240098892849c97ef4bd6d74a2a483194d1648430a7dffcc4808a948d41dd92", kill_on_drop: false }` [INFO] [stdout] f240098892849c97ef4bd6d74a2a483194d1648430a7dffcc4808a948d41dd92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0a0c3660afdf29fb603e419a785c111dfbff287b454b252c6d2701a04ed2233 [INFO] running `Command { std: "docker" "start" "-a" "b0a0c3660afdf29fb603e419a785c111dfbff287b454b252c6d2701a04ed2233", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling linux-audit-parser v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/body.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get>(&self, key: K) -> Option<&Value> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get>(&self, key: K) -> Option<&Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:176:53 [INFO] [stdout] | [INFO] [stdout] 176 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 177 | | if let Ok(c) = Common::try_from(s.as_bytes()) { [INFO] [stdout] 178 | | Ok(Key::Common(c)) [INFO] [stdout] 179 | | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / if let Ok(c) = Common::try_from(s.as_bytes()) { [INFO] [stdout] 178 | | Ok(Key::Common(c)) [INFO] [stdout] 179 | | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] 180 | | Ok(k) [INFO] [stdout] ... | [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | if let Ok(c) = Common::try_from(s.as_bytes()) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 178 | | Ok(Key::Common(c)) [INFO] [stdout] 179 | | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Key::Common(c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] | ________________^ [INFO] [stdout] 180 | | Ok(k) [INFO] [stdout] 181 | | } else if s.ends_with("uid") { [INFO] [stdout] 182 | | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] ... | [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 180 | | Ok(k) [INFO] [stdout] 181 | | } else if s.ends_with("uid") { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Ok(k) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | } else if s.ends_with("uid") { [INFO] [stdout] | ________________^ [INFO] [stdout] 182 | | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] 183 | | } else if s.ends_with("gid") { [INFO] [stdout] 184 | | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] 185 | | } else { [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | } else if s.ends_with("uid") { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 182 | | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] 183 | | } else if s.ends_with("gid") { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | } else if s.ends_with("gid") { [INFO] [stdout] | ________________^ [INFO] [stdout] 184 | | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] 185 | | } else { [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | } else if s.ends_with("gid") { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 184 | | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] 185 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | Ok(Key::from(s.as_bytes())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | fn parse_encoded(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 345 | fn parse_encoded(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:371:21 [INFO] [stdout] | [INFO] [stdout] 371 | fn parse_hex(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 371 | fn parse_hex(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | fn parse_dec(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 383 | fn parse_dec(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | fn parse_oct(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | fn parse_oct(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:513:30 [INFO] [stdout] | [INFO] [stdout] 513 | fn parse_kv_sq_as_map(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 513 | fn parse_kv_sq_as_map(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linux-audit-parser` (lib) due to 15 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/body.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get>(&self, key: K) -> Option<&Value> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get>(&self, key: K) -> Option<&Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:176:53 [INFO] [stdout] | [INFO] [stdout] 176 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 177 | | if let Ok(c) = Common::try_from(s.as_bytes()) { [INFO] [stdout] 178 | | Ok(Key::Common(c)) [INFO] [stdout] 179 | | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / if let Ok(c) = Common::try_from(s.as_bytes()) { [INFO] [stdout] 178 | | Ok(Key::Common(c)) [INFO] [stdout] 179 | | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] 180 | | Ok(k) [INFO] [stdout] ... | [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | if let Ok(c) = Common::try_from(s.as_bytes()) { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 178 | | Ok(Key::Common(c)) [INFO] [stdout] 179 | | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Key::Common(c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] | ________________^ [INFO] [stdout] 180 | | Ok(k) [INFO] [stdout] 181 | | } else if s.ends_with("uid") { [INFO] [stdout] 182 | | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] ... | [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:179:48 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(k) = try_parse_a(s) { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 180 | | Ok(k) [INFO] [stdout] 181 | | } else if s.ends_with("uid") { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Ok(k) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | } else if s.ends_with("uid") { [INFO] [stdout] | ________________^ [INFO] [stdout] 182 | | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] 183 | | } else if s.ends_with("gid") { [INFO] [stdout] 184 | | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] 185 | | } else { [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | } else if s.ends_with("uid") { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 182 | | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] 183 | | } else if s.ends_with("gid") { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | Ok(Key::NameUID(s.as_bytes().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | } else if s.ends_with("gid") { [INFO] [stdout] | ________________^ [INFO] [stdout] 184 | | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] 185 | | } else { [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | } else if s.ends_with("gid") { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 184 | | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] 185 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(Key::NameGID(s.as_bytes().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 186 | | Ok(Key::from(s.as_bytes())) [INFO] [stdout] 187 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/key.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | Ok(Key::from(s.as_bytes())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | fn parse_encoded(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 345 | fn parse_encoded(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:371:21 [INFO] [stdout] | [INFO] [stdout] 371 | fn parse_hex(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 371 | fn parse_hex(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | fn parse_dec(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 383 | fn parse_dec(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | fn parse_oct(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | fn parse_oct(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:513:30 [INFO] [stdout] | [INFO] [stdout] 513 | fn parse_kv_sq_as_map(input: &[u8]) -> IResult<&[u8], Value> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 513 | fn parse_kv_sq_as_map(input: &[u8]) -> IResult<&[u8], Value<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linux-audit-parser` (lib test) due to 15 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0a0c3660afdf29fb603e419a785c111dfbff287b454b252c6d2701a04ed2233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a0c3660afdf29fb603e419a785c111dfbff287b454b252c6d2701a04ed2233", kill_on_drop: false }` [INFO] [stdout] b0a0c3660afdf29fb603e419a785c111dfbff287b454b252c6d2701a04ed2233