treefmt-check
checks.x86_64-linux.treefmt
· build #358
· raw
1tribuchet: building on jamie2treefmt 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 134error[no-comment-essays]: comment block of 8+ lines; condense it to the WHY5 ┌─ crates/tribuchet/src/hub.rs:90:16 │ 7 83 │ ╭ /// chain. Only the leaf is the identity the peer proved possession of;8 84 │ │ ╭ /// intermediates and any further certificates it appended are ignored,9 │ ╰────────────'10 85 │ │ ╭ /// so a worker cannot smuggle in an allowed identity by tacking that11 │ ╰──────────'12 86 │ │ ╭ /// certificate onto a chain it did not prove possession of.13 │ ╰────────'14 87 │ │ ╭ ///15 │ ╰──────'16 88 │ │ ╭ /// A certificate we cannot parse contributes nothing rather than17 │ ╰────'18 89 │ │ ╭ /// failing the connection: the TLS stack already accepted it, and an19 │ ╰──'20 90 │ ╭ │ /// empty result is rejected by `identity_allowed` anyway.21 │ │ ╰'22 91 │ │ ╭ fn uri_sans(certs: &[tonic::transport::CertificateDer<'_>]) -> Vec<String> {23 │ ╰────────────────^24 · │ 25109 │ │ }26 │ ╰───────────────'2728Error: 1 error(s) found in code.29Help: Scan succeeded and found error level diagnostics in the codebase.303132traversed 151 files33emitted 121 files for processing34formatted 47 files (0 changed) in 547ms35Error: failed to finalise formatting: formatting failures detected