Skip to content

Bump serde from 1.0.204 to 1.0.206 #29

Bump serde from 1.0.204 to 1.0.206

Bump serde from 1.0.204 to 1.0.206 #29

Triggered via pull request August 12, 2024 13:45
Status Success
Total duration 8h 15m 1s
Artifacts 11

pull_request.yml

on: pull_request
build  /  Build axolotl-web
33s
build / Build axolotl-web
Matrix: build / Flatpak
Matrix: build / package-click
build  /  Build axolotl arm64
21m 34s
build / Build axolotl arm64
build  /  Smoke test
19s
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
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 + } |
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/lib.rs#L1371
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/handlers.rs:1371:25 | 1371 | / match thread { 1372 | | Thread::Contact(uuid) => { 1373 | | if Uuid::parse_str(&title).is_ok() || title.is_empty() { 1374 | | let mut contact = ... | 1405 | | _ => (), 1406 | | } | |_________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match help: try | 1371 ~ if let Thread::Contact(uuid) = thread { 1372 + if Uuid::parse_str(&title).is_ok() || title.is_empty() { 1373 + let mut contact = 1374 + match manager.get_contact_by_id(uuid).await.unwrap() { 1375 + Some(c) => c, 1376 + None => { 1377 + log::error!( 1378 + "handle_get_message_list: Contact not found" 1379 + ); 1380 + return Err(ApplicationError::InvalidRequest); 1381 + } 1382 + }; 1383 + contact = match self.update_contact_name(contact).await { 1384 + Ok(c) => c.unwrap(), 1385 + Err(e) => { 1386 + log::error!("Error updating contact name: {}", e); 1387 + return Err(ApplicationError::InvalidRequest); 1388 + } 1389 + }; 1390 + 1391 + // retrieve updated thread metadata 1392 + thread_metadata = 1393 + match manager.thread_metadata(&thread).await.unwrap() { 1394 + Some(tm) => tm, 1395 + None => { 1396 + log::error!( 1397 + "handle_get_message_list: Thread metadata not found" 1398 + ); 1399 + return Err(ApplicationError::InvalidRequest); 1400 + } 1401 + }; 1402 + } 1403 + } |
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/lib.rs#L1616
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/handlers.rs:1616:9 | 1616 | / match response_data.thread { 1617 | | Thread::Contact(uuid) => { 1618 | | if response_data.title.is_none() || response_data.title.clone().unwrap().len() == 36 1619 | | { ... | 1641 | | _ => {} 1642 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match help: try | 1616 ~ if let Thread::Contact(uuid) = response_data.thread { 1617 + if response_data.title.is_none() || response_data.title.clone().unwrap().len() == 36 1618 + { 1619 + log::debug!("Updating contact from profile {:?}", uuid); 1620 + let contact = match manager.get_contact_by_id(uuid).await.unwrap() { 1621 + Some(c) => c, 1622 + None => { 1623 + log::error!("No contact found"); 1624 + return Err(ApplicationError::RegistrationError( 1625 + "No contact found".to_string(), 1626 + )); 1627 + } 1628 + }; 1629 + match self.update_contact_name(contact).await { 1630 + Ok(_) => { 1631 + response_data = 1632 + manager.thread_metadata(&thread).await.unwrap().unwrap(); 1633 + } 1634 + Err(e) => { 1635 + log::error!("Error updating contact name: {}", e); 1636 + } 1637 + } 1638 + } 1639 + } |
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 / 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 / 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.3
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.3

Artifacts

Produced during runtime
Name Size
axolotl-aarch64.flatpak
6.22 MB
axolotl-web Expired
709 KB
axolotl-x86_64.flatpak
6.83 MB
build-axolotl-linux-amd64 Expired
11 MB
build-axolotl-linux-amd64-appimage Expired
96 MB
build-axolotl-linux-amd64-click Expired
7.8 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.78 MB
build-axolotl-linux-arm64-deb Expired
10.8 MB
build-axolotl-linux-armhf-click Expired
7.48 MB