Skip to content

Crates.io returns 403 when downloading crates #399

Description

@timoschwarzer

This is already fixed upstream, a simple nix flake update in the deploy-rs repository was sufficient to fix the build.

these 22 derivations will be built:
  /nix/store/04bs93knzd2k5hzf8lrs5v1ii703f1bw-crate-once_cell-1.21.2.tar.gz.drv
  /nix/store/3l92cp86xx4ic2mq998x4p3aka9qmpiw-crate-smol_str-0.1.16.tar.gz.drv
  /nix/store/2a06qdiy6m72x7ah44rh2ldi6c82z59v-smol_str-0.1.16.drv
  /nix/store/35qzbvmacr465vdcsxv06744m749v8n2-crate-iana-time-zone-0.1.62.tar.gz.drv
  /nix/store/3grpv2njyvlps48mvppvzspn2kz3ngig-crate-rnix-0.8.1.tar.gz.drv
  /nix/store/43r0nyp88601q88m7ngl5n39i1m8y1yl-once_cell-1.21.2.drv
  /nix/store/5i5pclnzaa54qy5ykbv41jqk4shqhiji-crate-yn-0.1.1.tar.gz.drv
  /nix/store/f3kf7rlnl56ak8lcff4abkxvka3ynsyz-crate-flexi_logger-0.16.3.tar.gz.drv
  /nix/store/7x21c72wz9zqbbj5wdmgm8bkl91v4j3f-flexi_logger-0.16.3.drv
  /nix/store/bgypvapmd600msvrpi92kz5d5a2xcnpn-yn-0.1.1.drv
  /nix/store/b1gi9y7kqk04iawyhsz93r5ml32csxid-crate-text_unit-0.1.10.tar.gz.drv
  /nix/store/mk80cizxi4g9x4r1kp9x7kwrkpbf0z8z-text_unit-0.1.10.drv
  /nix/store/hyybdww09z88b8mvkby5hvkid0x9da3l-crate-thin-dst-1.1.0.tar.gz.drv
  /nix/store/mngqyxxgzwv1ayplckx7g6smsz350zsx-thin-dst-1.1.0.drv
  /nix/store/am1n9shclq6axcx3b00ja36p98qgiix3-crate-cbitset-0.2.0.tar.gz.drv
  /nix/store/p2qi7a33mzja6mibrkqzizbnlin0n3kn-cbitset-0.2.0.drv
  /nix/store/sypch7dfj16glbhq5430sj3yk9d5ffqz-rnix-0.8.1.drv
  /nix/store/iqm2icd4dq1z831wyvpbzjpcj28wg42k-crate-rowan-0.9.1.tar.gz.drv
  /nix/store/v1ghf3kqprk98v85asb180g5i2zlvl46-rowan-0.9.1.drv
  /nix/store/v9mq1vb67pmwn6009462nax95iv9v8f9-iana-time-zone-0.1.62.drv
  /nix/store/7v46vy4x2jiamdpdpykhg9cyyffjdcd5-cargo-vendor-dir.drv
  /nix/store/h8mbd2pc52clq616caiydh59drriv5w1-deploy-rs-0.1.0.drv
building '/nix/store/am1n9shclq6axcx3b00ja36p98qgiix3-crate-cbitset-0.2.0.tar.gz.drv'...
building '/nix/store/f3kf7rlnl56ak8lcff4abkxvka3ynsyz-crate-flexi_logger-0.16.3.tar.gz.drv'...
building '/nix/store/35qzbvmacr465vdcsxv06744m749v8n2-crate-iana-time-zone-0.1.62.tar.gz.drv'...
building '/nix/store/04bs93knzd2k5hzf8lrs5v1ii703f1bw-crate-once_cell-1.21.2.tar.gz.drv'...
building '/nix/store/3grpv2njyvlps48mvppvzspn2kz3ngig-crate-rnix-0.8.1.tar.gz.drv'...
building '/nix/store/iqm2icd4dq1z831wyvpbzjpcj28wg42k-crate-rowan-0.9.1.tar.gz.drv'...
building '/nix/store/3l92cp86xx4ic2mq998x4p3aka9qmpiw-crate-smol_str-0.1.16.tar.gz.drv'...
building '/nix/store/b1gi9y7kqk04iawyhsz93r5ml32csxid-crate-text_unit-0.1.10.tar.gz.drv'...
building '/nix/store/hyybdww09z88b8mvkby5hvkid0x9da3l-crate-thin-dst-1.1.0.tar.gz.drv'...
building '/nix/store/5i5pclnzaa54qy5ykbv41jqk4shqhiji-crate-yn-0.1.1.tar.gz.drv'...
error: Cannot build '/nix/store/am1n9shclq6axcx3b00ja36p98qgiix3-crate-cbitset-0.2.0.tar.gz.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/6815z89vh39lpizkggpr0i3gasq8iyzl-crate-cbitset-0.2.0.tar.gz
       Last 19 log lines:
       >
       > trying https://crates.io/api/v1/crates/cbitset/0.2.0/download
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 403
       > Warning: Problem (retrying all errors). Will retry in 1 seconds. 3 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 403
       > Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 403
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retries
       > Warning: left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 403
       > error: cannot download crate-cbitset-0.2.0.tar.gz from any mirror
       For full logs, run:
         nix log /nix/store/am1n9shclq6axcx3b00ja36p98qgiix3-crate-cbitset-0.2.0.tar.gz.drv
error: Cannot build '/nix/store/p2qi7a33mzja6mibrkqzizbnlin0n3kn-cbitset-0.2.0.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/sa5j8kvbqd6mng4r94x8bfm610fg1nxf-cbitset-0.2.0
error: Build failed due to failed dependency
error: Cannot build '/nix/store/7v46vy4x2jiamdpdpykhg9cyyffjdcd5-cargo-vendor-dir.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/hls2p2y8ly7728y1gwvyb3j0jkb8hcqa-cargo-vendor-dir
error: Build failed due to failed dependency
error: Cannot build '/nix/store/h8mbd2pc52clq616caiydh59drriv5w1-deploy-rs-0.1.0.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/pzvl9qcgq404rmd3jasn5hvwh3frp75r-deploy-rs-0.1.0
error: Build failed due to failed dependency

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions