Uh oh!
There was an error while loading. Please reload this page.
Add serde to the cargotest test suite - #62587
Conversation
This branch is based before rust-lang#62574, so that rust-lang#62562 can be reproduced. This should succeed when merged into `master`.
rust-highfive
commented
Jul 11, 2019
(rust_highfive has picked a reviewer for you, use r? to override) |
SimonSapin
commented
Jul 11, 2019
I did observe a failure reproducing #62562 by running |
alexcrichton
commented
Jul 11, 2019
FWIW I wouldn't recommend doing this since it's pretty unlikely to prevent the failure that happened. We already build serde as part of normal builds (and serde_derive) since we build Cargo with a bootstrapped rustc. The cargotest test suite suffers from the problem that it needs to be frozen, so it's basically frozen at years-old commits for all the other projects. While we can make sure that version of the crate continues to build we'll never be able to provide the guarantee that the latest version of the complier always compiles the latest version of serde. We don't really lose anything by adding this of course, but we won't be picking up a benefit of guaranteeing this never happens again. |
SimonSapin
commented
Jul 11, 2019
It’s a good point that testing a frozen commit is less useful than testing the current latest crates.io version. However, how come #62393 managed to land if serde_derive is already built on CI with each PR’s new compiler? |
alexcrichton
commented
Jul 11, 2019
I can locally update serde_derive from v1.0.81 to v1.0.94, so I'd naively guess that it has to do with recent code added to serde broke and we're not compiling the recent code in serde, but I haven't verified if this is the case. |
Alexendoo
commented
Jul 24, 2019
Ping from triage @alexcrichton, any update? |
alexcrichton
commented
Jul 24, 2019
@SimonSapin do you still feel like this should land? (TBH I think we should remove the entire cargotest test suite myself) |
SimonSapin
commented
Jul 24, 2019
Ok, if removing this suite entirely is in the cards there’s probably no point to this PR. |
This branch is based before #62574, so that #62562 can be reproduced. This should succeed when merged into
master.