dtolnay / dtolnay/rust-toolchain

Invalid cross-device link

Open
#169 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
1.6k
Forks
95
Avg merge
2h 39m
Merged PRs (30d)
1

Description

Recently, this workflow is giving errors when used on AWS self-hosted GPU runners:

Example: https://github.com/openvm-org/stark-backend/actions/runs/17200888597/job/48791119926?pr=102

Error snippet:
```
error: could not rename component file from '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc/clippy' to '/home/runner/.rustup/tmp/qzwl4905618fqaq1_dir/bk': Invalid cross-device link (os error 18)
```

Internet/LLM searches say GPU instances are virtualized differently, but the same workflows used to run fine until 2 days ago, so I wonder if something has changed in the workflow to cause this?

I now add
```
- run: |
rustup component remove clippy || true
rm -rf ~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu || true
```
prior to
```
- uses: dtolnay/rust-toolchain@stable
```
in all workflows to fix this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.