[INFO] fetching crate sors 0.0.2... [INFO] testing sors-0.0.2 against try#fc4ba03ef77ca5018fb78a097d3b924d30f15bfc+target=i686-unknown-linux-musl for musl_upgrade_1_2_take4 [INFO] extracting crate sors 0.0.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sors 0.0.2 on toolchain fc4ba03ef77ca5018fb78a097d3b924d30f15bfc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded subprocess v0.1.20 [INFO] [stderr] Downloaded snafu v0.3.1 [INFO] [stderr] Downloaded snafu-derive v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 970f56e312b81060dc80ba38254e05b766920a8b9ad14df06703aab21b81ca0b [INFO] running `Command { std: "docker" "start" "-a" "970f56e312b81060dc80ba38254e05b766920a8b9ad14df06703aab21b81ca0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "970f56e312b81060dc80ba38254e05b766920a8b9ad14df06703aab21b81ca0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970f56e312b81060dc80ba38254e05b766920a8b9ad14df06703aab21b81ca0b", kill_on_drop: false }` [INFO] [stdout] 970f56e312b81060dc80ba38254e05b766920a8b9ad14df06703aab21b81ca0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2fc04bb355f686935468dcd4958b6b1b7b1cd1545ef4fd383544556754ac8474 [INFO] running `Command { std: "docker" "start" "-a" "2fc04bb355f686935468dcd4958b6b1b7b1cd1545ef4fd383544556754ac8474", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.150 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.150 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling subprocess v0.1.20 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling addr2line v0.17.0 [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 snafu v0.3.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling sors v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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: 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: 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: 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: 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: 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: 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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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: 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 associated function `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 associated function `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 associated function `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: 14 warnings emitted [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: 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: 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: 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: 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: 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: 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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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: 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/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: 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: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.09s [INFO] running `Command { std: "docker" "inspect" "2fc04bb355f686935468dcd4958b6b1b7b1cd1545ef4fd383544556754ac8474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc04bb355f686935468dcd4958b6b1b7b1cd1545ef4fd383544556754ac8474", kill_on_drop: false }` [INFO] [stdout] 2fc04bb355f686935468dcd4958b6b1b7b1cd1545ef4fd383544556754ac8474 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e77669e3934f9fdcb4db943402b4b4077c4520bd7f7057210ca200403bedd5ab [INFO] running `Command { std: "docker" "start" "-a" "e77669e3934f9fdcb4db943402b4b4077c4520bd7f7057210ca200403bedd5ab", kill_on_drop: false }` [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: 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: 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: 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: 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: 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: 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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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: 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 associated function `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 associated function `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 associated function `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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: 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: 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: 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: 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: 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: 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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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: 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 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: 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: 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: 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: 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: 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: 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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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: 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/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: 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: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "e77669e3934f9fdcb4db943402b4b4077c4520bd7f7057210ca200403bedd5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77669e3934f9fdcb4db943402b4b4077c4520bd7f7057210ca200403bedd5ab", kill_on_drop: false }` [INFO] [stdout] e77669e3934f9fdcb4db943402b4b4077c4520bd7f7057210ca200403bedd5ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a6aaf838554de47b98d661695f9b4660f31a79262c0671c5cb0ea1634b54d01 [INFO] running `Command { std: "docker" "start" "-a" "4a6aaf838554de47b98d661695f9b4660f31a79262c0671c5cb0ea1634b54d01", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/doc.rs:436:35 [INFO] [stderr] | [INFO] [stderr] 436 | pub fn day_clock(&self, date: Date, main_task: impl Into>) -> Vec> { [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` instead [INFO] [stderr] --> src/doc.rs:450:38 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/doc.rs:450:56 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn range_clock(&self, start: Date, end: Date, main_task: impl Into>) -> Vec> { [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 }, [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 [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 | CustomError { source: Box }, [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, [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 | callbacks: &'a mut dyn CliCallbacks, [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 = Box 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 | pub type Func = Box 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(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> 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(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [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) -> Result<(), Box> { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [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, 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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::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 associated function `chrono::DateTime::::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 associated function `chrono::DateTime::::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: `sors` (lib) generated 14 warnings [INFO] [stderr] warning: `sors` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/clockedit.rs:79:43 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn create_clock_edit(&self, date: Date) -> ClockEdit { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` 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` instead [INFO] [stderr] --> src/helper.rs:77:48 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn parse_date(date_str: &str) -> CliResult> { [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(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut dyn CliCallbacks) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::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 associated function `chrono::DateTime::::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 associated function `chrono::DateTime::::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 associated function `chrono::DateTime::::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 associated function `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 28 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/sors-cf6e79ed78358b2e) [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/i686-unknown-linux-musl/debug/deps/sors_cli-01f6bd80aeab8015) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4a6aaf838554de47b98d661695f9b4660f31a79262c0671c5cb0ea1634b54d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6aaf838554de47b98d661695f9b4660f31a79262c0671c5cb0ea1634b54d01", kill_on_drop: false }` [INFO] [stdout] 4a6aaf838554de47b98d661695f9b4660f31a79262c0671c5cb0ea1634b54d01