[INFO] cloning repository https://github.com/DennisJensen95/time-app-registration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DennisJensen95/time-app-registration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDennisJensen95%2Ftime-app-registration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDennisJensen95%2Ftime-app-registration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4436c4b3b0fd6b0bab362676f5f8144f4894ed0 [INFO] testing DennisJensen95/time-app-registration against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDennisJensen95%2Ftime-app-registration" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DennisJensen95/time-app-registration [INFO] finished tweaking git repo https://github.com/DennisJensen95/time-app-registration [INFO] tweaked toml for git repo https://github.com/DennisJensen95/time-app-registration written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DennisJensen95/time-app-registration on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DennisJensen95/time-app-registration 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77851b32b1ae3adbba6513287e9651fc9004baf4cc4e9e39acc8b9ed259d1773 [INFO] running `Command { std: "docker" "start" "-a" "77851b32b1ae3adbba6513287e9651fc9004baf4cc4e9e39acc8b9ed259d1773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77851b32b1ae3adbba6513287e9651fc9004baf4cc4e9e39acc8b9ed259d1773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77851b32b1ae3adbba6513287e9651fc9004baf4cc4e9e39acc8b9ed259d1773", kill_on_drop: false }` [INFO] [stdout] 77851b32b1ae3adbba6513287e9651fc9004baf4cc4e9e39acc8b9ed259d1773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 932a703439a1645625dd5b73b24e5588c866d79ee8755dffc01393437fd1665b [INFO] running `Command { std: "docker" "start" "-a" "932a703439a1645625dd5b73b24e5588c866d79ee8755dffc01393437fd1665b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling bumpalo v3.19.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling dioxus-core-types v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling zmij v1.0.10 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling lazy-js-bundle v0.7.2 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling keyboard-types v0.7.0 [INFO] [stderr] Compiling dioxus-document v0.7.2 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling dioxus-interpreter-js v0.7.2 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling sledgehammer_utils v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling charset v0.1.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling dioxus-web v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling content_disposition v0.4.0 [INFO] [stderr] Compiling const-str v0.7.1 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Compiling dioxus-config-macro v0.7.2 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling dioxus-config-macros v0.7.2 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling infer v0.19.0 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling dioxus-rsx v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.7.2 [INFO] [stderr] Compiling const-serialize-macro v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling dioxus-core-macro v0.7.2 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling generational-box v0.7.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling dioxus-router-macro v0.7.2 [INFO] [stderr] Compiling dioxus-stores-macro v0.7.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling dioxus-fullstack-macro v0.7.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling subsecond-types v0.7.2 [INFO] [stderr] Compiling js-sys v0.3.83 [INFO] [stderr] Compiling dioxus-cli-config v0.7.2 [INFO] [stderr] Compiling const-serialize v0.7.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling subsecond v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling enumset v1.1.10 [INFO] [stderr] Compiling manganis-core v0.7.2 [INFO] [stderr] Compiling sledgehammer_bindgen v0.6.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling dioxus-core v0.7.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling dioxus-logger v0.7.2 [INFO] [stderr] Compiling manganis-macro v0.7.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling manganis v0.7.2 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling async-tungstenite v0.31.0 [INFO] [stderr] Compiling cookie_store v0.22.0 [INFO] [stderr] Compiling web-sys v0.3.83 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.56 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling dioxus-signals v0.7.2 [INFO] [stderr] Compiling dioxus-history v0.7.2 [INFO] [stderr] Compiling dioxus-devtools-types v0.7.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling dioxus-hooks v0.7.2 [INFO] [stderr] Compiling dioxus-devtools v0.7.2 [INFO] [stderr] Compiling dioxus-stores v0.7.2 [INFO] [stderr] Compiling dioxus-html v0.7.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling dioxus-router v0.7.2 [INFO] [stderr] Compiling dioxus-fullstack-core v0.7.2 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling dioxus-asset-resolver v0.7.2 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling dioxus-fullstack v0.7.2 [INFO] [stderr] Compiling dioxus v0.7.2 [INFO] [stderr] Compiling time-registration-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db; [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 imports: `Local` and `Utc` [INFO] [stdout] --> src/server.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Local, Utc}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_db_path` is never used [INFO] [stdout] --> src/db.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_db_path() -> PathBuf { [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 `get_connection` is never used [INFO] [stdout] --> src/db.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db` is never used [INFO] [stdout] --> src/db.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn init_db(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_entry` is never used [INFO] [stdout] --> src/db.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_entry(category: Category, start_time: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stop_entry` is never used [INFO] [stdout] --> src/db.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stop_entry(id: i64, end_time: &str, duration_seconds: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_active_entry` is never used [INFO] [stdout] --> src/db.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_active_entry() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_entries_for_date` is never used [INFO] [stdout] --> src/db.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_entries_for_date(date: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_entries` is never used [INFO] [stdout] --> src/db.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_all_entries() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_daily_summary` is never used [INFO] [stdout] --> src/db.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_daily_summary(date: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_entry` is never used [INFO] [stdout] --> src/db.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn delete_entry(id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_manual_entry` is never used [INFO] [stdout] --> src/db.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn insert_manual_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `color` are never used [INFO] [stdout] --> src/models.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Category { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn color(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewTimeEntry` is never constructed [INFO] [stdout] --> src/models.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct NewTimeEntry { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "932a703439a1645625dd5b73b24e5588c866d79ee8755dffc01393437fd1665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932a703439a1645625dd5b73b24e5588c866d79ee8755dffc01393437fd1665b", kill_on_drop: false }` [INFO] [stdout] 932a703439a1645625dd5b73b24e5588c866d79ee8755dffc01393437fd1665b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 0739b27e997e49626da805af1a7c1fa5fbfcd19c3fdc1f7a581343c7706c5815 [INFO] running `Command { std: "docker" "start" "-a" "0739b27e997e49626da805af1a7c1fa5fbfcd19c3fdc1f7a581343c7706c5815", kill_on_drop: false }` [INFO] [stderr] Compiling time-registration-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::db; [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 imports: `Local` and `Utc` [INFO] [stdout] --> src/server.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Local, Utc}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_db_path` is never used [INFO] [stdout] --> src/db.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_db_path() -> PathBuf { [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 `get_connection` is never used [INFO] [stdout] --> src/db.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_connection() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_db` is never used [INFO] [stdout] --> src/db.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn init_db(conn: &Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_entry` is never used [INFO] [stdout] --> src/db.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_entry(category: Category, start_time: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stop_entry` is never used [INFO] [stdout] --> src/db.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn stop_entry(id: i64, end_time: &str, duration_seconds: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_active_entry` is never used [INFO] [stdout] --> src/db.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_active_entry() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_entries_for_date` is never used [INFO] [stdout] --> src/db.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_entries_for_date(date: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_entries` is never used [INFO] [stdout] --> src/db.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn get_all_entries() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_daily_summary` is never used [INFO] [stdout] --> src/db.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn get_daily_summary(date: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_entry` is never used [INFO] [stdout] --> src/db.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn delete_entry(id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_manual_entry` is never used [INFO] [stdout] --> src/db.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn insert_manual_entry( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `color` are never used [INFO] [stdout] --> src/models.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Category { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn color(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewTimeEntry` is never constructed [INFO] [stdout] --> src/models.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct NewTimeEntry { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "0739b27e997e49626da805af1a7c1fa5fbfcd19c3fdc1f7a581343c7706c5815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0739b27e997e49626da805af1a7c1fa5fbfcd19c3fdc1f7a581343c7706c5815", kill_on_drop: false }` [INFO] [stdout] 0739b27e997e49626da805af1a7c1fa5fbfcd19c3fdc1f7a581343c7706c5815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] d170222ae73b3a11e5ec5686f5cac49b41a3af65e89b7f76bdc97548d700c67d [INFO] running `Command { std: "docker" "start" "-a" "d170222ae73b3a11e5ec5686f5cac49b41a3af65e89b7f76bdc97548d700c67d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::db` [INFO] [stderr] --> src/server.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::db; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Local` and `Utc` [INFO] [stderr] --> src/server.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{Local, Utc}; [INFO] [stderr] | ^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_db_path` is never used [INFO] [stderr] --> src/db.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn get_db_path() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_connection` is never used [INFO] [stderr] --> src/db.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn get_connection() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_db` is never used [INFO] [stderr] --> src/db.rs:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | fn init_db(conn: &Connection) -> Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_entry` is never used [INFO] [stderr] --> src/db.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn insert_entry(category: Category, start_time: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `stop_entry` is never used [INFO] [stderr] --> src/db.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn stop_entry(id: i64, end_time: &str, duration_seconds: i64) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_active_entry` is never used [INFO] [stderr] --> src/db.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn get_active_entry() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_entries_for_date` is never used [INFO] [stderr] --> src/db.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_entries_for_date(date: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_all_entries` is never used [INFO] [stderr] --> src/db.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn get_all_entries() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_daily_summary` is never used [INFO] [stderr] --> src/db.rs:130:8 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn get_daily_summary(date: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_entry` is never used [INFO] [stderr] --> src/db.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn delete_entry(id: i64) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_manual_entry` is never used [INFO] [stderr] --> src/db.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn insert_manual_entry( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_str` and `color` are never used [INFO] [stderr] --> src/models.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Category { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn from_str(s: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn color(&self) -> &'static str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `NewTimeEntry` is never constructed [INFO] [stderr] --> src/models.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct NewTimeEntry { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `time-registration-app` (bin "time-registration-app" test) generated 15 warnings (run `cargo fix --bin "time-registration-app" -p time-registration-app --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/time-registration-app/3e46babb58f29aa9/deps/time_registration_app-3e46babb58f29aa9) [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" "d170222ae73b3a11e5ec5686f5cac49b41a3af65e89b7f76bdc97548d700c67d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d170222ae73b3a11e5ec5686f5cac49b41a3af65e89b7f76bdc97548d700c67d", kill_on_drop: false }` [INFO] [stdout] d170222ae73b3a11e5ec5686f5cac49b41a3af65e89b7f76bdc97548d700c67d