I published a crate, TALE that is a command line REPL for a scripting language I'm working on. When I run cargo install tale on Linux, it works as expected:
I haven't changed any cargo settings from defaults.
I got my hands on a different windows machine to try it on today, same exact toolchain, and it worked fine on that one, so now I'm at even more of a loss for what could be the issue.
I observed the same as you on Windows, with the same up-to-date stable version of Rust as you, although once the crate is installed / uninstalled, any later installation runs well (even if I erase the local cache, but I must have left some remnants).
To install it, I specified the path (I had cloned it first), but perhaps --bins works fine, too. Since I installed it the first time, I can't reproduce the problem. Is that the same for you?
On Linux, no problem at all.
I'm wondering if that's because it's a workspace; there were other reports of similar problems. But the fact it happens on Windows and not Linux is strange indeed.
PS: I also had to update cargo first on Linux because of the 2024 edition requirement; perhaps it's worth checking if you really need that.