treefmt-check
checks.aarch64-linux.treefmt
· build #342
· raw
1tribuchet: building on eliza2treefmt 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/worker/agent/rusage.rs:28:416 │728 │ let mut ru: libc::rusage = unsafe { std::mem::zeroed() };8 │ ^^^^^^^^^^^^^^^^910error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path11 ┌─ crates/tribuchet/src/hub/metrics.rs:63:1512 │1363 │ type Series = std::sync::Mutex<BTreeMap<String, Histogram>>;14 │ ^^^^^^^^^^^^^^^^1516error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path17 ┌─ crates/tribuchet/src/hub/metrics.rs:138:5818 │19138 │ pub(super) fn observe_usage(&self, system: &str, u: &crate::proto::BuildUsage) {20 │ ^^^^^^^^^^^^^^^^^^^^^^^^2122error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path23 ┌─ crates/tribuchet/src/hub/metrics.rs:418:4924 │25418 │ let wait = |s, secs| m.observe_queue(s, std::time::Duration::from_secs_f64(secs));26 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^2728error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path29 ┌─ crates/tribuchet/src/hub/metrics.rs:455:1430 │31455 │ &crate::proto::BuildUsage {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:124:1736 │37124 │ let agent = std::process::id().cast_signed();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:131:5942 │43131 │ let mut info: libc::rusage_info_v4 = unsafe { std::mem::zeroed() };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:147:1948 │49147 │ let sampler = super::sampler::PeakSampler::start(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:148:954 │55148 │ std::time::Duration::from_millis(100),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:960 │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/darwin.rs:267:2866 │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/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 524ms83Error: failed to finalise formatting: formatting failures detected