[INFO] fetching crate cftail 0.9.3... [INFO] testing cftail-0.9.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cftail 0.9.3 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cftail 0.9.3 [INFO] finished tweaking crates.io crate cftail 0.9.3 [INFO] tweaked toml for crates.io crate cftail 0.9.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cftail 0.9.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cftail 0.9.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47a15c2ce8987f97da926d82e4dece742f4f563fc17186941e45eba96e36f94e [INFO] running `Command { std: "docker" "start" "-a" "47a15c2ce8987f97da926d82e4dece742f4f563fc17186941e45eba96e36f94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a15c2ce8987f97da926d82e4dece742f4f563fc17186941e45eba96e36f94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a15c2ce8987f97da926d82e4dece742f4f563fc17186941e45eba96e36f94e", kill_on_drop: false }` [INFO] [stdout] 47a15c2ce8987f97da926d82e4dece742f4f563fc17186941e45eba96e36f94e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2146ff29b60ea537935b47f9baf2cb5a3dd7d6c4c079cf5d2c5e453b9f36e8c [INFO] running `Command { std: "docker" "start" "-a" "c2146ff29b60ea537935b47f9baf2cb5a3dd7d6c4c079cf5d2c5e453b9f36e8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling bytes-utils v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-types v1.3.3 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aws-smithy-xml v0.60.9 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling xdg-home v1.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling term-table v1.4.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling enumflags2 v0.7.7 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling zvariant v3.15.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling aws-smithy-async v1.2.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling aws-smithy-types v1.2.7 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling zbus_names v2.6.0 [INFO] [stderr] Compiling zbus v3.14.1 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.7.2 [INFO] [stderr] Compiling aws-smithy-json v0.60.7 [INFO] [stderr] Compiling aws-smithy-query v0.60.7 [INFO] [stderr] Compiling aws-smithy-types-convert v0.60.8 [INFO] [stderr] Compiling aws-credential-types v1.2.1 [INFO] [stderr] Compiling aws-smithy-http v0.60.11 [INFO] [stderr] Compiling aws-sigv4 v1.2.4 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-runtime v1.7.2 [INFO] [stderr] Compiling notify-rust v4.10.0 [INFO] [stderr] Compiling aws-runtime v1.4.3 [INFO] [stderr] Compiling aws-sdk-sts v1.45.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.46.0 [INFO] [stderr] Compiling aws-sdk-sso v1.45.0 [INFO] [stderr] Compiling aws-sdk-cloudformation v1.51.1 [INFO] [stderr] Compiling aws-config v1.5.8 [INFO] [stderr] Compiling cftail v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/main.rs:41:75 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(dt) = NaiveDateTime::from_str(src).map(|n| DateTime::::from_utc(n, Utc)) { [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::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/main.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | if let Ok(dt) = src.parse::().map(|i| Utc.timestamp(i, 0)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/main.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let today = Utc::today(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let dt = today.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let yesterday = Utc::today() - ChronoDuration::days(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NoCredentials`, `RateLimitExceeded`, `CredentialsExpired`, `NoStack`, `ErrorResponse`, and `Other` are never constructed [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | NoCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | #[error("rate limit exceeded")] [INFO] [stdout] 13 | RateLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | #[error("credentials expired")] [INFO] [stdout] 15 | CredentialsExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("no stack found")] [INFO] [stdout] 17 | NoStack(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | #[error("general aws error response")] [INFO] [stdout] 19 | ErrorResponse(ErrorResponse), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[error("other error {0}")] [INFO] [stdout] 21 | Other(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_event_datetime` is never used [INFO] [stdout] --> src/utils.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn parse_event_datetime(dt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "c2146ff29b60ea537935b47f9baf2cb5a3dd7d6c4c079cf5d2c5e453b9f36e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2146ff29b60ea537935b47f9baf2cb5a3dd7d6c4c079cf5d2c5e453b9f36e8c", kill_on_drop: false }` [INFO] [stdout] c2146ff29b60ea537935b47f9baf2cb5a3dd7d6c4c079cf5d2c5e453b9f36e8c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98fe51a48bccbbc5d2533a57516caa5fe7e1d49853362aad037d98187b2d55e7 [INFO] running `Command { std: "docker" "start" "-a" "98fe51a48bccbbc5d2533a57516caa5fe7e1d49853362aad037d98187b2d55e7", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling cftail v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/tail.rs:595:24 [INFO] [stdout] | [INFO] [stdout] 595 | since: Utc.timestamp(0, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/main.rs:41:75 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(dt) = NaiveDateTime::from_str(src).map(|n| DateTime::::from_utc(n, Utc)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/main.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | if let Ok(dt) = src.parse::().map(|i| Utc.timestamp(i, 0)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/main.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let today = Utc::today(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let dt = today.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let yesterday = Utc::today() - ChronoDuration::days(1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NoCredentials`, `RateLimitExceeded`, `CredentialsExpired`, `NoStack`, `ErrorResponse`, and `Other` are never constructed [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | NoCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | #[error("rate limit exceeded")] [INFO] [stdout] 13 | RateLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | #[error("credentials expired")] [INFO] [stdout] 15 | CredentialsExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("no stack found")] [INFO] [stdout] 17 | NoStack(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | #[error("general aws error response")] [INFO] [stdout] 19 | ErrorResponse(ErrorResponse), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[error("other error {0}")] [INFO] [stdout] 21 | Other(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_event_datetime` is never used [INFO] [stdout] --> src/utils.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn parse_event_datetime(dt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "98fe51a48bccbbc5d2533a57516caa5fe7e1d49853362aad037d98187b2d55e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98fe51a48bccbbc5d2533a57516caa5fe7e1d49853362aad037d98187b2d55e7", kill_on_drop: false }` [INFO] [stdout] 98fe51a48bccbbc5d2533a57516caa5fe7e1d49853362aad037d98187b2d55e7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce9a05c48c0de292a1fbcfc8b1f457872777c0128e521d346ac0d948990ab544 [INFO] running `Command { std: "docker" "start" "-a" "ce9a05c48c0de292a1fbcfc8b1f457872777c0128e521d346ac0d948990ab544", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stderr] --> src/tail.rs:595:24 [INFO] [stderr] | [INFO] [stderr] 595 | since: Utc.timestamp(0, 0), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/main.rs:41:75 [INFO] [stderr] | [INFO] [stderr] 41 | if let Ok(dt) = NaiveDateTime::from_str(src).map(|n| DateTime::::from_utc(n, Utc)) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stderr] --> src/main.rs:46:52 [INFO] [stderr] | [INFO] [stderr] 46 | if let Ok(dt) = src.parse::().map(|i| Utc.timestamp(i, 0)) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stderr] --> src/main.rs:52:26 [INFO] [stderr] | [INFO] [stderr] 52 | let today = Utc::today(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/main.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | let dt = today.and_hms(0, 0, 0); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stderr] --> src/main.rs:56:30 [INFO] [stderr] | [INFO] [stderr] 56 | let yesterday = Utc::today() - ChronoDuration::days(1); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `NoCredentials`, `RateLimitExceeded`, `CredentialsExpired`, `NoStack`, `ErrorResponse`, and `Other` are never constructed [INFO] [stderr] --> src/error.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 11 | NoCredentials, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 12 | #[error("rate limit exceeded")] [INFO] [stderr] 13 | RateLimitExceeded, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | #[error("credentials expired")] [INFO] [stderr] 15 | CredentialsExpired, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | #[error("no stack found")] [INFO] [stderr] 17 | NoStack(String), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | #[error("general aws error response")] [INFO] [stderr] 19 | ErrorResponse(ErrorResponse), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 20 | #[error("other error {0}")] [INFO] [stderr] 21 | Other(String), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_event_datetime` is never used [INFO] [stderr] --> src/utils.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) fn parse_event_datetime(dt: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cftail` (bin "cftail" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cftail-8f147aa7f72483cb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tail::tests::test_prefetch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce9a05c48c0de292a1fbcfc8b1f457872777c0128e521d346ac0d948990ab544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9a05c48c0de292a1fbcfc8b1f457872777c0128e521d346ac0d948990ab544", kill_on_drop: false }` [INFO] [stdout] ce9a05c48c0de292a1fbcfc8b1f457872777c0128e521d346ac0d948990ab544