[INFO] fetching crate teleinfo-nom 0.2.1... [INFO] testing teleinfo-nom-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate teleinfo-nom 0.2.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate teleinfo-nom 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5eb8744e839e5c969bf1530f59a566167968872b6c08c7dfa9feb31c61232c1 [INFO] running `Command { std: "docker" "start" "-a" "a5eb8744e839e5c969bf1530f59a566167968872b6c08c7dfa9feb31c61232c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5eb8744e839e5c969bf1530f59a566167968872b6c08c7dfa9feb31c61232c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5eb8744e839e5c969bf1530f59a566167968872b6c08c7dfa9feb31c61232c1", kill_on_drop: false }` [INFO] [stdout] a5eb8744e839e5c969bf1530f59a566167968872b6c08c7dfa9feb31c61232c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d99ffc0c49e35fca4faf8975bf56c7f12c9257ce7832c8f54d15944c3ea02afa [INFO] running `Command { std: "docker" "start" "-a" "d99ffc0c49e35fca4faf8975bf56c7f12c9257ce7832c8f54d15944c3ea02afa", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [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.73s [INFO] running `Command { std: "docker" "inspect" "d99ffc0c49e35fca4faf8975bf56c7f12c9257ce7832c8f54d15944c3ea02afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99ffc0c49e35fca4faf8975bf56c7f12c9257ce7832c8f54d15944c3ea02afa", kill_on_drop: false }` [INFO] [stdout] d99ffc0c49e35fca4faf8975bf56c7f12c9257ce7832c8f54d15944c3ea02afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 583b2c218938a1422fea80b84d701c399bf000a831a3fb1aef7240a7b2ba0c4b [INFO] running `Command { std: "docker" "start" "-a" "583b2c218938a1422fea80b84d701c399bf000a831a3fb1aef7240a7b2ba0c4b", kill_on_drop: false }` [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] [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 0.90s [INFO] running `Command { std: "docker" "inspect" "583b2c218938a1422fea80b84d701c399bf000a831a3fb1aef7240a7b2ba0c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583b2c218938a1422fea80b84d701c399bf000a831a3fb1aef7240a7b2ba0c4b", kill_on_drop: false }` [INFO] [stdout] 583b2c218938a1422fea80b84d701c399bf000a831a3fb1aef7240a7b2ba0c4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 998bbff939d4ecfed01729ea65b0ba63f5837829b4d7135c943b82aacc451501 [INFO] running `Command { std: "docker" "start" "-a" "998bbff939d4ecfed01729ea65b0ba63f5837829b4d7135c943b82aacc451501", 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/teleinfo_nom-984794aa3e24390c) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test parser::tests::test_cs ... ok [INFO] [stdout] test parser::tests::test_get_message_incomplete ... 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_horodate ... ok [INFO] [stdout] test parser::tests::test_get_message ... ok [INFO] [stdout] test parser::tests::test_line ... ok [INFO] [stdout] test tests::test_get_message ... ok [INFO] [stdout] test parser::tests::test_parser_message_standard ... 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 - TeleinfoMessage::get_value (line 232) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_meter_type (line 87) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_current_index (line 116) ... ok [INFO] [stdout] test src/lib.rs - TeleinfoMessage::get_billing_indices (line 156) ... ok [INFO] [stdout] test src/lib.rs - get_message (line 326) ... 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 - get_message_buf (line 366) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "998bbff939d4ecfed01729ea65b0ba63f5837829b4d7135c943b82aacc451501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "998bbff939d4ecfed01729ea65b0ba63f5837829b4d7135c943b82aacc451501", kill_on_drop: false }` [INFO] [stdout] 998bbff939d4ecfed01729ea65b0ba63f5837829b4d7135c943b82aacc451501