[INFO] cloning repository https://github.com/danielhuang/canvas-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielhuang/canvas-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhuang%2Fcanvas-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhuang%2Fcanvas-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b34bbd1db1be2e1a271925b3a67d43efd2eeefdc [INFO] testing danielhuang/canvas-cli against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhuang%2Fcanvas-cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielhuang/canvas-cli on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danielhuang/canvas-cli [INFO] finished tweaking git repo https://github.com/danielhuang/canvas-cli [INFO] tweaked toml for git repo https://github.com/danielhuang/canvas-cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danielhuang/canvas-cli 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 746a5981a3b924d71f939de3bf78682ebc817704b4b00b8d7e4d8f55d2f10029 [INFO] running `Command { std: "docker" "start" "-a" "746a5981a3b924d71f939de3bf78682ebc817704b4b00b8d7e4d8f55d2f10029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "746a5981a3b924d71f939de3bf78682ebc817704b4b00b8d7e4d8f55d2f10029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746a5981a3b924d71f939de3bf78682ebc817704b4b00b8d7e4d8f55d2f10029", kill_on_drop: false }` [INFO] [stdout] 746a5981a3b924d71f939de3bf78682ebc817704b4b00b8d7e4d8f55d2f10029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 942b4cd8f4200bb4dc81866b2f48b4282da9175bff4d55d1fef13c549a37ca3e [INFO] running `Command { std: "docker" "start" "-a" "942b4cd8f4200bb4dc81866b2f48b4282da9175bff4d55d1fef13c549a37ca3e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling iana-time-zone v0.1.44 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling async-trait v0.1.62 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling backoff v0.2.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_path_to_error v0.1.9 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling toml_edit v0.2.1 [INFO] [stderr] Compiling canvas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let today = Local::now().date(); [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::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | if datetime.date() == today { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | } else if datetime.date() == today.succ() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/main.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | } else if datetime.date() == today.succ() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | } else if (0..7).contains(&(datetime.date() - today).num_days()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | format!("this {} at {}", datetime.date().format("%A"), time) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | } else if (7..14).contains(&(datetime.date() - today).num_days()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | format!("next {} at {}", datetime.date().format("%A"), time) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | format!("on {} at {}", datetime.date().format("%b %d"), time) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | format!("{} days", (b.date() - a.date()).num_days()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | format!("{} days", (b.date() - a.date()).num_days()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7m 23s [INFO] running `Command { std: "docker" "inspect" "942b4cd8f4200bb4dc81866b2f48b4282da9175bff4d55d1fef13c549a37ca3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "942b4cd8f4200bb4dc81866b2f48b4282da9175bff4d55d1fef13c549a37ca3e", kill_on_drop: false }` [INFO] [stdout] 942b4cd8f4200bb4dc81866b2f48b4282da9175bff4d55d1fef13c549a37ca3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2249f3828647f3e6205042e1c2a87b6b8e323b2893d73ddb1b9a11632a626a36 [INFO] running `Command { std: "docker" "start" "-a" "2249f3828647f3e6205042e1c2a87b6b8e323b2893d73ddb1b9a11632a626a36", kill_on_drop: false }` [INFO] [stderr] Compiling canvas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let today = Local::now().date(); [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::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | if datetime.date() == today { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | } else if datetime.date() == today.succ() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/main.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | } else if datetime.date() == today.succ() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | } else if (0..7).contains(&(datetime.date() - today).num_days()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | format!("this {} at {}", datetime.date().format("%A"), time) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | } else if (7..14).contains(&(datetime.date() - today).num_days()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | format!("next {} at {}", datetime.date().format("%A"), time) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | format!("on {} at {}", datetime.date().format("%b %d"), time) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | format!("{} days", (b.date() - a.date()).num_days()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/main.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | format!("{} days", (b.date() - a.date()).num_days()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "2249f3828647f3e6205042e1c2a87b6b8e323b2893d73ddb1b9a11632a626a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2249f3828647f3e6205042e1c2a87b6b8e323b2893d73ddb1b9a11632a626a36", kill_on_drop: false }` [INFO] [stdout] 2249f3828647f3e6205042e1c2a87b6b8e323b2893d73ddb1b9a11632a626a36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4b697f145b1c882b1387692da430adcb4a267cf7193e636da0e3cf91aaa3b8a [INFO] running `Command { std: "docker" "start" "-a" "e4b697f145b1c882b1387692da430adcb4a267cf7193e636da0e3cf91aaa3b8a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:80:30 [INFO] [stderr] | [INFO] [stderr] 80 | let today = Local::now().date(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | if datetime.date() == today { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:85:24 [INFO] [stderr] | [INFO] [stderr] 85 | } else if datetime.date() == today.succ() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stderr] --> src/main.rs:85:40 [INFO] [stderr] | [INFO] [stderr] 85 | } else if datetime.date() == today.succ() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:87:42 [INFO] [stderr] | [INFO] [stderr] 87 | } else if (0..7).contains(&(datetime.date() - today).num_days()) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:88:43 [INFO] [stderr] | [INFO] [stderr] 88 | format!("this {} at {}", datetime.date().format("%A"), time) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:89:43 [INFO] [stderr] | [INFO] [stderr] 89 | } else if (7..14).contains(&(datetime.date() - today).num_days()) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:90:43 [INFO] [stderr] | [INFO] [stderr] 90 | format!("next {} at {}", datetime.date().format("%A"), time) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:92:41 [INFO] [stderr] | [INFO] [stderr] 92 | format!("on {} at {}", datetime.date().format("%b %d"), time) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:103:31 [INFO] [stderr] | [INFO] [stderr] 103 | format!("{} days", (b.date() - a.date()).num_days()) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/main.rs:103:42 [INFO] [stderr] | [INFO] [stderr] 103 | format!("{} days", (b.date() - a.date()).num_days()) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `canvas` (bin "canvas" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/canvas-2774e324d5821179) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4b697f145b1c882b1387692da430adcb4a267cf7193e636da0e3cf91aaa3b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b697f145b1c882b1387692da430adcb4a267cf7193e636da0e3cf91aaa3b8a", kill_on_drop: false }` [INFO] [stdout] e4b697f145b1c882b1387692da430adcb4a267cf7193e636da0e3cf91aaa3b8a