-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Link error regression on nightly #36155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Appears to be related to this: impl Spawn<BoxFuture<(), ()>> {
pub fn execute(self, exec: Arc<Executor>) {
// ...
}
} That's one of the undefined functions. If I change that instead to |
cc @michaelwoerister -- could this be related to collector changes? |
triage: P-high -- this is a regression. Going to assign to @michaelwoerister for now on the suspicion that it is related to the collector. |
This might have to do with the switch to MIR trans since on-demand monomorphization for functions went away with that. That might have exposed a preexisting hole in the collector. |
|
@TimNN Thanks for looking into this! |
The problem seems to be that the symbol is not exported from the upstream crate anymore. Making the |
Oh, yuck, the symbol is still exported, but the upstream and the downstream crate don't compute the same name b/c impl names are indeterministic, it seems:
|
@michaelwoerister May be a good idea to never take this branch if the buffer is in absolute mode. EDIT: The symbols are hard to read, apparently those are actually associated types, nevermind. |
@eddyb Maybe. Though in the long run, we should just not use |
Yes, mine is a different project and fails because:
The full log for a different build which failed for the same reason is available online: https://travis-ci.org/maidsafe/crust/jobs/159284568#L294 Is there anything I can do to help chase this error? |
@vinipsmaker That looks more like #36260, which I'm going to look into next. |
…bounds, r=eddyb Fix indeterminism in ty::TraitObject representation. Make sure that projection bounds in `ty::TraitObject` are sorted in a way that is stable across compilation sessions and crate boundaries. This PR + moves `DefPathHashes` up into `librustc` so it can be used there to create a stable sort key for `DefId`s, + changes `PolyExistentialProjection::sort_key()` to take advantage of the above, + and removes the unused `PolyProjectionPredicate::sort_key()` and `ProjectionTy::sort_key()` methods. Fixes rust-lang#36155
Just tested with |
When running
cargo test
inside thefutures-cpupool
folder of rust-lang/futures-rs@093a638, I get an error looking like:I haven't had a chance to minimize this yet unfortunately, but I figure that a bug report is better than no bug report.
The text was updated successfully, but these errors were encountered: