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

Rollup of 5 pull requests #66453

Merged
merged 20 commits into from
Nov 16, 2019
Merged

Rollup of 5 pull requests #66453

merged 20 commits into from
Nov 16, 2019

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Nov 15, 2019

Successful merges:

Failed merges:

r? @ghost

stlankes and others added 20 commits November 13, 2019 00:21
add on HermizCore an additional lock to protect static data
This is a bit unfortunate, but code needs to be able to fatally error
early on (in particular, syntax_pos after we move SourceMap there). It's
also a tiny bit of code, which means it's ultimately not that bad.
This does not update the use sites or delete the now unnecessary
SourceMapper trait, to allow git to interpret the file move as a rename
rather than a new file.
SourceMap is now in the root of all rustc-specific crates, syntax_pos,
so there's no need for the trait object to decouple the dependencies
between librustc_errors and libsyntax as was needed previously.
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
protect creation of destructors by a mutex

- add on HermitCore an additional lock to protect static data
Add more tests for fixed ICEs

Closes rust-lang#36122 (fixed in 1.20.0)
Closes rust-lang#58094 (fixed in rust-lang#66054)
Also, fix mistaken test case, from rust-lang#30904 to rust-lang#30906 (cc @eddyb)

r? @Centril
…excrichton

Add --force-run-in-process unstable option to libtest

When running tests with `-Zpanic_abort_tests`, it's sometimes desirable to fall back to the old behavior of only running tests in-process. This comes in handy if the system process launcher is unavailable, or the test code somehow expects all tests to be run in the same process.

For example, in Fuchsia we have unit tests that actually test the process launcher itself, in which case we can't use the process launcher to run the tests :).

r? @alexcrichton
cc @cramertj,@petrhosek
Move the JSON error emitter to librustc_errors

This is done both as a cleanup (it makes little sense for this emitter to be in libsyntax), but also as part of broader work to decouple Session from librustc itself.

