GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id benchmarks: standalone crate does not compile — adapters module defined twice in lib.rs (E0428) · Issue #11178 · developing-today/code

id benchmarks: standalone crate does not compile — adapters module defined twice in lib.rs (E0428) #11178

New issue
Copy link
New issue
Copy link
Closed
#11202
Closed
id benchmarks: standalone crate does not compile — adapters module defined twice in lib.rs (E0428)#11178
#11202
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 17, 2026
Issue body actions

Summary

The standalone pkgs/id/benchmarks crate does not compile at current main: cargo test (run from pkgs/id/benchmarks) fails with

error[E0428]: the name `adapters` is defined multiple times
  --> src/lib.rs:16:1
   |
10 | pub mod adapters;
   | ----------------- previous definition of the module `adapters` here
...
16 | pub mod adapters {
   | ^^^^^^^^^^^^^^^ `adapters` redefined here

Evidence

  • Verified 2026-11-17 under queue task 20619 at main 8722d2ea00: cargo test in pkgs/id/benchmarks → error: could not compile id-benchmarks (lib) due to 1 previous error, exit 101.
  • The duplicate is verbatim at the base sha (not a local edit): src/lib.rs line 10 declares pub mod adapters; (backed by src/adapters/mod.rs, which declares the engine modules) and line 16 also defines an inline pub mod adapters { pub mod d1; }.
  • Introduced by commit a2013128a7 — "id benchmarks: D1 workload adapter and native counters (C9133-02-D1) (id benchmarks: D1 workload adapter and native counters (C9133-02-D1) #11142)" per git log -S 'pub mod adapters {'.
  • The crate is deliberately standalone (not a pkgs/id workspace member), so no flake check or workspace test catches this — it only surfaces when running the crate's own tests via its manifest, as its Cargo.toml header prescribes.

Fix shape

Remove one of the two definitions — the inline block looks like the stale one (it declares only d1, while src/adapters/mod.rs is the module the other engine slices use) — and run the crate's full test suite (cargo test --manifest-path pkgs/id/benchmarks/Cargo.toml) to confirm the adapter tests pass, including workload_oracle.

Found by lane any-p during the #10462 flake-check verification pass (task 20619); unrelated to the treefmt fix in PR #11175, which is why it is filed separately instead of folded into that PR.

Activity

  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    on Nov 17, 2026
  2. developing-today commented on Nov 17, 2026

    @developing-today
    developing-todayBot
    on Nov 17, 2026 – with developing.today
    Contributor
    More actions

    CODE-4080

  3. dezren39
    added
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/sSmall: expected under 2 hours of work
    on Nov 17, 2026
  4. developing-today
    added
    status:in-review
    on Nov 17, 2026
  5. dezren39
    closed this as completedin d10f400on Nov 17, 2026
  6. developing-today
    reopened this on Nov 17, 2026
  7. github-actions
    assigned
    dezren39
    on Nov 17, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Conductor cycle 2026-11-17 13:22 CT: task 20717 selected for dispatch, then parked with reason executor-saturated. Only the Claude pool has fresh open quota (5h 25%, 7d 45%); the other pools on the workhorse route chain read closed or unsupported, so no launch was made and no session is bound. Re-dispatch on the next cycle once a route reads open. Queue task remains parked for its owner to release.

  9. dezren39
    closed this as completedon Nov 18, 2026
  10. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 18, 2026
  11. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    state: verified_closed / already_done
    task: 20717 (repo-health-code-pilot, lane oc-code-03)
    issue: #11178 — id benchmarks crate does not compile (E0428 duplicate adapters module)

    Fresh check 2026-11-18: issue CLOSED (2026-11-18T00:12:44Z). Fix is PR #11202, MERGED 2026-11-17T10:08:32Z (commit d10f400). On origin/main, pkgs/id/benchmarks/src/lib.rs:10 declares pub mod adapters once.

    Disposition: already_done, no follow-on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.