Git Product home page Git Product logo

toolchain's People

Contributors

arthrarnld avatar dependabot-preview[bot] avatar dtolnay avatar lionel-faber avatar phil-opp avatar pickfire avatar pytal avatar svartalf avatar thomaseizinger avatar willstott101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toolchain's Issues

Support forcing self update of rustup?

In rust-analyzer's CI, we are seeing rustup running out of memory frequently:

https://github.com/rust-analyzer/rust-analyzer/runs/2655689554#step:4:31

I think this should be fixed with the most recent rustup: https://blog.rust-lang.org/2021/05/17/Rustup-1.24.2.html

So I think that I'd be able to fix rust-analyzer's CI if I had something like this, to force self-update before toolchain download:

    - name: Install Rust toolchain
      uses: actions-rs/toolchain@v1
      with:
        self-update: true
        toolchain: stable
        profile: minimal
        override: true
        components: rustfmt, rust-src

Node.JS 12 deprecation on GitHub Actions

Do the checklist before filing an issue:

Description

GitHub Action hosted runner is reporting the following warning.

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions-rs/toolchain

Workflow code

      - name: Install latest stable Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable

Action output

See above.

Expected behavior

Migrate actions-rs/toolchain to Node.JS 16.

Additional context

N/A.

sccache support

It'd be great to have sccache for installation with the toolchain action (and a corresponding use_sccache flag or similar on the cargo action), particularly with a cached version of sccache (as with other binaries) to avoid the penalty of compiling every time.

Action seems to ignore rust-toolchain files

Do the checklist before filing an issue:

Description

It does not seem that rust-toolchain files are read.

Workflow code

https://github.com/jack-signal/gh-actions-test/blob/5666895d3ee0ca51506901b09d6d94a8758e8e9a/.github/workflows/rust.yml

Relevant part

    - name: Install nightly rust
      uses: actions-rs/toolchain@v1
      with:
        profile: minimal
        components: rustfmt, clippy

Action output

Full log with debug on here https://github.com/jack-signal/gh-actions-test/runs/1376041496

##[debug]Evaluating condition for step: 'Install nightly rust'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Install nightly rust
##[debug]Loading inputs
##[debug]Loading env
Run actions-rs/toolchain@v1
  with:
    profile: minimal
    components: rustfmt, clippy
    default: false
    override: false
  env:
    CARGO_TERM_COLOR: always
Error: toolchain input was not given and repository does not have a rust-toolchain file
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Install nightly rust

Expected behavior

The problem here is - the repository does have a rust-toolchain file in the root directory, so I would expect that it would be used.

Recognize the override file `rust-toolchain`

rustup show automatically installs an overridden toolchain if you have an override file rust-toolchain (Is it a bug? or a feature?).

This unexpected feature(?) of rust show makes toolchain action installs toolchains twice for the example in the README.md if you have the override file. An overridden toolchain is installed on rustup show and an nightly toolchain is installed after that.

It take 35 seconds per toolchain. I know it is not a large amount of time, but it bothers me when there's a short task like rustfmt (It takes < 3 seconds for my project).
CHANGE: I found that it doesn't call 'rustup show` anymore on the master branch.

Also, I think it is duplicated to put toolchain in the workflow's input when you have the override file.

Can we automatically recognize the override file to fix this?

version number is not correctly formatted errors

Description

Random errors running this action.

Workflow code

      - name: Setup | Rust
        uses: actions-rs/toolchain@v1

https://github.com/brianmay/fishtank-rust/blob/main/.github/workflows/ci.yml

Action output

jq: error (at <stdin>:1): Cannot index string with string "prerelease"
ERROR: version number is not correctly formatted: 
Error: Process completed with exit code 1.

See https://github.com/brianmay/fishtank-rust/actions/runs/3993752512/jobs/6850748774

Expected behavior

Should not fail.

Additional context

If I restart the failed jobs it is likely to succeed.

Requesting toolchain version 1.70 installs 1.7.0

Description

After switching my action from install toolchain 1.66 to 1.70, what I actually get is 1.7.0 (and surprisingly he build fails).
As a workaround requesting 1.70.0 works, but it's obviously not good, in case a 1.70.1 comes out.

Workflow code

xcp-ng/xcp-metrics@5175694

    steps:
    - uses: actions/checkout@v3
    - uses: actions-rs/toolchain@v1
      with:
-        toolchain: 1.66
+        toolchain: 1.70
        override: true

Action output

https://github.com/xcp-ng/xcp-metrics/actions/runs/6377565635/job/17306468710

Run actions-rs/toolchain@v1
/home/runner/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.72.1 (d5c2e9c34 2023-09-13)
/home/runner/.cargo/bin/rustup toolchain install 1.7
info: syncing channel updates for '1.7.0-x86_64-unknown-linux-gnu'

Output the version of the installed toolchain

It'd be nice if the action added the output of rustc --version (either verbatim or slightly tweaked) as an output value of the step.

For example, it might be desiderable to have separate caches based on the rustc version, so when the nightly updates a new cache is created:

- uses: actions-rs/toolchain@v1
  id: rustc
  with:
    toolchain: nightly

- uses: actions/cache
  with:
    path: target
    key: ${{ runner.os }}-${{ steps.rustc.outputs.version }}

Support locking to exact component versions

Is it possible to lock the versions of components that are installed? I'm running into issues with clippy where a newer version of it gets installed and recently-added rules cause the workflow to fail due to clippy warnings that didn't previously exist. If we could lock the version of clippy somehow then this wouldn't happen, CI runs would be more deterministic, and users could upgrade clippy at their own pace.

The workflow this problem occurred on, which it seems doesn't manage to lock the clippy version, but does specify the Rust version, was setup like this:

      - name: Install Rust
        uses: actions-rs/toolchain@v1
        with:
          toolchain: 1.49.0
          components: rustfmt, clippy
      - name: Install dependencies
        run: cargo fetch
      - name: Run linter
        run: cargo clippy --release -- --deny warnings

Miscreant warning re rust-fmt already installed, on every run

Do the checklist before filing an issue:

Description

Currently we get a warning on every run:

Warning: warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.

Is this expected? It's not a calamity, but it's helpful to be able to use the presence of warnings to identify an actual issue, rather than have them on every run.

Workflow code

https://github.com/prql/prql/blob/7c53bae1df859e8a258f7605c5dba003889fc0dd/.github/workflows/test.yaml#L34-L39

Action output

Run actions-rs/toolchain@v1
  with:
    profile: minimal
    target: wasm32-unknown-unknown
    toolchain: stable
    default: false
    override: false
  env:
    CACHE_ON_FAILURE: false
    CARGO_INCREMENTAL: 0
/home/runner/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

stable-x86_64-unknown-linux-gnu (overridden by '/home/runner/work/prql/prql/rust-toolchain.toml')
rustc 1.60.0 (7737e0b5c 2022-04-04)
/home/runner/.cargo/bin/rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.60.0 (7737e0b5c 2022-04-04)`
Installed rustup 1.24.3 support profiles
/home/runner/.cargo/bin/rustup set profile minimal
info: profile set to 'minimal'
/home/runner/.cargo/bin/rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.60.0 (7737e0b5c 2022-04-04)

