[INFO] fetching crate sors 0.0.2...
[INFO] testing sors-0.0.2 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate sors 0.0.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate sors 0.0.2 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 110 packages to highest compatible versions
[INFO] [stderr]       Adding markdown v0.2.0 (available: v1.0.0)
[INFO] [stderr]       Adding rustyline v4.1.0 (available: v18.0.1)
[INFO] [stderr]       Adding snafu v0.3.1 (available: v0.9.2)
[INFO] [stderr]       Adding subprocess v0.1.20 (available: v1.2.1)
[INFO] [stderr]       Adding uuid v0.7.4 (available: v1.27.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded subprocess v0.1.20
[INFO] [stderr]   Downloaded rustyline v4.1.0
[INFO] [stderr]   Downloaded snafu-derive v0.3.1
[INFO] [stderr]   Downloaded pipeline v0.5.0
[INFO] [stderr]   Downloaded uuid v0.7.4
[INFO] [stderr]   Downloaded snafu v0.3.1
[INFO] [stderr]   Downloaded utf8parse v0.1.1
[INFO] [stderr]   Downloaded markdown v0.2.0
[INFO] [stderr]   Downloaded nix v0.13.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67
[INFO] running `Command { std: "docker" "start" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling utf8parse v0.1.1
[INFO] [stderr]    Compiling pipeline v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling subprocess v0.1.20
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling lazy_static v1.5.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling markdown v0.2.0
[INFO] [stderr]    Compiling rustyline v4.1.0
[INFO] [stderr]    Compiling snafu-derive v0.3.1
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling snafu v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling chrono v0.4.45
[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 | ...ks: &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 | ...eCallback<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: 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/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/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/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 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 | ...ks: &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 | ...eCallback<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 25.70s
[INFO] running `Command { std: "docker" "inspect" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[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 | ...ks: &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 | ...eCallback<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/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: 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/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/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: 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/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/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 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 | ...ks: &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 | ...eCallback<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 | ...ks: &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 | ...eCallback<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 0.91s
[INFO] running `Command { std: "docker" "inspect" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]    --> src/doc.rs:436:35
[INFO] [stderr]     |
[INFO] [stderr] 436 |     pub fn day_clock(&self, date: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stderr]     |                                   ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]    --> src/doc.rs:450:38
[INFO] [stderr]     |
[INFO] [stderr] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stderr]     |                                      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]    --> src/doc.rs:450:56
[INFO] [stderr]     |
[INFO] [stderr] 450 |     pub fn range_clock(&self, start: Date<Local>, end: Date<Local>, main_task: impl Into<Option<Uuid>>) -> Vec<Rc<Clock>> {
[INFO] [stderr]     |                                                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/error.rs:20:31
[INFO] [stderr]    |
[INFO] [stderr] 20 |     CustomError { source: Box<std::error::Error> },
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 20 |     CustomError { source: Box<dyn std::error::Error> },
[INFO] [stderr]    |                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/cli.rs:33:24
[INFO] [stderr]    |
[INFO] [stderr] 33 |     callbacks: &'a mut CliCallbacks<T>,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 33 |     callbacks: &'a mut dyn CliCallbacks<T>,
[INFO] [stderr]    |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/cli.rs:7:27
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub type Func<T, C> = Box<Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub type Func<T, C> = Box<dyn Fn(&mut T, &str, &mut C) -> Result<()>>;
[INFO] [stderr]   |                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/doc.rs:467:100
[INFO] [stderr]     |
[INFO] [stderr] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stderr]     |                                                                                                    ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 467 | pub fn rec_print<T>(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stderr]     |                                                                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/doc.rs:483:81
[INFO] [stderr]     |
[INFO] [stderr] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stderr]     |                                                                                 ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 483 | pub fn dump_html_rec<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stderr]     |                                                                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/doc.rs:496:77
[INFO] [stderr]     |
[INFO] [stderr] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks<T>) -> Result<()> {
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 496 | pub fn dump_html<T>(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks<T>) -> Result<()> {
[INFO] [stderr]     |                                                                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/cli.rs:39:35
[INFO] [stderr]    |
[INFO] [stderr] 39 |     pub fn new(callbacks: &'a mut CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 39 |     pub fn new(callbacks: &'a mut dyn CliCallbacks<T>, state_callbacks: C2) -> Self {
[INFO] [stderr]    |                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/doc.rs:197:58
[INFO] [stderr]     |
[INFO] [stderr] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<std::error::Error>> {
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 197 |             where F: Fn(&mut Rc<Task>) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]     |                                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]    --> src/doc.rs:439:41
[INFO] [stderr]     |
[INFO] [stderr] 439 |             .filter(|clock| clock.start.date() == date)
[INFO] [stderr]     |                                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]    --> src/doc.rs:453:41
[INFO] [stderr]     |
[INFO] [stderr] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stderr]     |                                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]    --> src/doc.rs:453:72
[INFO] [stderr]     |
[INFO] [stderr] 453 |             .filter(|clock| clock.start.date() >= start && clock.start.date() <= end)
[INFO] [stderr]     |                                                                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/cli.rs:51:109
[INFO] [stderr]    |
[INFO] [stderr] 51 | ...ks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stderr]    |        ^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 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] [stderr]    |                                                                                                                                                                                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/cli.rs:106:68
[INFO] [stderr]     |
[INFO] [stderr] 106 | ...eCallback<T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli<T2, CliCallbackHolder<T, T2, C2>> {
[INFO] [stderr]     |                   ^^^^^^^^^ the lifetime is elided here                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 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] [stderr]     |                                                                                                                                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: `sors` (lib) generated 16 warnings (run `cargo fix --lib -p sors` to apply 10 suggestions)
[INFO] [stderr] warning: `sors` (lib test) generated 16 warnings (16 duplicates)
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/clockedit.rs:67:55
[INFO] [stderr]    |
[INFO] [stderr] 67 |     pub fn set_end_date(&mut self, i: usize, new_end: Date<Local>) -> Result<()> {
[INFO] [stderr]    |                                                       ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/clockedit.rs:79:43
[INFO] [stderr]    |
[INFO] [stderr] 79 |     pub fn create_clock_edit(&self, date: Date<Local>) -> ClockEdit {
[INFO] [stderr]    |                                           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]  --> src/helper.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use chrono::Date;
[INFO] [stderr]   |             ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]   --> src/helper.rs:77:48
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub fn parse_date(date_str: &str) -> CliResult<Date<Local>> {
[INFO] [stderr]    |                                                ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/helper.rs:36:75
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn display_clocks<T>(clocks: &[Rc<Clock>], doc: &Doc, callbacks: &mut CliCallbacks<T>) {
[INFO] [stderr]    |                                                                           ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub fn display_clocks<T>(clocks: &[Rc<Clock>], doc: &Doc, callbacks: &mut dyn CliCallbacks<T>) {
[INFO] [stderr]    |                                                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]   --> src/clockedit.rs:47:50
[INFO] [stderr]    |
[INFO] [stderr] 47 |             if let Some(new_start) = clock.start.date().and_time(start) {
[INFO] [stderr]    |                                                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]   --> src/clockedit.rs:61:46
[INFO] [stderr]    |
[INFO] [stderr] 61 |                 if let Some(new_start) = end.date().and_time(start) {
[INFO] [stderr]    |                                              ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]   --> src/clockedit.rs:81:41
[INFO] [stderr]    |
[INFO] [stderr] 81 |             .filter(|clock| clock.start.date() == date)
[INFO] [stderr]    |                                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::DateTime::<Tz>::date`: Use `date_naive()` instead
[INFO] [stderr]   --> src/helper.rs:57:25
[INFO] [stderr]    |
[INFO] [stderr] 57 |         let day = start.date();
[INFO] [stderr]    |                         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stderr]   --> src/helper.rs:80:34
[INFO] [stderr]    |
[INFO] [stderr] 80 |             Ok(offset) => Local::today() - chrono::Duration::days(offset),
[INFO] [stderr]    |                                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::from_local_date`: use `from_local_datetime()` instead
[INFO] [stderr]   --> src/helper.rs:84:35
[INFO] [stderr]    |
[INFO] [stderr] 84 |         if let Some(date) = Local.from_local_date(&naive_date).earliest() {
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stderr]    --> src/main.rs:370:20
[INFO] [stderr]     |
[INFO] [stderr] 370 |             Local::today()
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stderr]    --> src/main.rs:391:20
[INFO] [stderr]     |
[INFO] [stderr] 391 |             Local::today()
[INFO] [stderr]     |                    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stderr]    --> src/main.rs:416:34
[INFO] [stderr]     |
[INFO] [stderr] 416 |                 let end = Local::today();
[INFO] [stderr]     |                                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `sors` (bin "sors-cli" test) generated 30 warnings (16 duplicates) (run `cargo fix --bin "sors-cli" -p sors --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sors-a773984df9df5163)
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sors_cli-db2968918e2b6c30)
[INFO] [stderr]    Doc-tests sors
[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] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/doc.rs - doc::Doc::new (line 134) ... ok
[INFO] [stdout] test src/doc.rs - doc::Doc (line 21) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67", kill_on_drop: false }`
[INFO] [stdout] 93426d2db385015b9e548cc7804fb7c38d0b0e52083bd4843898ef5a7d3c5c67
