Skip to content
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

Prepare beta 1.40.0 #66108

Merged
merged 2 commits into from
Nov 5, 2019
Merged

Prepare beta 1.40.0 #66108

merged 2 commits into from
Nov 5, 2019

Conversation

pietroalbini
Copy link
Member

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 5, 2019
@pietroalbini
Copy link
Member Author

r? @pietroalbini

@bors r+ p=1000

@bors
Copy link
Contributor

bors commented Nov 5, 2019

📌 Commit 22f4fa7 has been approved by pietroalbini

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 5, 2019
@pietroalbini
Copy link
Member Author

@bors rollup=never

@bors
Copy link
Contributor

bors commented Nov 5, 2019

⌛ Testing commit 22f4fa7 with merge 648d04c697257e2e8579aef3cf8af3c4fc746ab5...

@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-05T09:24:19.7721358Z     Checking crossbeam-deque v0.7.1
2019-11-05T09:24:20.6075824Z     Checking rustc-rayon v0.3.0
2019-11-05T09:24:20.9450406Z     Checking tempfile v3.1.0
2019-11-05T09:24:23.5808677Z     Checking rustdoc v0.0.0 (/checkout/src/librustdoc)
2019-11-05T09:24:23.7608155Z error[E0523]: found two different crates with name `bitflags` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two.
2019-11-05T09:24:23.7608965Z    |
2019-11-05T09:24:23.7608965Z    |
2019-11-05T09:24:23.7609267Z 36 | use pulldown_cmark::{html, CowStr, Event, Options, Parser, Tag};
2019-11-05T09:24:23.7609777Z 
2019-11-05T09:24:23.7792254Z error: aborting due to previous error
2019-11-05T09:24:23.7792410Z 
2019-11-05T09:24:23.7893752Z error: could not compile `rustdoc`.
---
2019-11-05T09:24:23.8006521Z   local time: Tue Nov  5 09:24:23 UTC 2019
2019-11-05T09:24:23.8867684Z   network time: Tue, 05 Nov 2019 09:24:23 GMT
2019-11-05T09:24:23.8872164Z == end clock drift check ==
2019-11-05T09:24:25.5415420Z 
2019-11-05T09:24:25.5521952Z ##[error]Bash exited with code '1'.
2019-11-05T09:24:25.5563291Z ##[section]Starting: Checkout
2019-11-05T09:24:25.5565297Z ==============================================================================
2019-11-05T09:24:25.5565395Z Task         : Get sources
2019-11-05T09:24:25.5565481Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors
Copy link
Contributor

bors commented Nov 5, 2019

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 5, 2019
@Mark-Simulacrum
Copy link
Member

@alexcrichton -- any thoughts on a good approach to resolving this failure? I suspect personally that we might be conflicting with the bootstrap bitflags, but not sure - I'm not sure why we're only seeing this in this PR (i.e., how master was working)

@alexcrichton
Copy link
Member

I've got no idea why this is only on beta and not on master. This fixes it though:

diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 2748903f2d4..de4e6b56459 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -886,6 +886,7 @@ impl<'a> Builder<'a> {
         // things still build right, please do!
         match mode {
             Mode::Std => metadata.push_str("std"),
+            Mode::ToolRustc => metadata.push_str("tool-rustc"),
             _ => {},
         }
         cargo.env("__CARGO_DEFAULT_LIB_METADATA", &metadata);

I've got no idea why it fixes it though.

It's super unclear why this broke when we switched to beta but not
previously -- but at least it's hopefully fixed now.
@Mark-Simulacrum
Copy link
Member

@bors r+

Pushed up the fix suggested by @alexcrichton along with a comment that proposes one theory for why it's a fix -- though presumably an incomplete one, as it wouldn't explain different behavior between beta and master (hopefully).

@bors
Copy link
Contributor

bors commented Nov 5, 2019

📌 Commit 73369f3 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 5, 2019
@bors
Copy link
Contributor

bors commented Nov 5, 2019

⌛ Testing commit 73369f3 with merge 76b4053...

bors added a commit that referenced this pull request Nov 5, 2019
@bors
Copy link
Contributor

bors commented Nov 5, 2019

☀️ Test successful - checks-azure
Approved by: Mark-Simulacrum
Pushing 76b4053 to beta...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 5, 2019
@bors bors merged commit 73369f3 into rust-lang:beta Nov 5, 2019
@Keruspe
Copy link
Contributor

Keruspe commented Nov 6, 2019

FWIW, wrt the rustdoc build fix: 1.38.0 can build 1.39.0 just fine, but 1.39.0 cannot build itself without backporting the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants