diff options
author | 2020-09-08 19:07:13 +0000 | |
---|---|---|
committer | 2020-09-08 19:07:13 +0000 | |
commit | d4d68d9058e00513caa4898f5199d466b441e698 (patch) | |
tree | 81ea3d29968df6c5d8aa4cbf5b707e3b3f6c5961 /macros/src/codegen/module.rs | |
parent | 7506bd8ae0ba335fc058c2138438fab5f20f6dab (diff) | |
parent | c0b5a88c9466a5e4fceb6bf6d6aa448886fdbdf4 (diff) | |
download | rtic-d4d68d9058e00513caa4898f5199d466b441e698.tar.gz rtic-d4d68d9058e00513caa4898f5199d466b441e698.tar.zst rtic-d4d68d9058e00513caa4898f5199d466b441e698.zip |
Merge #356
356: Rust toolchain cache breaking on version change r=korken89 a=AfoHT
There seems to be issues when Rust 1.45 is upgraded to 1.46.
```
[command]/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 (directory override for '/home/runner/work/cortex-m-rtic/cortex-m-rtic')
rustc 1.45.2 (d3fb005a3 2020-07-31)
[command]/usr/share/rust/.cargo/bin/rustup toolchain install stable
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2020-08-27, rust version 1.46.0 (04488afe3 2020-08-24)
info: downloading component 'clippy'
info: downloading component 'rustfmt'
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: removing previous version of component 'clippy'
info: removing previous version of component 'rustfmt'
info: removing previous version of component 'cargo'
info: removing previous version of component 'rust-std'
info: removing previous version of component 'rustc'
info: installing component 'clippy'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'rustfmt'
info: installing component 'cargo'
info: installing component 'rust-std'
info: rolling back changes
error: could not rename component file from '/home/runner/.rustup/tmp/5ymt177yixkhb4fl_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share'
error: could not rename component file from '/home/runner/.rustup/tmp/yvk581uxohbpg7yg_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/doc'
error: could not rename component file from '/home/runner/.rustup/tmp/mth68dj6icrr8wix_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/man'
error: could not rename component file from '/home/runner/.rustup/tmp/ve_xiaam6y08_0nm_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc'
error: could not rename component file from '/home/runner/.rustup/tmp/p658oanwd5shnzba_dir/bk' to '/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/zsh'
error: failed to install component: 'rust-std-x86_64-unknown-linux-gnu', detected conflict: '"lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0bb9b63424f4fc5d.rlib"'
##[error]The process '/usr/share/rust/.cargo/bin/rustup' failed with exit code 1
```
Note that `/home/runner/.rustup` links to `/usr/share/rust/.rustup`
Disabling the cache for rust toolchain seems to not cause this issue
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'macros/src/codegen/module.rs')
0 files changed, 0 insertions, 0 deletions