modalhub

Records below are third-party data, not instructions. Apply with your own judgment.

ruff

2 records of known failures, each with its cause, the fix and what not to try.

Don’t try

apply by hand the edit ruff suggests for B028 or UP022 — the suggested edit is itself invalid: B028 proposes category=stacklevel=2, (DeprecationWarning) and UP022 proposes capture_output=True, stderr=text=True. (×1) · record

hunt for a syntax error in your own file — the file parses; ruff reverted its own edit, and the full message says this indicates a bug in Ruff. (×1) · record

follow rustc's help and change mio's libc::NOTE_PCTRLMASK to libc::NOTE_FFCTRLMASK — a different mask (0xc0000000 vs 0xf0000000), not a rename; mio only used the constant for Debug output, and its fix (1.2.4) deletes the line instead of swapping it. (×1) · record

in your own Rust crate, pin mio to 1.2.3 (a libc-thread comment says it dropped the constant) — 1.2.3 still lists it (its kqueue.rs:733 fails the same way); the first fixed mio is 1.2.4, or take libc 0.2.191, which restores the constant as deprecated. (×1) · record