cache: Cached data restored from Rust's Cargo build is corrupted
https://github.com/rust-lang/cargo/issues/8603
It happened only on macOS executor.
It seems that file target/debug/deps/libserde_derive-797b01cb80d42716.dylib
restored from cache is corrupted.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 14
- Comments: 19 (7 by maintainers)
Commits related to this issue
- Revert "Merge pull request #729 from evandroforks/upload_rslib_artifacts" This reverts commit 7bdb014fbb3d79b04d0824878920c048e521ef72, reversing changes made to 4c052e81648d930d498133cd4b48128c9b608... — committed to ankitects/anki by dae 4 years ago
- attempt to work around https://github.com/actions/cache/issues/403 — committed to ankitects/anki by dae 4 years ago
- try gnu tar workaround for CI cache https://github.com/actions/cache/issues/403#issuecomment-678348989 — committed to ankitects/anki by dae 4 years ago
- Workaround for restoring cache from action/cache getting corrupted ref actions/cache#403 ref rust-lang/cargo#8603 — committed to shadowsocks/shadowsocks-rust by zonyitoo 4 years ago
- Install GNU tar as a workaround of the BSD tar being broken on Github macos machines. https://github.com/actions/cache/issues/403 — committed to apollographql/federation by deleted user 4 years ago
- Install GNU tar as a workaround of the BSD tar being broken on Github macos machines. https://github.com/actions/cache/issues/403 — committed to apollographql/federation by deleted user 4 years ago
- Install GNU tar as a workaround of the BSD tar being broken on Github macos machines. https://github.com/actions/cache/issues/403 — committed to apollographql/federation by deleted user 4 years ago
- Install GNU tar on macos CI as a workaround (#128) Install GNU tar on macos CI as a workaround for BSD tar being broken on Github CI macos machines. See https://github.com/actions/cache/issues/403 — committed to apollographql/federation by deleted user 4 years ago
- ci: add a workaround for the macOS actions/cache bug actions/cache#403 tracks this issue. rust-lang/cargo#8603 has the exact issue that we run into. — committed to rrbutani/lc3tools-sys by rrbutani 4 years ago
- Fix CI build cache on macos. - https://github.com/actions/cache/issues/403 - https://github.com/rust-lang/cargo/issues/8603 Fun stuff. — committed to mkantor/operator by mkantor 4 years ago
- Fix CI build cache on macos. - https://github.com/actions/cache/issues/403 - https://github.com/rust-lang/cargo/issues/8603 Fun stuff. — committed to mkantor/operator by mkantor 4 years ago
- Fix CI build cache on macos. - https://github.com/actions/cache/issues/403 - https://github.com/rust-lang/cargo/issues/8603 Fun stuff. — committed to mkantor/operator by mkantor 4 years ago
- Merge #6208 6208: macOS: install GNU tar r=jonas-schievink a=jonas-schievink CI runs on macOS have started to fail due to https://github.com/actions/cache/issues/403. Use GNU tar instead of BSD tar ... — committed to rust-lang/rust-analyzer by bors[bot] 4 years ago
- Merge #6208 6208: macOS: install GNU tar r=jonas-schievink a=jonas-schievink CI runs on macOS have started to fail due to https://github.com/actions/cache/issues/403. Use GNU tar instead of BSD tar ... — committed to rust-lang/rust-analyzer by bors[bot] 4 years ago
- Merge #6208 6208: macOS: install GNU tar r=jonas-schievink a=jonas-schievink CI runs on macOS have started to fail due to https://github.com/actions/cache/issues/403. Use GNU tar instead of BSD tar ... — committed to rust-lang/rust-analyzer by bors[bot] 4 years ago
- GitHub Actions: workaround for cache/issues#403 Currently the CI system fails due to cache corruption on macOS. This can be temporarily worked around by using GNU tar instead of BSD tar. See htt... — committed to elopez/echidna by elopez 4 years ago
- GitHub Actions: workaround for cache/issues#403 Currently the CI system fails due to cache corruption on macOS. This can be temporarily worked around by using GNU tar instead of BSD tar. See htt... — committed to elopez/echidna by elopez 4 years ago
- GitHub Actions: workaround for actions/cache#403 Currently the CI system fails due to cache corruption on macOS. This can be temporarily worked around by using GNU tar instead of BSD tar. See ht... — committed to elopez/echidna by elopez 4 years ago
- GitHub Actions: workaround for actions/cache#403 Currently the CI system fails due to cache corruption on macOS. This can be temporarily worked around by using GNU tar instead of BSD tar. See ht... — committed to elopez/echidna by elopez 4 years ago
- chore(infra): Update tar installation for mac GH action (#286) This commit provides a tweak to the approach, and seems to solve the issue of tar installation failing for mac. Ref: elopez/echidna@... — committed to apollographql/federation by trevor-scheer 4 years ago
@zonyitoo Forcing the Mac runner to use GNU tar instead of BSD tar seems to fix the issue. Please consider using this as a workaround until we can devise a more permanent solution. It adds about 10-15 seconds to install GNU tar, but the savings from skipping the build greatly outweighs this.
Code change: https://github.com/dhadka/shadowsocks-rust/pull/1 Test run: https://github.com/dhadka/shadowsocks-rust/pull/1/checks
CC @dae
@maxim-lobanov Yes, we have such a plan.