Skip to content

chore(lint): library crates can no longer print to the terminal - #719

Open
PiquelChips wants to merge 1 commit into
mainfrom
chore/print-in-libraries
Open

PiquelChips wants to merge 1 commit into
mainfrom
chore/print-in-libraries

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

What and why

Turns on clippy::print_stdout and clippy::print_stderr for the six library crates in crates/ (auth-sdk, common, crypto, database, telemetry, ui), each with one #![warn(…)] in its lib.rs. A library returns errors and logs through tracing; where output goes is the application's decision. The applications and xtask print 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 warnings and just docs pass.

Note

Written by Claude Sonnet 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ba36b97-a45c-4924-8752-f002027aa05f
Commits

Reviewing files that changed from the base of the PR and between e99cc0e and 8c4b439.

Files selected for processing: 7

  • crates/auth-sdk/src/lib.rs
  • crates/common/src/lib.rs
  • crates/crypto/src/lib.rs
  • crates/database/src/lib.rs
  • crates/telemetry/src/lib.rs
  • crates/ui/src/lib.rs
  • docs/dev/rust-conventions.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@PiquelChips
PiquelChips marked this pull request as ready for review November 22, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant