Skip to content

Release builds broken ecosystem-wide: crates.io returns 403 to fetchCargoVendor (UA-less python fetch) #159

Description

@danisharora099

Every CI release using the shared release action currently fails during nix vendoring. Evidence: logos-co/eth-lez-atomic-swaps actions runs 29956868665 / 29956875094 (2026-07-22): all build variants fail with

error: Cannot build '/nix/store/…-zerokit-0.9.0-vendor-staging.drv'
Exception: Failed to fetch file from https://crates.io/api/v1/crates/bitflags/2.9.4/download. Status code: 403

Root cause: the pinned nixpkgs' fetchCargoVendor fetches crates with python-requests' default User-Agent, which crates.io now blocks (403). Workaround we used locally: reproduce the fixed-output staging with a proper UA, nix store add it pre-seeded, then build (worked; that's how swap-v0.2.0 / swap_ui-v0.2.0 releases were produced from local artifacts). Fix options: advance the nixpkgs pin to one where fetchCargoVendor sends a proper UA, or patch the fetcher. This blocks every module's release pipeline, not just ours.

The shared workflow that exposes this failure is in logos-co/logos-modules-release-action; the fix belongs here because module flakes follow logos-module-builder's nixpkgs input. Cross-reference: https://github.com/logos-co/logos-modules-release-action

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions