[INFO] fetching crate u-siem 0.7.0... [INFO] building u-siem-0.7.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate u-siem 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate u-siem 0.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate u-siem 0.7.0 [INFO] tweaked toml for crates.io crate u-siem 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate u-siem 0.7.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9229c12582a4686e511b04b9ca09b73eed9106395cd4bdd759844ce44c9867e9 [INFO] running `Command { std: "docker" "start" "-a" "9229c12582a4686e511b04b9ca09b73eed9106395cd4bdd759844ce44c9867e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9229c12582a4686e511b04b9ca09b73eed9106395cd4bdd759844ce44c9867e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9229c12582a4686e511b04b9ca09b73eed9106395cd4bdd759844ce44c9867e9", kill_on_drop: false }` [INFO] [stdout] 9229c12582a4686e511b04b9ca09b73eed9106395cd4bdd759844ce44c9867e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c1a1210bf3318e53e08bd374cae4c63922704e05b8b9a9846c56d91634002b3 [INFO] running `Command { std: "docker" "start" "-a" "3c1a1210bf3318e53e08bd374cae4c63922704e05b8b9a9846c56d91634002b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling u-siem v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/events/field.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let dt = NaiveDateTime::from_timestamp_millis(*ts_millis).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:201:56 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn field(&'a self, field_name: &str) -> Option<&SiemField> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 | pub fn field(&'a self, field_name: &str) -> Option<&'a SiemField> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:204:64 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&mut SiemField> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 204 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&'a mut SiemField> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:318:64 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&LogString> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 318 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&'a LogString> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:347:66 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&Vec> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 347 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&'a Vec> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SummaryMetric` is never constructed [INFO] [stdout] --> src/components/metrics/summary.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct SummaryMetric { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.80s [INFO] running `Command { std: "docker" "inspect" "3c1a1210bf3318e53e08bd374cae4c63922704e05b8b9a9846c56d91634002b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1a1210bf3318e53e08bd374cae4c63922704e05b8b9a9846c56d91634002b3", kill_on_drop: false }` [INFO] [stdout] 3c1a1210bf3318e53e08bd374cae4c63922704e05b8b9a9846c56d91634002b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6aa8d32d7411426e95a93de3127f2438591782df8f35df1eba50438039751e [INFO] running `Command { std: "docker" "start" "-a" "6b6aa8d32d7411426e95a93de3127f2438591782df8f35df1eba50438039751e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling u-siem v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/events/field.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let dt = NaiveDateTime::from_timestamp_millis(*ts_millis).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SummaryMetric` is never constructed [INFO] [stdout] --> src/components/metrics/summary.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct SummaryMetric { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:201:56 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn field(&'a self, field_name: &str) -> Option<&SiemField> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 | pub fn field(&'a self, field_name: &str) -> Option<&'a SiemField> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:204:64 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&mut SiemField> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 204 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&'a mut SiemField> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:318:64 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&LogString> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 318 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&'a LogString> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:347:66 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&Vec> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 347 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&'a Vec> { [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/components/dataset/calendar.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | let start = match Utc.datetime_from_str("2020/10/05 12:11:10", "%Y/%m/%d %H:%M:%S") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/components/dataset/calendar.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | let end = match Utc.datetime_from_str("2020/10/05 22:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | let time = match Utc.datetime_from_str("2020/10/05 18:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | let time2 = match Utc.datetime_from_str("2020/10/05 23:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | let start = match Utc.datetime_from_str("2020/10/01 12:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | let end = match Utc.datetime_from_str("2020/10/05 22:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | let time = match Utc.datetime_from_str("2020/10/02 1:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | let time2 = match Utc.datetime_from_str("2020/10/03 2:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | let time3 = match Utc.datetime_from_str("2020/10/05 23:11:10", "%Y/%m/%d %H:%M:%S") { [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/components/dataset/calendar.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | let time4 = match Utc.datetime_from_str("2020/10/01 11:11:10", "%Y/%m/%d %H:%M:%S") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/events/field.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | let dt = NaiveDateTime::from_timestamp_millis(*ts_millis).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SummaryMetric` is never constructed [INFO] [stdout] --> src/components/metrics/summary.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct SummaryMetric { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:201:56 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn field(&'a self, field_name: &str) -> Option<&SiemField> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 201 | pub fn field(&'a self, field_name: &str) -> Option<&'a SiemField> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:204:64 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&mut SiemField> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 204 | pub fn field_mut(&'a mut self, field_name: &str) -> Option<&'a mut SiemField> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:318:64 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&LogString> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 318 | pub fn txt_field(&'a mut self, field_name: &str) -> Option<&'a LogString> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/events/log.rs:347:66 [INFO] [stdout] | [INFO] [stdout] 347 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&Vec> { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 347 | pub fn array_field(&'a mut self, field_name: &str) -> Option<&'a Vec> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `lib_build` [INFO] [stdout] --> tests/macros.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(lib_build))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lib_build)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lib_build)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.01s [INFO] running `Command { std: "docker" "inspect" "6b6aa8d32d7411426e95a93de3127f2438591782df8f35df1eba50438039751e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6aa8d32d7411426e95a93de3127f2438591782df8f35df1eba50438039751e", kill_on_drop: false }` [INFO] [stdout] 6b6aa8d32d7411426e95a93de3127f2438591782df8f35df1eba50438039751e