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 16 pull requests #62180

Closed
wants to merge 49 commits into from
Closed

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Jun 27, 2019

Successful merges:

Failed merges:

r? @ghost

RalfJung and others added 30 commits June 15, 2019 23:51
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
Co-Authored-By: Torbjørn Birch Moltu <t.b.moltu@lyse.net>
…g,oli-obk,Centril

Implement mem::{zeroed,uninitialized} in terms of MaybeUninit.

Refs rust-lang#62061

r? @oli-obk
Don't ICE on item in `.await` expression

The code for lowering a `.await` expression missed that item IDs may already have been assigned for items inside of an `async` block, or for closures. This change means we no longer exit early after finding a `.await` in a block that isn't `async` and instead just emit the error. This avoids an ICE generated due to item IDs not being densely generated. (The `YieldSource` of the generated `yield` expression is  used to avoid errors generated about having `yield` expressions outside of generator literals.)

r? @cramertj

Resolves rust-lang#62009 and resolves rust-lang#61685
Add regression test for MIR drop generation in async loops

Fixes rust-lang#61986.

r? @Centril
Update books

Update nomicon, reference, book, rust-by-example, rustc-guide

## nomicon

2 commits in c656171b749b7307f21371dd0d3278efee5573b8..341c221116a8b9f1010cf1eece952b80c5ec7f54
2019-04-25 15:31:26 -0400 to 2019-06-19 09:08:47 -0700
- Fix some links.
- cleanup the intro, and clarify how it relates to the reference (rust-lang/nomicon#140)

## reference

2 commits in 08ae27a..7a5aab5
2019-06-17 11:24:13 -0700 to 2019-06-20 17:38:52 +0200
- Update for cfg on generic parameter. (rust-lang/reference#624)
- Link to "const functions" section from constant expressions list (rust-lang/reference#623)

## book

2 commits in 9aacfcc4c5b102c8cda195932addefd32fe955d2..6c0d83499c8e77e06a71d28c5e1adccec278d4f3
2019-06-16 21:27:26 -0400 to 2019-06-23 20:25:30 -0400
- fancy quotes
- Edits made in copyedit

## rust-by-example

2 commits in b27472962986e85c94f4183b1a6d2207660d3ed6..62b3ff2cb44dd8b648c3ef2a9347c3706d148014
2019-06-17 15:52:07 -0300 to 2019-06-24 09:17:21 -0300
- A couple of fixes for the `Box, stack and heap` chapter. (rust-lang/rust-by-example#1206)
- [typo] Note, that it is -&gt; Note that, it is (rust-lang/rust-by-example#1207)

## rustc-guide

38 commits in f55e97c145cf37fd664db2e0e2f2d05df328bf4f..abf512fc9cc969dcbea69aa15b44586bbeb13c2d
2019-06-15 17:29:12 -0500 to 2019-06-26 11:05:58 -0500
- fix long line
- add `point` to the glossary and link a use of it
- fix indentation
- Update src/borrow_check/region_inference/placeholders_and_universes.md
- Update src/borrow_check/region_inference/placeholders_and_universes.md
- Update src/borrow_check/region_inference/placeholders_and_universes.md
- Update src/borrow_check/region_inference/member_constraints.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/member_constraints.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/member_constraints.md
- Update src/borrow_check/region_inference/member_constraints.md
- Update src/borrow_check/region_inference/lifetime_parameters.md
- Update src/borrow_check/region_inference/member_constraints.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- Update src/borrow_check/region_inference/lifetime_parameters.md
- Update src/borrow_check/region_inference/lifetime_parameters.md
- Update src/borrow_check/region_inference/lifetime_parameters.md
- Update src/borrow_check/region_inference/constraint_propagation.md
- adjust overview slightly
- describe region inference and member constraints in some detail
- start filling out the constraint propagation chapter in more detail
- break out parts of the region inference chapter into sub-chapters
- fix typo
- avoid ftp links
- fix broken links
- add bibligraphy appendix
- Update to mdbook-linkcheck 0.3.0
- Update mdbook
- Change stage0 cfg_attr to bootstrap
- fix compiler-team
- Added Rustc Debugger Support Chapter
…ochenkov

Remove outdated question_mark_macro_sep lint
save-analysis: use buffered writes

Otherwise it ends up writing the file byte at a time, which can be very slow for large outputs.

cc @ljw1004
rustc: Retry SIGILL linker invocations

We've seen quite a few issues with spurious illegal instructions getting
executed on OSX on CI recently. For whatever reason `cc` itself is
executing an illegal instruction and we're not really getting any other
information about what's happening. Since we're already retrying the
linker when it segfaults, let's just continue to retry everything and
automatically reinvoke the linker when it fails with an illegal instruction.
Update RLS

Merged PRs:
* fix(cmd): make clear_env_rust_log default to false (rust-lang/rls#1486)
  - Retain `RUST_LOG` in `rls --cli` mode
* Pass --file-lines to rustfmt only if specified (rust-lang/rls#1497)
  - Fix entire-file formatting when using external rustfmt (specified via `rustfmt_path` config)
* Ensure that --error-format is only passed once to `rustc` (rust-lang/rls#1500)
  - Unbreaks RLS when used together with Cargo [pipelining build](rust-lang#60988) feature (@alexcrichton I'd consider this a stabilization blocker, mind adding it to the tracking issue for the record? 🙇‍♂️ )
@Centril
Copy link
Contributor Author

Centril commented Jun 27, 2019

@bors r+ p=16 rollup=never

@bors
Copy link
Contributor

bors commented Jun 27, 2019

📌 Commit c53cc2b 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 Jun 27, 2019
@bors
Copy link
Contributor

bors commented Jun 27, 2019

⌛ Testing commit c53cc2b with merge 2c652010dc661fb7553243de8f0a6bdf59070f7c...

@bors
Copy link
Contributor

bors commented Jun 27, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Collaborator

Your PR failed on Travis (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.
$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install gdb
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 gdb : Depends: libbabeltrace-ctf1 (>= 1.2.1) but it is not installable
       Depends: libbabeltrace1 (>= 1.2.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
travis_fold:start:apt-get.diagnostics
apt-get install failed
apt-get install failed
$ cat ${TRAVIS_HOME}/apt-get-update.log
Get:1 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [51.5 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [206 kB]
Get:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages [206 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,243 B]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [131 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [3,517 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [882 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [882 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [722 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [391 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [12.7 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,204 B]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [491 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [243 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6,121 B]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [6,297 B]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [6,297 B]
Get:20 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [2,699 B]
Err:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
  Could not connect to apt.cache.travis-ci.com:80 (34.96.81.152), connection timed out
Err:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
  Unable to connect to apt.cache.travis-ci.com:http:
Err:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
  Unable to connect to apt.cache.travis-ci.com:http:
Reading package lists...
Reading package lists...
W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not connect to apt.cache.travis-ci.com:80 (34.96.81.152), connection timed out
W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Unable to connect to apt.cache.travis-ci.com:http:
W: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Unable to connect to apt.cache.travis-ci.com:http:
travis_fold:end:apt-get.diagnostics
travis_fold:end:apt-get.diagnostics
The command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install gdb" failed and exited with 100 during .
Your build has been stopped.

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 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 Jun 27, 2019
@Centril
Copy link
Contributor Author

Centril commented Jun 27, 2019

@bors retry spurious network

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

bors commented Jun 27, 2019

⌛ Testing commit c53cc2b with merge 3a408d95312d94f71ef6734f29a178d8bec7e4ee...

@bors
Copy link
Contributor

bors commented Jun 27, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Collaborator

The job armhf-gnu of your PR failed on Travis (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.
[01:34:18] failures:
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/debuginfo-lto.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/debuginfo-lto.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/debuginfo-lto/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-C" "lto" "-g" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/debuginfo-lto/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/debuginfo-lto/a.debuginfo_lto.7rcbfp3g-cgu.1.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/debuginfo-lto/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/debuginfo-lto/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustcjmb7YR/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/auxiliary" "-Wl,-rpath,$ORIGIN/../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
[01:34:18] 
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/fat-lto.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/fat-lto.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/fat-lto/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-Clto=fat" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/fat-lto/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/fat-lto/a.fat_lto.7rcbfp3g-cgu.0.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/fat-lto/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/fat-lto/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustc7plUzh/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
[01:34:18] 
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/lto-many-codegen-units.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/lto-many-codegen-units.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-many-codegen-units/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-C" "lto" "-C" "codegen-units=8" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-many-codegen-units/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-many-codegen-units/a.lto_many_codegen_units.7rcbfp3g-cgu.0.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-many-codegen-units/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-many-codegen-units/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustc5lCwpB/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
[01:34:18] 
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/lto-still-runs-thread-dtors.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/lto-still-runs-thread-dtors.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-still-runs-thread-dtors/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-C" "lto" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-still-runs-thread-dtors/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-still-runs-thread-dtors/a.lto_still_runs_thread_dtors.7rcbfp3g-cgu.3.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-still-runs-thread-dtors/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/lto-still-runs-thread-dtors/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustcG8vxCI/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
[01:34:18] 
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/panic-runtime/lto-abort.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/panic-runtime/lto-abort.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-abort/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-C" "lto" "-C" "panic=abort" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-abort/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-abort/a.lto_abort.7rcbfp3g-cgu.9.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-abort/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-abort/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustcFy1AqJ/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
[01:34:18] 
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/panic-runtime/lto-unwind.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/panic-runtime/lto-unwind.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-unwind/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-C" "lto" "-C" "panic=unwind" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-unwind/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-unwind/a.lto_unwind.7rcbfp3g-cgu.5.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-unwind/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/panic-runtime/lto-unwind/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustcsuc2xm/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
[01:34:18] 
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] 
[01:34:18] ---- [run-pass] run-pass/sepcomp/sepcomp-lib-lto.rs stdout ----
[01:34:18] 
[01:34:18] error: test compilation failed although it shouldn't!
[01:34:18] status: exit code: 1
[01:34:18] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/run-pass/sepcomp/sepcomp-lib-lto.rs" "-Zthreads=1" "--target=arm-unknown-linux-gnueabihf" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/sepcomp/sepcomp-lib-lto/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-Clinker=arm-linux-gnueabihf-gcc" "-C" "lto" "-g" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/sepcomp/sepcomp-lib-lto/auxiliary"
[01:34:18] ------------------------------------------
[01:34:18] 
[01:34:18] ------------------------------------------
[01:34:18] stderr:
[01:34:18] stderr:
[01:34:18] ------------------------------------------
[01:34:18] error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
[01:34:18]    |
[01:34:18]    = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/sepcomp/sepcomp-lib-lto/a.sepcomp_lib_lto.7rcbfp3g-cgu.0.rcgu.o" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/sepcomp/sepcomp-lib-lto/a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/sepcomp/sepcomp-lib-lto/auxiliary" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/tmp/rustcjL9xI6/libbacktrace_sys-69828ba5b177f6e2.rlib" "-Wl,--end-group" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/auxiliary" "-Wl,-rpath,$ORIGIN/../../../../stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-rpath,/checkout/obj/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,--enable-new-dtags"
[01:34:18]    = note: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-34ad96caca8cd606.rlib(compiler_builtins-34ad96caca8cd606.compiler_builtins.7arsbjs9-cgu.0.rcgu.o): In function `__aeabi_memcpy8':
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x6c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            compiler_builtins.7arsbjs9-cgu.0:(.text.__aeabi_memcpy4+0x7c): undefined reference to `core::panicking::panic::h747b6b606f8c4f43'
[01:34:18]            
[01:34:18] 
[01:34:18] error: aborting due to previous error
[01:34:18] 
---
[01:34:18] thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:521:22
[01:34:18] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:34:18] 
[01:34:18] 
[01:34:18] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass" "--stage-id" "stage2-arm-unknown-linux-gnueabihf" "--mode" "run-pass" "--target" "arm-unknown-linux-gnueabihf" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--linker" "arm-linux-gnueabihf-gcc" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/arm-unknown-linux-gnueabihf/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--llvm-version" "8.0.0-rust-1.37.0-dev\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--remote-test-client" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/remote-test-client" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:34:18] 
[01:34:18] 
[01:34:18] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target arm-unknown-linux-gnueabihf
[01:34:18] Build completed unsuccessfully in 1:31:17
---
travis_time:end:068c72d0:start=1561645746476621532,finish=1561645746483687575,duration=7066043
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:081167a3
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:173f296c
travis_time:start:173f296c
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:033fd850
$ dmesg | grep -i kill

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 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 Jun 27, 2019
@Centril Centril closed this Jun 27, 2019
@Centril Centril deleted the rollup-g5jeoew branch June 27, 2019 15:00
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.