Skip to content

Upgrading

Upgrading #681

Triggered via pull request July 21, 2023 18:03
Status Failure
Total duration 21m 44s
Artifacts 1

tauri-build.yml

on: pull_request
Matrix: test-tauri
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
test-tauri (ubuntu-20.04)
Command failed with exit code 1: tauri build
test-tauri (macos-latest)
Command failed with exit code 1: tauri build --target universal-apple-darwin
this expression creates a reference which is immediately dereferenced by the compiler: theseus/src/api/profile/update.rs#L57
warning: this expression creates a reference which is immediately dereferenced by the compiler --> theseus/src/api/profile/update.rs:57:23 | 57 | let profile = get(&profile_path, None).await?.ok_or_else (|| crate::ErrorKind::UnmanagedProfileError( | ^^^^^^^^^^^^^ help: change this to: `profile_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: theseus/src/api/profile/update.rs#L16
warning: this expression creates a reference which is immediately dereferenced by the compiler --> theseus/src/api/profile/update.rs:16:23 | 16 | let profile = get(&profile_path, None).await?.ok_or_else (|| crate::ErrorKind::UnmanagedProfileError( | ^^^^^^^^^^^^^ help: change this to: `profile_path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
unused import: `async_zip::tokio::read::seek::ZipFileReader`: theseus/src/api/profile/update.rs#L6
warning: unused import: `async_zip::tokio::read::seek::ZipFileReader` --> theseus/src/api/profile/update.rs:6:5 | 6 | use async_zip::tokio::read::seek::ZipFileReader; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `CreatePackDescription`, `ModrinthVersion`, `PackFile`, `PackFormat`, `ProjectMetadata`, `config::MODRINTH_API_URL`, `edit`, `fetch::fetch_json`, `io`, `loading_try_for_each_concurrent`, `state::ProfileInstallStage`: theseus/src/api/profile/update.rs#L5
warning: unused imports: `CreatePackDescription`, `ModrinthVersion`, `PackFile`, `PackFormat`, `ProjectMetadata`, `config::MODRINTH_API_URL`, `edit`, `fetch::fetch_json`, `io`, `loading_try_for_each_concurrent`, `state::ProfileInstallStage` --> theseus/src/api/profile/update.rs:5:35 | 5 | ...t, edit}, prelude::{ModrinthVersion, ProjectMetadata}, util::{fetch::fetch_json, io}, config::MODRINTH_API_URL, event::{emit::{loading_try_for_each_concurrent, emit_profile}, ProfilePayloadType}, pack::{install_from::{generate_pack_from_version_id, CreatePackDescription, PackFormat, PackFile}, self}, state::ProfileInstallStag... | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `reqwest::Method`: theseus/src/api/profile/update.rs#L3
warning: unused import: `reqwest::Method` --> theseus/src/api/profile/update.rs:3:5 | 3 | use reqwest::Method; | ^^^^^^^^^^^^^^^
unused imports: `PathBuf`, `collections::HashMap`, `io::Cursor`: theseus/src/api/profile/update.rs#L1
warning: unused imports: `PathBuf`, `collections::HashMap`, `io::Cursor` --> theseus/src/api/profile/update.rs:1:24 | 1 | use std::{path::{Path, PathBuf}, collections::HashMap, io::Cursor}; | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^
unused import: `std::path`: theseus/src/api/profile/mod.rs#L29
warning: unused import: `std::path` --> theseus/src/api/profile/mod.rs:29:5 | 29 | use std::path; | ^^^^^^^^^

Artifacts

Produced during runtime
Name Size
windows-latest Expired
16.1 MB