info: checking for self-updates
warning: tool `rustfmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
Warning: warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
/home/runner/.cargo/bin/rustup target add --toolchain stable wasm32-unknown-unknown
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: installing component 'rust-std' for 'wasm32-unknown-unknown'
Gathering installed versions
  /home/runner/.cargo/bin/rustc -V
  rustc 1.60.0 (7737e0b5c 2022-04-04)
  /home/runner/.cargo/bin/cargo -V
  cargo 1.60.0 (d1fd9fe 2022-03-01)
  /home/runner/.cargo/bin/rustup -V
  rustup 1.24.3 (ce5817a94 2021-05-31)
  info: This is the version for the rustup toolchain manager, not the rustc compiler.
  info: The currently active `rustc` version is `rustc 1.60.0 (7737e0b5c 2022-04-04)`

Expected behavior

No warning

Project unmaintained

@svartalf I believe the project needs another maintainer since the issues and pull requests have no one to tend to them. Probably would be good if there are other people to help maintain actions-rs, like outdated template (v2 instead of v3).

Not sure if author will reply here, so I will email him.

Support reading rust-toolchain file from another directory

Do the checklist before filing an issue:

  • Is this related to the actions-rs Actions?
    If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community
  • You've read the Contributing section about feature requests: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#feature-requests
  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
    • I think we found the bit of the code where you search for rust-toolchain file. Would like some input on naming/semantics of our with option though.

Motivation

Our github actions workflow requires us to have two repos checked out, so we use the checkout action like this:

        uses: actions/checkout@v2
        with:
          path: futurenhs-platform

so we have this work-around to make actions-rs/toolchain pick up our rust-toolchain file:

      - name: Make toolchain version available in current directory
        run: cp futurenhs-platform/rust-toolchain .

in https://github.com/FutureNHS/futurenhs-platform/pull/231/commits/8602258bb2ff07740ddc8522247d86d3fb50b7e4 I have a work-around to copy rust-toolchain from our repo checkout into the current working directory.

Workflow example

      - uses: actions/checkout@v2
        with:
          path: futurenhs-platform
      - name: Make toolchain version available in current directory
        run: cp futurenhs-platform/rust-toolchain .
      - uses: actions-rs/toolchain@v1
        with:
          toolchain-path: futurenhs-platform/rust-toolchain

(or possibly just path: futurenhs-platform?)

we thought about using working-directory: futurenhs-platform but this would have to be in a with block (it can only be top-level for run actions)

Fails with 'Error: The "path" argument must be of type string. Received type undefined'

Do the checklist before filing an issue:

Description

The actions fails with:

To configure your current shell, run:
source $HOME/.cargo/env
Error: The "path" argument must be of type string. Received type undefined

Workflow code

      - name: Install latest stable
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          override: true

Action output

/home/builder/actions-runner/_work/_temp/e7a37539-272f-47cf-9559-376c37ffd79c --default-toolchain none -y
info: downloading installer
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: skipping toolchain installation


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source $HOME/.cargo/env
Error: The "path" argument must be of type string. Received type undefined

Expected behavior

It should succeed.

Additional context

This is running on an self-hosted runner. Both fedora34 and ubuntu-20.04 fail the same way.

Profile not respected when rust-toolchain file is present

Description

When a rust-toolchain file is present, the first invocation of rust-toolchain will cause it to download the specified toolchain before executing the command. Toolchain starts by issuing a rustup show, which will pull the entire toolchain (with docs and all) before it has a chance to set the profile.

Workflow code

https://github.com/MegatonHammer/linkle/blob/master/.github/workflows/ci.yml#L34

Notice that at the root of the repo, linkle has a rust-toolchain file specifying the exact rust version in use.

Action output

2020-04-16T22:34:36.0589784Z ##[group]Run actions-rs/toolchain@v1
2020-04-16T22:34:36.0589995Z with:
2020-04-16T22:34:36.0590096Z   profile: minimal
2020-04-16T22:34:36.0590189Z   default: false
2020-04-16T22:34:36.0590263Z   override: false
2020-04-16T22:34:36.0590353Z ##[endgroup]
2020-04-16T22:34:36.5867846Z [command]C:\Rust\.cargo\bin\rustup.exe show
2020-04-16T22:34:37.2864063Z Default host: x86_64-pc-windows-msvc
2020-04-16T22:34:37.2865945Z rustup home:  C:\Users\runneradmin\.rustup
2020-04-16T22:34:37.2866332Z 
2020-04-16T22:34:37.3284425Z info: syncing channel updates for '1.42.0-x86_64-pc-windows-msvc'
2020-04-16T22:34:38.2496283Z info: latest update on 2020-03-12, rust version 1.42.0 (b8cedc004 2020-03-09)
2020-04-16T22:34:38.2502795Z info: downloading component 'cargo'
2020-04-16T22:34:38.5366370Z info: downloading component 'clippy'
2020-04-16T22:34:38.7433766Z info: downloading component 'rust-docs'
2020-04-16T22:34:39.3043959Z info: downloading component 'rust-std'
2020-04-16T22:34:40.5843526Z info: downloading component 'rustc'
2020-04-16T22:34:45.2767614Z info: downloading component 'rustfmt'
2020-04-16T22:34:45.5245996Z info: installing component 'cargo'
2020-04-16T22:34:46.7297457Z info: installing component 'clippy'
2020-04-16T22:34:47.1278658Z info: installing component 'rust-docs'
2020-04-16T22:35:24.1909816Z info: installing component 'rust-std'
2020-04-16T22:35:25.5992336Z info: installing component 'rustc'
2020-04-16T22:35:32.3399201Z info: installing component 'rustfmt'
2020-04-16T22:35:32.8065802Z 1.42.0-x86_64-pc-windows-msvc (overridden by '\\?\D:\a\linkle\linkle\rust-toolchain')
2020-04-16T22:35:33.2786796Z rustc 1.42.0 (b8cedc004 2020-03-09)
2020-04-16T22:35:33.2978065Z [command]C:\Rust\.cargo\bin\rustup.exe -V
2020-04-16T22:35:33.3104072Z rustup 1.21.1 (7832b2ebe 2019-12-20)
2020-04-16T22:35:33.3138148Z Installed rustup 1.21.1 support profiles
2020-04-16T22:35:33.3142655Z [command]C:\Rust\.cargo\bin\rustup.exe set profile minimal
2020-04-16T22:35:33.6254726Z info: profile set to 'minimal'
2020-04-16T22:35:33.6292333Z [command]C:\Rust\.cargo\bin\rustup.exe toolchain install 1.42.0
2020-04-16T22:35:33.7250173Z info: syncing channel updates for '1.42.0-x86_64-pc-windows-msvc'
2020-04-16T22:35:33.8301865Z 
2020-04-16T22:35:33.8497081Z   1.42.0-x86_64-pc-windows-msvc unchanged - rustc 1.42.0 (b8cedc004 2020-03-09)
2020-04-16T22:35:33.8497456Z 
2020-04-16T22:35:33.8507677Z info: checking for self-updates
2020-04-16T22:35:33.8919155Z ##[group]Gathering installed versions
2020-04-16T22:35:33.9179529Z [command]C:\Rust\.cargo\bin\rustc.exe -V
2020-04-16T22:35:33.9477354Z rustc 1.42.0 (b8cedc004 2020-03-09)
2020-04-16T22:35:33.9826013Z [command]C:\Rust\.cargo\bin\cargo.exe -V
2020-04-16T22:35:34.0146277Z cargo 1.42.0 (86334295e 2020-01-31)
2020-04-16T22:35:34.0466135Z [command]C:\Rust\.cargo\bin\rustup.exe -V
2020-04-16T22:35:34.0587717Z rustup 1.21.1 (7832b2ebe 2019-12-20)
2020-04-16T22:35:34.0613780Z ##[endgroup]

Expected behavior

I expect the rustup profile to be set before it starts downloading components, to avoid accidentally downloading the rust-docs. Perhaps it should cd into a temporary folder in order to set the profile without accidentally triggering an automatic toolchain download?

`--default-host` is not equivalent to `toolchain add`

When using this action with target: ...-ios on macos-latest, this action invokes:

$ /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/rustup-init.sh -y --default-toolchain nightly --default-host armv7-apple-ios

which promptly fails.

...
error: target 'armv7-apple-ios' not found in channel.  Perhaps check https://forge.rust-lang.org/platform-support.html for available targets

This action should be using rustup toolchain add always.

Fails to install latest nighly with rustfmt

We're using this action to download the latest nightly that has rustfmt available, in order to verify the formatting of our project.

Our workflow looks like this:

check_formatting:
    name: "Check Formatting"
    runs-on: ubuntu-latest
    timeout-minutes: 2
    steps:
    - uses: actions/checkout@v1
    - name: "Use the latest Rust nightly with rustfmt"
      uses: actions-rs/toolchain@v1
      with:
          toolchain: nightly
          profile: minimal
          components: rustfmt
          override: true
    - run: cargo fmt -- --check

Since today, the following error occurs:

Run actions-rs/toolchain@v1
  with:
    toolchain: nightly
    profile: minimal
    components: rustfmt
    override: true
    default: false
/usr/share/rust/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2020-02-08, rust version 1.43.0-nightly (a29424a22 2020-02-07)
warning: Force-skipping unavailable component 'clippy-x86_64-unknown-linux-gnu'
warning: Force-skipping unavailable component 'rustfmt-x86_64-unknown-linux-gnu'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
nightly-x86_64-unknown-linux-gnu (overridden by '/home/runner/work/bootloader/bootloader/rust-toolchain')
rustc 1.43.0-nightly (a29424a22 2020-02-07)
/usr/share/rust/.cargo/bin/rustup -V
rustup 1.21.1 (7832b2ebe 2019-12-20)
Installed rustup 1.21.1 support profiles
/usr/share/rust/.cargo/bin/rustup -V
rustup 1.21.1 (7832b2ebe 2019-12-20)
Installed rustup 1.21.1 support components
/usr/share/rust/.cargo/bin/rustup set profile minimal
info: profile set to 'minimal'
/usr/share/rust/.cargo/bin/rustup toolchain install nightly --component rustfmt
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2020-02-08, rust version 1.43.0-nightly (a29424a22 2020-02-07)
info: skipping nightly which is missing installed component 'rustfmt-preview'
error: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel nightly
Sometimes not all components are available in any given nightly.
##[error]The process '/usr/share/rust/.cargo/bin/rustup' failed with exit code 1
##[error]Node run failed with exit code 1

See https://github.com/rust-osdev/bootloader/runs/433499174 for the full workflow output.

Are we doing anything wrong? Our project has a rust-toolchain file, in case that's relevant to this issue.

Error: The "path" argument must be of type string. Received type undefined

Description

Mystery error. I am really not sure what is going on here. I had a CI pipeline that worked. Then we changed the AWS Instance type of the Github Action Runner and suddenly I get the error above. It seems like the toolchain actually got installed and the error happened after? The return status code of the Node process was 1. The undefined part suggest its some JS issue.

Here's what I tried, maybe some of it will help:

  • I tried moving the action around
  • I tried enabling all additional logging in GH Actions (no additional clues)
  • I tried searching the dist/index.js file in this repo, but the above error string does not appear there at all, which is super puzzling.

The Runner is Amazon Linux.

Workflow code

jobs:
  setup:
    runs-on: [self-hosted, data-infra-runner]
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Configure AWS credentials
      uses: aws-actions/configure-aws-credentials@v1
      with:
        aws-region: eu-west-1
    - name: Login to Amazon ECR
      id: login-ecr
      uses: aws-actions/amazon-ecr-login@v1
    - name: Install OS Dependencies
      run: yum -y install gcc openssl-devel
    - uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
    - uses: actions/setup-node@v2-beta
      with:
        node-version: '12'
    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8

Action output

##[debug]Evaluating condition for step: 'Run actions-rs/toolchain@v1'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run actions-rs/toolchain@v1
##[debug]Loading inputs
##[debug]Loading env
Run actions-rs/toolchain@v1
  with:
    toolchain: stable
    default: false
    override: false
  env:
    AWS_DEFAULT_REGION: eu-west-1
    AWS_REGION: eu-west-1
##[debug]using toolchain from input: stable
##[debug]Unable to find "rustup" executable, installing it now. Reason: Error: Unable to locate executable file: rustup. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
##[debug]Downloading https://sh.rustup.rs
##[debug]Destination /actions-runner1/_work/_temp/55df5a05-4a89-4681-bd61-af620f8fdfb4
##[debug]download complete
##[debug]Executing chmod 755 on the /actions-runner1/_work/_temp/55df5a05-4a89-4681-bd61-af620f8fdfb4
/actions-runner1/_work/_temp/55df5a05-4a89-4681-bd61-af620f8fdfb4 --default-toolchain none -y
info: downloading installer
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: skipping toolchain installation


Rust is installed now. Great!

To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done
automatically.

To configure your current shell, run:
source $HOME/.cargo/env
Error: The "path" argument must be of type string. Received type undefined
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run actions-rs/toolchain@v1

Use RUNNER_TEMP as TMPDIR

Motivation

On our selfhosted github actions runners, the action fails because we have /tmp mounted noexec, a security requirement.

To use rustup manually on the instance, we could use the TMPDIR env var to define an alternative temporary directory

TMPDIR=/opt/tmp rustup.sh

On a runner, there's an env var RUNNER_TEMP that is a temporary directory for this run. In workflow example, I show how we use this to work around our noexec setting on tmp.

It would be great if the workflow could just use RUNNER_TEMP by default. Setting the environment variable TMPDIR equal to RUNNER_TEMP should be enough to make this work automatically.

Workflow example

jobs:
  tests:
    name: Lint and test
    runs-on: [self-hosted]
    steps:
      - name: Check out the repository
        uses: actions/[email protected]
      - name: Setup rust
        uses: actions-rs/toolchain@v1
        env:
          TMPDIR: ${{ runner.temp }}

Using both rust-toolchain and toolchain leads to missing component

Description

Using both toolchain parameter and rust-toolchain file leads to weird behavior. Particularly the error is missing rustfmt: error: 'cargo-fmt' is not installed for the toolchain.

I did 2 pipeline runs, first one without rust-toolchain file (but with parameter toolchain) passes "Check format" step (though fails later, but unrelated to the project) and the second one (with both toolchain parameter and rust-toolchain file) fails with error message error: 'cargo-fmt' is not installed for the toolchain. Diff clearly states that the only interesting change is a rust-toolchain addition.

Workflow code

is the same for both cases:

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        components: rustfmt, clippy
    - name: Build
      run: cargo build --verbose
    - name: Check format
      run: cargo fmt -- --check
    - name: Lint
      run: cargo clippy -- -D warnings
    - name: Run tests
      run: cargo test --verbose

Action output

[First] install step
/usr/share/rust/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

info: syncing channel updates for '1.48.0-x86_64-unknown-linux-gnu'
info: latest update on 2020-11-19, rust version 1.48.0 (7eac88abb 2020-11-16)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: using up to 500.0 MiB of RAM to unpack components
info: installing component 'rust-std'
info: installing component 'rustc'
1.48.0-x86_64-unknown-linux-gnu (overridden by '/home/runner/work/yofi/yofi/rust-toolchain')
rustc 1.48.0 (7eac88abb 2020-11-16)
/usr/share/rust/.cargo/bin/rustup -V
rustup 1.23.0 (00924c9ba 2020-11-27)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.48.0 (7eac88abb 2020-11-16)`
Installed rustup 1.23.0 support components
/usr/share/rust/.cargo/bin/rustup toolchain install stable --component rustfmt --component clippy
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2020-11-19, rust version 1.48.0 (7eac88abb 2020-11-16)
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.48.0 (7eac88abb 2020-11-16)

