[INFO] cloning repository https://github.com/gadfil/pomodoro-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gadfil/pomodoro-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadfil%2Fpomodoro-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadfil%2Fpomodoro-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 503f06914f1cf768756cf5741194976aa992f077 [INFO] testing gadfil/pomodoro-todo against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgadfil%2Fpomodoro-todo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gadfil/pomodoro-todo [INFO] finished tweaking git repo https://github.com/gadfil/pomodoro-todo [INFO] tweaked toml for git repo https://github.com/gadfil/pomodoro-todo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gadfil/pomodoro-todo on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gadfil/pomodoro-todo 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69190ba8771e156d72681174c6467066611eebacecb297faaa482e97e99b0d9f [INFO] running `Command { std: "docker" "start" "-a" "69190ba8771e156d72681174c6467066611eebacecb297faaa482e97e99b0d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69190ba8771e156d72681174c6467066611eebacecb297faaa482e97e99b0d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69190ba8771e156d72681174c6467066611eebacecb297faaa482e97e99b0d9f", kill_on_drop: false }` [INFO] [stdout] 69190ba8771e156d72681174c6467066611eebacecb297faaa482e97e99b0d9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c5744f7762932d11df5da033599d5ddd892fbb38d23de506430056f8e45f49 [INFO] running `Command { std: "docker" "start" "-a" "91c5744f7762932d11df5da033599d5ddd892fbb38d23de506430056f8e45f49", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling compression-codecs v0.4.36 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.12.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling config v0.15.19 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling utoipa v5.4.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling async-compression v0.4.37 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling axum-valid v0.24.0 [INFO] [stderr] Compiling utoipa-axum v0.2.0 [INFO] [stderr] Compiling utoipa-scalar v0.3.0 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling app_core v0.1.0 (/opt/rustwide/workdir/crates/app_core) [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> crates/app_core/src/services/auth.rs:259:34 [INFO] [stdout] | [INFO] [stdout] 259 | pub async fn register_anonim( pool: &PgPool,)->Result<(), AuthError>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/auth_event.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AuthEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub event_type: AuthEventType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub provider: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> crates/app_core/src/models/board.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardColumn` is never constructed [INFO] [stdout] --> crates/app_core/src/models/board_column.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoardColumn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthAccount` is never constructed [INFO] [stdout] --> crates/app_core/src/models/oauth_account.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OAuthAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PomodoroSession` is never constructed [INFO] [stdout] --> crates/app_core/src/models/pomodoro_session.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PomodoroSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> crates/app_core/src/models/project.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Project { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_hash`, `device_name`, `user_agent`, `ip_address`, `created_at`, and `revoked_at` are never read [INFO] [stdout] --> crates/app_core/src/models/session.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub token_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub device_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub revoked_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> crates/app_core/src/models/task.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TelegramLinkCode` is never constructed [INFO] [stdout] --> crates/app_core/src/models/telegram_link_code.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TelegramLinkCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeEntry` is never constructed [INFO] [stdout] --> crates/app_core/src/models/time_entry.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TimeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/user.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] 9 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub status: UserStatus, [INFO] [stdout] 16 | pub is_anonymous: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/user.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserPublic { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub status: UserStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub is_anonymous: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserSettings` is never constructed [INFO] [stdout] --> crates/app_core/src/models/user_settings.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserSettings { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/verification.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Verification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub r#type: VerificationType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub code: Option, [INFO] [stdout] 11 | pub token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub new_email: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub used: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub used_at: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_active_by_user` is never used [INFO] [stdout] --> crates/app_core/src/repositories/session.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | pub async fn count_active_by_user<'e, E>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PUBLIC_COLUMNS` is never used [INFO] [stdout] --> crates/app_core/src/repositories/user.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_PUBLIC_COLUMNS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_anonymous_user` is never used [INFO] [stdout] --> crates/app_core/src/repositories/user.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn create_anonymous_user<'e, E>(executor:E) ->Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir/crates/api) [INFO] [stderr] Compiling bot v0.1.0 (/opt/rustwide/workdir/crates/bot) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "91c5744f7762932d11df5da033599d5ddd892fbb38d23de506430056f8e45f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c5744f7762932d11df5da033599d5ddd892fbb38d23de506430056f8e45f49", kill_on_drop: false }` [INFO] [stdout] 91c5744f7762932d11df5da033599d5ddd892fbb38d23de506430056f8e45f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3294c4eefc1cd4a89cf228ef43c52e5d80c971e384e28548b35e38f95db3968a [INFO] running `Command { std: "docker" "start" "-a" "3294c4eefc1cd4a89cf228ef43c52e5d80c971e384e28548b35e38f95db3968a", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> crates/app_core/src/services/auth.rs:259:34 [INFO] [stdout] | [INFO] [stdout] 259 | pub async fn register_anonim( pool: &PgPool,)->Result<(), AuthError>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/auth_event.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AuthEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub event_type: AuthEventType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub provider: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> crates/app_core/src/models/board.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardColumn` is never constructed [INFO] [stdout] --> crates/app_core/src/models/board_column.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoardColumn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthAccount` is never constructed [INFO] [stdout] --> crates/app_core/src/models/oauth_account.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OAuthAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PomodoroSession` is never constructed [INFO] [stdout] --> crates/app_core/src/models/pomodoro_session.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PomodoroSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> crates/app_core/src/models/project.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Project { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling app_core v0.1.0 (/opt/rustwide/workdir/crates/app_core) [INFO] [stdout] warning: fields `token_hash`, `device_name`, `user_agent`, `ip_address`, `created_at`, and `revoked_at` are never read [INFO] [stdout] --> crates/app_core/src/models/session.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub token_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub device_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub revoked_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> crates/app_core/src/models/task.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TelegramLinkCode` is never constructed [INFO] [stdout] --> crates/app_core/src/models/telegram_link_code.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TelegramLinkCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeEntry` is never constructed [INFO] [stdout] --> crates/app_core/src/models/time_entry.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TimeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/user.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] 9 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub status: UserStatus, [INFO] [stdout] 16 | pub is_anonymous: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/user.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserPublic { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub status: UserStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub is_anonymous: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserSettings` is never constructed [INFO] [stdout] --> crates/app_core/src/models/user_settings.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserSettings { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/verification.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Verification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub r#type: VerificationType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub code: Option, [INFO] [stdout] 11 | pub token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub new_email: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub used: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub used_at: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_active_by_user` is never used [INFO] [stdout] --> crates/app_core/src/repositories/session.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | pub async fn count_active_by_user<'e, E>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PUBLIC_COLUMNS` is never used [INFO] [stdout] --> crates/app_core/src/repositories/user.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_PUBLIC_COLUMNS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_anonymous_user` is never used [INFO] [stdout] --> crates/app_core/src/repositories/user.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn create_anonymous_user<'e, E>(executor:E) ->Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bot v0.1.0 (/opt/rustwide/workdir/crates/bot) [INFO] [stderr] Compiling api v0.1.0 (/opt/rustwide/workdir/crates/api) [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> crates/app_core/src/services/auth.rs:259:34 [INFO] [stdout] | [INFO] [stdout] 259 | pub async fn register_anonim( pool: &PgPool,)->Result<(), AuthError>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/auth_event.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AuthEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub event_type: AuthEventType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub provider: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> crates/app_core/src/models/board.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoardColumn` is never constructed [INFO] [stdout] --> crates/app_core/src/models/board_column.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoardColumn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthAccount` is never constructed [INFO] [stdout] --> crates/app_core/src/models/oauth_account.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OAuthAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PomodoroSession` is never constructed [INFO] [stdout] --> crates/app_core/src/models/pomodoro_session.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PomodoroSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Project` is never constructed [INFO] [stdout] --> crates/app_core/src/models/project.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Project { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_hash`, `device_name`, `user_agent`, `ip_address`, `created_at`, and `revoked_at` are never read [INFO] [stdout] --> crates/app_core/src/models/session.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub token_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | pub device_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub ip_address: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub revoked_at: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Task` is never constructed [INFO] [stdout] --> crates/app_core/src/models/task.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Task { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TelegramLinkCode` is never constructed [INFO] [stdout] --> crates/app_core/src/models/telegram_link_code.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TelegramLinkCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeEntry` is never constructed [INFO] [stdout] --> crates/app_core/src/models/time_entry.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TimeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/user.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub id: Uuid, [INFO] [stdout] 9 | pub email: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub status: UserStatus, [INFO] [stdout] 16 | pub is_anonymous: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/user.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserPublic { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | pub display_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub status: UserStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub is_anonymous: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserSettings` is never constructed [INFO] [stdout] --> crates/app_core/src/models/user_settings.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserSettings { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/app_core/src/models/verification.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Verification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | pub id: Uuid, [INFO] [stdout] 8 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub r#type: VerificationType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub code: Option, [INFO] [stdout] 11 | pub token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub new_email: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub used: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub used_at: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_active_by_user` is never used [INFO] [stdout] --> crates/app_core/src/repositories/session.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | pub async fn count_active_by_user<'e, E>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_PUBLIC_COLUMNS` is never used [INFO] [stdout] --> crates/app_core/src/repositories/user.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const USER_PUBLIC_COLUMNS: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_anonymous_user` is never used [INFO] [stdout] --> crates/app_core/src/repositories/user.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn create_anonymous_user<'e, E>(executor:E) ->Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "3294c4eefc1cd4a89cf228ef43c52e5d80c971e384e28548b35e38f95db3968a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3294c4eefc1cd4a89cf228ef43c52e5d80c971e384e28548b35e38f95db3968a", kill_on_drop: false }` [INFO] [stdout] 3294c4eefc1cd4a89cf228ef43c52e5d80c971e384e28548b35e38f95db3968a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b368ccc094fc464bde5a79d57a3a8372313e160599771e1128c8ffe004d40f9c [INFO] running `Command { std: "docker" "start" "-a" "b368ccc094fc464bde5a79d57a3a8372313e160599771e1128c8ffe004d40f9c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> crates/app_core/src/services/auth.rs:259:34 [INFO] [stderr] | [INFO] [stderr] 259 | pub async fn register_anonim( pool: &PgPool,)->Result<(), AuthError>{ [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> crates/app_core/src/models/auth_event.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct AuthEvent { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 8 | pub id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] 9 | pub user_id: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 10 | pub event_type: AuthEventType, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 11 | pub provider: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | pub ip_address: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | pub user_agent: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 14 | pub metadata: serde_json::Value, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | pub created_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Board` is never constructed [INFO] [stderr] --> crates/app_core/src/models/board.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Board { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BoardColumn` is never constructed [INFO] [stderr] --> crates/app_core/src/models/board_column.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct BoardColumn { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OAuthAccount` is never constructed [INFO] [stderr] --> crates/app_core/src/models/oauth_account.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct OAuthAccount { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PomodoroSession` is never constructed [INFO] [stderr] --> crates/app_core/src/models/pomodoro_session.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct PomodoroSession { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Project` is never constructed [INFO] [stderr] --> crates/app_core/src/models/project.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Project { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `token_hash`, `device_name`, `user_agent`, `ip_address`, `created_at`, and `revoked_at` are never read [INFO] [stderr] --> crates/app_core/src/models/session.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Session { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub token_hash: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 10 | pub device_name: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 11 | pub user_agent: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 12 | pub ip_address: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | pub created_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub revoked_at: Option>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Task` is never constructed [INFO] [stderr] --> crates/app_core/src/models/task.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Task { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TelegramLinkCode` is never constructed [INFO] [stderr] --> crates/app_core/src/models/telegram_link_code.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct TelegramLinkCode { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TimeEntry` is never constructed [INFO] [stderr] --> crates/app_core/src/models/time_entry.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TimeEntry { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> crates/app_core/src/models/user.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct User { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 8 | pub id: Uuid, [INFO] [stderr] 9 | pub email: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 13 | pub display_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 14 | pub avatar_url: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 15 | pub status: UserStatus, [INFO] [stderr] 16 | pub is_anonymous: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 17 | pub created_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | pub updated_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> crates/app_core/src/models/user.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct UserPublic { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 28 | pub display_name: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 29 | pub avatar_url: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 30 | pub status: UserStatus, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 31 | pub is_anonymous: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 32 | pub created_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 33 | pub updated_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserSettings` is never constructed [INFO] [stderr] --> crates/app_core/src/models/user_settings.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct UserSettings { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> crates/app_core/src/models/verification.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Verification { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 7 | pub id: Uuid, [INFO] [stderr] 8 | pub user_id: Uuid, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 9 | pub r#type: VerificationType, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 10 | pub code: Option, [INFO] [stderr] 11 | pub token: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 12 | pub new_email: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub used: bool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 16 | pub used_at: Option>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | pub created_at: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `count_active_by_user` is never used [INFO] [stderr] --> crates/app_core/src/repositories/session.rs:114:14 [INFO] [stderr] | [INFO] [stderr] 114 | pub async fn count_active_by_user<'e, E>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `USER_PUBLIC_COLUMNS` is never used [INFO] [stderr] --> crates/app_core/src/repositories/user.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const USER_PUBLIC_COLUMNS: &str = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_anonymous_user` is never used [INFO] [stderr] --> crates/app_core/src/repositories/user.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | pub async fn create_anonymous_user<'e, E>(executor:E) ->Result [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `app_core` (lib) generated 18 warnings (run `cargo fix --lib -p app_core` to apply 1 suggestion) [INFO] [stderr] warning: `app_core` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api-a47ee2d26ec890d5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/app_core-4874433aff269b1c) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test config::tests::test_valid_config_passes_validation ... ok [INFO] [stdout] test config::tests::test_min_greater_than_max_connections_fails ... ok [INFO] [stdout] test config::tests::test_zero_max_connections_fails ... ok [INFO] [stdout] test config::tests::test_zero_port_fails ... ok [INFO] [stdout] test config::tests::test_empty_database_url_fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bot-57b2b931831a47d1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests app_core [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" "b368ccc094fc464bde5a79d57a3a8372313e160599771e1128c8ffe004d40f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b368ccc094fc464bde5a79d57a3a8372313e160599771e1128c8ffe004d40f9c", kill_on_drop: false }` [INFO] [stdout] b368ccc094fc464bde5a79d57a3a8372313e160599771e1128c8ffe004d40f9c