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 36 pull requests #56803

Closed
wants to merge 89 commits into from
Closed

Rollup of 36 pull requests #56803

wants to merge 89 commits into from

Conversation

kennytm
Copy link
Member

@kennytm kennytm commented Dec 14, 2018

Successful merges:

yui-knk and others added 30 commits November 29, 2018 08:54
`mir_stats` mod has not been used since c1ff104.
Popping and pushing from the end of a linked list is constant time. This
documentation is already there for popping and pushing from the front.

@bors: r+ 38fe8d2 rollup
Also, provide a suggestion for the correct syntax.
Initially, rust-lang#50233 accidentally changed the capacity of empty ZST. This
was pointed out during code review. This commit adds a test to prevent
capacity of ZST vectors from accidentally changing to prevent that
from happening again.
Allow ptr::hash to accept fat pointers

Fat pointers implement Hash since rust-lang#45483.  This is a follow-up to rust-lang#56250.
…ertj

Account for `impl Trait` when suggesting lifetime

Fix rust-lang#56745
…er, r=alexcrichton

Disable btree pretty-printers on older gdbs

gdb versions before 8.1 have a bug that prevents the BTreeSet and
BTreeMap pretty-printers from working.  This patch disables the test
on those versions, and also disables the pretty-printers there as
well.

Closes rust-lang#56730
… r=kennytm

Add short emoji status to toolstate updates

I get a lot of these emails and it's good to know which ones I should be paying closer attention to -- i.e. the ones where clippy breaks. This adds a short emoji status report to the first line of the commit message, which shows up in notifications directly

I haven't been able to test it, and the actual emoji are just suggestions.

r? @kennytm

cc @rust-lang/infra @rust-lang/devtools
Add x86_64-unknown-uefi target

This adds a new rustc target-configuration called 'x86_64-unknown_uefi'.
Furthermore, it adds a UEFI base-configuration to be used with other
targets supported by UEFI (e.g., i386, armv7hl, aarch64, itanium, ...).

UEFI systems provide a very basic operating-system environment, meant
to unify how systems are booted. It is tailored for simplicity and fast
setup, as it is only meant to bootstrap other systems. For instance, it
copies most of the ABI from Microsoft Windows, rather than inventing
anything on its own. Furthermore, any complex CPU features are
disabled. Only one CPU is allowed to be up, no interrupts other than
the timer-interrupt are allowed, no process-separation is performed,
page-tables are identity-mapped, ...

Nevertheless, UEFI has an application model. Its main purpose is to
allow operating-system vendors to write small UEFI applications that
load their kernel and terminate the UEFI system. However, many other
UEFI applications have emerged in the past, including network-boot,
debug-consoles, and more.

This UEFI target allows to compile rust code natively as UEFI
applications. No standard library support is added, but libcore can be
used out-of-the-box if a panic-handler is provided. Furthermore,
liballoc works as well, if a `GlobalAlloc` handler is provided. Both
have been tested with this target-configuration.

Note that full libstd support is unlikely to happen. While UEFI does
have standardized interfaces for networking and alike, none of these
are mandatory and they are unlikely to be shipped in common consumer
firmwares. Furthermore, several features like process-separation are
not available (or only in very limited fashion). Those parts of libstd
would have to be masked.
…=rkruppe

rustc: Add an unstable `simd_select_bitmask` intrinsic

This is going to be required for binding a number of AVX-512 intrinsics
in the `stdsimd` repository, and this intrinsic is the same as
`simd_select` except that it takes a bitmask as the first argument
instead of a SIMD vector. This bitmask is then transmuted into a `<NN x
i8>` argument, depending on how many bits it is.

cc rust-lang/stdarch#310
…rsion, r=alexcrichton

Update libc version required by rustc

This is meant to be an easy-to-backport fix for rust-lang#55465
@kennytm kennytm changed the title Rollup of 35 pull requests Rollup of 36 pull requests Dec 14, 2018
@kennytm
Copy link
Member Author

kennytm commented Dec 14, 2018

@bors r+ p=36

@bors
Copy link
Contributor

bors commented Dec 14, 2018

📌 Commit 85f28cc has been approved by kennytm

