Skip to content

id: lib test target does not compile — web/mod.rs mixed-listener test calls web_routers with 12 of 13 args (missing SeitanState) #8666

Closed

Description

@dezren39

Bug

The id crate's library test target does not compile on current main, so no cargo test --lib / cargo nextest run --all-features run can execute at all:

error[E0061]: this function takes 13 arguments but 12 arguments were supplied
   --> src/web/mod.rs:820:23
    |
820 |           let routers = web_routers(
...
    | |_________- argument #13 of type `SeitanState` is missing

Verified on origin/main f44b820 (detached worktree, laptop): both cargo test --features web --lib --no-run and cargo test --all-features --lib --no-run fail with this single error. The library itself compiles (warnings only); only the test target is broken.

Cause

web_routers (pkgs/id/src/web/mod.rs:505) gained a 13th parameter, seitan: SeitanState. The other call sites were updated (SeitanState::default() at mod.rs:453 and mod.rs:490, plus routes.rs test call sites), but the mixed-listener test at mod.rs:820 still passes 12 arguments.

Fix

Pass SeitanState::default() as the final argument at mod.rs:820, matching the sibling call sites. Verify: cargo test --all-features --lib --no-run compiles, and the web::markdown tests run.

Found by repo-queue worker lane code-a (task 6565, 2026-11-11) while trying to run the web::markdown tests — this breakage is what makes that suite currently unverifiable.

🤖 Filed by repo-queue worker lane code-a (task 6565) — agent-note:v1 state=filed at=2026-11-11T12:37:00Z

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  3. added a commit that references this issue on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions