this derivation will be built: /nix/store/5iyxl99mgwxvz23lmvdqvnsshdbam1p7-treefmt-check.drv building '/nix/store/5iyxl99mgwxvz23lmvdqvnsshdbam1p7-treefmt-check.drv' treefmt-check> tribuchet: building on jamie treefmt-check> treefmt v2.6.0ERRO formatter | ast-grep: failed to apply with options '[scan crates/netbench/src/bench.rs crates/netbench/src/main.rs crates/netbench/src/nix.rs crates/netbench/src/ns.rs crates/sandbox-proto/build.rs crates/sandbox-proto/src/agent.rs crates/sandbox-proto/src/framing.rs crates/sandbox-proto/src/lib.rs crates/tribuchet/build.rs crates/tribuchet/src/attach.rs crates/tribuchet/src/build_json.rs crates/tribuchet/src/ca.rs crates/tribuchet/src/chunker.rs crates/tribuchet/src/chunkio.rs crates/tribuchet/src/chunkstore.rs crates/tribuchet/src/chunkstore/pack.rs crates/tribuchet/src/config.rs crates/tribuchet/src/errors.rs crates/tribuchet/src/fsutil.rs crates/tribuchet/src/hub.rs crates/tribuchet/src/hub/chunkcache.rs crates/tribuchet/src/hub/metrics.rs crates/tribuchet/src/hub/metrics/histogram.rs crates/tribuchet/src/hub/metrics/workers.rs crates/tribuchet/src/hub/relay.rs crates/tribuchet/src/hub/relay/extras.rs crates/tribuchet/src/hub/relay/outputs.rs crates/tribuchet/src/hub/relay/serve.rs crates/tribuchet/src/hub/relay/staging.rs crates/tribuchet/src/hub/serve.rs crates/tribuchet/src/hub/state.rs crates/tribuchet/src/hub/state/inflight.rs crates/tribuchet/src/hub/state/replay.rs crates/tribuchet/src/hub/submit.rs crates/tribuchet/src/main.rs crates/tribuchet/src/nar.rs crates/tribuchet/src/nar/pack.rs crates/tribuchet/src/netpolicy.rs crates/tribuchet/src/proto.rs crates/tribuchet/src/rt.rs crates/tribuchet/src/sd.rs crates/tribuchet/src/sockpath.rs crates/tribuchet/src/store.rs crates/tribuchet/src/tailscale.rs crates/tribuchet/src/tmpdir.rs crates/tribuchet/src/worker.rs crates/tribuchet/src/worker/agent.rs crates/tribuchet/src/worker/agent/cgroup.rs crates/tribuchet/src/worker/agent/darwin.rs crates/tribuchet/src/worker/agent/linux.rs crates/tribuchet/src/worker/agent/rusage.rs crates/tribuchet/src/worker/agent/sampler.rs crates/tribuchet/src/worker/agent_spawn.rs crates/tribuchet/src/worker/agents.rs crates/tribuchet/src/worker/binfmt.rs crates/tribuchet/src/worker/build.rs crates/tribuchet/src/worker/build/agent_exec.rs crates/tribuchet/src/worker/build/chunks.rs crates/tribuchet/src/worker/build/claims.rs crates/tribuchet/src/worker/build/import_pool.rs crates/tribuchet/src/worker/build/outputs.rs crates/tribuchet/src/worker/build/validate.rs crates/tribuchet/src/worker/caps.rs crates/tribuchet/src/worker/logtail.rs crates/tribuchet/src/worker/pins.rs crates/tribuchet/src/worker/resume.rs crates/tribuchet/src/worker/resume/delivery.rs crates/tribuchet/src/worker/sandbox.rs crates/tribuchet/src/worker/sandbox/linux.rs crates/tribuchet/src/worker/sandbox/linux/stage.rs crates/tribuchet/src/worker/session.rs crates/tribuchet/src/worker/userns.rs crates/tribuchet/tests/e2e/harness.rs crates/tribuchet/tests/e2e/main.rs]': exit status 1 treefmt-check> treefmt-check> error[no-comment-essays]: comment block of 8+ lines; condense it to the WHY treefmt-check> ┌─ crates/tribuchet/src/hub.rs:90:1 treefmt-check> │ treefmt-check> 83 │ ╭ /// chain. Only the leaf is the identity the peer proved possession of; treefmt-check> 84 │ │ ╭ /// intermediates and any further certificates it appended are ignored, treefmt-check> │ ╰────────────' treefmt-check> 85 │ │ ╭ /// so a worker cannot smuggle in an allowed identity by tacking that treefmt-check> │ ╰──────────' treefmt-check> 86 │ │ ╭ /// certificate onto a chain it did not prove possession of. treefmt-check> │ ╰────────' treefmt-check> 87 │ │ ╭ /// treefmt-check> │ ╰──────' treefmt-check> 88 │ │ ╭ /// A certificate we cannot parse contributes nothing rather than treefmt-check> │ ╰────' treefmt-check> 89 │ │ ╭ /// failing the connection: the TLS stack already accepted it, and an treefmt-check> │ ╰──' treefmt-check> 90 │ ╭ │ /// empty result is rejected by `identity_allowed` anyway. treefmt-check> │ │ ╰' treefmt-check> 91 │ │ ╭ fn uri_sans(certs: &[tonic::transport::CertificateDer<'_>]) -> Vec { treefmt-check> │ ╰────────────────^ treefmt-check> · │ treefmt-check> 109 │ │ } treefmt-check> │ ╰───────────────' treefmt-check> treefmt-check> Error: 1 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 151 files treefmt-check> emitted 121 files for processing treefmt-check> formatted 47 files (0 changed) in 547ms treefmt-check> Error: failed to finalise formatting: formatting failures detected error: Cannot build '/nix/store/5iyxl99mgwxvz23lmvdqvnsshdbam1p7-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/i0smbrsca98a8xcm7l1m82p7v3rzp1cq-treefmt-check Last 25 log lines: > │ ╰──────────' > 86 │ │ ╭ /// certificate onto a chain it did not prove possession of. > │ ╰────────' > 87 │ │ ╭ /// > │ ╰──────' > 88 │ │ ╭ /// A certificate we cannot parse contributes nothing rather than > │ ╰────' > 89 │ │ ╭ /// failing the connection: the TLS stack already accepted it, and an > │ ╰──' > 90 │ ╭ │ /// empty result is rejected by `identity_allowed` anyway. > │ │ ╰' > 91 │ │ ╭ fn uri_sans(certs: &[tonic::transport::CertificateDer<'_>]) -> Vec { > │ ╰────────────────^ > · │ > 109 │ │ } > │ ╰───────────────' > > Error: 1 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > > > traversed 151 files > emitted 121 files for processing > formatted 47 files (0 changed) in 547ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/5iyxl99mgwxvz23lmvdqvnsshdbam1p7-treefmt-check.drv