@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 Dec 14, 2018
@bors
Copy link
Contributor

bors commented Dec 14, 2018

⌛ Testing commit 85f28cc with merge 8bf513802495d42808dec825936d819f9e30c38b...

@bors
Copy link
Contributor

bors commented Dec 14, 2018

💔 Test failed - status-travis

@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 Dec 14, 2018
@rust-highfive
Copy link
Collaborator

The job dist-various-1 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.
[00:02:29]  ---> 7cfdcd6edda5
[00:02:29] Step 13/47 : COPY scripts/musl.sh /build
[00:02:29]  ---> Using cache
[00:02:29]  ---> 5df40fe94087
[00:02:29] Step 14/47 : RUN env     CC=arm-linux-gnueabi-gcc CFLAGS="-march=armv5te -marm -mfloat-abi=soft"     CXX=arm-linux-gnueabi-g++ CXXFLAGS="-march=armv5te -marm -mfloat-abi=soft"     bash musl.sh armv5te &&     env     CC=arm-linux-gnueabi-gcc CFLAGS="-march=armv6 -marm"     CXX=arm-linux-gnueabi-g++ CXXFLAGS="-march=armv6 -marm"     bash musl.sh arm &&     env     CC=arm-linux-gnueabihf-gcc CFLAGS="-march=armv6 -marm -mfpu=vfp"     CXX=arm-linux-gnueabihf-g++ CXXFLAGS="-march=armv6 -marm -mfpu=vfp"     bash musl.sh armhf &&     env     CC=arm-linux-gnueabihf-gcc CFLAGS="-march=armv7-a"     CXX=arm-linux-gnueabihf-g++ CXXFLAGS="-march=armv7-a"     bash musl.sh armv7 &&     env     CC=aarch64-linux-gnu-gcc     CXX=aarch64-linux-gnu-g++     bash musl.sh aarch64 &&     env     CC=mips-openwrt-linux-gcc     CXX=mips-openwrt-linux-g++     bash musl.sh mips &&     env     CC=mipsel-openwrt-linux-gcc     CXX=mipsel-openwrt-linux-g++     bash musl.sh mipsel &&     rm -rf /build/*
[00:02:29]  ---> 2823a72a8d13
[00:02:29] Step 15/47 : RUN echo "# a" >> /usr/local/mips-linux-musl/bin/mips-openwrt-linux-musl-wrapper.sh &&   echo "# b" >> /usr/local/mipsel-linux-musl/bin/mipsel-openwrt-linux-musl-wrapper.sh
[00:02:29]  ---> Using cache
[00:02:29]  ---> 44edc1ce1f68
---
[00:51:55] CC_armebv7r_none_eabi=arm-none-eabi-gcc
[00:51:55] S=/checkout
[00:51:55] _=/bin/sh
[00:51:55] TOOLSTATE_REPO_ACCESS_TOKEN=[secure]
[00:51:55] TRAVIS=true
[00:51:55] RUST_RELEASE_CHANNEL=nightly
[00:51:55] PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[00:51:55] RUN_MAKE_TARGETS=thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf
[00:51:55] RUSTC=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc
[00:51:55] RUST_BUILD_STAGE=stage2-thumbv6m-none-eabi
[00:51:55] BOOTSTRAP_PYTHON=/usr/bin/python2.7
[00:51:55] SCRIPT=python2.7 ../x.py test --target thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf src/test/run-make &&       python2.7 ../x.py dist --target asmjs-unknown-emscripten,wasm32-unknown-emscripten,x86_64-rumprun-netbsd,mips-unknown-linux-musl,mipsel-unknown-linux-musl,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-linux-musl,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,armebv7r-none-eabi,armebv7r-none-eabihf,armv7r-none-eabi,armv7r-none-eabihf
[00:51:55] AR=ar
[00:51:55] TRAVIS_BRANCH=auto
[00:51:55] RUSTC_BOOTSTRAP=1
[00:51:55] HOST_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[00:51:55] SCCACHE_BUCKET=rust-lang-ci-sccache2
[00:51:55] PWD=/checkout/obj
[00:51:55] CI_JOB_NAME=dist-various-1
[00:51:55] TARGET_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/thumbv6m-none-eabi/lib
[00:51:55] LD_LIB_PATH_ENVVAR=LD_LIBRARY_PATH
[00:51:55] PYTHON=/usr/bin/python2.7
[00:51:55] HOME=/home/user
[00:51:55] LD_LIBRARY_PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[00:51:55] HOSTNAME=eada5893358a
[00:51:55] CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc
[00:51:55] SHLVL=2
[00:51:55] CC= 
[00:51:55] BUILD_DIR=/checkout/obj/build
[00:51:55] BUILD_DIR=/checkout/obj/build
[00:51:55] RUST_TEST_TMPDIR=/checkout/obj/build/tmp
[00:51:55] LLVM_CXXFLAGS=
[00:51:55] RUSTFLAGS=--cap-lints=allow
[00:51:55] STAGING_DIR=/tmp
[00:51:55] TMPDIR=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m
[00:51:55] TARGETS=asmjs-unknown-emscripten,wasm32-unknown-emscripten,x86_64-rumprun-netbsd,mips-unknown-linux-musl,mipsel-unknown-linux-musl,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-linux-musl,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,armebv7r-none-eabi,armebv7r-none-eabihf,armv7r-none-eabi,armv7r-none-eabihf
[00:51:55] RUST_CONFIGURE_ARGS=--musl-root-armv5te=/musl-armv5te       --musl-root-arm=/musl-arm       --musl-root-armhf=/musl-armhf       --musl-root-armv7=/musl-armv7       --musl-root-aarch64=/musl-aarch64       --musl-root-mips=/musl-mips       --musl-root-mipsel=/musl-mipsel       --enable-emscripten       --disable-docs --set build.print-step-timings --enable-verbose-tests --enable-sccache --disable-manage-submodules --enable-locked-deps --enable-cargo-native-static --set rust.codegen-units-std=1 --disable-dist-src --release-channel=nightly --enable-llvm-static-stdcpp --set rust.remap-debuginfo --enable-missing-tools
[00:51:55] MAKEFLAGS=
[00:51:55] MFLAGS=
[00:51:55] BOOTSTRAP_PARENT_ID=1086
[00:51:55] BOOTSTRAP_PARENT_ID=1086
[00:51:55] __COMPAT_LAYER=RunAsInvoker
[00:51:55] CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc
[00:51:55] BUILD=x86_64-unknown-linux-gnu
[00:51:55] CXX= 
[00:51:55] AWS_ACCESS_KEY_ID=[secure]
[00:51:55] CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
[00:51:55] CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
[00:51:55] CARGO_HOME=/cargo
[00:51:55] RUSTC_LINKER=arm-none-eabi-gcc
[00:51:55] SCCACHE_REGION=us-west-1
[00:51:55] CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc
[00:51:55] LLVM_COMPONENTS=
[00:51:55] TERM=xterm
[00:51:55] MAKELEVEL=1
[00:51:55] mkdir -p /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m
[00:51:55] cd /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m && rm -rf cortex-m
[00:51:55] cd /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m && bash -x /checkout/src/test/run-make/thumb-none-cortex-m/../git_clone_sha1.sh cortex-m https://github.com/rust-embedded/cortex-m a448e9156e2cb1e556e5441fd65426952ef4b927 
[00:51:55] Makefile:31: recipe for target 'all' failed
[00:51:55] 
[00:51:55] ------------------------------------------
[00:51:55] stderr:
[00:51:55] stderr:
[00:51:55] ------------------------------------------
[00:51:55] + PROJECT_NAME=cortex-m
[00:51:55] + URL=https://github.com/rust-embedded/cortex-m
[00:51:55] + SHA1=a448e9156e2cb1e556e5441fd65426952ef4b927
[00:51:55] + git clone https://github.com/rust-embedded/cortex-m cortex-m
[00:51:55] Cloning into 'cortex-m'...
[00:51:55] fatal: unable to access 'https://github.com/rust-embedded/cortex-m/': Could not resolve host: github.com
[00:51:55] + err_exit
[00:51:55] + echo ERROR:
[00:51:55] + exit 1
[00:51:55] make: *** [all] Error 1
[00:51:55] ------------------------------------------
[00:51:55] 
[00:51:55] thread '[run-make] run-make/thumb-none-cortex-m' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3252:9
[00:51:55] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[00:51:55] status: exit code: 2
[00:51:55] command: "make"
[00:51:55] stdout:
[00:51:55] ------------------------------------------
[00:51:55] bash script.sh
[00:51:55] AWS_ACCESS_KEY_ID=[secure]
[00:51:55] AWS_SECRET_ACCESS_KEY=[secure]
[00:51:55] BOOTSTRAP_PARENT_ID=1086
[00:51:55] BOOTSTRAP_PYTHON=/usr/bin/python2.7
[00:51:55] BUILD_DIR=/checkout/obj/build
[00:51:55] CARGO=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo
[00:51:55] CARGO_HOME=/cargo
[00:51:55] CC_armebv7r_none_eabi=arm-none-eabi-gcc
[00:51:55] CC_armebv7r_none_eabi=arm-none-eabi-gcc
[00:51:55] CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc
[00:51:55] CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc
[00:51:55] CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
[00:51:55] CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc
[00:51:55] CI_JOB_NAME=dist-various-1
[00:51:55] DEPLOY=1
[00:51:55] HERE=/checkout/src/test/run-make/thumb-none-qemu
[00:51:55] HOME=/home/user
[00:51:55] HOSTNAME=eada5893358a
[00:51:55] HOST_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[00:51:55] LD_LIBRARY_PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[00:51:55] LD_LIB_PATH_ENVVAR=LD_LIBRARY_PATH
[00:51:55] LLVM_COMPONENTS=
[00:51:55] LLVM_CXXFLAGS=
[00:51:55] MAKEFLAGS=
[00:51:55] MAKELEVEL=1
[00:51:55] MFLAGS=
[00:51:55] PWD=/checkout/src/test/run-make/thumb-none-qemu
[00:51:55] PYTHON=/usr/bin/python2.7
[00:51:55] PYTHON=/usr/bin/python2.7
[00:51:55] RUN_MAKE_TARGETS=thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf
[00:51:55] RUSTC=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc
[00:51:55] RUST_CONFIGURE_ARGS=--musl-root-armv5te=/musl-armv5te       --musl-root-arm=/musl-arm       --musl-root-armhf=/musl-armhf       --musl-root-armv7=/musl-armv7       --musl-root-aarch64=/musl-aarch64       --musl-root-mips=/musl-mips       --musl-root-mipsel=/musl-mipsel       --enable-emscripten       --disable-docs --set build.print-step-timings --enable-verbose-tests --enable-sccache --disable-manage-submodules --enable-locked-deps --enable-cargo-native-static --set rust.codegen-units-std=1 --disable-dist-src --release-channel=nightly --enable-llvm-static-stdcpp --set rust.remap-debuginfo --enable-missing-tools
[00:51:55] RUST_RELEASE_CHANNEL=nightly
[00:51:55] S=/checkout
[00:51:55] SCCACHE_BUCKET=rust-lang-ci-sccache2
[00:51:55] SCCACHE_REGION=us-west-1
[00:51:55] SCRIPT=python2.7 ../x.py test --target thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf src/test/run-make &&       python2.7 ../x.py dist --target asmjs-unknown-emscripten,wasm32-unknown-emscripten,x86_64-rumprun-netbsd,mips-unknown-linux-musl,mipsel-unknown-linux-musl,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-linux-musl,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,armebv7r-none-eabi,armebv7r-none-eabihf,armv7r-none-eabi,armv7r-none-eabihf
[00:51:55] SHLVL=3
[00:51:55] SRC=/checkout
[00:51:55] STAGING_DIR=/tmp
[00:51:55] TARGET=thumbv6m-none-eabi
[00:51:55] TARGETS=asmjs-unknown-emscripten,wasm32-unknown-emscripten,x86_64-rumprun-netbsd,mips-unknown-linux-musl,mipsel-unknown-linux-musl,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-linux-musl,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,armebv7r-none-eabi,armebv7r-none-eabihf,armv7r-none-eabi,armv7r-none-eabihf
[00:51:55] TARGET_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/thumbv6m-none-eabi/lib
[00:51:55] TERM=xterm
[00:51:55] TMPDIR=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[00:51:55] TRAVIS=true
[00:51:55] TRAVIS_BRANCH=auto
[00:51:55] TRAVIS_BRANCH=auto
[00:51:55] WORK_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[00:51:55] _=/usr/bin/env
[00:51:55] __COMPAT_LAYER=RunAsInvoker
[00:51:55] /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu /checkout/src/test/run-make/thumb-none-qemu
[00:51:55] /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu/example /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu /checkout/src/test/run-make/thumb-none-qemu
[00:51:55] Makefile:27: recipe for target 'all' failed
[00:51:55] ------------------------------------------
[00:51:55] stderr:
[00:51:55] ------------------------------------------
[00:51:55] ------------------------------------------
[00:51:55] + CRATE=example
[00:51:55] + env
[00:51:55] + env
[00:51:55] + mkdir -p /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[00:51:55] + pushd /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[00:51:55] + rm -rf example
[00:51:55] + cp -a /checkout/src/test/run-make/thumb-none-qemu/example .
[00:51:55] + pushd example
[00:51:55] + grep 'x = 42'
[00:51:55] + env RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-C linker=arm-none-eabi-ld -C link-arg=-Tlink.x' /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo run --target thumbv6m-none-eabi
[00:51:55] warning: spurious network error (2 tries remaining): curl error: Could not resolve host: github.com
[00:51:55] ; class=Net (12)
[00:51:55] warning: spurious network error (1 tries remaining): curl error: Could not resolve host: github.com
[00:51:55] ; class=Net (12)
[00:51:55] ; class=Net (12)
[00:51:55] error: failed to load source for a dependency on `cortex-m`
[00:51:55] Caused by:
[00:51:55]   Unable to update registry `https://github.com/rust-lang/crates.io-index`
[00:51:55] 
[00:51:55] Caused by:
[00:51:55] Caused by:
[00:51:55]   failed to fetch `https://github.com/rust-lang/crates.io-index`
[00:51:55] 
[00:51:55] Caused by:
[00:51:55]   curl error: Could not resolve host: github.com
[00:51:55] ; class=Net (12)
[00:51:55] make: *** [all] Error 1
[00:51:55] ------------------------------------------
[00:51:55] 
[00:51:55] thread '[run-make] run-make/thumb-none-qemu' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3252:9
[00:51:55] 
---
[00:51:55] test result: FAILED. 9 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
[00:51:55] 
[00:51:55] 
[00:51:55] 
[00:51:55] 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/thumbv6m-none-eabi/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-make" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make" "--stage-id" "stage2-thumbv6m-none-eabi" "--mode" "run-make" "--target" "thumbv6m-none-eabi" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin/FileCheck" "--linker" "arm-none-eabi-gcc" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/thumbv6m-none-eabi/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--llvm-version" "8.0.0svn\n" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[00:51:55] 
[00:51:55] 
[00:51:55] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --target thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf src/test/run-make
[00:51:55] Build completed unsuccessfully in 0:47:57
---
travis_time:end:03d44630:start=1544770292388399686,finish=1544770292396368145,duration=7968459
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0c2c429a
$ 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:00115551
travis_time:start:00115551
$ 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:0daad773
$ 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)

@jethrogb
Copy link
Contributor

jethrogb commented Dec 14, 2018

[00:51:55] warning: spurious network error (2 tries remaining): curl error: Could not resolve host: github.com
[00:51:55] ; class=Net (12)
[00:51:55] warning: spurious network error (1 tries remaining): curl error: Could not resolve host: github.com
[00:51:55] ; class=Net (12)
[00:51:55] ; class=Net (12)
[00:51:55] error: failed to load source for a dependency on `cortex-m`
[00:51:55] Caused by:
[00:51:55]   Unable to update registry `https://github.com/rust-lang/crates.io-index`
[00:51:55] 
[00:51:55] Caused by:
[00:51:55] Caused by:
[00:51:55]   failed to fetch `https://github.com/rust-lang/crates.io-index`
[00:51:55] 
[00:51:55] Caused by:
[00:51:55]   curl error: Could not resolve host: github.com
[00:51:55] ; class=Net (12)

@kennytm
Copy link
Member Author

kennytm commented Dec 14, 2018

@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 Dec 14, 2018
@bors
Copy link
Contributor

bors commented Dec 14, 2018

⌛ Testing commit 85f28cc with merge 8cc8f1eed425857d4a806a4c010830e04ecb646d...

@bors
Copy link
Contributor

bors commented Dec 14, 2018

💔 Test failed - status-travis

@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 Dec 14, 2018
@rust-highfive
Copy link
Collaborator

The job dist-x86_64-linux 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:17:49] 
[01:17:49]  Documenting rustc_codegen_llvm v0.0.0 (/checkout/src/librustc_codegen_llvm)
[01:17:50] [RUSTC-TIMING] rustc_errors test:false 1.754
[01:17:51]  Documenting syntax v0.0.0 (/checkout/src/libsyntax)
[01:17:55] thread '<unnamed>' panicked at 'assertion failed: output.is_none()', src/librustdoc/clean/simplify.rs:108:21
[01:17:55] 
[01:17:55] error: internal compiler error: unexpected panic
[01:17:55] 
[01:17:55] error: Unrecognized option: 'document-private-items'
[01:17:55] error: Unrecognized option: 'document-private-items'
[01:17:55] 
[01:17:55] error: Could not document `rustc_codegen_llvm`.
[01:17:55] 
[01:17:55] Caused by:
[01:17:55]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustdoc --crate-name rustc_codegen_llvm src/librustc_codegen_llvm/lib.rs --color always --target x86_64-unknown-linux-gnu -o /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/doc -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps --extern cc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libcc-78014087a3fc60e4.rmeta --extern memmap=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libmemmap-a8ad7b43a562b016.rmeta --extern num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libnum_cpus-bdab322fe114a2e2.rmeta --extern rustc_demangle=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-9cc9c185e5855eb0.rmeta --extern rustc_llvm=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_llvm-c6100b2254ad59ec.rmeta --document-private-items` (exit code: 1)
[01:17:57] warning: `[stable]` cannot be resolved, ignoring it...
[01:17:57]    --> src/libsyntax/attr/builtin.rs:121:22
[01:17:57]     |
[01:17:57] 121 | /// Represents the #[stable], #[unstable], #[rustc_{deprecated,const_unstable}] attributes.
---
[01:18:04] [RUSTC-TIMING] syntax test:false 14.164
[01:18:04] error: build failed
[01:18:04] 
[01:18:04] 
[01:18:04] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "doc" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "jemalloc" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--no-deps" "-p" "serialize" "-p" "syntax_pos" "-p" "syntax" "-p" "rustc_save_analysis" "-p" "arena" "-p" "rustc" "-p" "graphviz" "-p" "rustc_apfloat" "-p" "rustc_passes" "-p" "rustc_traits" "-p" "rustc_codegen_ssa" "-p" "rustc_metadata" "-p" "rustc_codegen_utils" "-p" "rustc_typeck" "-p" "rustc_platform_intrinsics" "-p" "rustc_fs_util" "-p" "fmt_macros" "-p" "rustc_driver" "-p" "rustc_llvm" "-p" "rustc_codegen_llvm" "-p" "rustc_allocator" "-p" "rustc_data_structures" "-p" "rustc_incremental" "-p" "build_helper" "-p" "rustc_lint" "-p" "rustc_borrowck" "-p" "rustc_target" "-p" "rustc_mir" "-p" "rustc_plugin" "-p" "rustc_resolve" "-p" "syntax_ext" "-p" "rustc_privacy" "-p" "rustc_errors"
[01:18:04] 
[01:18:04] 
[01:18:04] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host x86_64-unknown-linux-gnu --target x86_64-unknown-linux-gnu
[01:18:04] Build completed unsuccessfully in 1:13:09
---
travis_time:end:1832a191:start=1544791651062123469,finish=1544791651070194870,duration=8071401
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0bf29c05
$ 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:003daaf6
travis_time:start:003daaf6
$ 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:1b3b7b00
$ 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)

@kennytm kennytm closed this Dec 14, 2018
@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.