We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of undefined (reading '0')
In our CI log I noticed that all Windows jobs show the error below whereas the action works fine with ubuntu and macOS.
2024-01-30T19:39:06.0866870Z ##[group]Run Swatinem/rust-cache@v2 2024-01-30T19:39:06.0867231Z with: 2024-01-30T19:39:06.0867428Z prefix-key: v0-rust 2024-01-30T19:39:06.0867663Z cache-targets: true 2024-01-30T19:39:06.0867920Z cache-all-crates: false 2024-01-30T19:39:06.0868168Z save-if: true 2024-01-30T19:39:06.0868381Z cache-provider: github 2024-01-30T19:39:06.0868615Z env: 2024-01-30T19:39:06.0868804Z STYLE_FAIL_ON_FAULT: true 2024-01-30T19:39:06.0869058Z SCCACHE_GHA_ENABLED: true 2024-01-30T19:39:06.0869315Z RUSTC_WRAPPER: sccache 2024-01-30T19:39:06.0869561Z CARGO_INCREMENTAL: 0 2024-01-30T19:39:06.0869789Z CARGO_TERM_COLOR: always 2024-01-30T19:39:06.0870047Z ##[endgroup] 2024-01-30T19:39:07.5920435Z ##[error]TypeError: Cannot read properties of undefined (reading '0') at getStatsFromBinding (node:internal/fs/utils:555:10) at Object.lstat (node:internal/fs/promises:889:10)
In the workflow file, we simply use:
- uses: Swatinem/rust-cache@v2
It looks like the issue was introduced in 2.7.2.
2.7.2
The text was updated successfully, but these errors were encountered:
Closing this ticket as the issue no longer shows up.
Sorry, something went wrong.
No branches or pull requests
In our CI log I noticed that all Windows jobs show the error below whereas the action works fine with ubuntu and macOS.
In the workflow file, we simply use:
It looks like the issue was introduced in
2.7.2
.The text was updated successfully, but these errors were encountered: