From 12cda03e985fb9e5d1febb52021ecee27306284d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 9 Oct 2026 21:40:57 +0200 Subject: [PATCH] rustup component add clippy 2>&1 | tail -1 cargo clippy --locked --workspace --all-targets -- -D warnings 2>&1 | tail -30 echo "CLIPPY-RC ${PIPESTATUS[0]}" cargo test --locked --workspace 2>&1 | grep -E "^test result" | awk '{p+=$4; f+=$6} END {print "TOTAL passed", p, "failed", f}' EOS S=$(pwd); (SUMMARY=$S/v4.log nohup bash C:/Users/Meta/.claude/skills/eureka/tools/stopgap/ygg-verify.sh /f/Projects/Huginn-leaf-anchors HEAD rust "$(tr -d '\r' < v4.sh)" > v4.launch 2>&1 &); sleep 1; echo ok Allow clippy::large_enum_variant on PipelineDocument CutSpec.reads grows the largest variant past clippy's 200-byte gap to the next; boxing a variant would change every construction site, and a document is a transient wrapper around one value. Builds. Co-Authored-By: Claude Opus 5.5 --- crates/eureka-pipeline/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/eureka-pipeline/src/lib.rs b/crates/eureka-pipeline/src/lib.rs index a39931d..3186941 100644 --- a/crates/eureka-pipeline/src/lib.rs +++ b/crates/eureka-pipeline/src/lib.rs @@ -805,6 +805,7 @@ macro_rules! pipeline_kinds { /// shape, not a document's. #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, JsonSchema)] #[serde(tag = "kind", content = "value", rename_all = "snake_case")] + #[allow(clippy::large_enum_variant, reason = "a document is a transient wrapper around one value; boxing a variant would change every construction site")] pub enum PipelineDocument { $($variant($value)),* } impl PipelineKind {