The token may only read from the remote cache
warning: the token may only read from the remote cache, so this run uploads nothinghint: Use --cache local:rw,remote:r with this token, or ask for a token that may write.Why it happens
Section titled “Why it happens”The run is set to write to the remote cache, which it does unless the cache mode says remote:r, but the server answered 403 to an upload: the token is one that may only read, such as a dev:r:… token of axle-server. The run keeps reading from the remote cache and uploads nothing more.
How to fix it
Section titled “How to fix it”On a laptop, read only, so Axle doesn’t try to upload:
axle run build --cache local:rw,remote:ror set AXLE_CACHE=local:rw,remote:r in your shell. Where the run should upload, such as in CI, use a token whose access is rw.