Re: [yocto] [qa-build-notification] QA notification for completed autobuilder build (yocto-6.0.rc1)

[email protected] Mon, 27 Apr 2026 14:55:33 -0700
Newsgroups org.yoctoproject.lists.yocto
Message-ID <[email protected]>
I'm also experiencing this issue. Crates.io publishes a Data Access Policy at https://crates.io/data-access ( https://crates.io/data-access ) which states a "crates.io API" request limit of 1 per second. As others mentioned, this limit is likely to be exceeded for most BitBake recipes that use Cargo. Through experimentation, it seems to me that exceeding the rate limit actually leads to a temporary block, at least 1 hour in my case. This makes building impossible for a while, unless I manually prefetch/mirror all needed crates. The impact is therefore quite a bit more serious than one might understand as "intermittent network failure."

I looked for a simple way to download crates without using the "API," but didn't find one. On the other hand "cargo install" must get them somehow, but the naive approach of sniffing its network traffic fails because it's encrypted.

I did find that varying the User-Agent header defeats the rate limit. However I wouldn't propose this as a valid solution since I don't think BitBake should deliberately circumvent the stated policy of a CDN.

David