[INFO] fetching crate wf2_core 0.31.0... [INFO] checking wf2_core-0.31.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate wf2_core 0.31.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate wf2_core 0.31.0 [INFO] finished tweaking crates.io crate wf2_core 0.31.0 [INFO] tweaked toml for crates.io crate wf2_core 0.31.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wf2_core 0.31.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 302 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.11.0 (available: v0.12.1) [INFO] [stderr] Adding base64 v0.11.0 (available: v0.22.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.47) [INFO] [stderr] Adding dirs v2.0.2 (available: v6.0.0) [INFO] [stderr] Adding filepath v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding nix v0.15.0 (available: v0.30.1) [INFO] [stderr] Adding prettytable-rs v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding snailquote v0.2.0 (available: v0.3.1) [INFO] [stderr] Adding terminal_size v0.1.17 (available: v0.4.3) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] [stderr] Adding users v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding zip v0.5.13 (available: v4.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snailquote v0.2.0 [INFO] [stderr] Downloaded from_file v0.1.3 [INFO] [stderr] Downloaded doc_link v0.1.0 [INFO] [stderr] Downloaded filepath v0.1.3 [INFO] [stderr] Downloaded from_file_derive v0.1.3 [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] [stderr] Downloaded env_proc v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8645e194437cbcd0c0e988f24c9f8b6a2276bccfe1a64d37dd7ab55b2acf6f [INFO] running `Command { std: "docker" "start" "-a" "6b8645e194437cbcd0c0e988f24c9f8b6a2276bccfe1a64d37dd7ab55b2acf6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8645e194437cbcd0c0e988f24c9f8b6a2276bccfe1a64d37dd7ab55b2acf6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8645e194437cbcd0c0e988f24c9f8b6a2276bccfe1a64d37dd7ab55b2acf6f", kill_on_drop: false }` [INFO] [stdout] 6b8645e194437cbcd0c0e988f24c9f8b6a2276bccfe1a64d37dd7ab55b2acf6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0233d7f8e3d44575be82abf2c49b878a730b9ce90b652235a66935b0bc6307c [INFO] running `Command { std: "docker" "start" "-a" "d0233d7f8e3d44575be82abf2c49b878a730b9ce90b652235a66935b0bc6307c", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking openssl-sys v0.9.109 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking snailquote v0.2.0 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking from_file v0.1.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Compiling from_file_derive v0.1.3 [INFO] [stderr] Checking users v0.9.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking filepath v0.1.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling env_proc v0.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling doc_link v0.1.0 [INFO] [stderr] Checking wf2_core v0.31.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `export` in `serde` [INFO] [stdout] --> src/commands/timelog/jira_types.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::export::fmt::Error; [INFO] [stdout] | ^^^^^^ could not find `export` in `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde::export` [INFO] [stdout] --> src/commands/timelog/jira_types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::export::Formatter; [INFO] [stdout] | ^^^^^^ could not find `export` in `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `export` in `serde` [INFO] [stdout] --> src/commands/timelog/jira_types.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::export::fmt::Error; [INFO] [stdout] | ^^^^^^ could not find `export` in `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde::export` [INFO] [stdout] --> src/commands/timelog/jira_types.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::export::Formatter; [INFO] [stdout] | ^^^^^^ could not find `export` in `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Duration, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn str_to_dates(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | fn str_to_dates(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn int_date_format(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:92:68 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn int_date_format(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn jira_date_format(input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | .collect::>>>>(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | fn issue_query(dates: &[Date]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn date_string(dates: &[Date]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_dates(dates: &[Date], jira: &Jira) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn date(&self) -> Date { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | impl From> for WorklogDay { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | fn deserialize_date(date: &Date, s: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(day: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_result.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Date, DateTime, Datelike, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_result.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Duration, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn str_to_dates(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | fn str_to_dates(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn int_date_format(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:92:68 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn int_date_format(now: &Date, input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn jira_date_format(input: &str) -> Option>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | dates: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | fn issue_query(dates: &[Date]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn date_string(dates: &[Date]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_dates(dates: &[Date], jira: &Jira) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, DateTime, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn date(&self) -> Date { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Date, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | impl From> for WorklogDay { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | fn deserialize_date(date: &Date, s: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_day.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(day: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_result.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Date, DateTime, Datelike, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog_result.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub dates: Vec>, [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/commands/timelog/date_input.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let today = Utc::today(); [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/commands/timelog/date_input.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Utc.datetime_from_str(&format!("{}T00:00:00", input.trim()), "%Y-%m-%dT%H:%M:%S") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|x| vec![x.date()]) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | date_time.date() [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/commands/timelog/date_input.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let today = Utc::today(); [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/commands/timelog/jira_worklog_day.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | date: Utc::today(), [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/commands/timelog/date_input.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Utc.datetime_from_str(&format!("{}T00:00:00", input.trim()), "%Y-%m-%dT%H:%M:%S") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|x| vec![x.date()]) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/commands/timelog/date_input.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let input = Utc.ymd(2019, 11, 30); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let now = Utc.ymd(1970, 1, 1); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let now2 = Utc.ymd(1970, 1, 2); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/commands/timelog/jira_issues.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let now3 = Utc.ymd(1970, 1, 3); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/commands/timelog/jira_worklog.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | date_time.date() [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/commands/timelog/jira_worklog_day.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | date: Utc::today(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::read::ZipFile::<'a>::sanitized_name`: by stripping `..`s from the path, the meaning of paths can change. [INFO] [stdout] `mangled_name` can be used if this behaviour is desirable [INFO] [stdout] --> src/zip_utils.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let outpath = file.sanitized_name(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `zip::read::ZipFile::<'a>::sanitized_name`: by stripping `..`s from the path, the meaning of paths can change. [INFO] [stdout] `mangled_name` can be used if this behaviour is desirable [INFO] [stdout] --> src/zip_utils.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let outpath = file.sanitized_name(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wf2_core` (lib) due to 2 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wf2_core` (lib test) due to 2 previous errors; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0233d7f8e3d44575be82abf2c49b878a730b9ce90b652235a66935b0bc6307c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0233d7f8e3d44575be82abf2c49b878a730b9ce90b652235a66935b0bc6307c", kill_on_drop: false }` [INFO] [stdout] d0233d7f8e3d44575be82abf2c49b878a730b9ce90b652235a66935b0bc6307c