[INFO] fetching crate teleinfo-nom 0.2.1... [INFO] testing teleinfo-nom-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate teleinfo-nom 0.2.1 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate teleinfo-nom 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 055585a1553ed9def6284c193375b3b2987baa89bbfa4e7cf131d0b535250367 [INFO] running `Command { std: "docker" "start" "-a" "055585a1553ed9def6284c193375b3b2987baa89bbfa4e7cf131d0b535250367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "055585a1553ed9def6284c193375b3b2987baa89bbfa4e7cf131d0b535250367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055585a1553ed9def6284c193375b3b2987baa89bbfa4e7cf131d0b535250367", kill_on_drop: false }` [INFO] [stdout] 055585a1553ed9def6284c193375b3b2987baa89bbfa4e7cf131d0b535250367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ff92cb7bf9c394799ce77044ba63a330b27086c09bf33b9e34dd11fb591543f [INFO] running `Command { std: "docker" "start" "-a" "6ff92cb7bf9c394799ce77044ba63a330b27086c09bf33b9e34dd11fb591543f", 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 4.98s [INFO] running `Command { std: "docker" "inspect" "6ff92cb7bf9c394799ce77044ba63a330b27086c09bf33b9e34dd11fb591543f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff92cb7bf9c394799ce77044ba63a330b27086c09bf33b9e34dd11fb591543f", kill_on_drop: false }` [INFO] [stdout] 6ff92cb7bf9c394799ce77044ba63a330b27086c09bf33b9e34dd11fb591543f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c4be1b2f5796c3a1271dc6a42f7c10962ac0fbb4111468b259df4ccc921eb68 [INFO] running `Command { std: "docker" "start" "-a" "3c4be1b2f5796c3a1271dc6a42f7c10962ac0fbb4111468b259df4ccc921eb68", 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] [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] [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: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.03s [INFO] running `Command { std: "docker" "inspect" "3c4be1b2f5796c3a1271dc6a42f7c10962ac0fbb4111468b259df4ccc921eb68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4be1b2f5796c3a1271dc6a42f7c10962ac0fbb4111468b259df4ccc921eb68", kill_on_drop: false }` [INFO] [stdout] 3c4be1b2f5796c3a1271dc6a42f7c10962ac0fbb4111468b259df4ccc921eb68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a670f0455b1e72cc33acabd66af0ea4ce76546f45e78e113c904f3f6ab53668d [INFO] running `Command { std: "docker" "start" "-a" "a670f0455b1e72cc33acabd66af0ea4ce76546f45e78e113c904f3f6ab53668d", 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.04s [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_get_message ... ok [INFO] [stdout] test parser::tests::test_get_message_incomplete ... ok [INFO] [stdout] test parser::tests::test_horodate ... ok [INFO] [stdout] test parser::tests::test_line ... ok [INFO] [stdout] test parser::tests::test_parser_message ... ok [INFO] [stdout] test parser::tests::test_standard_dataset ... ok [INFO] [stdout] test parser::tests::test_parser_message_standard ... ok [INFO] [stdout] test tests::test_get_message ... ok [INFO] [stdout] test parser::tests::test_cs ... 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.02s [INFO] [stdout] [INFO] [stderr] Doc-tests teleinfo_nom [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_billing_indices (line 156) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_meter_type (line 87) ... ok [INFO] [stdout] test src/lib.rs - get_message_buf (line 366) ... ok [INFO] [stdout] test src/lib.rs - get_message (line 326) ... 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_value (line 232) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_message_type (line 66) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a670f0455b1e72cc33acabd66af0ea4ce76546f45e78e113c904f3f6ab53668d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a670f0455b1e72cc33acabd66af0ea4ce76546f45e78e113c904f3f6ab53668d", kill_on_drop: false }` [INFO] [stdout] a670f0455b1e72cc33acabd66af0ea4ce76546f45e78e113c904f3f6ab53668d