[INFO] cloning repository https://github.com/SpiderUnderUrBed/calendar-egui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpiderUnderUrBed/calendar-egui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiderUnderUrBed%2Fcalendar-egui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiderUnderUrBed%2Fcalendar-egui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f72ece7b095f18d31b617537eb3970901eff86f1 [INFO] checking SpiderUnderUrBed/calendar-egui against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpiderUnderUrBed%2Fcalendar-egui" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpiderUnderUrBed/calendar-egui [INFO] finished tweaking git repo https://github.com/SpiderUnderUrBed/calendar-egui [INFO] tweaked toml for git repo https://github.com/SpiderUnderUrBed/calendar-egui written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpiderUnderUrBed/calendar-egui on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpiderUnderUrBed/calendar-egui 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui_extras v0.34.3 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.12 [INFO] [stderr] Downloaded imgref v1.12.1 [INFO] [stderr] Downloaded ecolor v0.34.3 [INFO] [stderr] Downloaded redox_syscall v0.8.0 [INFO] [stderr] Downloaded emath v0.34.3 [INFO] [stderr] Downloaded epaint v0.34.3 [INFO] [stderr] Downloaded eframe v0.34.3 [INFO] [stderr] Downloaded egui-winit v0.34.3 [INFO] [stderr] Downloaded egui_glow v0.34.3 [INFO] [stderr] Downloaded egui v0.34.3 [INFO] [stderr] Downloaded epaint_default_fonts v0.34.3 [INFO] [stderr] Downloaded egui-wgpu v0.34.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae [INFO] running `Command { std: "docker" "start" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking uuid v1.23.2 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking winnow v1.0.3 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking polycool v0.4.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking kurbo v0.13.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking accesskit v0.24.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling naga v29.0.3 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Checking linebender_resource_handle v0.1.1 [INFO] [stderr] Checking bit-vec v0.9.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking bit-set v0.9.1 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Checking spirv v0.4.0+sdk-1.4.341.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Compiling wgpu-hal v29.0.3 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking no_std_io2 v0.9.4 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking bitstream-io v4.10.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking imgref v1.12.1 [INFO] [stderr] Checking async-signal v0.2.14 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Checking glow v0.17.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking epaint_default_fonts v0.34.3 [INFO] [stderr] Checking self_cell v1.2.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking accesskit_consumer v0.36.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking avif-serialize v0.8.9 [INFO] [stderr] Compiling wgpu-core v29.0.3 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling wgpu v29.0.3 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling mime_guess2 v2.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.50 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling profiling-procmacros v1.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking profiling v1.0.18 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling zvariant_utils v3.4.0 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Compiling zvariant_derive v5.12.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling zvariant v5.12.0 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zbus_names v4.3.2 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking zbus_xml v5.1.1 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking color v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Compiling zbus_macros v5.16.0 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zbus-lockstep v0.5.2 [INFO] [stderr] Checking peniko v0.6.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking fearless_simd v0.3.0 [INFO] [stderr] Checking font-types v0.11.3 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking read-fonts v0.37.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking wgpu-types v29.0.3 [INFO] [stderr] Checking zbus v5.16.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.34.3 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking av-scenechange v0.14.1 [INFO] [stderr] Checking vello_common v0.0.6 [INFO] [stderr] Checking ecolor v0.34.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking vello_cpu v0.0.6 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rav1e v0.8.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking atspi-common v0.13.0 [INFO] [stderr] Checking skrifa v0.40.0 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking winit v0.30.13 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking epaint v0.34.3 [INFO] [stderr] Checking wgpu-naga-bridge v29.0.3 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking ravif v0.13.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking egui v0.34.3 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking atspi-proxies v0.13.0 [INFO] [stderr] Checking accesskit_atspi_common v0.18.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking webbrowser v1.2.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v29.0.3 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking atspi v0.29.0 [INFO] [stderr] Checking accesskit_unix v0.21.1 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking jiff v0.2.28 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking egui_extras v0.34.3 [INFO] [stderr] Checking accesskit_winit v0.32.2 [INFO] [stderr] Checking egui-winit v0.34.3 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking egui-wgpu v0.34.3 [INFO] [stderr] Checking eframe v0.34.3 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.7.0 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking reqwest v0.13.4 [INFO] [stderr] Checking calendar-egui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::os::linux::raw` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Date` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::offset` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::offset; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:856:16 [INFO] [stdout] | [INFO] [stdout] 856 | if (original_time.year <= comparison_time.year [INFO] [stdout] | ^ [INFO] [stdout] 857 | && final_time.year >= comparison_time.year) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 856 ~ if original_time.year <= comparison_time.year [INFO] [stdout] 857 ~ && final_time.year >= comparison_time.year [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:910:24 [INFO] [stdout] | [INFO] [stdout] 910 | if (get_month_index(comparison_time.month).unwrap() [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 914 | && comparison_time.year >= original_time.year) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 910 ~ if get_month_index(comparison_time.month).unwrap() [INFO] [stdout] 911 | <= (get_month_index(date.month).unwrap()) [INFO] [stdout] 912 | && comparison_time.year <= date.year [INFO] [stdout] 913 | && comparison_time.month >= original_time.month [INFO] [stdout] 914 ~ && comparison_time.year >= original_time.year [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Date` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Date; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::offset` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::offset; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:856:16 [INFO] [stdout] | [INFO] [stdout] 856 | if (original_time.year <= comparison_time.year [INFO] [stdout] | ^ [INFO] [stdout] 857 | && final_time.year >= comparison_time.year) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 856 ~ if original_time.year <= comparison_time.year [INFO] [stdout] 857 ~ && final_time.year >= comparison_time.year [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:910:24 [INFO] [stdout] | [INFO] [stdout] 910 | if (get_month_index(comparison_time.month).unwrap() [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 914 | && comparison_time.year >= original_time.year) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 910 ~ if get_month_index(comparison_time.month).unwrap() [INFO] [stdout] 911 | <= (get_month_index(date.month).unwrap()) [INFO] [stdout] 912 | && comparison_time.year <= date.year [INFO] [stdout] 913 | && comparison_time.month >= original_time.month [INFO] [stdout] 914 ~ && comparison_time.year >= original_time.year [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw; [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/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `eframe::egui::TopBottomPanel`: Use Panel::top or Panel::bottom instead [INFO] [stdout] --> src/main.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | egui::TopBottomPanel::top("menu_bar").show_inside(ui, |ui| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `eframe::egui::menu::bar`: Use `egui::MenuBar::new().ui(` instead [INFO] [stdout] --> src/main.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | egui::menu::bar(ui, |ui| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::linux::raw; [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/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `eframe::egui::TopBottomPanel`: Use Panel::top or Panel::bottom instead [INFO] [stdout] --> src/main.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | egui::TopBottomPanel::top("menu_bar").show_inside(ui, |ui| { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `eframe::egui::menu::bar`: Use `egui::MenuBar::new().ui(` instead [INFO] [stdout] --> src/main.rs:457:25 [INFO] [stdout] | [INFO] [stdout] 457 | egui::menu::bar(ui, |ui| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:255:43 [INFO] [stdout] | [INFO] [stdout] 255 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:265:59 [INFO] [stdout] | [INFO] [stdout] 265 | ... .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:305:43 [INFO] [stdout] | [INFO] [stdout] 305 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:513:53 [INFO] [stdout] | [INFO] [stdout] 513 | ... 2.0, [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:536:53 [INFO] [stdout] | [INFO] [stdout] 536 | ... 2.0, [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:962:35 [INFO] [stdout] | [INFO] [stdout] 962 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:969:35 [INFO] [stdout] | [INFO] [stdout] 969 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:993:59 [INFO] [stdout] | [INFO] [stdout] 993 | ... .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:255:43 [INFO] [stdout] | [INFO] [stdout] 255 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:265:59 [INFO] [stdout] | [INFO] [stdout] 265 | ... .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:305:43 [INFO] [stdout] | [INFO] [stdout] 305 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:513:53 [INFO] [stdout] | [INFO] [stdout] 513 | ... 2.0, [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:536:53 [INFO] [stdout] | [INFO] [stdout] 536 | ... 2.0, [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:962:35 [INFO] [stdout] | [INFO] [stdout] 962 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:969:35 [INFO] [stdout] | [INFO] [stdout] 969 | .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:993:59 [INFO] [stdout] | [INFO] [stdout] 993 | ... .stroke(egui::Stroke::new(2.0, egui::Color32::WHITE)) [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jsondatabase.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut database: JsonBackendContent = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | let mut offset = month_start_offset( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_month` is never read [INFO] [stdout] --> src/main.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | let mut current_month = Month::January; [INFO] [stdout] | ^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 630 | current_month = Month::from_str(month_list[shift as usize]).unwrap() [INFO] [stdout] | -------------------------------------------------------------------- `current_month` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/main.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | let date = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_time` [INFO] [stdout] --> src/main.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | let final_time = match time { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/main.rs:1038:29 [INFO] [stdout] | [INFO] [stdout] 1038 | fn get_days_in_month_chrono(year: &str, month: Month) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/main.rs:1055:29 [INFO] [stdout] | [INFO] [stdout] 1055 | fn get_days_in_month_string(year: &str, month: &str) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/jsondatabase.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut database: JsonBackendContent = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:1107:25 [INFO] [stdout] | [INFO] [stdout] 1107 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SerializeableMonth` is more private than the item `EventTime::map_chrono_month` [INFO] [stdout] --> src/databasespec.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn map_chrono_month(month: Month) -> SerializeableMonth { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `EventTime::map_chrono_month` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SerializeableMonth` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/databasespec.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum SerializeableMonth { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `success_frame` is never used [INFO] [stdout] --> src/main.rs:959:4 [INFO] [stdout] | [INFO] [stdout] 959 | fn success_frame(ui: &mut egui::Ui, text: String) -> egui::InnerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `failure_frame` is never used [INFO] [stdout] --> src/main.rs:966:4 [INFO] [stdout] | [INFO] [stdout] 966 | fn failure_frame(ui: &mut egui::Ui, text: String) -> egui::InnerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `days_in_first_week` is never used [INFO] [stdout] --> src/main.rs:1027:4 [INFO] [stdout] | [INFO] [stdout] 1027 | fn days_in_first_week(year: u64, month: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_days_in_month_string` is never used [INFO] [stdout] --> src/main.rs:1055:4 [INFO] [stdout] | [INFO] [stdout] 1055 | fn get_days_in_month_string(year: &str, month: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_month`, `set_day`, `set_hour`, `set_minute`, and `set_year` are never used [INFO] [stdout] --> src/databasespec.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl EventTime { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set_month(&mut self, month: Month) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn set_day(&mut self, day: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn set_hour(&mut self, hour: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_minute(&mut self, minute: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn set_year(&mut self, year: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fix_connection` and `clear_db` are never used [INFO] [stdout] --> src/jsondatabase.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn fix_connection(conn: Option) -> Database { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn clear_db(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/jsondatabase.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | open_file.write_all(serde_json::to_string_pretty(&database).unwrap().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = open_file.write_all(serde_json::to_string_pretty(&database).unwrap().as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/main.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | fn new(cc: &eframe::CreationContext<'_>) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | let mut offset = month_start_offset( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_month` is never read [INFO] [stdout] --> src/main.rs:615:29 [INFO] [stdout] | [INFO] [stdout] 615 | let mut current_month = Month::January; [INFO] [stdout] | ^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 630 | current_month = Month::from_str(month_list[shift as usize]).unwrap() [INFO] [stdout] | -------------------------------------------------------------------- `current_month` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/main.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | let date = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_time` [INFO] [stdout] --> src/main.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | let final_time = match time { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/main.rs:1038:29 [INFO] [stdout] | [INFO] [stdout] 1038 | fn get_days_in_month_chrono(year: &str, month: Month) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/main.rs:1055:29 [INFO] [stdout] | [INFO] [stdout] 1055 | fn get_days_in_month_string(year: &str, month: &str) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:1107:25 [INFO] [stdout] | [INFO] [stdout] 1107 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SerializeableMonth` is more private than the item `EventTime::map_chrono_month` [INFO] [stdout] --> src/databasespec.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn map_chrono_month(month: Month) -> SerializeableMonth { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `EventTime::map_chrono_month` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SerializeableMonth` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/databasespec.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum SerializeableMonth { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `success_frame` is never used [INFO] [stdout] --> src/main.rs:959:4 [INFO] [stdout] | [INFO] [stdout] 959 | fn success_frame(ui: &mut egui::Ui, text: String) -> egui::InnerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `failure_frame` is never used [INFO] [stdout] --> src/main.rs:966:4 [INFO] [stdout] | [INFO] [stdout] 966 | fn failure_frame(ui: &mut egui::Ui, text: String) -> egui::InnerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `days_in_first_week` is never used [INFO] [stdout] --> src/main.rs:1027:4 [INFO] [stdout] | [INFO] [stdout] 1027 | fn days_in_first_week(year: u64, month: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_days_in_month_string` is never used [INFO] [stdout] --> src/main.rs:1055:4 [INFO] [stdout] | [INFO] [stdout] 1055 | fn get_days_in_month_string(year: &str, month: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_month`, `set_day`, `set_hour`, `set_minute`, and `set_year` are never used [INFO] [stdout] --> src/databasespec.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl EventTime { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set_month(&mut self, month: Month) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn set_day(&mut self, day: u64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn set_hour(&mut self, hour: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_minute(&mut self, minute: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn set_year(&mut self, year: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fix_connection` and `clear_db` are never used [INFO] [stdout] --> src/jsondatabase.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Database { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn fix_connection(conn: Option) -> Database { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn clear_db(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/jsondatabase.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | open_file.write_all(serde_json::to_string_pretty(&database).unwrap().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = open_file.write_all(serde_json::to_string_pretty(&database).unwrap().as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 56s [INFO] running `Command { std: "docker" "inspect" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae", kill_on_drop: false }` [INFO] [stdout] 9b0fb3381b751583745fa13461fb95d16cbe16a45a1054468bc4aff5dca141ae