Comments (8)
The successful cases have a tar
command line where this one fails.
The macos-13
runner has tar
available with version:
bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8
from setup-rust.
If you run it in GHA with debug mode on, do the logs reveal anything?
from setup-rust.
Nope, I got the same information.
Probably this action and its dependencies do not log/trace the path(s) before the error is triggered.
from setup-rust.
I got a list of all the files in the runner and the two paths that can be cached do not exist.
Doing mkdir ~/.cargo/registry
silences the error, so at least one cache path needs to exist to avoid the error.
I'm at the start of a conversion from C to rust.
The crate does not exist in the repo yet, so ~/.cargo/registry is only created when needed?
The crate will not be in the repo root, so (github_workspace)/target/debug will not exist.
A way to set the crate/workspace dir (or dirs) would be helpful for non-root use cases, but that is out of scope for this issue.
from setup-rust.
This should maybe do it: #19
I'm not 100% sure how GH handles loading cache with paths that were skipped.
from setup-rust.
Ok I tagged those changes, retry the pipeline and see if it works.
from setup-rust.
It works, thanks. 👍
from setup-rust.
Sweet, thanks for reporting.
from setup-rust.
Related Issues (10)
- Unable to install cargo-binstall HOT 1
- error: link.exe not found HOT 3
- cache rustup binary
- aarch64-apple-darwin on github mac-os runner casing issues HOT 3
- pre and post build cache hashes are different on windows-latest HOT 1
- allow building with `--locked` HOT 1
- Change behaviour of rust-toolchain config file HOT 2
- Windows: `Can't find crate for core` HOT 4
- Add a flag to install rustup if it doesn't exist HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-rust.