Skip to content

Remove unused dependency serve-directory #40

Remove unused dependency serve-directory

Remove unused dependency serve-directory #40

Triggered via pull request August 18, 2024 10:45
Status Success
Total duration 36m 22s
Artifacts 11

pull_request.yml

on: pull_request
build  /  Build axolotl-web
31s
build / Build axolotl-web
Matrix: build / Flatpak
Matrix: build / package-click
build  /  Build axolotl arm64
15m 18s
build / Build axolotl arm64
build  /  Smoke test
20s
build / Smoke test
Fit to window
Zoom out
Zoom in

Annotations

59 warnings
test / Test axolotl-web: axolotl-web/src/components/Message.vue#L134
'v-html' directive can lead to XSS attack
test / clippy
clippy-action doesn't have permissions to create Check Runs, disabling!
test / clippy
Resource not accessible by integration - https://docs.github.com/rest/checks/runs#create-a-check-run
unreachable statement: src/lib.rs#L234
warning: unreachable statement --> src/handlers.rs:234:17 | 233 | exit(0); | ------- any code following this expression is unreachable 234 | break; | ^^^^^^ unreachable statement | = note: `#[warn(unreachable_code)]` on by default
value assigned to `contact` is never read: src/lib.rs#L1384
warning: value assigned to `contact` is never read --> src/handlers.rs:1384:37 | 1384 | ... contact = match self.update_contact_name(contact).await { | ^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` on by default
value assigned to `platform` is never read: src/lib.rs#L1665
warning: value assigned to `platform` is never read --> src/handlers.rs:1665:17 | 1665 | let mut platform = "".to_string(); | ^^^^^^^^ | = help: maybe it is overwritten before being read?
value assigned to `feature` is never read: src/lib.rs#L1683
warning: value assigned to `feature` is never read --> src/handlers.rs:1683:17 | 1683 | let mut feature = "".to_string(); | ^^^^^^^ | = help: maybe it is overwritten before being read?
use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly: src/lib.rs#L126
warning: use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly --> src/messages.rs:126:19 | 126 | match manager.group(&master_key) { | ^^^^^ | = note: `#[warn(deprecated)]` on by default
method `thread_metadata` is never used: src/lib.rs#L841
warning: method `thread_metadata` is never used --> src/handlers.rs:841:14 | 78 | impl Handler { | ------------ method in this implementation ... 841 | async fn thread_metadata( | ^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
struct `Wrapper` is never constructed: src/lib.rs#L1765
warning: struct `Wrapper` is never constructed --> src/handlers.rs:1765:16 | 1765 | struct Wrapper<T>(Cell<Option<T>>); | ^^^^^^^
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/lib.rs#L1345
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/handlers.rs:1345:17 | 1345 | / match thread { 1346 | | Thread::Contact(uuid) => { 1347 | | let contact = match manager.get_contact_by_id(uuid).await.unwrap() { 1348 | | Some(c) => c, ... | 1364 | | _ => (), 1365 | | } | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 1345 ~ if let Thread::Contact(uuid) = thread { 1346 + let contact = match manager.get_contact_by_id(uuid).await.unwrap() { 1347 + Some(c) => c, 1348 + None => { 1349 + log::error!("handle_get_message_list: Contact not found"); 1350 + return Err(ApplicationError::InvalidRequest); 1351 + } 1352 + }; 1353 + match self.update_contact_name(contact).await { 1354 + Ok(_) => (), 1355 + Err(e) => { 1356 + log::error!( 1357 + "handle_get_message_list: Error updating contact name: {}", 1358 + e 1359 + ); 1360 + } 1361 + } 1362 + } |
build / Package as click armhf
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build / Package as click armhf
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build / Package as click arm64
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build / Package as click arm64
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build / Package as click amd64
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build / Package as click amd64
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build / Build axolotl arm64: src/handlers.rs#L234
unreachable statement
build / Build axolotl arm64: src/handlers.rs#L1384
value assigned to `contact` is never read
build / Build axolotl arm64: src/handlers.rs#L1665
value assigned to `platform` is never read
build / Build axolotl arm64: src/handlers.rs#L1683
value assigned to `feature` is never read
build / Build axolotl arm64: src/handlers.rs#L1684
value assigned to `feature` is never read
build / Build axolotl arm64: src/messages.rs#L126
use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly
build / Build axolotl arm64: src/handlers.rs#L841
method `thread_metadata` is never used
build / Build axolotl arm64: src/handlers.rs#L1765
struct `Wrapper` is never constructed
build / Build axolotl arm64: src/handlers.rs#L234
unreachable statement
build / Build axolotl arm64: src/handlers.rs#L1384
value assigned to `contact` is never read
build / Build axolotl arm64: src/handlers.rs#L1665
value assigned to `platform` is never read
build / Build axolotl arm64: src/handlers.rs#L1683
value assigned to `feature` is never read
build / Build axolotl arm64: src/handlers.rs#L1684
value assigned to `feature` is never read
build / Build axolotl arm64: src/messages.rs#L126
use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly
build / Build axolotl arm64: src/handlers.rs#L841
method `thread_metadata` is never used
build / Build axolotl arm64: src/handlers.rs#L1765
struct `Wrapper` is never constructed
build / Build axolotl arm64
New version for tauri-cli available: 2.0.0-rc.4
build / Build axolotl: src/handlers.rs#L234
unreachable statement
build / Build axolotl: src/handlers.rs#L1384
value assigned to `contact` is never read
build / Build axolotl: src/handlers.rs#L1665
value assigned to `platform` is never read
build / Build axolotl: src/handlers.rs#L1683
value assigned to `feature` is never read
build / Build axolotl: src/handlers.rs#L1684
value assigned to `feature` is never read
build / Build axolotl: src/messages.rs#L126
use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly
build / Build axolotl: src/handlers.rs#L841
method `thread_metadata` is never used
build / Build axolotl: src/handlers.rs#L1765
struct `Wrapper` is never constructed
build / Build axolotl: src/handlers.rs#L234
unreachable statement
build / Build axolotl: src/handlers.rs#L1384
value assigned to `contact` is never read
build / Build axolotl: src/handlers.rs#L1665
value assigned to `platform` is never read
build / Build axolotl: src/handlers.rs#L1683
value assigned to `feature` is never read
build / Build axolotl: src/handlers.rs#L1684
value assigned to `feature` is never read
build / Build axolotl: src/messages.rs#L126
use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly
build / Build axolotl: src/handlers.rs#L841
method `thread_metadata` is never used
build / Build axolotl: src/handlers.rs#L1765
struct `Wrapper` is never constructed
build / Build axolotl: src/handlers.rs#L234
unreachable statement
build / Build axolotl: src/handlers.rs#L1384
value assigned to `contact` is never read
build / Build axolotl: src/handlers.rs#L1665
value assigned to `platform` is never read
build / Build axolotl: src/handlers.rs#L1683
value assigned to `feature` is never read
build / Build axolotl: src/handlers.rs#L1684
value assigned to `feature` is never read
build / Build axolotl: src/messages.rs#L126
use of deprecated method `presage::manager::registered::<impl presage::Manager<S, presage::manager::Registered>>::group`: use the store handle directly
build / Build axolotl: src/handlers.rs#L841
method `thread_metadata` is never used
build / Build axolotl: src/handlers.rs#L1765
struct `Wrapper` is never constructed
build / Build axolotl
New version for tauri-cli available: 2.0.0-rc.4

Artifacts

Produced during runtime
Name Size
axolotl-aarch64.flatpak
6.2 MB
axolotl-web Expired
708 KB
axolotl-x86_64.flatpak
6.81 MB
build-axolotl-linux-amd64 Expired
11 MB
build-axolotl-linux-amd64-appimage Expired
96 MB
build-axolotl-linux-amd64-click Expired
7.78 MB
build-axolotl-linux-amd64-deb Expired
10.7 MB
build-axolotl-linux-arm64 Expired
11.1 MB
build-axolotl-linux-arm64-click Expired
7.77 MB
build-axolotl-linux-arm64-deb Expired
10.7 MB
build-axolotl-linux-armhf-click Expired
7.48 MB