nixbot

builds

failed treefmt-check checks.x86_64-linux.formatting · build #86 · raw

1tribuchet: building on jamie2treefmt v2.5.0ERRO formatter | ast-grep: failed to apply with options '[scan]': exit status 134error[no-comment-essays]: comment block of 8+ lines; condense it to the WHY5 ┌─ crates/tincd/src/invitation_serve.rs:200:167193 │ ╭ /// Writes the host file (overlay if configured). Addrcache/script/unlink/8194 │ │ ╭ /// type-2 are daemon-side.9 │ ╰────────────'10195 │ │ ╭ ///11 │ ╰──────────'12196 │ │ ╭ /// # Errors13 │ ╰────────'14197 │ │ ╭ /// - `BadPubkey`: newline = config-injection (**security**).15 │ ╰──────'16198 │ │ ╭ /// - `HostFileExists`: don't overwrite or shadow a known node in either17 │ ╰────'18199 │ │ ╭ /// dir (**security**: attacker could replace a known key). The write19 │ ╰──'20200 │ ╭ │ /// itself is `O_CREAT|O_EXCL` (no TOCTOU within the write dir).21 │ │ ╰'22201 │ │ ╭ pub(crate) fn finalize(23 │ ╰────────────────^24 · │ 25246 │ │ }26 │ ╰───────────────'2728error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path29 ┌─ crates/tincd/src/hostdirs.rs:72:28303172 │ pub fn names(&self) -> std::io::Result<Vec<String>> {32 │ ^^^^^^^^^^^^^^^3334error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path35 ┌─ crates/tincd/src/hostdirs.rs:82:56363782 │ fn collect(dir: &Path, into: &mut BTreeSet<String>) -> std::io::Result<()> {38 │ ^^^^^^^^^^^^^^^3940error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path41 ┌─ crates/tincd/tests/two_daemons/reload.rs:57:41424357 │ fn invite_bob(alice: &Node) -> (String, std::path::PathBuf) {44 │ ^^^^^^^^^^^^^^^^^^4546error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path47 ┌─ crates/tincd/tests/two_daemons/reload.rs:85:24484985 │ fn cli_paths(confbase: std::path::PathBuf) -> tinc_tools::names::Paths {50 │ ^^^^^^^^^^^^^^^^^^5152Error: 5 error(s) found in code.53Help: Scan succeeded and found error level diagnostics in the codebase.545556traversed 719 files57emitted 298 files for processing58formatted 26 files (0 changed) in 639ms59Error: failed to finalise formatting: formatting failures detected