Skip to content
New issue

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

ci: fix CI falure on Windows #1084

Merged
merged 2 commits into from
May 7, 2024
Merged

ci: fix CI falure on Windows #1084

merged 2 commits into from
May 7, 2024

Conversation

eitsupi
Copy link
Collaborator

@eitsupi eitsupi commented May 7, 2024

Builds on Windows are failing frequently with the following error (For example, in #1083).

info: checking for self-update
info: downloading self-update
task: [setup-rust-toolchain] rustup default nightly-2024-04-15-gnu
warning: tool `rust-analyzer` is already installed, remove it from `C:\Users\runneradmin\.cargo\bin`, then run `rustup update` to have rustup manage this tool.
error: could not remove 'setup' file: 'C:\Users\runneradmin\.cargo\bin/rustup-init.exe': Access is denied. (os error 5)
warning: tool `rustfmt` is already installed, remove it from `C:\Users\runneradmin\.cargo\bin`, then run `rustup update` to have rustup manage this tool.
task: Failed to run task "setup-rust-toolchain": exit status 1
warning: tool `cargo-fmt` is already installed, remove it from `C:\Users\runneradmin\.cargo\bin`, then run `rustup update` to have rustup manage this tool.
Error: Process completed with exit code 201.

The self-updating feature of rustup may be related.
See rust-lang/rustup#3709

@eitsupi eitsupi requested a review from etiennebacher May 7, 2024 15:07
@eitsupi
Copy link
Collaborator Author

eitsupi commented May 7, 2024

It seems working.

@eitsupi eitsupi merged commit 6fdd4a9 into main May 7, 2024
36 of 38 checks passed
@eitsupi eitsupi deleted the fix-ci branch May 7, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant