[INFO] fetching crate sors 0.0.2... [INFO] checking sors-0.0.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sors 0.0.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate sors 0.0.2 [INFO] finished tweaking crates.io crate sors 0.0.2 [INFO] tweaked toml for crates.io crate sors 0.0.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sors 0.0.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding markdown v0.2.0 (available: v1.0.0) [INFO] [stderr] Adding rustyline v4.1.0 (available: v17.0.1) [INFO] [stderr] Adding snafu v0.3.1 (available: v0.8.9) [INFO] [stderr] Adding subprocess v0.1.20 (available: v0.2.9) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5819c75802034bcee19dbddcb1e02e74e843fb17d6b86d8af902599d2722e01f [INFO] running `Command { std: "docker" "start" "-a" "5819c75802034bcee19dbddcb1e02e74e843fb17d6b86d8af902599d2722e01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5819c75802034bcee19dbddcb1e02e74e843fb17d6b86d8af902599d2722e01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5819c75802034bcee19dbddcb1e02e74e843fb17d6b86d8af902599d2722e01f", kill_on_drop: false }` [INFO] [stdout] 5819c75802034bcee19dbddcb1e02e74e843fb17d6b86d8af902599d2722e01f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9f85d63980825dbf766cc6a767554bb381e95ec4aa3fbdc1a64332fb51c6edc [INFO] running `Command { std: "docker" "start" "-a" "d9f85d63980825dbf766cc6a767554bb381e95ec4aa3fbdc1a64332fb51c6edc", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking pipeline v0.5.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking subprocess v0.1.20 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking markdown v0.2.0 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling snafu-derive v0.3.1 [INFO] [stderr] Checking snafu v0.3.1 [INFO] [stderr] Checking sors v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:436:35 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn day_clock(&self, date: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:38 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:56 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [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 }, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut dyn CliCallbacks, [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 = Box 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box 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(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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, 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 [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, 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) -> Result<(), Box> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:436:35 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn day_clock(&self, date: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:38 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:56 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [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 }, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut dyn CliCallbacks, [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 = Box 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box 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(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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, 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 [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, state_callbacks: C2) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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::::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::::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: 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) -> Result<(), Box> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:51:109 [INFO] [stdout] | [INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [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, T2: Sized, C2: CliStateCallback>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [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>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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::::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::::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 struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:436:35 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn day_clock(&self, date: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:38 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:56 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/clockedit.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn create_clock_edit(&self, date: Date) -> ClockEdit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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` instead [INFO] [stdout] --> src/helper.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse_date(date_str: &str) -> CliResult> { [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 }, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [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, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut dyn CliCallbacks, [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 = Box 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box 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(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut dyn CliCallbacks) { [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, 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 [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, 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) -> Result<(), Box> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:51:109 [INFO] [stdout] | [INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [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, T2: Sized, C2: CliStateCallback>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [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>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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 struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:436:35 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn day_clock(&self, date: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:38 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/doc.rs:450:56 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/clockedit.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn create_clock_edit(&self, date: Date) -> ClockEdit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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` instead [INFO] [stdout] --> src/helper.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse_date(date_str: &str) -> CliResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut dyn CliCallbacks, [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 = Box 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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::::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: 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut dyn CliCallbacks) { [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, 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 [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, state_callbacks: C2) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::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: 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) -> Result<(), Box> { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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: use of deprecated method `chrono::DateTime::::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::::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::::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::::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::::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::::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::::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 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [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, T2: Sized, C2: CliStateCallback>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [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>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:51:109 [INFO] [stdout] | [INFO] [stdout] 51 | ...backs: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [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, T2: Sized, C2: CliStateCallback>(callbacks: &mut C, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli.rs:106:68 [INFO] [stdout] | [INFO] [stdout] 106 | ...T2>>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [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>(&mut self, initial_state: T2, state_callbacks: C2) -> Cli> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.25s [INFO] running `Command { std: "docker" "inspect" "d9f85d63980825dbf766cc6a767554bb381e95ec4aa3fbdc1a64332fb51c6edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f85d63980825dbf766cc6a767554bb381e95ec4aa3fbdc1a64332fb51c6edc", kill_on_drop: false }` [INFO] [stdout] d9f85d63980825dbf766cc6a767554bb381e95ec4aa3fbdc1a64332fb51c6edc