Closed SteveLauC closed 2 months ago
Well, I reproduced issue 2 on my host, both with our MSRV toolchain and the latest stable toolchain 1.78:
$ l ~/.cargo/registry/index
Permissions Links Size User Group Date Modified Name
drwxr-xr-x@ 1 - root root 5 May 20:35 index.crates.io-6f17d22bba15001f
This is kinda weird because it didn't happen in the past, and for now, it only happens with our MSRV toolchain.
Still have no idea why this didn't happen in the past, I fixed it by adding sudo
to the last step for jobs that run test with sudo
.
What does this PR do
This PR tries to fix the CI, there are 2 issues here:
New nightly toolchain added checks for cfg values, and they work pretty well
fushsia -> fuchsia
target_arch = x32
does not existFor CI that are using our MSRV toolchain, the last step
before_cache_script
would fail withPermission denied
because the files that it wants to delete are owned by root: https://github.com/nix-rust/nix/actions/runs/8958096003/job/24601956503?pr=2394This is kinda weird because it didn't happen in the past, and for now, it only happens with our MSRV toolchain.
Checklist:
CONTRIBUTING.md