treefmt-check
checks.aarch64-darwin.treefmt
· build #342
· raw
1tribuchet: building on mac022treefmt 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/hub/relay/staging.rs:475:2430 │31475 │ queued_at: std::time::Instant::now(),32 │ ^^^^^^^^^^^^^^^^^^^^^^^3334error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path35 ┌─ crates/tribuchet/src/worker/agent/rusage.rs:28:4136 │3728 │ let mut ru: libc::rusage = 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:124:1742 │43124 │ let agent = std::process::id().cast_signed();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:131:5948 │49131 │ let mut info: libc::rusage_info_v4 = unsafe { std::mem::zeroed() };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:147:1954 │55147 │ let sampler = super::sampler::PeakSampler::start(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:148:960 │61148 │ std::time::Duration::from_millis(100),62 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^6364error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path65 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:966 │67267 │ std::thread::sleep(std::time::Duration::from_millis(1500));68 │ ^^^^^^^^^^^^^^^^^^6970error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path71 ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:2872 │73267 │ std::thread::sleep(std::time::Duration::from_millis(1500));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 319ms83Error: failed to finalise formatting: formatting failures detected