nixbot

builds

failed iets-ast-grep checks.x86_64-linux.ast-grep · build #14 · raw

1error[no-comment-essays]: comment block of 8+ lines; condense it to the WHY2 ┌─ src/lint/coerce.rs:107:13 │ 4100 │ ╭ /// Where the value lints on derivation attributes (`impure-path-in-drv`,5101 │ │ ╭ /// `absolute-path-in-drv`, `fod`) fall back to when the attribute's position is6 │ ╰────────────'7102 │ │ ╭ /// out of scope: a wrapper such as `mkDerivation` binds the attribute, but the8 │ ╰──────────'9103 │ │ ╭ /// value is the user's. The `derivationStrict` call, the `name` attribute, then10 │ ╰────────'11104 │ │ ╭ /// the first attribute in the source whose position lies in a lint root, else12 │ ╰──────'13105 │ │ ╭ /// `Pos::NONE`.14 │ ╰────'15106 │ │ ╭ /// There is no call trace, so a derivation with no position from the root (a16 │ ╰──'17107 │ ╭ │ /// nixpkgs fetcher call) stays silent.18 │ │ ╰'19108 │ │ ╭ pub fn drv_fallback(ev: &mut Evaluator, attrs: &'static AttrsObj, pos: Pos, name_pos: Pos) -> Pos {20 │ ╰────────────────^21 · │ 22125 │ │ }23 │ ╰───────────────'2425Error: 1 error(s) found in code.26Help: Scan succeeded and found error level diagnostics in the codebase.27