[INFO] fetching crate teleinfo-nom 0.2.1... [INFO] testing teleinfo-nom-0.2.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate teleinfo-nom 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate teleinfo-nom 0.2.1 [INFO] finished tweaking crates.io crate teleinfo-nom 0.2.1 [INFO] tweaked toml for crates.io crate teleinfo-nom 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate teleinfo-nom 0.2.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66a85793c75127c96afde535469392ca90a51b1265eeeebd27d74410b29394b [INFO] running `Command { std: "docker" "start" "-a" "f66a85793c75127c96afde535469392ca90a51b1265eeeebd27d74410b29394b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66a85793c75127c96afde535469392ca90a51b1265eeeebd27d74410b29394b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66a85793c75127c96afde535469392ca90a51b1265eeeebd27d74410b29394b", kill_on_drop: false }` [INFO] [stdout] f66a85793c75127c96afde535469392ca90a51b1265eeeebd27d74410b29394b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f0062aa146f53b7762a9e0e09723c9c160fd93addbd94a8ecfe4785b286903 [INFO] running `Command { std: "docker" "start" "-a" "55f0062aa146f53b7762a9e0e09723c9c160fd93addbd94a8ecfe4785b286903", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling teleinfo-nom v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/parser/mod.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | date: Local.datetime_from_str(date, "%y%m%d%H%M%S").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "55f0062aa146f53b7762a9e0e09723c9c160fd93addbd94a8ecfe4785b286903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f0062aa146f53b7762a9e0e09723c9c160fd93addbd94a8ecfe4785b286903", kill_on_drop: false }` [INFO] [stdout] 55f0062aa146f53b7762a9e0e09723c9c160fd93addbd94a8ecfe4785b286903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b51b60c55844e5133b90c66239e2a21a94544b80b610a980200b444c07dd1d1f [INFO] running `Command { std: "docker" "start" "-a" "b51b60c55844e5133b90c66239e2a21a94544b80b610a980200b444c07dd1d1f", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/parser/mod.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | date: Local.datetime_from_str(date, "%y%m%d%H%M%S").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling teleinfo-nom v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/parser/mod.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | date: Local.datetime_from_str(date, "%y%m%d%H%M%S").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple> { [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] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:127:37 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [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] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "b51b60c55844e5133b90c66239e2a21a94544b80b610a980200b444c07dd1d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51b60c55844e5133b90c66239e2a21a94544b80b610a980200b444c07dd1d1f", kill_on_drop: false }` [INFO] [stdout] b51b60c55844e5133b90c66239e2a21a94544b80b610a980200b444c07dd1d1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c79674d5ec5633afbd8c843d2191943a5da645f6977d4ea85189a4beae8553a3 [INFO] running `Command { std: "docker" "start" "-a" "c79674d5ec5633afbd8c843d2191943a5da645f6977d4ea85189a4beae8553a3", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stderr] --> src/parser/mod.rs:115:33 [INFO] [stderr] | [INFO] [stderr] 115 | date: Local.datetime_from_str(date, "%y%m%d%H%M%S").unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:42:33 [INFO] [stderr] | [INFO] [stderr] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | fn parser_dataset_legacy(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:56:35 [INFO] [stderr] | [INFO] [stderr] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 56 | fn parser_dataset_standard(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:62:40 [INFO] [stderr] | [INFO] [stderr] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 62 | fn parser_dataset_standard_nohd(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:76:44 [INFO] [stderr] | [INFO] [stderr] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 76 | fn parser_dataset_standard_horodate(input: &str) -> IResult<&str, TeleinfoTuple<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:123:30 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 123 | pub fn parser_message(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:127:37 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 127 | pub fn parser_message_legacy(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:134:39 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec, TeleinfoMode)> { [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided 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] 134 | pub fn parser_message_standard(input: &str) -> IResult<&str, (Vec>, TeleinfoMode)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `teleinfo-nom` (lib) generated 8 warnings (run `cargo fix --lib -p teleinfo-nom` to apply 7 suggestions) [INFO] [stderr] warning: `teleinfo-nom` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/teleinfo_nom-80cb18711cfe4dff) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test parser::tests::test_cs ... ok [INFO] [stdout] test parser::tests::test_horodate ... ok [INFO] [stdout] test parser::tests::test_parser_message_standard ... ok [INFO] [stdout] test parser::tests::test_line ... ok [INFO] [stdout] test parser::tests::test_standard_dataset ... ok [INFO] [stdout] test parser::tests::test_parser_message ... ok [INFO] [stdout] test parser::tests::test_get_message_incomplete ... ok [INFO] [stdout] test tests::test_get_message ... ok [INFO] [stdout] test parser::tests::test_get_message ... ok [INFO] [stdout] test tests::test_get_message_buf ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests teleinfo_nom [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - get_message (line 326) ... ok [INFO] [stdout] test src/lib.rs - get_message_buf (line 366) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_value (line 232) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_billing_indices (line 156) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_current_index (line 116) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_values (line 248) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_message_type (line 66) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_meter_type (line 87) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c79674d5ec5633afbd8c843d2191943a5da645f6977d4ea85189a4beae8553a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c79674d5ec5633afbd8c843d2191943a5da645f6977d4ea85189a4beae8553a3", kill_on_drop: false }` [INFO] [stdout] c79674d5ec5633afbd8c843d2191943a5da645f6977d4ea85189a4beae8553a3