[INFO] cloning repository https://github.com/Lemminkyinen/clockify-flex-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lemminkyinen/clockify-flex-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Fclockify-flex-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Fclockify-flex-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a72e9a8aa837e3101a584f41455ea052cf194e5e [INFO] testing Lemminkyinen/clockify-flex-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemminkyinen%2Fclockify-flex-rust" "/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/Lemminkyinen/clockify-flex-rust [INFO] finished tweaking git repo https://github.com/Lemminkyinen/clockify-flex-rust [INFO] tweaked toml for git repo https://github.com/Lemminkyinen/clockify-flex-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lemminkyinen/clockify-flex-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lemminkyinen/clockify-flex-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabled_derive v0.7.0 [INFO] [stderr] Downloaded spinners v4.1.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.49 [INFO] [stderr] Downloaded security-framework-sys v2.13.0 [INFO] [stderr] Downloaded papergrid v0.11.0 [INFO] [stderr] Downloaded tabled v0.15.0 [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded reqwest v0.12.11 [INFO] [stderr] Downloaded syn v2.0.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ae9c524a652ac0b7eef667c359eb7d0f7a1bb0f278dc012f72c3fe6b4f34ce2 [INFO] running `Command { std: "docker" "start" "-a" "2ae9c524a652ac0b7eef667c359eb7d0f7a1bb0f278dc012f72c3fe6b4f34ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ae9c524a652ac0b7eef667c359eb7d0f7a1bb0f278dc012f72c3fe6b4f34ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae9c524a652ac0b7eef667c359eb7d0f7a1bb0f278dc012f72c3fe6b4f34ce2", kill_on_drop: false }` [INFO] [stdout] 2ae9c524a652ac0b7eef667c359eb7d0f7a1bb0f278dc012f72c3fe6b4f34ce2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3589b796ece28061a073c91873c3238a2231ae2e5fb6e8dacae76b89fe4616d [INFO] running `Command { std: "docker" "start" "-a" "f3589b796ece28061a073c91873c3238a2231ae2e5fb6e8dacae76b89fe4616d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling papergrid v0.11.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling tabled v0.15.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling spinners v4.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.11 [INFO] [stderr] Compiling clockify-flex-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `total_flex_time_off_day_count`, `unfiltered_expected_working_day_count`, `total_weekdays_since_start`, `weekdays_sick_leaves_filtered_since_start`, and `weekdays_public_holidays_filtered_since_start` are never used [INFO] [stdout] --> src/main.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Results { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 59 | fn total_flex_time_off_day_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn unfiltered_expected_working_day_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn total_weekdays_since_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn weekdays_sick_leaves_filtered_since_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn weekdays_public_holidays_filtered_since_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/clockify.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/models.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct Holiday { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub type_: HolidayType, [INFO] [stdout] 17 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Holiday` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/models.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct SickLeaveDay { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 29 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SickLeaveDay` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `project` are never read [INFO] [stdout] --> src/models.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct WorkItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 61 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | project: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.09s [INFO] running `Command { std: "docker" "inspect" "f3589b796ece28061a073c91873c3238a2231ae2e5fb6e8dacae76b89fe4616d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3589b796ece28061a073c91873c3238a2231ae2e5fb6e8dacae76b89fe4616d", kill_on_drop: false }` [INFO] [stdout] f3589b796ece28061a073c91873c3238a2231ae2e5fb6e8dacae76b89fe4616d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c858e9083e84920f7cc2ab1eb7ce23fee29bd5382b8223b880b1b0828b8541e1 [INFO] running `Command { std: "docker" "start" "-a" "c858e9083e84920f7cc2ab1eb7ce23fee29bd5382b8223b880b1b0828b8541e1", kill_on_drop: false }` [INFO] [stderr] Compiling clockify-flex-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `total_flex_time_off_day_count`, `unfiltered_expected_working_day_count`, `total_weekdays_since_start`, `weekdays_sick_leaves_filtered_since_start`, and `weekdays_public_holidays_filtered_since_start` are never used [INFO] [stdout] --> src/main.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Results { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 59 | fn total_flex_time_off_day_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn unfiltered_expected_working_day_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn total_weekdays_since_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn weekdays_sick_leaves_filtered_since_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn weekdays_public_holidays_filtered_since_start(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/clockify.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/models.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct Holiday { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | pub type_: HolidayType, [INFO] [stdout] 17 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Holiday` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/models.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) struct SickLeaveDay { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 29 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SickLeaveDay` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `project` are never read [INFO] [stdout] --> src/models.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct WorkItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 61 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | project: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "c858e9083e84920f7cc2ab1eb7ce23fee29bd5382b8223b880b1b0828b8541e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c858e9083e84920f7cc2ab1eb7ce23fee29bd5382b8223b880b1b0828b8541e1", kill_on_drop: false }` [INFO] [stdout] c858e9083e84920f7cc2ab1eb7ce23fee29bd5382b8223b880b1b0828b8541e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcf241992f250d0e028eefaf7b855980cfe3dc88bba34f892f0ee635169434cb [INFO] running `Command { std: "docker" "start" "-a" "fcf241992f250d0e028eefaf7b855980cfe3dc88bba34f892f0ee635169434cb", kill_on_drop: false }` [INFO] [stderr] warning: methods `total_flex_time_off_day_count`, `unfiltered_expected_working_day_count`, `total_weekdays_since_start`, `weekdays_sick_leaves_filtered_since_start`, and `weekdays_public_holidays_filtered_since_start` are never used [INFO] [stderr] --> src/main.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 58 | impl Results { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 59 | fn total_flex_time_off_day_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | fn unfiltered_expected_working_day_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | fn total_weekdays_since_start(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn weekdays_sick_leaves_filtered_since_start(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | fn weekdays_public_holidays_filtered_since_start(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/clockify.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub(crate) struct User { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 66 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `title` is never read [INFO] [stderr] --> src/models.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) struct Holiday { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 16 | pub type_: HolidayType, [INFO] [stderr] 17 | pub title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Holiday` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `title` is never read [INFO] [stderr] --> src/models.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub(crate) struct SickLeaveDay { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 29 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SickLeaveDay` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `description` and `project` are never read [INFO] [stderr] --> src/models.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub(crate) struct WorkItem { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 61 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 62 | project: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WorkItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `clockify-flex-rust` (bin "clockify-flex-rust" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/clockify_flex_rust-569c14ca32bfe0f2) [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" "fcf241992f250d0e028eefaf7b855980cfe3dc88bba34f892f0ee635169434cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf241992f250d0e028eefaf7b855980cfe3dc88bba34f892f0ee635169434cb", kill_on_drop: false }` [INFO] [stdout] fcf241992f250d0e028eefaf7b855980cfe3dc88bba34f892f0ee635169434cb