this derivation will be built: /nix/store/wyj9f5dnvkpa0g3i6rqp9cphq4z2s86f-treefmt-check.drv building '/nix/store/wyj9f5dnvkpa0g3i6rqp9cphq4z2s86f-treefmt-check.drv' treefmt-check> tribuchet: building on mac02 treefmt-check> treefmt v2.5.0ERRO formatter | ast-grep: failed to apply with options '[scan]': exit status 1 treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/hub/metrics.rs:63:15 treefmt-check> │ treefmt-check> 63 │ type Series = std::sync::Mutex>; treefmt-check> │ ^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/hub/metrics.rs:138:58 treefmt-check> │ treefmt-check> 138 │ pub(super) fn observe_usage(&self, system: &str, u: &crate::proto::BuildUsage) { treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/hub/metrics.rs:418:49 treefmt-check> │ treefmt-check> 418 │ let wait = |s, secs| m.observe_queue(s, std::time::Duration::from_secs_f64(secs)); treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/hub/metrics.rs:455:14 treefmt-check> │ treefmt-check> 455 │ &crate::proto::BuildUsage { treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/hub/relay/staging.rs:475:24 treefmt-check> │ treefmt-check> 475 │ queued_at: std::time::Instant::now(), treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/rusage.rs:28:41 treefmt-check> │ treefmt-check> 28 │ let mut ru: libc::rusage = unsafe { std::mem::zeroed() }; treefmt-check> │ ^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/darwin.rs:124:17 treefmt-check> │ treefmt-check> 124 │ let agent = std::process::id().cast_signed(); treefmt-check> │ ^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/darwin.rs:131:59 treefmt-check> │ treefmt-check> 131 │ let mut info: libc::rusage_info_v4 = unsafe { std::mem::zeroed() }; treefmt-check> │ ^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/darwin.rs:147:19 treefmt-check> │ treefmt-check> 147 │ let sampler = super::sampler::PeakSampler::start( treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/darwin.rs:148:9 treefmt-check> │ treefmt-check> 148 │ std::time::Duration::from_millis(100), treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:9 treefmt-check> │ treefmt-check> 267 │ std::thread::sleep(std::time::Duration::from_millis(1500)); treefmt-check> │ ^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path treefmt-check> ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:28 treefmt-check> │ treefmt-check> 267 │ std::thread::sleep(std::time::Duration::from_millis(1500)); treefmt-check> │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ treefmt-check> treefmt-check> Error: 12 error(s) found in code. treefmt-check> Help: Scan succeeded and found error level diagnostics in the codebase. treefmt-check> treefmt-check> treefmt-check> traversed 149 files treefmt-check> emitted 119 files for processing treefmt-check> formatted 47 files (0 changed) in 319ms treefmt-check> Error: failed to finalise formatting: formatting failures detected error: Cannot build '/nix/store/wyj9f5dnvkpa0g3i6rqp9cphq4z2s86f-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/59vsazj79rdq8pbdizsj8yxnqhvsmpr9-treefmt-check Last 25 log lines: > ┌─ crates/tribuchet/src/worker/agent/darwin.rs:148:9 > │ > 148 │ std::time::Duration::from_millis(100), > │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:9 > │ > 267 │ std::thread::sleep(std::time::Duration::from_millis(1500)); > │ ^^^^^^^^^^^^^^^^^^ > > error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path > ┌─ crates/tribuchet/src/worker/agent/darwin.rs:267:28 > │ > 267 │ std::thread::sleep(std::time::Duration::from_millis(1500)); > │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Error: 12 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > > > traversed 149 files > emitted 119 files for processing > formatted 47 files (0 changed) in 319ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/wyj9f5dnvkpa0g3i6rqp9cphq4z2s86f-treefmt-check.drv