info: checking for self-updates
info: downloading self-update
Gathering installed versions
  /usr/share/rust/.cargo/bin/rustc -V
  rustc 1.48.0 (7eac88abb 2020-11-16)
  /usr/share/rust/.cargo/bin/cargo -V
  cargo 1.48.0 (65cbdd2dc 2020-10-14)
  /usr/share/rust/.cargo/bin/rustup -V
  rustup 1.23.1 (3df2264a9 2020-11-30)
  info: This is the version for the rustup toolchain manager, not the rustc compiler.
  info: The currently active `rustc` version is `rustc 1.48.0 (7eac88abb 2020-11-16)`
[First] check format step (failed)
error: 'cargo-fmt' is not installed for the toolchain '1.48.0-x86_64-unknown-linux-gnu'
To install, run `rustup component add rustfmt --toolchain 1.48.0-x86_64-unknown-linux-gnu`
Error: Process completed with exit code 1.
[Second] install step
/usr/share/rust/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/runner/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.48.0 (7eac88abb 2020-11-16)
/usr/share/rust/.cargo/bin/rustup -V
rustup 1.23.0 (00924c9ba 2020-11-27)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.48.0 (7eac88abb 2020-11-16)`
Installed rustup 1.23.0 support components
/usr/share/rust/.cargo/bin/rustup toolchain install stable --component rustfmt --component clippy
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2020-11-19, rust version 1.48.0 (7eac88abb 2020-11-16)
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.48.0 (7eac88abb 2020-11-16)

info: checking for self-updates
info: downloading self-update
Gathering installed versions
  /usr/share/rust/.cargo/bin/rustc -V
  rustc 1.48.0 (7eac88abb 2020-11-16)
  /usr/share/rust/.cargo/bin/cargo -V
  cargo 1.48.0 (65cbdd2dc 2020-10-14)
  /usr/share/rust/.cargo/bin/rustup -V
  rustup 1.23.1 (3df2264a9 2020-11-30)
  info: This is the version for the rustup toolchain manager, not the rustc compiler.
  info: The currently active `rustc` version is `rustc 1.48.0 (7eac88abb 2020-11-16)`
[Second] check format step (succeeded)
Run cargo fmt -- --check
Install step diff
5,14c5
< info: syncing channel updates for '1.48.0-x86_64-unknown-linux-gnu'
< info: latest update on 2020-11-19, rust version 1.48.0 (7eac88abb 2020-11-16)
< info: downloading component 'cargo'
< info: downloading component 'rust-std'
< info: downloading component 'rustc'
< info: installing component 'cargo'
< info: using up to 500.0 MiB of RAM to unpack components
< info: installing component 'rust-std'
< info: installing component 'rustc'
< 1.48.0-x86_64-unknown-linux-gnu (overridden by '/home/runner/work/yofi/yofi/rust-toolchain')
---
> stable-x86_64-unknown-linux-gnu (default)

Expected behavior

Don't really know actually. Perhaps cargo fmt should not fail, or maybe there should be some more descriptive error that toolchain and rust-toolchain are mutually exclusive.

Support multi toolchain like `stable, nightly`?

Do the checklist before filing an issue:

Motivation

Like components, which can specify multi item split by ,, it should be better to also support multi toolchain.
In my scene, I often use cargo build in stable toolchain, and then use cargo +nighlty fmt in nightly toolchain, which need both toolchain installed.

Workflow example

      - name: Install Rust Stable
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable, nightly
          override: true
          components: rustfmt```

