nixbot

builds

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

1error[no-comment-essays]: comment block of 8+ lines; condense it to the WHY2 ┌─ src/builtins/paths.rs:245:13 │ 4238 │ ╭ /// Whether output `output` of `drv` is already in the store, so importing5239 │ │ ╭ /// from it needs no build. Only outputs whose path is known without building6 │ ╰────────────'7240 │ │ ╭ /// count (input-addressed and fixed); a dynamic derivation, a floating or8 │ ╰──────────'9241 │ │ ╭ /// deferred output, or a `.drv` that cannot be read is not present. The10 │ ╰────────'11242 │ │ ╭ /// check is the opaque path's: `stat_now` records the path's kind, so a12 │ ╰──────'13243 │ │ ╭ /// tracing-cache hit re-checks it and a garbage-collected output is a miss.14 │ ╰────'15244 │ │ ╭ /// A present output joins the pure-eval allow list, as realiseContext's16 │ ╰──'17245 │ ╭ │ /// `allowPath` adds it in Nix.18 │ │ ╰'19246 │ │ ╭ fn built_output_present(ev: &Evaluator, drv: &[u8], output: &[u8]) -> bool {20 │ ╰────────────────^21 · │ 22278 │ │ }23 │ ╰───────────────'2425error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path26 ┌─ src/builtins/paths.rs:258:2327 │28258 │ None => match std::fs::read(path.to_string()) {29 │ ^^^^^^^^^^^^^3031Error: 2 error(s) found in code.32Help: Scan succeeded and found error level diagnostics in the codebase.33