Repository navigation
chore(lint): library crates can no longer print to the terminal - #719
Open
PiquelChips wants to merge 1 commit into
Open
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
PiquelChips
marked this pull request as ready for review
November 22, 2026 20:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Turns on
clippy::print_stdoutandclippy::print_stderrfor the six library crates incrates/(auth-sdk,common,crypto,database,telemetry,ui), each with one#![warn(…)]in itslib.rs. A library returns errors and logs through tracing; where output goes is the application's decision. The applications andxtaskprint by design, so the lints cannot be workspace-wide: Cargo lets a crate take the workspace's lints or its own, not both.No library crate prints today, so no site changed and no
#[expect]was needed. The Rust conventions say so.Testing
cargo clippy --workspace --all-targets -- -D warningsandjust docspass.Note
Written by Claude Sonnet 5.5 in Claude Code (via T3 Code)