Support for rust-toolchain.toml

Do the checklist before filing an issue:

Motivation

rust-toolchain.toml is the new improved version of rust-toolchain. It also allows specifying components: https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file

Workflow example

Much like rust-toolchain is auto-detected, so should the rust-toolchain.toml file. Components should be respected as well.

Thank you!

Cannot install dependencies because of `npm ERR! code E401`

Hello everyone. I've gotten a lot of use out of this action, including in https://github.com/purestake/moonbeam . We are intending to upgrade our rust-toolchain file to use the new complete toml format which means we need #126 . It looks straight-forward to solve, and I started to attempt it, but I can't get this repository to work locally.

When I try to install the dependencies, I get a very strange credentials error. I've tried logging in to npm (although I shouldn't need to), deleting package-lock.json, and following the workarounds in https://stackoverflow.com/questions/59894644

Has anyone else had this or know how to get past it?

# I'm using a modern npm
joshy@pop-os:~/ProgrammingProjects/toolchain$ npm --version
7.7.5

# I'm on latest master
joshy@pop-os:~/ProgrammingProjects/toolchain$ git log --oneline | head -n 1
88dc235 Mention the default for toolchain and profile
joshy@pop-os:~/ProgrammingProjects/toolchain$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

# Here's the error
joshy@pop-os:~/ProgrammingProjects/toolchain$ npm i
npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR!     https://www.npmjs.com/forgot
npm ERR! 
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR!     npm login

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/joshy/.npm/_logs/2021-03-29T13_59_13_813Z-debug.log

Rust installation on windows fails

Do the checklist before filing an issue:

Description

Macos and Linux still work.

Workflow code

