[INFO] cloning repository https://github.com/tomiroth/tlog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomiroth/tlog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomiroth%2Ftlog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomiroth%2Ftlog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 196835f1cfcbd35760cfec0f721d81f9da2c40c1 [INFO] testing tomiroth/tlog against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomiroth%2Ftlog" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomiroth/tlog on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomiroth/tlog [INFO] finished tweaking git repo https://github.com/tomiroth/tlog [INFO] tweaked toml for git repo https://github.com/tomiroth/tlog written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tomiroth/tlog already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea564293fc711ce401a46a81f435d073712a1efde6dec39920ad929afb63d94e [INFO] running `Command { std: "docker" "start" "-a" "ea564293fc711ce401a46a81f435d073712a1efde6dec39920ad929afb63d94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea564293fc711ce401a46a81f435d073712a1efde6dec39920ad929afb63d94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea564293fc711ce401a46a81f435d073712a1efde6dec39920ad929afb63d94e", kill_on_drop: false }` [INFO] [stdout] ea564293fc711ce401a46a81f435d073712a1efde6dec39920ad929afb63d94e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d35e5d29adf4387049ce1a53de887c2c90e657166bf907328b0eeec4381d425c [INFO] running `Command { std: "docker" "start" "-a" "d35e5d29adf4387049ce1a53de887c2c90e657166bf907328b0eeec4381d425c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling comma v1.0.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling predicates v3.1.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling arboard v3.4.0 [INFO] [stderr] Compiling homedir v0.2.1 [INFO] [stderr] Compiling rexpect v0.5.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling tlog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File` and `self` [INFO] [stdout] --> src/config.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, read, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TimeDelta` and `Weekday` [INFO] [stdout] --> src/tasks.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{prelude::Local, Duration, NaiveDate, TimeDelta, Weekday}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/tasks.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let today = Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | if first_date < task.start.date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | && last_date >= task.start.date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/tasks.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let today = Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | if today == task.start.date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | || today == task.end.unwrap().date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/dir.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let test = fs::remove_file(file).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_line` is never used [INFO] [stdout] --> src/dir.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Dir { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn write_line(file: &str, data: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Year` and `Day` are never constructed [INFO] [stdout] --> src/tasks.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ChronoUnit { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 17 | Year, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Day, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.95s [INFO] running `Command { std: "docker" "inspect" "d35e5d29adf4387049ce1a53de887c2c90e657166bf907328b0eeec4381d425c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35e5d29adf4387049ce1a53de887c2c90e657166bf907328b0eeec4381d425c", kill_on_drop: false }` [INFO] [stdout] d35e5d29adf4387049ce1a53de887c2c90e657166bf907328b0eeec4381d425c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fca4a5e8591e51d3f4916f689c53f8e9a6d37bbd58e48fe38a74946024456335 [INFO] running `Command { std: "docker" "start" "-a" "fca4a5e8591e51d3f4916f689c53f8e9a6d37bbd58e48fe38a74946024456335", kill_on_drop: false }` [INFO] [stderr] Compiling tlog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File` and `self` [INFO] [stdout] --> src/config.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{self, read, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TimeDelta` and `Weekday` [INFO] [stdout] --> src/tasks.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{prelude::Local, Duration, NaiveDate, TimeDelta, Weekday}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/tasks.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let today = Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | if first_date < task.start.date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | && last_date >= task.start.date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/tasks.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let today = Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | if today == task.start.date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/tasks.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | || today == task.end.unwrap().date().naive_local() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/dir.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let test = fs::remove_file(file).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_line` is never used [INFO] [stdout] --> src/dir.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Dir { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn write_line(file: &str, data: &str) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Year` and `Day` are never constructed [INFO] [stdout] --> src/tasks.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum ChronoUnit { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 17 | Year, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Day, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "fca4a5e8591e51d3f4916f689c53f8e9a6d37bbd58e48fe38a74946024456335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca4a5e8591e51d3f4916f689c53f8e9a6d37bbd58e48fe38a74946024456335", kill_on_drop: false }` [INFO] [stdout] fca4a5e8591e51d3f4916f689c53f8e9a6d37bbd58e48fe38a74946024456335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67642ab4fa9307fb2c6e783618f441770d8fd353d6a0a0510ad95beab7445528 [INFO] running `Command { std: "docker" "start" "-a" "67642ab4fa9307fb2c6e783618f441770d8fd353d6a0a0510ad95beab7445528", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `File` and `self` [INFO] [stderr] --> src/config.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::{self, read, File}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TimeDelta` and `Weekday` [INFO] [stderr] --> src/tasks.rs:5:51 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{prelude::Local, Duration, NaiveDate, TimeDelta, Weekday}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stderr] --> src/tasks.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | let today = Local::today().naive_local(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/tasks.rs:68:44 [INFO] [stderr] | [INFO] [stderr] 68 | if first_date < task.start.date().naive_local() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/tasks.rs:69:48 [INFO] [stderr] | [INFO] [stderr] 69 | && last_date >= task.start.date().naive_local() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stderr] --> src/tasks.rs:92:36 [INFO] [stderr] | [INFO] [stderr] 92 | let today = Local::today().naive_local(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/tasks.rs:95:40 [INFO] [stderr] | [INFO] [stderr] 95 | if today == task.start.date().naive_local() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/tasks.rs:96:51 [INFO] [stderr] | [INFO] [stderr] 96 | || today == task.end.unwrap().date().naive_local() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test` [INFO] [stderr] --> src/dir.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | let test = fs::remove_file(file).unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `write_line` is never used [INFO] [stderr] --> src/dir.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Dir { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 110 | pub fn write_line(file: &str, data: &str) -> Result<(), std::io::Error> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Year` and `Day` are never constructed [INFO] [stderr] --> src/tasks.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum ChronoUnit { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 17 | Year, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | Day, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `tlog` (bin "tlog" test) generated 11 warnings (run `cargo fix --bin "tlog" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tlog-c055228b5fade1da) [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" "67642ab4fa9307fb2c6e783618f441770d8fd353d6a0a0510ad95beab7445528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67642ab4fa9307fb2c6e783618f441770d8fd353d6a0a0510ad95beab7445528", kill_on_drop: false }` [INFO] [stdout] 67642ab4fa9307fb2c6e783618f441770d8fd353d6a0a0510ad95beab7445528