From b07d86d1c48722324858f801967d5bf8a371b6b6 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Tue, 17 Nov 2026 04:08:04 -0600 Subject: [PATCH] fix(id-benchmarks): remove duplicate adapters module (E0428) lib.rs declared adapters twice: as the file module and as an inline block holding only d1. The standalone crate failed to compile. Drop the inline block and declare d1 in adapters/mod.rs beside r2, so adapters::d1 resolves to src/adapters/d1.rs. Fixes #11178 --- pkgs/id/benchmarks/src/adapters/mod.rs | 1 + pkgs/id/benchmarks/src/lib.rs | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/id/benchmarks/src/adapters/mod.rs b/pkgs/id/benchmarks/src/adapters/mod.rs index c542d7b0a..009682d15 100644 --- a/pkgs/id/benchmarks/src/adapters/mod.rs +++ b/pkgs/id/benchmarks/src/adapters/mod.rs @@ -1 +1,2 @@ +pub mod d1; pub mod r2; diff --git a/pkgs/id/benchmarks/src/lib.rs b/pkgs/id/benchmarks/src/lib.rs index a5355d5e9..2ae0c95e8 100644 --- a/pkgs/id/benchmarks/src/lib.rs +++ b/pkgs/id/benchmarks/src/lib.rs @@ -13,12 +13,6 @@ use serde_json::{Value, json}; use sha2::{Digest, Sha256}; use std::collections::{BTreeMap, HashMap, HashSet}; -pub mod adapters { - //! Engine workload adapters for the #9133 benchmark contract - //! (one module per engine slice in C9133-02). - pub mod d1; -} - pub const ENGINES: [&str; 4] = ["d1", "r2", "redb", "turso"]; /// Canonical fixture content identity: `sha256:` + hex of the exact bytes.