jobs:
  job1:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        python: ["3.9"]
        os: ["ubuntu-latest", "macos-latest", "windows-latest"]
    defaults:
      run:
        shell: bash
    steps:
      - uses: actions/checkout@v2
      - name: Rust cache
        uses: actions/cache@v2
        with:
          path: |
            ~/.rustup/
            ~/.cargo/bin/
            ~/.cargo/registry/index/
            ~/.cargo/registry/cache/
            ~/.cargo/git/db/
            target/
          key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
      - name: Install Rust
        uses: actions-rs/toolchain@v1
        with: {profile: "minimal", toolchain: "stable"}

Action output

2022-01-19T08:28:47.7480238Z ##[group]Run actions/cache@v2
2022-01-19T08:28:47.7480628Z with:
2022-01-19T08:28:47.7481033Z   path: ~/.rustup/
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/

2022-01-19T08:28:47.7481587Z   key: windows-latest-cargo-76cac8aa295f63050f7b53f35f4ec6de09a97fed4e534c769001d9995f45b08e
2022-01-19T08:28:47.7481975Z ##[endgroup]
2022-01-19T08:28:49.7761548Z Received 88080384 of 300944732 (29.3%), 83.1 MBs/sec
2022-01-19T08:28:50.7679241Z Received 260046848 of 300944732 (86.4%), 123.3 MBs/sec
2022-01-19T08:28:52.4452466Z Received 300944732 of 300944732 (100.0%), 77.8 MBs/sec
2022-01-19T08:28:52.4455281Z Cache Size: ~287 MB (300944732 B)
2022-01-19T08:28:52.4500554Z [command]C:\Windows\System32\tar.exe -z -xf D:/a/_temp/24e5757b-396f-4be5-bdb4-1542860a402b/cache.tgz -P -C D:/a/DeepFilterNet/DeepFilterNet
2022-01-19T08:28:59.3768559Z Cache restored successfully
2022-01-19T08:28:59.5280249Z 
2022-01-19T08:28:59.5299492Z Cache restored from key: windows-latest-cargo-76cac8aa295f63050f7b53f35f4ec6de09a97fed4e534c769001d9995f45b08e
2022-01-19T08:28:59.6570713Z ##[group]Run actions-rs/toolchain@v1
2022-01-19T08:28:59.6571086Z with:
2022-01-19T08:28:59.6571365Z   profile: minimal
2022-01-19T08:28:59.6571580Z   toolchain: stable
2022-01-19T08:28:59.6571830Z   default: false
2022-01-19T08:28:59.6572075Z   override: false
2022-01-19T08:28:59.6572277Z ##[endgroup]
2022-01-19T08:29:00.1586512Z [command]C:\Users\runneradmin\.cargo\bin\rustup.exe show
2022-01-19T08:29:00.2197418Z Default host: x86_64-pc-windows-msvc
2022-01-19T08:29:00.2198126Z rustup home:  C:\Users\runneradmin\.rustup
2022-01-19T08:29:00.2198511Z 
2022-01-19T08:29:00.4649681Z stable-x86_64-pc-windows-msvc (default)
2022-01-19T08:29:01.0893658Z rustc 1.57.0 (f1edd0429 2021-11-29)
2022-01-19T08:29:01.0965647Z [command]C:\Users\runneradmin\.cargo\bin\rustup.exe -V
2022-01-19T08:29:01.1199165Z rustup 1.24.3 (ce5817a94 2021-05-31)
2022-01-19T08:29:01.1204845Z info: This is the version for the rustup toolchain manager, not the rustc compiler.
2022-01-19T08:29:01.3013396Z info: The currently active `rustc` version is `rustc 1.57.0 (f1edd0429 2021-11-29)`
2022-01-19T08:29:01.3084078Z Installed rustup 1.24.3 support profiles
2022-01-19T08:29:01.3091091Z [command]C:\Users\runneradmin\.cargo\bin\rustup.exe set profile minimal
2022-01-19T08:29:02.8491777Z info: profile set to 'minimal'
2022-01-19T08:29:02.8540021Z [command]C:\Users\runneradmin\.cargo\bin\rustup.exe toolchain install stable
2022-01-19T08:29:03.0414700Z info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
2022-01-19T08:29:03.5504471Z info: latest update on 2022-01-13, rust version 1.58.0 (02072b482 2022-01-11)
2022-01-19T08:29:03.6134778Z info: downloading component 'clippy'
2022-01-19T08:29:03.6614246Z info: downloading component 'rustfmt'
2022-01-19T08:29:03.7329360Z info: downloading component 'cargo'
2022-01-19T08:29:03.8345421Z info: downloading component 'rust-std'
2022-01-19T08:29:04.5786738Z info: downloading component 'rustc'
2022-01-19T08:29:07.0857197Z info: removing previous version of component 'clippy'
2022-01-19T08:29:07.2062779Z info: removing previous version of component 'rustfmt'
2022-01-19T08:29:07.2232729Z info: removing previous version of component 'cargo'
2022-01-19T08:29:07.3147399Z info: removing previous version of component 'rust-std'
2022-01-19T08:29:07.3460361Z info: removing previous version of component 'rustc'
2022-01-19T08:29:07.3745684Z info: installing component 'clippy'
2022-01-19T08:29:07.8603810Z info: installing component 'rustfmt'
2022-01-19T08:29:08.3493730Z info: installing component 'cargo'
2022-01-19T08:29:09.0487725Z info: installing component 'rust-std'
2022-01-19T08:29:11.8740875Z info: rolling back changes
2022-01-19T08:29:11.8877611Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.8898215Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.8924792Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.8949865Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.8995033Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.9024324Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.9070314Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.9139715Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.9194395Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.9310532Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:11.9712158Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:12.0304275Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:12.0920090Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:12.1129848Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:12.2971479Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:12.3058455Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:12.9591747Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:14.0949532Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:15.1317697Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:19.3075911Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:23.7258132Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:31.3765098Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:44.9094960Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:29:50.0110069Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:30:21.2586321Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:31:32.2851057Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:33:23.6490370Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:33:23.6491874Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\1n6ac95vtn77njh0_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share'
2022-01-19T08:33:23.6495896Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6517620Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6535822Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6552425Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6592136Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6651953Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6741863Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6773640Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.6994102Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.7027673Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.7143231Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.7173314Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.7542210Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:23.9374323Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:24.0094660Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:24.1145106Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:25.2552258Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:26.5792873Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:29.2594333Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:31.1221336Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:35.6157634Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:44.3729761Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:51.6495433Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:33:59.8275322Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:34:25.0224411Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:34:43.0294064Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:35:24.1647961Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:35:24.1650768Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\ewz2pn4w0ppqzsr2_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc'
2022-01-19T08:35:24.1654016Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1679269Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1703122Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1737186Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1757360Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1776117Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1849864Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.1958793Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.2062623Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.2086458Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.2569107Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.2752476Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.3706524Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.5615551Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:24.6220092Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:25.0696625Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:25.1921810Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:26.7021576Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:27.8421560Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:28.8808541Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:34.5027389Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:45.4131525Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:35:48.5080220Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:36:00.7876328Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:36:25.9887183Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:36:58.0018654Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:37:05.0285170Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:37:05.0286644Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\6f398_y_8a7e_jy9_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man'
2022-01-19T08:37:05.0289466Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0310551Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0329719Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0359553Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0389533Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0430245Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0469855Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0530273Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0560669Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.0797366Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.1147751Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.1674694Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.2381275Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.3025532Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.4759817Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:05.8926178Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:06.5965156Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:07.8553727Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:09.1288919Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:11.2145945Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:12.3415705Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:18.8832723Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:31.3642085Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:37:55.9096795Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:38:39.2502574Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:38:55.2573037Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:39:08.3009721Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:39:08.3010900Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\gmw0dluci6i45y95_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/man/man1'
2022-01-19T08:39:08.3300131Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3322794Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3344608Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3367621Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3386234Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3416124Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3457105Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3526336Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3671298Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.3974842Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.4062863Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.4205761Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.5365306Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.6990610Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:08.9450243Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:09.4362472Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:09.5680936Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:10.6088268Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:12.9296881Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:15.0037604Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:19.3901455Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:22.6623088Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:37.2101990Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:39:47.4321543Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:40:22.7067658Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:40:47.7167252Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:42:21.7190293Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:42:21.7191524Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\xk26vavzggwlo830_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh'
2022-01-19T08:42:21.7204753Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7205704Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7206564Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7207397Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7208300Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7209395Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7210243Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7211080Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7211904Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7212683Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7213869Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7215312Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7216133Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7216953Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:21.7217736Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:22.0369675Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:22.2053978Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:23.2500579Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:25.7433425Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:28.8675096Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:35.5830101Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:46.4499394Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:42:59.9676725Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:43:21.4412534Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:44:00.7600030Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:45:09.7854010Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:46:11.9883478Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:46:11.9884453Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\qrc7jl96beo010ji_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/zsh/site-functions'
2022-01-19T08:46:11.9886264Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:11.9903485Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:11.9925074Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:11.9953622Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:11.9974676Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.0005385Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.0025912Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.0044294Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.0259398Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.0384773Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.0777334Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.1214915Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.1420387Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.1696383Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.1811873Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.2551844Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:12.4156889Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:13.4701475Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:14.6672194Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:15.6698901Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:22.4001447Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:25.6587401Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:27.7200014Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:46:56.3707567Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:47:00.4022758Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:47:22.4113882Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:49:17.7861278Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:49:17.7862548Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\d4s3s6hphmp2xswb_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\libexec'
2022-01-19T08:49:17.7866585Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.7887069Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.7903212Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.7923101Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.7966508Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.7985884Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.8059543Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.8124771Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.8167946Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.8315103Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.8669068Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.9215508Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:17.9834448Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:18.0396459Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:18.0682823Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:18.4626551Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:18.8665922Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:20.0993513Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:21.3430033Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:24.4457975Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:28.8718697Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:30.9917217Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:49:46.6209016Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:50:10.1467034Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:50:30.3056411Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:51:07.3198619Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:51:39.4258972Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:51:39.4260407Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\bhe7s_urkjdbf8m__dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/cargo'
2022-01-19T08:51:39.4261779Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4283536Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4302567Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4322213Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4351781Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4383032Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4473049Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4521834Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4542968Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4763412Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.4873674Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.5230731Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.5684707Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.6184737Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:39.6574801Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:40.1857607Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:40.9614998Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:42.0159134Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:43.0384282Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:46.1544289Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:48.3944003Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:51.6337203Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:51:55.7830164Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:52:00.8953629Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:52:33.1527852Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:52:50.1600150Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:54:34.4978137Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:54:34.4979300Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\1qab792ximnfba4h_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc'
2022-01-19T08:54:34.4981681Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5003299Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5022477Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5042525Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5063366Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5092847Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5122175Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5212412Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5302207Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.5650413Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.6011392Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.6522993Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.7082893Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:34.8354604Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:35.1428973Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:35.5772020Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:36.4124435Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:37.7500872Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:38.9877144Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:43.1415158Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:44.2618276Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:54:55.1802510Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:55:09.7259350Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:55:35.2955909Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:56:13.5943050Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:57:20.6192755Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:58:30.8465513Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:58:30.8466666Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\v05yikqcj_8m8l4b_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\etc/bash_completion.d'
2022-01-19T08:58:30.8671047Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8685917Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8704914Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8724813Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8744822Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8784767Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8845373Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.8975592Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.9035532Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.9064921Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.9255962Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.9577368Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:30.9711314Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:31.0252765Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:31.1196681Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:31.6933097Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:32.4278041Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:33.4330012Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:34.6521599Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:35.6676119Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:43.0053456Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:53.5158360Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:58:54.3106655Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:59:05.5536701Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T08:59:27.7265113Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T09:00:20.7471672Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T09:00:23.7564167Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T09:00:23.7565626Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\9oxvfdxas7_gxi4j_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/rustfmt'
2022-01-19T09:00:23.7601980Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7617949Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7637932Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7668081Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7697859Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7748261Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7787864Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.7847944Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.8053054Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.8269306Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.8669302Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.8887954Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.9339905Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:23.9869533Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:24.2379249Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:24.4198977Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:25.1387071Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:26.5423637Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:29.0971250Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:33.2633089Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:38.7846203Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:43.1227993Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:00:52.4906244Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:01:13.9671912Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:01:26.0577746Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:01:49.0676223Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:02:19.1665562Z info: retrying renaming 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:02:19.1666830Z error: could not rename component file from 'C:\Users\runneradmin\.rustup\tmp\mg3ro1mq0yqp14tf_dir\bk' to 'C:\Users\runneradmin\.rustup\toolchains\stable-x86_64-pc-windows-msvc\share/doc/clippy'
2022-01-19T09:02:19.2138769Z error: failed to install component: 'rust-std-x86_64-pc-windows-msvc', detected conflict: 'lib/rustlib/x86_64-pc-windows-msvc/lib/libaddr2line-9e0eb394af7cfd29.rlib'
2022-01-19T09:02:19.2235892Z ##[error]The process 'C:\Users\runneradmin\.cargo\bin\rustup.exe' failed with exit code 1

