setup
checks.x86_64-linux.formatting
· build #89
· raw
1this derivation will be built:2 /nix/store/0ckhis5dd6lv8zh6a1g8fbd8aiyhvjsi-treefmt-check.drv3error: Cannot build '/nix/store/0ckhis5dd6lv8zh6a1g8fbd8aiyhvjsi-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/kcx55iif0ml3iyqkazpwb1hlvyvbs4kg-treefmt-check7 Last 25 log lines:8 > ┌─ crates/tincd/src/hostdirs.rs:83:569 > │10 > 83 │ fn collect(dir: &Path, into: &mut BTreeSet<String>) -> std::io::Result<()> {11 > │ ^^^^^^^^^^^^^^^12 >13 > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path14 > ┌─ crates/tincd/tests/two_daemons/reload.rs:57:4115 > │16 > 57 │ fn invite_bob(alice: &Node) -> (String, std::path::PathBuf) {17 > │ ^^^^^^^^^^^^^^^^^^18 >19 > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path20 > ┌─ crates/tincd/tests/two_daemons/reload.rs:85:2421 > │22 > 85 │ fn cli_paths(confbase: std::path::PathBuf) -> tinc_tools::names::Paths {23 > │ ^^^^^^^^^^^^^^^^^^24 >25 > Error: 5 error(s) found in code.26 > Help: Scan succeeded and found error level diagnostics in the codebase.27 >28 >29 > traversed 719 files30 > emitted 298 files for processing31 > formatted 26 files (0 changed) in 638ms32 > Error: failed to finalise formatting: formatting failures detected33 For full logs, run:34 nix log /nix/store/0ckhis5dd6lv8zh6a1g8fbd8aiyhvjsi-treefmt-check.drv