error: could not rename component file from
ref: https://github.com/rust-lang/rustup/issues/2729
This happens if the component file gets corrupted. The easiest fix is to uninstall and reinstall the toolchain.
3 rustup toolchain uninstall stable-aarch64-unknown-linux-gnu
4 rustup toolchain install stable-aarch64-unknown-linux-gnu
verified in arm linux docker.