pola-rs / r-polars

Bring polars to R
https://pola-rs.github.io/r-polars/
Other
405 stars 35 forks source link

ci: fix CI falure on Windows #1084

Closed eitsupi closed 3 weeks ago

eitsupi commented 3 weeks ago

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 commented 3 weeks ago

It seems working.