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

[beta] backports #90938

Merged
merged 32 commits into from
Nov 19, 2021
Merged

[beta] backports #90938

merged 32 commits into from
Nov 19, 2021

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Nov 16, 2021

Additionally, this bumps the stage 0 compiler from beta to stable 1.56.1.

r? @Mark-Simulacrum

sunfishcode and others added 9 commits November 15, 2021 16:25
As discussed in rust-lang#88576, raw handle values in Windows can be null, such
as in `windows_subsystem` mode, or when consoles are detached from a
process. So, don't use `NonNull` to hold them, don't assert that they're
not null, and remove `OwnedHandle`'s `repr(transparent)`. Introduce a
new `HandleOrNull` type, similar to `HandleOrInvalid`, to cover the FFI
use case.

(cherry picked from commit 3b97481)
(cherry picked from commit e102c2a)
This lint is not yet ready for stable use, primarily due to false positives in edge
cases; we want to test it out more before stabilizing.

(cherry picked from commit 185fa56)
In rust-lang#89522 we learned that `clone3` is interacting poorly with Gentoo's
`sandbox` tool. We only need that for the unstable pidfd extensions, so
otherwise avoid that and use a normal `fork`.

(cherry picked from commit 85b55ce)
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
(cherry picked from commit 6edaaa6)
This reverts commit 12fbabd.

It was only needed because of using raw `clone3` instead of `fork`, but
we only do that now when a pidfd is requested.

(cherry picked from commit e96a0a8)
@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 16, 2021
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup=never

@bors
Copy link
Contributor

bors commented Nov 16, 2021

📌 Commit 5818b3581bfc57cab8cafbb1e52c174c571090ca 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 16, 2021
@rust-log-analyzer

This comment has been minimized.

@cuviper
Copy link
Member Author

cuviper commented Nov 16, 2021

It seems I missed something in #90186, but it looks like a match to me, so perhaps the test is also assuming some other state that's changed since beta. I can't figure out how to run rustdoc-gui locally -- @GuillaumeGomez, can you suggest fixes?

@GuillaumeGomez
Copy link
Member

@cuviper: To run gui tests you first need to run npm install browser-ui-test in your rust repository, then x.py test src/test/rustdoc-gui.

@GuillaumeGomez
Copy link
Member

Also, the tests were very likely updated in the meantime because new things were added, which is why it's failing.

@bors
Copy link
Contributor

bors commented Nov 16, 2021

⌛ Testing commit 5818b3581bfc57cab8cafbb1e52c174c571090ca with merge 20dcf5fd682b98ea526af7571aee5a3e2ebb04ef...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 16, 2021

💔 Test failed - checks-actions

@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 16, 2021
@matthiaskrgr
Copy link
Member

Looks like its the same problem as in #90561 ?

@bors bors added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 17, 2021
@rust-log-analyzer

This comment has been minimized.

@cuviper
Copy link
Member Author

cuviper commented Nov 17, 2021

@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 17, 2021
@m-ou-se m-ou-se linked an issue Nov 17, 2021 that may be closed by this pull request
@bors
Copy link
Contributor

bors commented Nov 18, 2021

⌛ Testing commit 69b4a85 with merge 1564f7a4350638e42211c4236eda0a96c045d95e...

@bors
Copy link
Contributor

bors commented Nov 18, 2021

💥 Test timed out

@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 18, 2021
@rust-log-analyzer

This comment has been minimized.

cuviper and others added 2 commits November 18, 2021 10:38
(cherry picked from commit a24e2ed)
(cherry picked from commit 530cd5b)
@cuviper
Copy link
Member Author

cuviper commented Nov 18, 2021

@bors r=Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Nov 18, 2021

📌 Commit a4a72e7 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 18, 2021
@bors
Copy link
Contributor

bors commented Nov 19, 2021

⌛ Testing commit a4a72e7 with merge 7611e64...

@bors
Copy link
Contributor

bors commented Nov 19, 2021

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing 7611e64 to beta...

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.

New panic with env_logger and with #[windows_subsystem = "windows"]