The error "Invalid cross-device link" happens if you're trying to move a file across partitions. Apparently sometimes people have set up their home directory in a separate partition, even without realizing it.[1] So I'm guessing you're in a situation like that.
Other languages seem to recover from this particular error and do a copy and unlink instead:
Racket's reference for 'rename-file-or-directory states that it can move files to other paths "on the same disk"[2], and it goes into detail about atomicity guarantees, so this behavior is probably by design.
So the way you can find resolution here might be:
- Somehow change what temp directory Arc uses.
- Put the Arc directory elsewhere on your filesystem.
- Somehow change your partitions so the home directory and temp directory are in the same one.
- We should probably update Arc to recover from this somehow. :)