Along the way, this also moves SourceMap to syntax_pos, which is also nice for the above reasons, as well as allowing dropping the SourceMapper trait from code. This had the unfortunate side-effect of moving `FatalError` to rustc_data_structures (it's needed in syntax_pos, due to SourceMap, but putting it there feels somehow worse).
libpanic_unwind for Miri: make sure we have the SEH lang items when needed

r? @oli-obk  @alexcrichton This is required to fix the Miri toolstate. Turns out rustc complains when doing codegen for MSVC and these lang items do not exist. For now `cfg(miri)` needs to still be able to codegen (we [plan to change that](rust-lang/miri#1048 (comment)) but that's a larger project requiring improvements to xargo and maybe also cargo; that should not block fixing the toolstate). Yes, this is a hack, but it is inside `cfg(miri)` so I hope this is okay.

Cc @Aaron1011
@Centril Centril added the rollup A PR which is a rollup label Nov 15, 2019
@Centril
Copy link
Contributor Author

Centril commented Nov 15, 2019

@bors r+ p=5 rollup=never

@bors
Copy link
Contributor

bors commented Nov 15, 2019

📌 Commit ae9a626 has been approved by Centril

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 15, 2019
@bors
Copy link
Contributor

bors commented Nov 15, 2019

⌛ Testing commit ae9a626 with merge 50f5a81ca6b62f768e71227b9ea03f2b4dded4f6...

@rust-highfive
Copy link
Collaborator

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-15T23:14:16.9443595Z do so (now or later) by using -b with the checkout command again. Example:
2019-11-15T23:14:16.9444045Z 
2019-11-15T23:14:16.9444603Z   git checkout -b <new-branch-name>
2019-11-15T23:14:16.9445971Z 
2019-11-15T23:14:16.9446485Z HEAD is now at 50f5a81ca Auto merge of #66453 - Centril:rollup-w1ohzxs, r=Centril
2019-11-15T23:14:16.9856462Z ##[section]Starting: Decide whether to run this job
2019-11-15T23:14:16.9973305Z ==============================================================================
2019-11-15T23:14:16.9973406Z Task         : Bash
2019-11-15T23:14:16.9973553Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-11-15T23:14:18.2872035Z BUILD_SOURCEBRANCHNAME=auto
2019-11-15T23:14:18.2872119Z BUILD_SOURCESDIRECTORY=D:\a\1\s
2019-11-15T23:14:18.2872195Z BUILD_SOURCEVERSION=50f5a81ca6b62f768e71227b9ea03f2b4dded4f6
2019-11-15T23:14:18.2872283Z BUILD_SOURCEVERSIONAUTHOR=bors
2019-11-15T23:14:18.2872366Z BUILD_SOURCEVERSIONMESSAGE=Auto merge of #66453 - Centril:rollup-w1ohzxs, r=Centril
2019-11-15T23:14:18.2872524Z COBERTURA_HOME=C:\cobertura-2.1.1
2019-11-15T23:14:18.2872612Z COMMONPROGRAMFILES=C:\Program Files\Common Files
2019-11-15T23:14:18.2872686Z COMMON_TESTRESULTSDIRECTORY=D:\a\1\TestResults
2019-11-15T23:14:18.2872768Z COMPUTERNAME=fv-az379
---
2019-11-15T23:17:01.7908126Z 
2019-11-15T23:17:01.7908771Z :: Proceed with installation? [Y/n] 
2019-11-15T23:17:01.7908967Z :: Retrieving packages...
2019-11-15T23:17:01.8158459Z downloading msys2-runtime-3.0.7-6-x86_64.pkg.tar.xz...
2019-11-15T23:17:11.7938672Z error: failed retrieving file 'msys2-runtime-3.0.7-6-x86_64.pkg.tar.xz' from repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
2019-11-15T23:17:13.9927080Z downloading mintty-1~3.0.6-1-x86_64.pkg.tar.xz...
2019-11-15T23:17:14.1111209Z downloading pacman-5.2.1-3-x86_64.pkg.tar.xz...
2019-11-15T23:17:14.4314587Z checking keyring...
2019-11-15T23:17:14.5496128Z checking package integrity...
---
2019-11-15T23:25:44.1639924Z 
2019-11-15T23:25:44.1640322Z :: Proceed with installation? [Y/n] 
2019-11-15T23:25:44.1641484Z :: Retrieving packages...
2019-11-15T23:25:44.2206848Z downloading mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz...
2019-11-15T23:26:01.2209238Z error: failed retrieving file 'mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz' from repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
2019-11-15T23:26:02.8472820Z downloading mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz...
2019-11-15T23:26:03.0741769Z error: failed retrieving file 'mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz' from sourceforge.net : expected download size exceeded
2019-11-15T23:26:03.5046084Z downloading mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz...
2019-11-15T23:26:03.5053418Z error: failed retrieving file 'mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz' from www2.futureware.at : expected download size exceeded
2019-11-15T23:26:03.6690387Z error: failed retrieving file 'mingw-w64-x86_64-libiconv-1.16-1-any.pkg.tar.xz' from mirror.yandex.ru : expected download size exceeded
2019-11-15T23:26:03.6691937Z warning: failed to retrieve some files
2019-11-15T23:26:03.7661927Z downloading mingw-w64-x86_64-binutils-2.33.1-1-any.pkg.tar.xz...
2019-11-15T23:26:05.2520871Z downloading mingw-w64-x86_64-headers-git-8.0.0.5576.34082b63-1-any.pkg.tar.xz...
2019-11-15T23:26:05.4546103Z downloading mingw-w64-x86_64-crt-git-8.0.0.5576.34082b63-1-any.pkg.tar.xz...
2019-11-15T23:26:05.5624871Z downloading mingw-w64-x86_64-isl-0.21-1-any.pkg.tar.xz...
---
2019-11-15T23:26:10.6433640Z downloading mingw-w64-x86_64-python2-2.7.17-1-any.pkg.tar.xz...
2019-11-15T23:26:10.8686572Z error: failed to commit transaction (unexpected error)
2019-11-15T23:26:10.9428790Z Errors occurred, no packages were upgraded.
2019-11-15T23:26:10.9466441Z 
2019-11-15T23:26:10.9562591Z ##[error]Bash exited with code '1'.
2019-11-15T23:26:10.9728792Z ##[section]Starting: Checkout
2019-11-15T23:26:10.9833715Z ==============================================================================
2019-11-15T23:26:10.9833821Z Task         : Get sources
2019-11-15T23:26:10.9833921Z 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 15, 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 15, 2019
@Centril
Copy link
Contributor Author

Centril commented Nov 15, 2019

Seems spurious; @bors retry

@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 15, 2019
@bors
Copy link
Contributor

bors commented Nov 16, 2019

⌛ Testing commit ae9a626 with merge 1d8b6ce...

bors added a commit that referenced this pull request Nov 16, 2019
Rollup of 5 pull requests

Successful merges:

 - #66350 (protect creation of destructors by a mutex)
 - #66407 (Add more tests for fixed ICEs)
 - #66415 (Add --force-run-in-process unstable option to libtest)
 - #66427 (Move the JSON error emitter to librustc_errors)
 - #66441 (libpanic_unwind for Miri: make sure we have the SEH lang items when needed)

Failed merges:

r? @ghost
@bors
Copy link
Contributor

bors commented Nov 16, 2019

☀️ Test successful - checks-azure
Approved by: Centril
Pushing 1d8b6ce to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 16, 2019
@bors bors merged commit ae9a626 into rust-lang:master Nov 16, 2019
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #66453!

Tested on commit 1d8b6ce.
Direct link to PR: #66453

💔 clippy-driver on windows: test-pass → test-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra).
💔 clippy-driver on linux: test-pass → test-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Nov 16, 2019
Tested on commit rust-lang/rust@1d8b6ce.
Direct link to PR: <rust-lang/rust#66453>

💔 clippy-driver on windows: test-pass → test-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra).
💔 clippy-driver on linux: test-pass → test-fail (cc @mcarton @oli-obk @Manishearth @flip1995 @yaahc @phansch @llogiq, @rust-lang/infra).
@Centril Centril deleted the rollup-w1ohzxs branch November 16, 2019 05:47
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. rollup A PR which is a rollup 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.

8 participants