Skip to content

refactor wip

refactor wip #505

Triggered via push November 14, 2024 00:19
Status Failure
Total duration 2m 25s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 44 warnings
Rustfmt: src/timeline/cache.rs#L211
this `if` expression is missing a block after the condition
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Clippy: src/timeline/cache.rs#L211
this `if` expression is missing a block after the condition
Clippy: src/route.rs#L17
the name `get_note_users_displayname_string` is defined multiple times
Clippy: src/route.rs#L17
the name `get_profile_displayname_string` is defined multiple times
Clippy: src/timeline/cache.rs#L150
invalid format string: expected format parameter to occur after `:`
Clippy: src/column.rs#L3
the name `Timeline` is defined multiple times
Clippy: src/column.rs#L3
the name `TimelineId` is defined multiple times
Clippy: src/route.rs#L13
the name `TimelineId` is defined multiple times
Clippy: src/route.rs#L13
the name `TimelineRoute` is defined multiple times
Clippy: src/app.rs#L16
unresolved imports `crate::notes_holder`, `crate::profile::Profile`, `crate::thread`
Clippy: src/app.rs#L103
cannot find type `RemoteSubscriptions` in this scope
Check: src/timeline/cache.rs#L211
this `if` expression is missing a block after the condition
Check: src/route.rs#L17
the name `get_note_users_displayname_string` is defined multiple times
Check: src/route.rs#L17
the name `get_profile_displayname_string` is defined multiple times
Check: src/timeline/cache.rs#L150
invalid format string: expected format parameter to occur after `:`
Check: src/column.rs#L3
the name `Timeline` is defined multiple times
Check: src/column.rs#L3
the name `TimelineId` is defined multiple times
Check: src/route.rs#L13
the name `TimelineId` is defined multiple times
Check: src/route.rs#L13
the name `TimelineRoute` is defined multiple times
Check: src/app.rs#L16
unresolved imports `crate::notes_holder`, `crate::profile::Profile`, `crate::thread`
Check: src/app.rs#L103
cannot find type `RemoteSubscriptions` in this scope
Test Suite: src/timeline/cache.rs#L211
this `if` expression is missing a block after the condition
Test Suite: src/route.rs#L17
the name `get_note_users_displayname_string` is defined multiple times
Test Suite: src/route.rs#L17
the name `get_profile_displayname_string` is defined multiple times
Test Suite: src/timeline/cache.rs#L150
invalid format string: expected format parameter to occur after `:`
Test Suite: src/column.rs#L3
the name `Timeline` is defined multiple times
Test Suite: src/column.rs#L3
the name `TimelineId` is defined multiple times
Test Suite: src/route.rs#L13
the name `TimelineId` is defined multiple times
Test Suite: src/route.rs#L13
the name `TimelineRoute` is defined multiple times
Test Suite: src/app.rs#L16
unresolved imports `crate::notes_holder`, `crate::profile::Profile`, `crate::thread`
Test Suite: src/app.rs#L103
cannot find type `RemoteSubscriptions` in this scope
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check: src/column.rs#L3
unused imports: `TimelineId` and `Timeline`
Check: src/column.rs#L6
unused import: `indexmap::IndexMap`
Check: src/column.rs#L10
unused import: `Ordering`
Check: src/nav.rs#L8
unused imports: `Timeline` and `render_profile_route`
Check: src/nav.rs#L24
unused import: `Ndb`
Check: src/nav.rs#L25
unused imports: `error` and `info`
Check: src/profile.rs#L1
unused imports: `Filter` and `Pubkey`
Check: src/profile.rs#L2
unused imports: `FilterBuilder`, `Ndb`, and `Transaction`
Check: src/profile.rs#L5
unused imports: `FilterState`, `PubkeySource`, `TimelineKind`, `Timeline`, `app::copy_notes_into_timeline`, `note::NoteRef`, `notecache::NoteCache`, and `self`
Check: src/route.rs#L1
unused import: `Pubkey`
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite: src/args.rs#L250
unused imports: `Directory`, `Error`, `delete_file`, `result::Result`, and `write_file`
Test Suite: src/column.rs#L3
unused imports: `TimelineId` and `Timeline`
Test Suite: src/column.rs#L6
unused import: `indexmap::IndexMap`
Test Suite: src/column.rs#L10
unused import: `Ordering`
Test Suite: src/nav.rs#L8
unused imports: `Timeline` and `render_profile_route`
Test Suite: src/nav.rs#L24
unused import: `Ndb`
Test Suite: src/nav.rs#L25
unused imports: `error` and `info`
Test Suite: src/profile.rs#L1
unused imports: `Filter` and `Pubkey`
Test Suite: src/profile.rs#L2
unused imports: `FilterBuilder`, `Ndb`, and `Transaction`
Test Suite: src/profile.rs#L5
unused imports: `FilterState`, `PubkeySource`, `TimelineKind`, `Timeline`, `app::copy_notes_into_timeline`, `note::NoteRef`, `notecache::NoteCache`, and `self`