Skip to content

Could not rename component file. Invalid cross-device link. #299

@deade1e

Description

@deade1e

Hi,

I am using these images, specifically the esp32c3 ones, to build a simple project.
What I do is the following:

docker run --rm -ti espressif/idf-rust:esp32c3_latest
then once inside
cargo install cargo-generate

cargo generate esp-rs/esp-idf-template cargo

I tried 5.3, 5.2, master.

I then cd into the directory and issue a simple cargo build. It fails always with the same error:

error: could not rename component file from '/home/esp/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc/rustfmt' to '/home/esp/.rustup/tmp/9amxnwbm_9us12qj_dir/bk': Invalid cross-device link (os error 18)

These two paths are likely mounted on different virtual devices as the error states.

I also tried version 1.87 and back to 1.80. Same error everywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions