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

Get rustc commit hash from channel manifest #18420

Merged
merged 4 commits into from
Sep 12, 2017
Merged

Get rustc commit hash from channel manifest #18420

merged 4 commits into from
Sep 12, 2017

Conversation

SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Sep 8, 2017

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07).


This change is Reviewable

@nox
Copy link
Contributor

nox commented Sep 8, 2017

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 3c0680a has been approved by nox

@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 8, 2017
@bors-servo
Copy link
Contributor

⌛ Testing commit 3c0680a with merge da2d0a5...

bors-servo pushed a commit that referenced this pull request Sep 8, 2017
Get rustc commit hash from channel manifest

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07), and app_units 0.5.6 (for servo/app_units#37)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18420)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - mac-dev-unit

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 8, 2017
@SimonSapin
Copy link
Member Author

On buildbot:

error: failed to run custom build command for `fontsan v0.3.2 (https://github.com/servo/fontsan#ab68da17)`
could not execute process `/Users/servo/buildbot/slave/mac-dev-unit/build/target/debug/build/fontsan-c0e0814b33162e4e/build-script-build` (never executed)

On Travis:

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64"   […]
  = note: collect2: error: ld returned 1 exit status
          
error: aborting due to previous error
error: Could not compile `servo`.

… neither with any more output that seems relevant to the error. I can’t reproduce locally, on either Linux or OS X. So… I’ve no idea. Let’s see if it’s reliable?

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit 3c0680a with merge 9aca316...

bors-servo pushed a commit that referenced this pull request Sep 8, 2017
Get rustc commit hash from channel manifest

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07), and app_units 0.5.6 (for servo/app_units#37)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18420)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 8, 2017
@bors-servo
Copy link
Contributor

💔 Test failed - linux-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 8, 2017
@SimonSapin
Copy link
Member Author

At least some of the failures are:

  │ ERROR:servo: assertion failed: distance_to_stack_bottom <= max_allowable_distance
  │ assertion failed: distance_to_stack_bottom <= max_allowable_distance (thread <unnamed>, at /home/servo/buildbot/slave/linux-rel-css/build/components/style/context.rs:658)

CC @bholley @julian-seward1, should we increase the stack size?

@bholley
Copy link
Contributor

bholley commented Sep 8, 2017

I don't think stack size is the issue - we just bumped the limit, and those assertion stacks are very short in any case.

We need to understand what the various values are to understand why it isn't working.

@bholley
Copy link
Contributor

bholley commented Sep 8, 2017

(Note that we could increase the slop from 10k, but if that fixed it, that would also be surprising enough to warrant figuring out why).

@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #18413) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Sep 8, 2017
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 9, 2017
@SimonSapin
Copy link
Member Author

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit 64eb2e0 with merge 69bac87...

bors-servo pushed a commit that referenced this pull request Sep 9, 2017
Get rustc commit hash from channel manifest

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07), and app_units 0.5.6 (for servo/app_units#37)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18420)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

💔 Test failed - linux-rel-wpt

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Sep 9, 2017
@SimonSapin
Copy link
Member Author

Bisection in #18445 shows that rust-lang/rust#43931 is responsible (though possibly indirectly). Maybe more inlining is making some stack frames larger? @bholley, @emilio, would that make sense?

@highfive highfive assigned bholley and unassigned nox Sep 12, 2017
@emilio
Copy link
Member

emilio commented Sep 12, 2017

I think so, yeah.

We can confirm it marking StyleBloom::new and StyleSharingCandidateCache::new with #[inline(never)].

SimonSapin added a commit that referenced this pull request Sep 12, 2017
… in order to limit stack frame sizes after extra inlining from
rust-lang/rust#43931

See #18420 (comment)
@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Sep 12, 2017
@SimonSapin
Copy link
Member Author

@bors-servo try

@bors-servo
Copy link
Contributor

⌛ Trying commit a71fe3c with merge 415e802...

bors-servo pushed a commit that referenced this pull request Sep 12, 2017
Get rustc commit hash from channel manifest

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18420)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

@@ -121,6 +121,7 @@ impl<E: TElement> StyleBloom<E> {
/// Create an empty `StyleBloom`. Because StyleBloom acquires the thread-
/// local filter buffer, creating multiple live StyleBloom instances at
/// the same time on the same thread will panic.
#[inline(never)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe leave a comment on the reasoning for this here and below?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@SimonSapin
Copy link
Member Author

@bors-servo r=nox,emilio

@bors-servo
Copy link
Contributor

📌 Commit 052a8b5 has been approved by nox,emilio

@highfive highfive removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Sep 12, 2017
@highfive highfive assigned nox and unassigned bholley Sep 12, 2017
@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 12, 2017
@bors-servo
Copy link
Contributor

⌛ Testing commit 052a8b5 with merge af077a7...

bors-servo pushed a commit that referenced this pull request Sep 12, 2017
Get rustc commit hash from channel manifest

… added in rust-lang/rust#44218, instead of using the GitHub API.

Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18420)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: nox,emilio
Pushing af077a7 to master...

@bors-servo bors-servo merged commit 052a8b5 into master Sep 12, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 12, 2017
@SimonSapin SimonSapin deleted the toml branch September 12, 2017 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants