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 6 pull requests #103696

Closed
wants to merge 26 commits into from
Closed

Conversation

Dylan-DPC
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

reitermarkus and others added 26 commits October 12, 2022 13:01
Co-authored-by: Amanieu d'Antras <[email protected]>
This allows writing the following function signatures:
```rust
fn f0() -> impl Fn() -> impl Trait;
fn f3() -> &'static dyn Fn() -> impl Trait;
```

These signatures were already allowed for common traits and associated
types, there is no reason why `Fn*` traits should be special in this
regard.
…errors

Allow `impl Fn() -> impl Trait` in return position

_This was originally proposed as part of rust-lang#93082 which was [closed](rust-lang#93082 (comment)) due to allowing `impl Fn() -> impl Trait` in argument position._

This allows writing the following function signatures:
```rust
fn f0() -> impl Fn() -> impl Trait;
fn f3() -> &'static dyn Fn() -> impl Trait;
```

These signatures were already allowed for common traits and associated types, there is no reason why `Fn*` traits should be special in this regard.

`impl Trait` in both `f0` and `f3` means "new existential type", just like with `-> impl Iterator<Item = impl Trait>` and such.

Arrow in `impl Fn() ->` is right-associative and binds from right to left, it's tested by [this test](https://github.com/WaffleLapkin/rust/blob/a819fecb8dea438fc70488ddec30a61e52942672/src/test/ui/impl-trait/impl_fn_associativity.rs).

There even is a test that `f0` compiles:
https://github.com/rust-lang/rust/blob/2f004d2d401682e553af3984ebd9a3976885e752/src/test/ui/impl-trait/nested_impl_trait.rs#L25-L28

But it was changed in [PR 48084 (lines)](https://github.com/rust-lang/rust/pull/48084/files#diff-ccecca938872d65ffe8cd1c3ef1956e309fac83bcda547d8b16b89257e53a437R37)  to test the opposite, probably unintentionally given [PR 48084 (lines)](https://github.com/rust-lang/rust/pull/48084/files#diff-5a02f1ed43debed1fd24f7aad72490064f795b9420f15d847bac822aa4621a1cR476-R477).

r? ``@nikomatsakis``

----

This limitation is especially annoying with async code, since it forces one to write this:
```rust
trait AsyncFn3<A, B, C>: Fn(A, B, C) -> <Self as AsyncFn3<A, B, C>>::Future {
    type Future: Future<Output = Self::Out>;

    type Out;
}

impl<A, B, C, Fut, F> AsyncFn3<A, B, C> for F
where
    F: Fn(A, B, C) -> Fut,
    Fut: Future,
{
    type Future = Fut;

    type Out = Fut::Output;
}

fn async_closure() -> impl AsyncFn3<i32, i32, i32, Out = u32> {
    |a, b, c| async move { (a + b + c) as u32 }
}
```
Instead of:
```rust
fn async_closure() -> impl Fn(i32, i32, i32) -> impl Future<Output = u32> {
    |a, b, c| async move { (a + b + c) as u32 }
}
```
Prevent foreign Rust exceptions from being caught

Fix rust-lang#102715

Use the address of a static variable (which is guaranteed to be unique per copy of std) to tell apart if a Rust exception comes from local or foreign Rust code, and abort for the latter.
…r=oli-obk

Make `CStr::from_ptr` `const`.

Should be included in rust-lang#101719.

cc ``@WaffleLapkin``
…, r=compiler-errors

Add test for issue 98634

Fixes rust-lang#98634
Note scope of TAIT more accurately

This maybe explains why the person was confused in rust-lang#101897, since we say "same module" but really should've said "same impl".

r? ``@oli-obk``
improve `filesearch::get_or_default_sysroot`

`fn get_or_default_sysroot` is now improved and used in `miri` and `clippy`, and tests are still passing as they should. So we no longer need to implement custom workarounds/hacks to find sysroot in tools like miri/clippy.

Resolves rust-lang#98832

re-opened from rust-lang#103581
@rustbot rustbot added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 28, 2022
@rustbot rustbot added T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Oct 28, 2022
@Dylan-DPC
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Contributor

bors commented Oct 28, 2022

📌 Commit 9aa9a53 has been approved by Dylan-DPC

It is now in the queue for this repository.

@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 Oct 28, 2022
@bors
Copy link
Contributor

bors commented Oct 29, 2022

⌛ Testing commit 9aa9a53 with merge 0f44b80fb105be0f4631d0036b7e6b325bf909a7...

@bors
Copy link
Contributor

bors commented Oct 29, 2022

💔 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 Oct 29, 2022
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-mingw-2 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] cfg_if test:false 0.070
   Compiling getrandom v0.2.0
[RUSTC-TIMING] unicode_ident test:false 0.186
   Compiling once_cell v1.12.0
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustctrFghE\\symbols.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.0.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.1.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.10.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.11.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.12.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.13.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.14.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.15.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.2.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.3.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.4.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.5.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.6.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.7.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.8.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.build_script_build.ce542c1c-cgu.9.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.6exshrm6uhtxskr.rcgu.o" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\deps" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-3b26bb0d498b5082.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-88153ec9acdfc617.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-705990523021859c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-e9a34c77f40fbae6.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-f6c2917eb89eff02.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-566fb3101149fd51.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f1fda1393400b255.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-89d383084508c004.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-528907a393a46d1a.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-03da336cd76cdce3.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-3a37c257b3636a2b.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-ec484e0cf71ec106.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-a281423bc01f1374.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2881a91c37a6ba40.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-7064bad8e0cac112.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-921ab815c9c5ac9c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-6e9b7439fff3803c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-fe4d2384cc17bf89.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-003d21c686dc5cfd.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-829871d8657f04c6.rlib" "-Wl,-Bdynamic" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-x86_64-pc-windows-gnu-518c5db87f53956b\\build_script_build-518c5db87f53956b.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: collect2.exe: fatal error: D:/a/rust/rust/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/nm.exe returned 1 exit status
          compilation terminated.

          


[RUSTC-TIMING] build_script_build test:false 0.497
error: could not compile `winapi-x86_64-pc-windows-gnu` due to previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustc8H1iUB\\symbols.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.0.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.1.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.10.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.11.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.12.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.13.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.14.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.15.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.2.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.3.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.4.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.5.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.6.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.7.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.8.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.build_script_build.603589a7-cgu.9.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.2fbzyvahpm2os2p7.rcgu.o" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\deps" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-3b26bb0d498b5082.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-88153ec9acdfc617.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-705990523021859c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-e9a34c77f40fbae6.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-f6c2917eb89eff02.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-566fb3101149fd51.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f1fda1393400b255.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-89d383084508c004.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-528907a393a46d1a.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-03da336cd76cdce3.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-3a37c257b3636a2b.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-ec484e0cf71ec106.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-a281423bc01f1374.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2881a91c37a6ba40.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-7064bad8e0cac112.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-921ab815c9c5ac9c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-6e9b7439fff3803c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-fe4d2384cc17bf89.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-003d21c686dc5cfd.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-829871d8657f04c6.rlib" "-Wl,-Bdynamic" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\getrandom-bca9fbf20575d457\\build_script_build-bca9fbf20575d457.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: collect2.exe: fatal error: D:/a/rust/rust/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/nm.exe returned 1 exit status
          compilation terminated.

          


[RUSTC-TIMING] build_script_build test:false 0.519
error: could not compile `getrandom` due to previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustcxWbl68\\symbols.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.0.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.1.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.10.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.11.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.12.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.13.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.14.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.15.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.2.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.3.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.4.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.5.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.6.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.7.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.8.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.build_script_build.5245149f-cgu.9.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.4c2anumw2bwwqeap.rcgu.o" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\deps" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-3b26bb0d498b5082.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-88153ec9acdfc617.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-705990523021859c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-e9a34c77f40fbae6.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-f6c2917eb89eff02.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-566fb3101149fd51.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f1fda1393400b255.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-89d383084508c004.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-528907a393a46d1a.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-03da336cd76cdce3.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-3a37c257b3636a2b.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-ec484e0cf71ec106.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-a281423bc01f1374.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2881a91c37a6ba40.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-7064bad8e0cac112.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-921ab815c9c5ac9c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-6e9b7439fff3803c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-fe4d2384cc17bf89.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-003d21c686dc5cfd.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-829871d8657f04c6.rlib" "-Wl,-Bdynamic" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\syn-eaed0571bf718dc1\\build_script_build-eaed0571bf718dc1.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: collect2.exe: fatal error: D:/a/rust/rust/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/nm.exe returned 1 exit status
          compilation terminated.

          


[RUSTC-TIMING] build_script_build test:false 0.767
error: could not compile `syn` due to previous error
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustc0IvlUS\\symbols.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.0.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.1.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.10.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.11.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.12.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.13.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.14.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.15.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.2.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.3.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.4.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.5.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.6.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.7.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.8.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.build_script_build.1397a22d-cgu.9.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.4aqizg877rtj2qx2.rcgu.o" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\deps" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-3b26bb0d498b5082.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-88153ec9acdfc617.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-705990523021859c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-e9a34c77f40fbae6.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-f6c2917eb89eff02.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-566fb3101149fd51.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f1fda1393400b255.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-89d383084508c004.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-528907a393a46d1a.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-03da336cd76cdce3.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-3a37c257b3636a2b.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-ec484e0cf71ec106.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-a281423bc01f1374.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2881a91c37a6ba40.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-7064bad8e0cac112.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-921ab815c9c5ac9c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-6e9b7439fff3803c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-fe4d2384cc17bf89.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-003d21c686dc5cfd.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-829871d8657f04c6.rlib" "-Wl,-Bdynamic" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\proc-macro2-18c61eb9bd78af03\\build_script_build-18c61eb9bd78af03.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: collect2.exe: fatal error: D:/a/rust/rust/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/nm.exe returned 1 exit status
          compilation terminated.

          


[RUSTC-TIMING] version_check test:false 0.802
[RUSTC-TIMING] build_script_build test:false 0.806
error: could not compile `proc-macro2` due to previous error
[RUSTC-TIMING] once_cell test:false 0.609
[RUSTC-TIMING] autocfg test:false 0.900
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\rustc89Xe0X\\symbols.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.0.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.1.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.10.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.11.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.12.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.13.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.14.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.15.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.2.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.3.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.4.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.5.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.6.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.7.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.8.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.build_script_build.7d0389c3-cgu.9.rcgu.o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.37dw7ydm5pltue5w.rcgu.o" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\deps" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-3b26bb0d498b5082.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-88153ec9acdfc617.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-705990523021859c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-e9a34c77f40fbae6.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-f6c2917eb89eff02.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-566fb3101149fd51.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-f1fda1393400b255.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-89d383084508c004.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-528907a393a46d1a.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-03da336cd76cdce3.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-3a37c257b3636a2b.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-ec484e0cf71ec106.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-a281423bc01f1374.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-2881a91c37a6ba40.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-7064bad8e0cac112.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-921ab815c9c5ac9c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-6e9b7439fff3803c.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-fe4d2384cc17bf89.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-003d21c686dc5cfd.rlib" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-829871d8657f04c6.rlib" "-Wl,-Bdynamic" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1-rustc\\release\\build\\winapi-92ccb04351b623bd\\build_script_build-92ccb04351b623bd.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "\\\\?\\D:\\a\\rust\\rust\\build\\x86_64-pc-windows-gnu\\stage1\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: collect2.exe: fatal error: D:/a/rust/rust/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/nm.exe returned 1 exit status
          compilation terminated.

          


[RUSTC-TIMING] build_script_build test:false 1.112
error: could not compile `winapi` due to previous error
Build completed unsuccessfully in 0:18:55
make: *** [Makefile:85: ci-mingw-subset-2] Error 1

@bors
Copy link
Contributor

bors commented Nov 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.