Expected behavior

Rust installation on windows should work.

Additional context

Install musl-tools

Do the checklist before filing an issue:

(I don't speak TypeScript...)

Motivation

When setting up the toolchain for any target that ends in -linux-musl, please apt install musl-tools as part of the toolchain setup. Rust dependencies that use cc to compile C code will expect musl-gcc to be installed.

Workflow example

No changes needed.

Additional context

musl-gcc is a thin wrapper around GCC that sets things up for compilation on musl. Many Rust packages require it to be installed when building for any musl target.

Installing a specific toolchain depending on OS

I needed to install a specific toolchain depending on which OS the job was running under, and my solution involved a bunch of repetition, so I'm wondering if there's a better way.

The only thing that differs between the various Install steps is the if conditional and the toolchain target:

name: Main

on: [push]

jobs:
  build:
    strategy:
      matrix:
        os:
        - macos-latest
        - ubuntu-latest
        - windows-latest
    runs-on: ${{matrix.os}}
    steps:
    - uses: actions/checkout@v1
    - name: Install
      if: matrix.os == 'ubuntu-latest'
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        target: x86_64-unknown-linux-musl
        profile: minimal
        components: clippy, rustfmt
        override: true
    - name: Install
      if: matrix.os == 'windows-latest'
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        target: x86_64-pc-windows-msvc
        profile: minimal
        components: clippy, rustfmt
        override: true
    - name: Install
      if: matrix.os == 'macos-latest'
      uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        target: x86_64-apple-darwin
        profile: minimal
        components: clippy, rustfmt
        override: true

The installed toolchain should become the default

Do the checklist before filing an issue:

Motivation

The current behaviour for not setting the installed toolchain as default is very unintuitive. When I use action-rs to install a toolchain, I am expecting it to be the toolchain that I will use.

Workflow example

      - name: Setup rust
        uses: actions-rs/toolchain@v1
        with:
          toolchain: ${{ matrix.rust }}
          default: true       # this should be true by default!

Additional context

This has caused me a lot of trouble when I wanted to use a nightly feature, but no matter what I did I could not find the reason. Until I realized that action-rs does not set the installed nightly toolchain as default, and the rustc installed on the GitHub images were being used.

Then this is the moment that I realized that for such a long time, even for the projects that use a stable toolchain, action-rs has been just downloading a toolchain consuming the minutes I paid for in the CI without having any impact on the build.

Documentation claims `toolchain: stable` is default, but it is not.

Description

The README.md says that the "stable" toolchain is the default:

image

But if you don't specify a toolchain, you get:

Error: toolchain input was not given and repository does not have a rust-toolchain file

(See https://github.com/jwalton/rust-tokio-task-tracker/actions/runs/6436035135/job/17478566687).

Workflow code

name: Test

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Install Rust
        uses: actions-rs/toolchain@v1
      - run: cargo test
      - run: cargo clippy

Action output

   with:
    default: false
    override: false
Error: toolchain input was not given and repository does not have a rust-toolchain file

Expected behavior

Should default to toolchain: default.

[question] How to resolve problem with rustup that can't find nightly with miri?

I have a rust project with a lot of unsafe code and I want to run cargo miri test in CI to be sure everything is ok.

I've added miri to the components list:
components: rustfmt, clippy, miri
and added miri setup/test actions:

      - name: miri setup
        uses: actions-rs/cargo@v1
        if: matrix.rust == 'nightly'
        with:
          command: miri
          args: setup

      - name: miri test
        uses: actions-rs/cargo@v1
        if: matrix.rust == 'nightly'
        with:
          command: miri
          args: test

This worked for me, but today CI has broken up because rustup couldn't find nightly with miri: ci run

How can I resolve the issue?

Advice on toolchain caching

So, I have a workflow with a relatively big build matrix composed of many short jobs. As a result, toolchain downloads are one of the CI perf bottlenecks, which leads me to wonder if I couldn't speed things up by caching the toolchain.

Unfortunately, all my attempts at doing so failed so far, IIUC due to a mixture of file permission issues and my lack of knowledge on the directory layout used by the "toolchain" action. I think it would help if you either explained how to do it in the toolchain action's documentation, or clarified that it cannot be done in the current rustup installation directory layout if that's the issue.

use minimal supported rust version `rust-version` from Cargo.toml

Do the checklist before filing an issue:

Motivation

Rust 1.56 added the Cargo manifest key rust-version to indicate the minimal supported rust version (MSRV).

It would be nice to only configure this only in a single location and use it automatically from ci.

Workflow example

The big question is probably how this would be useful as a config.

Adding a special key for this might be easier to understand but is error prone and has many unclear states.

      - uses: actions-rs/toolchain@v1
        with:
          # Dont use the toolchain key
          # toolchain: nightly
          override: true
          msrv: true

providing a special value to the toolchain value is also not as nice as I would like it to be.

      - uses: actions-rs/toolchain@v1
        with:
          toolchain: rust-version
          override: true

Build doesn't use nightly even when toolchain specifies nightly

Do the checklist before filing an issue:

Description

I need my build to happen with a nightly version of rustc, however it does not seem to be possible to do this.

Workflow code

on: [push]

name: CI

jobs:
  build_and_test:
    name: Rust Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
            toolchain: nightly
            override: true
            components: rustfmt, clippy
      - uses: actions-rs/cargo@v1
        with:
          command: build
          args: --release --all-features

Action output

Run actions-rs/toolchain@v1

info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
  nightly-x86_64-unknown-linux-gnu installed - rustc 1.67.0-nightly (234151769 2022-12-03)
info: checking for self-updates
warning: tool `rustfmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `cargo-fmt` is already installed, remove it from `/home/runner/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
Gathering installed versions
  /home/runner/.cargo/bin/rustc -V
  rustc 1.65.0 (897e37553 2022-11-02)
  Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  /home/runner/.cargo/bin/cargo -V
  cargo 1.65.0 (4bc8f24d3 2022-10-20)
  Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  /home/runner/.cargo/bin/rustup -V
  rustup 1.25.1 (bb60b1e89 2022-07-12)
  info: This is the version for the rustup toolchain manager, not the rustc compiler.
  info: The currently active `rustc` version is `rustc 1.65.0 (897e37553 2022-11-02)`
  Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Run actions-rs/cargo@v1

/home/runner/.cargo/bin/cargo build --release --all-features
    Updating crates.io index
 Downloading crates ...
[...]
error: failed to run custom build command for `pear_codegen v0.1.5`
Error: failed to run custom build command for `pear_codegen v0.1.5`
Caused by:
  process didn't exit successfully: `/home/runner/work/rust-test/rust-test/target/release/build/pear_codegen-aaead5ea68d420a2/build-script-build` (exit status: 101)
  --- stderr
  Error: Pear requires a 'dev' or 'nightly' version of rustc.
  Installed version: 1.65.0 (2022-11-02)
  Minimum required:  1.31.0-nightly (2018-10-05)
  thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pear_codegen-0.1.5/build.rs:24:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101

Expected behavior

In the Run actions-rs/cargo@v1 action it errors out because the version of rustc is not nightly, which it should be based on the config for actions-rs/toolchain@v1.

useless self-update made

When the rustup call is made, --no-self-update is not passed: as a result rustup does a self update, but this is useless as rustup will typically not be used again during the CI run.

When rustup update is needed, it will need to be done before installing rust - #170 .

So I suggest passing --no-self-update for any run installing rust components, and removing it if and only if calling rustup self update explicitly.

Supply specific list of components to install

Motivation

I’m trying to make a CI that tests x86_64-unknown-openbsd target. There is no rust-std component for this target so I thought I’d just get actions to build libstd in the first place (via e.g. -Zbuild-std).

Alas, I’m not seeing how to disable rust-std component with this workflow, so I’ll probably have to write one myself...

Workflow example

      - name: Install Rust nightly
        uses: actions-rs/toolchain@v1
        with:
            toolchain: nightly
            target: x86_64-unknown-openbsd
            profile: minimal
            default: true
            components: rust-src

Breaking changes plan for v2

There is no ETA for v2 yet, as there are not much important changes were made or planned to be, but at least we can track the things which can be improved or changed:

  • Make override: true input by default
  • Make profile: minimal input by default
  • Replace target input with targets, which will allow passing multiple targets to install
  • Support for rust-toolchain file (#21) (not sure yet if breaking change) not a breaking change, yay!

In case you have an idea, feel free to add it in here as an issue comment.

Support new TOML format for rust-toolchain

Do the checklist before filing an issue:

Motivation

As announced with Rustup 1.23.0 and documented here, there is a new TOML syntax for the rust-toolchain file which should be supported by this action.

Workflow Failure

Additionally using the TOML syntax without specifying the toolchain input will cause the workflow to fail.

`set-output` command is deprecated

Do the checklist before filing an issue:

Description

The set-output command is deprecated and we need to upgrade @actions/core to v1.10.0

Currently, this error will show in every action using this action:

The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. 

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Workflow code

This is just my use case. I believe other cases have the same problem.

- uses: actions-rs/toolchain@v1
  with:
    profile: minimal
    toolchain: ${{ matrix.rust }}
    override: true

Action output

Following is the raw log

2022-10-14T02:49:04.5320394Z ##[group]Gathering installed versions
2022-10-14T02:49:04.5329776Z [command]/home/runner/.cargo/bin/rustc -V
2022-10-14T02:49:04.5835528Z rustc 1.66.0-nightly (6b3ede3f7 2022-10-13)
2022-10-14T02:49:04.5885042Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-14T02:49:04.5907869Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-14T02:49:04.5910612Z [command]/home/runner/.cargo/bin/cargo -V
2022-10-14T02:49:04.6299701Z cargo 1.66.0-nightly (b8f30cb23 2022-10-10)
2022-10-14T02:49:04.6302611Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-14T02:49:04.6309793Z [command]/home/runner/.cargo/bin/rustup -V
2022-10-14T02:49:04.6351698Z rustup 1.25.1 (bb60b1e89 2022-07-12)
2022-10-14T02:49:04.6352373Z info: This is the version for the rustup toolchain manager, not the rustc compiler.
2022-10-14T02:49:04.6848281Z info: The currently active `rustc` version is `rustc 1.66.0-nightly (6b3ede3f7 2022-10-13)`
2022-10-14T02:49:04.6862719Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-14T02:49:04.6864583Z ##[endgroup]

Expected behavior

Upgrade @actions/core to v1.10.0 or above (is exist)

Additional context

N/A

Add support for multiple targets

Do the checklist before filing an issue:

Motivation

I have a larger embedded project that supports multiple boards (each with their own crate).
The build process uses cargo-make and supports multiple targets during a top-level build.

Currently I need the following targets for a successful build:

  • thumbv6m-none-eabi
  • thumbv7em-none-eabi
  • thumbv7em-none-eabihf

Along with x86_64-unknown-linux-gnu for unit tests.

It would be useful to specify all the needed targets as a list, just like the components field.

Workflow example

      - uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          targets: thumbv6m-none-eabi, thumbv7em-none-eabi, thumbv7em-none-eabihf
          override: true

I have no preference of target vs. targets. targets is probably easier for backward compatibility.

deperecated dependency: 100% failure

Do the checklist before filing an issue:

Description

A clear and concise description of what the bug is.

See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

and #114 for a PR that fixes the issue

Workflow code

Paste that part of your workflow yaml file that causes the bug in here.

Alternatively you can remove that code block and insert direct link to your workflow file.
Ensure that link points to the specific commit, and not just to the master branch.

Action output

/usr/bin/docker exec  d25f5c30aa8e784012badcab5bc6344c4bce5a4c72f595ca756380dfab46bd95 sh -c "cat /etc/*release | grep ^ID"
/__w/_temp/42a68bee-6546-42ed-9628-d75de2498306 --default-toolchain none -y
info: downloading installer
error: $HOME differs from euid-obtained home directory: you may be using sudo
error: $HOME directory: /github/home
error: euid-obtained home directory: /root
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: skipping toolchain installation


Rust is installed now. Great!

To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done
automatically.

To configure your current shell run source $HOME/.cargo/env
Error: Unable to process command '::add-path::/github/home/.cargo/bin' successfully.
Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Expected behavior

The $PATH to be properly set

Additional context

This will causes a lot of breakages out there I guess :P

Issue with opensuse images losing environment after toolchain invocation

Description

I am trying to add opensuse packaging workflows to a project that already has workflows for a bunch of deb and rpm based distros. At a particular step a shell script needs to be run but it causes an error message as if 'bash' is not installed - but prior steps use the same shell without a problem. Upon further debugging I realized it doesn't matter what the 'run' command/script is. Even if I put something very simple like echo or /usr/bin/env there, I get the same error. The error message in its most basic form is,

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH: unknown
Error: Process completed with exit code 126.

It says the bash executable is not found but I believe error 126 is a permission error.

Now the reason I am posting this here is because I can use the shell in every step of the workflow before the toolchain step and it works fine. As soon as I run the toolchain step to install cargo/rust and then try to "run" any commands I get a similar error. (Though it doesn't seem to keep an @actions/cache@v3 step from running.)

The issue seems specific to opensuse (leap and tumbleweed). Is there any way I can debug this further?

Workflow code

      - name: "Install Rust"
        uses: actions-rs/toolchain@v1
        with:
          profile: "minimal"
          toolchain: "stable"
          override: true
          components: "rustfmt"
        env:
          ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
      - name: "Test"
        shell: bash
        run: echo $PATH

Action output

I didn't enable debugging because the toolchain step is not really failing. Below toolchain errors exist verbatim (except container id) on the centos/fedora jobs too. So I doubt the log is very useful.

Run actions-rs/toolchain@v1
  with:
    profile: minimal
    toolchain: stable
    override: true
    components: rustfmt
    default: false
  env:
    ACTIONS_ALLOW_UNSECURE_COMMANDS: true
/usr/bin/docker exec  6057276d172daa3a6091d6775b0488f5c989356a21af00c182726cff89552bd8 sh -c "cat /etc/*release | grep ^ID"
/__w/_temp/f093d162-f057-4f34-b406-54236133158b --default-toolchain none -y
info: downloading installer
error: $HOME differs from euid-obtained home directory: you may be using sudo
error: $HOME directory: /github/home
error: euid-obtained home directory: /root
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: skipping toolchain installation


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source $HOME/.cargo/env
/github/home/.cargo/bin/rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /github/home/.rustup

no active toolchain
/github/home/.cargo/bin/rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
Installed rustup 1.24.3 support profiles
/github/home/.cargo/bin/rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
Installed rustup 1.24.3 support components
/github/home/.cargo/bin/rustup set profile minimal
info: profile set to 'minimal'
/github/home/.cargo/bin/rustup toolchain install stable --component rustfmt
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2022-04-07, rust version 1.60.0 (7737e0b5c 2022-04-04)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'

  stable-x86_64-unknown-linux-gnu installed - rustc 1.60.0 (7737e0b5c 2022-04-04)

info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
info: checking for self-updates
/github/home/.cargo/bin/rustup override set stable
info: using existing install for 'stable-x86_64-unknown-linux-gnu'
info: override toolchain for '/__w/wezterm/wezterm' set to 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.60.0 (7737e0b5c 2022-04-04)

Gathering installed versions
  /github/home/.cargo/bin/rustc -V
  rustc 1.60.0 (7737e0b5c 2022-04-04)
  /github/home/.cargo/bin/cargo -V
  cargo 1.60.0 (d1fd9fe 2022-03-01)
  /github/home/.cargo/bin/rustup -V
  rustup 1.24.3 (ce5817a94 2021-05-31)
  info: This is the version for the rustup toolchain manager, not the rustc compiler.
  info: The currently active `rustc` version is `rustc 1.60.0 (7737e0b5c 2022-04-04)`

Run echo path is ${PATH}
  echo path is ${PATH}
  shell: bash --noprofile --norc -e -o pipefail {0}
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH: unknown
Error: Process completed with exit code 126.

Expected behavior

Expected current value of PATH to be displayed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.