nixbot

builds

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

1tribuchet: building on jamie2treefmt v2.5.0ERRO formatter | ast-grep: failed to apply with options '[scan]': exit status 134error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path5 ┌─ crates/tribuchet/src/hub/metrics.rs:63:156 │763 │ type Series = std::sync::Mutex<BTreeMap<String, Histogram>>;8 │ ^^^^^^^^^^^^^^^^910error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path11 ┌─ crates/tribuchet/src/hub/metrics.rs:138:5812 │13138 │ pub(super) fn observe_usage(&self, system: &str, u: &crate::proto::BuildUsage) {14 │ ^^^^^^^^^^^^^^^^^^^^^^^^1516error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path17 ┌─ crates/tribuchet/src/hub/metrics.rs:418:4918 │19418 │ let wait = |s, secs| m.observe_queue(s, std::time::Duration::from_secs_f64(secs));20 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^2122error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path23 ┌─ crates/tribuchet/src/hub/metrics.rs:455:1424 │25455 │ &crate::proto::BuildUsage {26 │ ^^^^^^^^^^^^^^^^^^^^^^^^2728error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path29 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:124:1730 │31124 │ let agent = std::process::id().cast_signed();32 │ ^^^^^^^^^^^^^^^^3334error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path35 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:131:5936 │37131 │ let mut info: libc::rusage_info_v4 = unsafe { std::mem::zeroed() };38 │ ^^^^^^^^^^^^^^^^3940error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path41 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:147:1942 │43147 │ let sampler = super::sampler::PeakSampler::start(44 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^4546error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path47 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:148:948 │49148 │ std::time::Duration::from_millis(100),50 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^5152error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path53 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:954 │55267 │ std::thread::sleep(std::time::Duration::from_millis(1500));56 │ ^^^^^^^^^^^^^^^^^^5758error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path59 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:2860 │61267 │ std::thread::sleep(std::time::Duration::from_millis(1500));62 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^6364error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path65 ┌─ crates/tribuchet/src/worker/agent/rusage.rs:28:4166 │6728 │ let mut ru: libc::rusage = unsafe { std::mem::zeroed() };68 │ ^^^^^^^^^^^^^^^^6970error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path71 ┌─ crates/tribuchet/src/hub/relay/staging.rs:475:2472 │73475 │ queued_at: std::time::Instant::now(),74 │ ^^^^^^^^^^^^^^^^^^^^^^^7576Error: 12 error(s) found in code.77Help: Scan succeeded and found error level diagnostics in the codebase.787980traversed 149 files81emitted 119 files for processing82formatted 47 files (0 changed) in 587ms83Error: failed to finalise formatting: formatting failures detected