fix: resolve all compilation, clippy, and test issues #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/compilation-clippy-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Resolves all compilation errors, clippy warnings, formatting issues, and ensures all 113 tests pass.
Changes
Compilation Fixes
config.rsformat!with 3 args but only 2 placeholderschronodependency, fixedGenreusage, fixed.and()→.and_then()implblock, fixedGenreusage, addedurlencodingdepOption<&String>→Option<&str>return typeRecordingInforesponse.read()→response.chunk(), fixed file scope issuesmutannotations#[async_trait]to impl blockasync_traitimport, state references, type mismatchesClippy Fixes
sort_by→sort_by_key,#[derive(Default)]for derivable implsMusicQueue::next()→advance()to avoidIteratorconflictFormatting
cargo fmt --allappliedVerification
cargo check --workspace✅cargo clippy --workspace -- -D warnings✅cargo fmt --all -- --check✅cargo test --workspace(113/113 tests) ✅cargo build --release✅View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.