You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rust 1.18 regression, crates-io-cli 2.0.1, no such file or directory #41797
Cargo commit: rust-lang/cargo@c416fb6, which seems correct. #40955 is the stable/nightly issue, #41166 is the PR updating cargo submodule to fix this, which probably needs to be backported to beta. I'm uncertain, though.
Hi @alexcrichton, this definitely looks related to my changes in cargo.
I've investigated crates-io-cli-rs and this crate defines two bins (crates and krates). I suppose they were intended to be aliases and this was possible because of a original "bug" in cargo (falling back to main.rs). I have mixed feelings about this. I would say that cargo should fail here instead of falling back to main.rs, but I suppose we cannot do that because of backwards compatibility. Right?
igo fails because it defines bin targets inside src directly, instead of src/bin. Seems easy and I'll try to fix this today in the evening.
@brson Could you please provide me with the cargo's output for the other crates (especially eclectica)? That would be great.
Ah yeah for now our priority is to stem the breakage, and afterwards we can evaluate warnings cycles/etc to push further towards the desired behavior here.
Activity
brson commentedon May 6, 2017
Also affects eclectica-0.0.9 cc @markelog
brson commentedon May 7, 2017
Also igo-0.2.1 cc @yshryk
brson commentedon May 7, 2017
Also isbfc-0.0.1 cc @ids1024
brson commentedon May 7, 2017
Also cargo-update-0.8.0 (#41794) cc @nabijaczleweli
brson commentedon May 7, 2017
Also https://github.com/zargony/advent-of-code-2015 cc @zargony
Mark-Simulacrum commentedon May 8, 2017
Rust commit: 910c481 (looks like bug isn't here)
Cargo commit: rust-lang/cargo@c416fb6, which seems correct. #40955 is the stable/nightly issue, #41166 is the PR updating cargo submodule to fix this, which probably needs to be backported to beta. I'm uncertain, though.
alexcrichton commentedon May 11, 2017
cc @jmatraszek, sorry to tag you in again, but if you could help take a look at this that'd be great! If not no worries!
jmatraszek commentedon May 12, 2017
Hi @alexcrichton, this definitely looks related to my changes in cargo.
I've investigated
crates-io-cli-rsand this crate defines two bins (cratesandkrates). I suppose they were intended to be aliases and this was possible because of a original "bug" in cargo (falling back to main.rs). I have mixed feelings about this. I would say that cargo should fail here instead of falling back tomain.rs, but I suppose we cannot do that because of backwards compatibility. Right?igofails because it defines bin targets insidesrcdirectly, instead ofsrc/bin. Seems easy and I'll try to fix this today in the evening.@brson Could you please provide me with the cargo's output for the other crates (especially
eclectica)? That would be great.alexcrichton commentedon May 12, 2017
Ah yeah for now our priority is to stem the breakage, and afterwards we can evaluate warnings cycles/etc to push further towards the desired behavior here.
Thanks for investigating this @jmatraszek!
jmatraszek commentedon May 13, 2017
I think I have fixed this, just need one more day to do some more testing and I should open a pull request tomorrow.
jmatraszek commentedon May 14, 2017
Added a proposed fix.
Auto merge of #4046 - jmatraszek:fix_rust_41797, r=alexcrichton
alexcrichton commentedon May 16, 2017
Ah we should actually leave this open to track the inclusion into beta, I'll close when all the backports are done.
Update cargo submodule
[beta] Update cargo submodule
alexcrichton commentedon May 16, 2017
Ok I've updated Cargo's beta, updated our master branch and updated our beta branch, this'll get closed when those start merging.
Thanks again for fixing this @jmatraszek!
Rollup merge of rust-lang#42039 - alexcrichton:update-cargo, r=aturon
alexcrichton commentedon May 22, 2017
Ok, I think everything's landed here