[INFO] fetching crate sors 0.0.2...
[INFO] building sors-0.0.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate sors 0.0.2 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate sors 0.0.2
[INFO] finished tweaking crates.io crate sors 0.0.2
[INFO] tweaked toml for crates.io crate sors 0.0.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate sors 0.0.2 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 105 packages to latest compatible versions
[INFO] [stderr]       Adding markdown v0.2.0 (available: v1.0.0)
[INFO] [stderr]       Adding rustyline v4.1.0 (available: v17.0.1)
[INFO] [stderr]       Adding snafu v0.3.1 (available: v0.8.9)
[INFO] [stderr]       Adding subprocess v0.1.20 (available: v0.2.9)
[INFO] [stderr]       Adding uuid v0.7.4 (available: v1.18.1)
[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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9de60a925f3ba1e45917686f5c25563d0a6d1245d19ed1a8e95858c1967e99dc
[INFO] running `Command { std: "docker" "start" "-a" "9de60a925f3ba1e45917686f5c25563d0a6d1245d19ed1a8e95858c1967e99dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9de60a925f3ba1e45917686f5c25563d0a6d1245d19ed1a8e95858c1967e99dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9de60a925f3ba1e45917686f5c25563d0a6d1245d19ed1a8e95858c1967e99dc", kill_on_drop: false }`
[INFO] [stdout] 9de60a925f3ba1e45917686f5c25563d0a6d1245d19ed1a8e95858c1967e99dc
[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" "-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] 1bd0797855db1952c207246f2fbb9cec6c283672d9e54464dafe29cb6418d3a8
[INFO] running `Command { std: "docker" "start" "-a" "1bd0797855db1952c207246f2fbb9cec6c283672d9e54464dafe29cb6418d3a8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling snafu-derive v0.3.1
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling utf8parse v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling pipeline v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling subprocess v0.1.20
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling markdown v0.2.0
[INFO] [stderr]    Compiling rustyline v4.1.0
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling snafu v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling sors v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn day_clock(&self, date: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[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<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:38
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:56
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<std::error::Error> },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<dyn std::error::Error> },
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut CliCallbacks<T>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut dyn CliCallbacks<T>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/cli.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<dyn Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:467:100
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:483:81
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:496:77
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut dyn CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:197:58
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:439:41
[INFO] [stdout]     |
[INFO] [stdout] 439 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:41
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:72
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cli.rs:51:109
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]    |           ^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn new_cli_with_callbacks<T: Sized, C: CliCallbacks<T>, T2: Sized, C2: CliStateCallback<T2>>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]    |                                                                                                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cli.rs:106:68
[INFO] [stdout]     |
[INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn new_with_callbacks<T2: Sized, C2: CliStateCallback<T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]     |                                                                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]   --> src/clockedit.rs:67:55
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn set_end_date(&mut self, i: usize, new_end: Date<Local>) -> Result<()> {
[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<Tz>` instead
[INFO] [stdout]  --> src/helper.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::Date;
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn day_clock(&self, date: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]   --> src/clockedit.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn create_clock_edit(&self, date: Date<Local>) -> ClockEdit {
[INFO] [stdout]    |                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:38
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:56
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]   --> src/helper.rs:77:48
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn parse_date(date_str: &str) -> CliResult<Date<Local>> {
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<std::error::Error> },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<dyn std::error::Error> },
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut CliCallbacks<T>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut dyn CliCallbacks<T>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/cli.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<dyn Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:467:100
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:483:81
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:496:77
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/helper.rs:36:75
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn display_clocks<T>(clocks: &[Rc<Clock>], doc: &Doc, callbacks: &mut CliCallbacks<T>) {
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn display_clocks<T>(clocks: &[Rc<Clock>], doc: &Doc, callbacks: &mut dyn CliCallbacks<T>) {
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut dyn CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:197:58
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:439:41
[INFO] [stdout]     |
[INFO] [stdout] 439 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:41
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:72
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/helper.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let day = start.date();
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]   --> src/helper.rs:80:34
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Ok(offset) => Local::today() - chrono::Duration::days(offset),
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::from_local_date`: use `from_local_datetime()` instead
[INFO] [stdout]   --> src/helper.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |         if let Some(date) = Local.from_local_date(&naive_date).earliest() {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/clockedit.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(new_start) = clock.start.date().and_time(start) {
[INFO] [stdout]    |                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/clockedit.rs:61:46
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 if let Some(new_start) = end.date().and_time(start) {
[INFO] [stdout]    |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/clockedit.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/main.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |             Local::today()
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/main.rs:391:20
[INFO] [stdout]     |
[INFO] [stdout] 391 |             Local::today()
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/main.rs:416:34
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 let end = Local::today();
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cli.rs:51:109
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]    |           ^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn new_cli_with_callbacks<T: Sized, C: CliCallbacks<T>, T2: Sized, C2: CliStateCallback<T2>>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]    |                                                                                                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cli.rs:106:68
[INFO] [stdout]     |
[INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn new_with_callbacks<T2: Sized, C2: CliStateCallback<T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]     |                                                                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.72s
[INFO] running `Command { std: "docker" "inspect" "1bd0797855db1952c207246f2fbb9cec6c283672d9e54464dafe29cb6418d3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bd0797855db1952c207246f2fbb9cec6c283672d9e54464dafe29cb6418d3a8", kill_on_drop: false }`
[INFO] [stdout] 1bd0797855db1952c207246f2fbb9cec6c283672d9e54464dafe29cb6418d3a8
[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" "-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] 0393b87be4c5e6d83fbefa18f7e69f8214e42a8cdab68828480efc9af3d1a0c7
[INFO] running `Command { std: "docker" "start" "-a" "0393b87be4c5e6d83fbefa18f7e69f8214e42a8cdab68828480efc9af3d1a0c7", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn day_clock(&self, date: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[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<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:38
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:56
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<std::error::Error> },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<dyn std::error::Error> },
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut CliCallbacks<T>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut dyn CliCallbacks<T>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/cli.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<dyn Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:467:100
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling sors v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:483:81
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:496:77
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut dyn CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:197:58
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:439:41
[INFO] [stdout]     |
[INFO] [stdout] 439 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:41
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:72
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cli.rs:51:109
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]    |           ^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn new_cli_with_callbacks<T: Sized, C: CliCallbacks<T>, T2: Sized, C2: CliStateCallback<T2>>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]    |                                                                                                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cli.rs:106:68
[INFO] [stdout]     |
[INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn new_with_callbacks<T2: Sized, C2: CliStateCallback<T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]     |                                                                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn day_clock(&self, date: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[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<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:38
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:56
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<std::error::Error> },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<dyn std::error::Error> },
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut CliCallbacks<T>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut dyn CliCallbacks<T>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/cli.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<dyn Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:467:100
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:483:81
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:496:77
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut dyn CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]  --> src/helper.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::Date;
[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<Tz>` instead
[INFO] [stdout]   --> src/clockedit.rs:67:55
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn set_end_date(&mut self, i: usize, new_end: Date<Local>) -> Result<()> {
[INFO] [stdout]    |                                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]   --> src/clockedit.rs:79:43
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn create_clock_edit(&self, date: Date<Local>) -> ClockEdit {
[INFO] [stdout]    |                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:436:35
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn day_clock(&self, date: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:38
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/doc.rs:450:56
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stdout]     |                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]   --> src/helper.rs:77:48
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn parse_date(date_str: &str) -> CliResult<Date<Local>> {
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<std::error::Error> },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CustomError { source: Box<dyn std::error::Error> },
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut CliCallbacks<T>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     callbacks: &'a mut dyn CliCallbacks<T>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/cli.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub type Func<T, C> = Box<dyn Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stdout]   |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:197:58
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:467:100
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:483:81
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:496:77
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stdout]     |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/helper.rs:36:75
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn display_clocks<T>(clocks: &[Rc<Clock>], doc: &Doc, callbacks: &mut CliCallbacks<T>) {
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn display_clocks<T>(clocks: &[Rc<Clock>], doc: &Doc, callbacks: &mut dyn CliCallbacks<T>) {
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/cli.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn new(callbacks: &'a mut dyn CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:439:41
[INFO] [stdout]     |
[INFO] [stdout] 439 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/doc.rs:197:58
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:41
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:72
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/clockedit.rs:47:50
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if let Some(new_start) = clock.start.date().and_time(start) {
[INFO] [stdout]    |                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/clockedit.rs:61:46
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 if let Some(new_start) = end.date().and_time(start) {
[INFO] [stdout]    |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/clockedit.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]   --> src/helper.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let day = start.date();
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:439:41
[INFO] [stdout]     |
[INFO] [stdout] 439 |             .filter(|clock| clock.start.date() == date)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:41
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stdout]    --> src/doc.rs:453:72
[INFO] [stdout]     |
[INFO] [stdout] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stdout]     |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]   --> src/helper.rs:80:34
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Ok(offset) => Local::today() - chrono::Duration::days(offset),
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::from_local_date`: use `from_local_datetime()` instead
[INFO] [stdout]   --> src/helper.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |         if let Some(date) = Local.from_local_date(&naive_date).earliest() {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/main.rs:370:20
[INFO] [stdout]     |
[INFO] [stdout] 370 |             Local::today()
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/main.rs:391:20
[INFO] [stdout]     |
[INFO] [stdout] 391 |             Local::today()
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/main.rs:416:34
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 let end = Local::today();
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cli.rs:51:109
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]    |           ^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn new_cli_with_callbacks<T: Sized, C: CliCallbacks<T>, T2: Sized, C2: CliStateCallback<T2>>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]    |                                                                                                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cli.rs:106:68
[INFO] [stdout]     |
[INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn new_with_callbacks<T2: Sized, C2: CliStateCallback<T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]     |                                                                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cli.rs:51:109
[INFO] [stdout]    |
[INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]    |           ^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn new_cli_with_callbacks<T: Sized, C: CliCallbacks<T>, T2: Sized, C2: CliStateCallback<T2>>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]    |                                                                                                                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/cli.rs:106:68
[INFO] [stdout]     |
[INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stdout]     |         ^^^^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn new_with_callbacks<T2: Sized, C2: CliStateCallback<T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<'_, T, T2, C2>> {
[INFO] [stdout]     |                                                                                                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "0393b87be4c5e6d83fbefa18f7e69f8214e42a8cdab68828480efc9af3d1a0c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0393b87be4c5e6d83fbefa18f7e69f8214e42a8cdab68828480efc9af3d1a0c7", kill_on_drop: false }`
[INFO] [stdout] 0393b87be4c5e6d83fbefa18f7e69f8214e42a8cdab68828480efc9af3d1a0c7
