[INFO] fetching crate rust-parser 0.1.2...
[INFO] testing rust-parser-0.1.2 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate rust-parser 0.1.2 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate rust-parser 0.1.2
[INFO] finished tweaking crates.io crate rust-parser 0.1.2
[INFO] tweaked toml for crates.io crate rust-parser 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rust-parser 0.1.2 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99d0870af584f1f1cac91a290de4fd704c19d5a6d03df92a8f45bba81682bd7f
[INFO] running `Command { std: "docker" "start" "-a" "99d0870af584f1f1cac91a290de4fd704c19d5a6d03df92a8f45bba81682bd7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99d0870af584f1f1cac91a290de4fd704c19d5a6d03df92a8f45bba81682bd7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99d0870af584f1f1cac91a290de4fd704c19d5a6d03df92a8f45bba81682bd7f", kill_on_drop: false }`
[INFO] [stdout] 99d0870af584f1f1cac91a290de4fd704c19d5a6d03df92a8f45bba81682bd7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9f943488fb25b9061ca7a6ffc16789902ce93ed3119724ac033a46df35b204d
[INFO] running `Command { std: "docker" "start" "-a" "e9f943488fb25b9061ca7a6ffc16789902ce93ed3119724ac033a46df35b204d", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-parser v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/lib.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn get_abs_path(file: &str) {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_abs_path` is never used
[INFO] [stdout]   --> src/lib.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RustParser {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 12 |     /// Get Absolute path from a relative one
[INFO] [stdout] 13 |     fn get_abs_path(file: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lib.rs:31:37
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv {
[INFO] [stdout]    |                                     ^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv<'_> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lib.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump {
[INFO] [stdout]    |                                   ^^^^     ----- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/ber_tlv/mod.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv {
[INFO] [stdout]    |                              ^^         ------ the lifetime gets resolved as `'a`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv<'a> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "e9f943488fb25b9061ca7a6ffc16789902ce93ed3119724ac033a46df35b204d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9f943488fb25b9061ca7a6ffc16789902ce93ed3119724ac033a46df35b204d", kill_on_drop: false }`
[INFO] [stdout] e9f943488fb25b9061ca7a6ffc16789902ce93ed3119724ac033a46df35b204d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2eaa680725999c16220e07c83470b452628e8f17f2ffee6f230a89ffaebef208
[INFO] running `Command { std: "docker" "start" "-a" "2eaa680725999c16220e07c83470b452628e8f17f2ffee6f230a89ffaebef208", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/lib.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn get_abs_path(file: &str) {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_abs_path` is never used
[INFO] [stdout]   --> src/lib.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RustParser {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 12 |     /// Get Absolute path from a relative one
[INFO] [stdout] 13 |     fn get_abs_path(file: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lib.rs:31:37
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv {
[INFO] [stdout]    |                                     ^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv<'_> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lib.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump {
[INFO] [stdout]    |                                   ^^^^     ----- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/ber_tlv/mod.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv {
[INFO] [stdout]    |                              ^^         ------ the lifetime gets resolved as `'a`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv<'a> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rust-parser v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/lib.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn get_abs_path(file: &str) {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_abs_path` is never used
[INFO] [stdout]   --> src/lib.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl RustParser {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 12 |     /// Get Absolute path from a relative one
[INFO] [stdout] 13 |     fn get_abs_path(file: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lib.rs:31:37
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv {
[INFO] [stdout]    |                                     ^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv<'_> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/lib.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump {
[INFO] [stdout]    |                                   ^^^^     ----- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/ber_tlv/mod.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv {
[INFO] [stdout]    |                              ^^         ------ the lifetime gets resolved as `'a`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv<'a> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "2eaa680725999c16220e07c83470b452628e8f17f2ffee6f230a89ffaebef208", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2eaa680725999c16220e07c83470b452628e8f17f2ffee6f230a89ffaebef208", kill_on_drop: false }`
[INFO] [stdout] 2eaa680725999c16220e07c83470b452628e8f17f2ffee6f230a89ffaebef208
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2c438f314ec547205739ce0e90acaf9c845a116ae21e446f87a8fc55dafe4b42
[INFO] running `Command { std: "docker" "start" "-a" "2c438f314ec547205739ce0e90acaf9c845a116ae21e446f87a8fc55dafe4b42", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `file`
[INFO] [stderr]   --> src/lib.rs:13:21
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn get_abs_path(file: &str) {
[INFO] [stderr]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_abs_path` is never used
[INFO] [stderr]   --> src/lib.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | impl RustParser {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] 12 |     /// Get Absolute path from a relative one
[INFO] [stderr] 13 |     fn get_abs_path(file: &str) {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/lib.rs:31:37
[INFO] [stderr]    |
[INFO] [stderr] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv {
[INFO] [stderr]    |                                     ^^^^     ------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv<'_> {
[INFO] [stderr]    |                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/lib.rs:49:35
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump {
[INFO] [stderr]    |                                   ^^^^     ----- the lifetime gets resolved as `'_`
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump<'_> {
[INFO] [stderr]    |                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/ber_tlv/mod.rs:38:30
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv {
[INFO] [stderr]    |                              ^^         ------ the lifetime gets resolved as `'a`
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub(crate) fn new(file: &'a str) -> BerTlv<'a> {
[INFO] [stderr]    |                                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-parser` (lib) generated 5 warnings
[INFO] [stderr] warning: `rust-parser` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_parser-94d1a410ab702b7e)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests rust_parser
[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] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - RustParser::get_kdump_parser (line 37) ... FAILED
[INFO] [stdout] test src/lib.rs - RustParser::get_ber_tlv_parser (line 19) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - RustParser::get_kdump_parser (line 37) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:43:38
[INFO] [stdout]    |
[INFO] [stdout] 9  |         RustParser::get_kdump_parser(&file);
[INFO] [stdout]    |         ---------------------------- ^^^^^ expected `&str`, found `&File`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&str`
[INFO] [stdout]               found reference `&File`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn get_kdump_parser(file: &str) -> Kdump {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - RustParser::get_ber_tlv_parser (line 19) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:25:40
[INFO] [stdout]    |
[INFO] [stdout] 9  |         RustParser::get_ber_tlv_parser(&file);
[INFO] [stdout]    |         ------------------------------ ^^^^^ expected `&str`, found `&File`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&str`
[INFO] [stdout]               found reference `&File`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn get_ber_tlv_parser(file: &str) -> BerTlv {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - RustParser::get_ber_tlv_parser (line 19)
[INFO] [stdout]     src/lib.rs - RustParser::get_kdump_parser (line 37)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2c438f314ec547205739ce0e90acaf9c845a116ae21e446f87a8fc55dafe4b42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c438f314ec547205739ce0e90acaf9c845a116ae21e446f87a8fc55dafe4b42", kill_on_drop: false }`
[INFO] [stdout] 2c438f314ec547205739ce0e90acaf9c845a116ae21e446f87a8fc55dafe4b42
