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

Update cargo, rls #56224

Merged
merged 3 commits into from
Dec 4, 2018
Merged

Update cargo, rls #56224

merged 3 commits into from
Dec 4, 2018

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Nov 25, 2018

26 commits in b3d0b2e545b61d4cd08096911724b7d49d213f73..5e85ba14aaa20f8133863373404cb0af69eeef2c
2018-11-15 19:13:04 +0000 to 2018-12-02 14:37:25 +0000

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

  • These commits modify submodules.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 25, 2018
@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Nov 26, 2018

📌 Commit ae0d033 has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 26, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Nov 27, 2018
Update cargo

14 commits in b3d0b2e545b61d4cd08096911724b7d49d213f73..1ff5975b96b3d395bb962394596998dfb485f793
2018-11-15 19:13:04 +0000 to 2018-11-25 14:59:12 +0000
- Intern SourceId (rust-lang/cargo#6342)
- Tweak Layout to allow for non json file targets with internal "." (rust-lang/cargo#6255)
- Correct Target Directory command-line option (rust-lang/cargo#6343)
- Persistent data structures by im-rs (rust-lang/cargo#6336)
- Move command prelude into main library (rust-lang/cargo#6335)
- Distinguish custom build invocations (rust-lang/cargo#6331)
- Allow crate_type=bin examples to run (rust-lang/cargo#6330)
- Make verify-project honour unstable features (rust-lang/cargo#6326)
- Make autodiscovery disable inferred targets (rust-lang/cargo#6329)
- Add `c` alias for `check` (rust-lang/cargo#6218)
- Allow user aliases to override built-in aliases (rust-lang/cargo#6259)
- Fix renaming directory project using build scripts with cross-compiling. (rust-lang/cargo#6328)
- Fix add_plugin_deps-related tests. (rust-lang/cargo#6327)
- Add a glossary. (rust-lang/cargo#6321)
kennytm added a commit to kennytm/rust that referenced this pull request Nov 30, 2018
Update cargo

14 commits in b3d0b2e545b61d4cd08096911724b7d49d213f73..1ff5975b96b3d395bb962394596998dfb485f793
2018-11-15 19:13:04 +0000 to 2018-11-25 14:59:12 +0000
- Intern SourceId (rust-lang/cargo#6342)
- Tweak Layout to allow for non json file targets with internal "." (rust-lang/cargo#6255)
- Correct Target Directory command-line option (rust-lang/cargo#6343)
- Persistent data structures by im-rs (rust-lang/cargo#6336)
- Move command prelude into main library (rust-lang/cargo#6335)
- Distinguish custom build invocations (rust-lang/cargo#6331)
- Allow crate_type=bin examples to run (rust-lang/cargo#6330)
- Make verify-project honour unstable features (rust-lang/cargo#6326)
- Make autodiscovery disable inferred targets (rust-lang/cargo#6329)
- Add `c` alias for `check` (rust-lang/cargo#6218)
- Allow user aliases to override built-in aliases (rust-lang/cargo#6259)
- Fix renaming directory project using build scripts with cross-compiling. (rust-lang/cargo#6328)
- Fix add_plugin_deps-related tests. (rust-lang/cargo#6327)
- Add a glossary. (rust-lang/cargo#6321)
@Centril
Copy link
Contributor

Centril commented Dec 1, 2018

@bors rollup

Centril added a commit to Centril/rust that referenced this pull request Dec 1, 2018
Update cargo

14 commits in b3d0b2e545b61d4cd08096911724b7d49d213f73..1ff5975b96b3d395bb962394596998dfb485f793
2018-11-15 19:13:04 +0000 to 2018-11-25 14:59:12 +0000
- Intern SourceId (rust-lang/cargo#6342)
- Tweak Layout to allow for non json file targets with internal "." (rust-lang/cargo#6255)
- Correct Target Directory command-line option (rust-lang/cargo#6343)
- Persistent data structures by im-rs (rust-lang/cargo#6336)
- Move command prelude into main library (rust-lang/cargo#6335)
- Distinguish custom build invocations (rust-lang/cargo#6331)
- Allow crate_type=bin examples to run (rust-lang/cargo#6330)
- Make verify-project honour unstable features (rust-lang/cargo#6326)
- Make autodiscovery disable inferred targets (rust-lang/cargo#6329)
- Add `c` alias for `check` (rust-lang/cargo#6218)
- Allow user aliases to override built-in aliases (rust-lang/cargo#6259)
- Fix renaming directory project using build scripts with cross-compiling. (rust-lang/cargo#6328)
- Fix add_plugin_deps-related tests. (rust-lang/cargo#6327)
- Add a glossary. (rust-lang/cargo#6321)
@Centril
Copy link
Contributor

Centril commented Dec 2, 2018

distcheck isn't happy with the MPL 2.0 license in im-rc here which is why I think #56427 failed.

@ehuss
Copy link
Contributor Author

ehuss commented Dec 2, 2018

@Centril sorry, I thought tidy automatically checked for that, but it looks like it doesn't.

I assume the exception is OK as it follows the other MPL libraries.

@alexcrichton Is there a way to run tidy locally to check licenses? It looks like the build.vendor option has to be enabled, but when I do that nothing compiles. License checks have caused delays in the past, and I think it would help to be able to run that before posting PRs.

@kennytm
Copy link
Member

kennytm commented Dec 2, 2018

@bors r- rollup-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 2, 2018
@alexcrichton
Copy link
Member

@bors: r+

Yeah this should be ok!

The tidy step only checks licenses if the sources are vendored, and the sources have to be pre-vendored IIRC. I think this largely only runs on the distcheck step.

It probably wouldn't be too hard to though to download a prebuilt cargo vendor on CI (by default, for all PRs) and run the check!

@ehuss
Copy link
Contributor Author

ehuss commented Dec 3, 2018

Hm, I even ran x.py test src/tools/rls but because it exited 0 with success, I didn't see the error message. It looks like it was intentionally changed to do that in #50123.

Is there some way I can force x.py to fail if rls fails to build and run tests?

RLS PR posted at rust-lang/rls#1160.

@kennytm
Copy link
Member

kennytm commented Dec 3, 2018

@ehuss That's strange. x.py test src/tools/rls should have emitted with error during the "build" step, what #50123 does is do not ignore this error state when --no-fail-fast is provided.

@alexcrichton
Copy link
Member

Hm it looks like this needs to update RLS?

[01:19:20] �[0m�[1m�[38;5;9merror[E0053]�[0m�[0m�[1m: method `exec` has an incompatible type for trait�[0m

[01:19:20] �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0msrc/tools/rls/src/build/cargo.rs:413:5�[0m

[01:19:20] �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m

[01:19:20] �[0m�[1m�[38;5;12m413�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m    fn exec(�[0m

[01:19:20] �[0m�[1m�[38;5;12m414�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        &self,�[0m

[01:19:20] �[0m�[1m�[38;5;12m415�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        mut cargo_cmd: ProcessBuilder,�[0m

[01:19:20] �[0m�[1m�[38;5;12m416�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        id: &PackageId,�[0m

[01:19:20] �[0m�[1m�[38;5;12m...�[0m�[0m   �[0m�[0m�[1m�[38;5;9m|�[0m

[01:19:20] �[0m�[1m�[38;5;12m608�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        Ok(())�[0m

[01:19:20] �[0m�[1m�[38;5;12m609�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m    }�[0m

[01:19:20] �[0m    �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mexpected struct `cargo::core::package_id::PackageId`, found reference�[0m

[01:19:20] �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m

[01:19:20] �[0m    �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: expected type `�[0m�[0m�[1mfn(&build::cargo::RlsExecutor, cargo::util::process_builder::ProcessBuilder, cargo::core::package_id::PackageId, &cargo::core::manifest::Target, cargo::core::compiler::build_config::CompileMode) -> std::result::Result<(), failure::error::Error>�[0m�[0m`�[0m

[01:19:20] �[0m               found type `�[0m�[0m�[1mfn(&build::cargo::RlsExecutor, cargo::util::process_builder::ProcessBuilder, &cargo::core::package_id::PackageId, &cargo::core::manifest::Target, cargo::core::compiler::build_config::CompileMode) -> std::result::Result<(), failure::error::Error>�[0m�[0m`�[0m

[01:19:20] 

[01:19:21] �[0m�[1m�[38;5;9merror�[0m�[0m�[1m: aborting due to previous error�[0m

@ehuss
Copy link
Contributor Author

ehuss commented Dec 3, 2018

@ehuss That's strange. x.py test src/tools/rls should have emitted with error during the "build" step, what #50123 does is do not ignore this error state when --no-fail-fast is provided.

There is an error, but x.py reports success. I actually run it as part of a script, in this case it ran x.py test src/tools/rls src/tools/cargo, and the script only stops if it returns nonzero, and the error message had scrolled way off the screen so I didn't see it. It hits this code path which does not report an error.

It looks like the only way to check for failure is to run checktools.sh which requires testing all the tools. Would it be feasible to have the Rls test step to check some option and report an error if it fails to build? I don't see how that PR involves --no-fail-fast, but that would be fine with me. I tried running with that flag, but it still reported success.

Hm it looks like this needs to update RLS?

@alexcrichton see above, I was waiting for the RLS PR to be merged. It now is, and I have included the RLS update.

@kennytm
Copy link
Member

kennytm commented Dec 3, 2018

@ehuss My point is when RLS failed to build it should have hit

rust/src/bootstrap/tool.rs

Lines 189 to 191 in 9cd3bef

if !is_optional_tool {
exit(1);
} else {

and exit with code 1. The problem is RLS is considered an is_optional_tool and returned None instead. It should only continue when --no-fail-fast is passed. This allowed dist to succeed even with a missing RLS. We'll need an additional flag to control this behavior.

@ehuss
Copy link
Contributor Author

ehuss commented Dec 3, 2018

It should only continue when --no-fail-fast is passed.

I'm not sure I understand. Wouldn't that cause a problem, because none of the CI jobs pass that option (except for checktools.sh), they would always fail if rls fails to build?

I realize my use-case is unique (I want to ensure cargo updates don't break rls before posting a PR). I'd be reluctant to add an option just for that, but I don't see any existing options that can be used safely.

@ehuss ehuss changed the title Update cargo Update cargo, rls Dec 3, 2018
@ehuss
Copy link
Contributor Author

ehuss commented Dec 4, 2018

This should be ready to go, btw.

@alexcrichton
Copy link
Member

@bors: r+ p=1

@bors
Copy link
Contributor

bors commented Dec 4, 2018

📌 Commit 46c88b9 has been approved by alexcrichton

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

bors commented Dec 4, 2018

⌛ Testing commit 46c88b9 with merge e93f9ae7b918039d815a622b84ac6773d3db8b4f...

@bors
Copy link
Contributor

bors commented Dec 4, 2018

💔 Test failed - status-travis

@bors bors removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Dec 4, 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.
[01:00:50] CC_armebv7r_none_eabi=arm-none-eabi-gcc
[01:00:50] S=/checkout
[01:00:50] _=/bin/sh
[01:00:50] TOOLSTATE_REPO_ACCESS_TOKEN=[secure]
[01:00:50] TRAVIS=true
[01:00:50] RUST_RELEASE_CHANNEL=nightly
[01:00:50] PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/llvm/build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[01:00:50] RUN_MAKE_TARGETS=thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf
[01:00:50] RUSTC=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc
[01:00:50] RUST_BUILD_STAGE=stage2-thumbv6m-none-eabi
[01:00:50] BOOTSTRAP_PYTHON=/usr/bin/python2.7
[01:00:50] 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
[01:00:50] AR=ar
[01:00:50] TRAVIS_BRANCH=auto
[01:00:50] RUSTC_BOOTSTRAP=1
[01:00:50] HOST_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[01:00:50] SCCACHE_BUCKET=rust-lang-ci-sccache2
[01:00:50] PWD=/checkout/obj
[01:00:50] CI_JOB_NAME=dist-various-1
[01:00:50] TARGET_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/thumbv6m-none-eabi/lib
[01:00:50] LD_LIB_PATH_ENVVAR=LD_LIBRARY_PATH
[01:00:50] PYTHON=/usr/bin/python2.7
[01:00:50] HOME=/home/user
[01:00:50] LD_LIBRARY_PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[01:00:50] HOSTNAME=347e4ffc51b4
[01:00:50] CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc
[01:00:50] SHLVL=2
[01:00:50] CC= 
[01:00:50] BUILD_DIR=/checkout/obj/build
[01:00:50] BUILD_DIR=/checkout/obj/build
[01:00:50] RUST_TEST_TMPDIR=/checkout/obj/build/tmp
[01:00:50] LLVM_CXXFLAGS=
[01:00:50] RUSTFLAGS=--cap-lints=allow
[01:00:50] STAGING_DIR=/tmp
[01:00:50] TMPDIR=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m
[01:00:50] 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
[01:00:50] 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
[01:00:50] MAKEFLAGS=
[01:00:50] MFLAGS=
[01:00:50] BOOTSTRAP_PARENT_ID=1058
[01:00:50] BOOTSTRAP_PARENT_ID=1058
[01:00:50] __COMPAT_LAYER=RunAsInvoker
[01:00:50] CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc
[01:00:50] BUILD=x86_64-unknown-linux-gnu
[01:00:50] CXX= 
[01:00:50] AWS_ACCESS_KEY_ID=[secure]
[01:00:50] CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
[01:00:50] CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
[01:00:50] CARGO_HOME=/cargo
[01:00:50] RUSTC_LINKER=arm-none-eabi-gcc
[01:00:50] SCCACHE_REGION=us-west-1
[01:00:50] CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc
[01:00:50] LLVM_COMPONENTS=
[01:00:50] TERM=xterm
[01:00:50] MAKELEVEL=1
[01:00:50] mkdir -p /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m
[01:00:50] cd /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-cortex-m/thumb-none-cortex-m && rm -rf cortex-m
[01:00:50] 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 
[01:00:50] Makefile:31: recipe for target 'all' failed
[01:00:50] 
[01:00:50] ------------------------------------------
[01:00:50] stderr:
[01:00:50] stderr:
[01:00:50] ------------------------------------------
[01:00:50] + PROJECT_NAME=cortex-m
[01:00:50] + URL=https://github.com/rust-embedded/cortex-m
[01:00:50] + SHA1=a448e9156e2cb1e556e5441fd65426952ef4b927
[01:00:50] + git clone https://github.com/rust-embedded/cortex-m cortex-m
[01:00:50] Cloning into 'cortex-m'...
[01:00:50] fatal: unable to access 'https://github.com/rust-embedded/cortex-m/': Could not resolve host: github.com
[01:00:50] + err_exit
[01:00:50] + echo ERROR:
[01:00:50] + exit 1
[01:00:50] make: *** [all] Error 1
[01:00:50] ------------------------------------------
[01:00:50] 
[01:00:50] thread '[run-make] run-make/thumb-none-cortex-m' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:00:50] note: Run with `RUST_BACKTRACE=1` for a backtrace.
---
[01:00:50] status: exit code: 2
[01:00:50] command: "make"
[01:00:50] stdout:
[01:00:50] ------------------------------------------
[01:00:50] bash script.sh
[01:00:50] AWS_ACCESS_KEY_ID=[secure]
[01:00:50] AWS_SECRET_ACCESS_KEY=[secure]
[01:00:50] BOOTSTRAP_PARENT_ID=1058
[01:00:50] BOOTSTRAP_PYTHON=/usr/bin/python2.7
[01:00:50] BUILD_DIR=/checkout/obj/build
[01:00:50] CARGO=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo
[01:00:50] CARGO_HOME=/cargo
[01:00:50] CC_armebv7r_none_eabi=arm-none-eabi-gcc
[01:00:50] CC_armebv7r_none_eabi=arm-none-eabi-gcc
[01:00:50] CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc
[01:00:50] CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc
[01:00:50] CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc
[01:00:50] CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc
[01:00:50] CI_JOB_NAME=dist-various-1
[01:00:50] DEPLOY=1
[01:00:50] HERE=/checkout/src/test/run-make/thumb-none-qemu
[01:00:50] HOME=/home/user
[01:00:50] HOSTNAME=347e4ffc51b4
[01:00:50] HOST_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[01:00:50] LD_LIBRARY_PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib
[01:00:50] LD_LIB_PATH_ENVVAR=LD_LIBRARY_PATH
[01:00:50] LLVM_COMPONENTS=
[01:00:50] LLVM_CXXFLAGS=
[01:00:50] MAKEFLAGS=
[01:00:50] MAKELEVEL=1
[01:00:50] MFLAGS=
[01:00:50] PWD=/checkout/src/test/run-make/thumb-none-qemu
[01:00:50] PYTHON=/usr/bin/python2.7
[01:00:50] PYTHON=/usr/bin/python2.7
[01:00:50] RUN_MAKE_TARGETS=thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf
[01:00:50] RUSTC=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc
[01:00:50] 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
[01:00:50] RUST_RELEASE_CHANNEL=nightly
[01:00:50] S=/checkout
[01:00:50] SCCACHE_BUCKET=rust-lang-ci-sccache2
[01:00:50] SCCACHE_REGION=us-west-1
[01:00:50] 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
[01:00:50] SHLVL=3
[01:00:50] SRC=/checkout
[01:00:50] STAGING_DIR=/tmp
[01:00:50] TARGET=thumbv6m-none-eabi
[01:00:50] 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
[01:00:50] TARGET_RPATH_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/thumbv6m-none-eabi/lib
[01:00:50] TERM=xterm
[01:00:50] TMPDIR=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[01:00:50] TRAVIS=true
[01:00:50] TRAVIS_BRANCH=auto
[01:00:50] TRAVIS_BRANCH=auto
[01:00:50] WORK_DIR=/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[01:00:50] _=/usr/bin/env
[01:00:50] __COMPAT_LAYER=RunAsInvoker
[01:00:50] /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
[01:00:50] /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
[01:00:50] Makefile:27: recipe for target 'all' failed
[01:00:50] ------------------------------------------
[01:00:50] stderr:
[01:00:50] ------------------------------------------
[01:00:50] ------------------------------------------
[01:00:50] + CRATE=example
[01:00:50] + env
[01:00:50] + sort
[01:00:50] + mkdir -p /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[01:00:50] + pushd /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/thumb-none-qemu/thumb-none-qemu
[01:00:50] + rm -rf example
[01:00:50] + cp -a /checkout/src/test/run-make/thumb-none-qemu/example .
[01:00:50] + pushd example
[01:00:50] + 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
[01:00:50] + grep 'x = 42'
[01:00:50] warning: spurious network error (2 tries remaining): curl error: Could not resolve host: github.com
[01:00:50] ; class=Net (12)
[01:00:50] warning: spurious network error (1 tries remaining): curl error: Could not resolve host: github.com
[01:00:50] ; class=Net (12)
[01:00:50] ; class=Net (12)
[01:00:50] error: failed to load source for a dependency on `cortex-m`
[01:00:50] Caused by:
[01:00:50]   Unable to update registry `https://github.com/rust-lang/crates.io-index`
[01:00:50] 
[01:00:50] Caused by:
[01:00:50] Caused by:
[01:00:50]   failed to fetch `https://github.com/rust-lang/crates.io-index`
[01:00:50] 
[01:00:50] Caused by:
[01:00:50]   curl error: Could not resolve host: github.com
[01:00:50] ; class=Net (12)
[01:00:50] make: *** [all] Error 1
[01:00:50] ------------------------------------------
[01:00:50] 
[01:00:50] thread '[run-make] run-make/thumb-none-qemu' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3282:9
[01:00:50] 
---
[01:00:50] test result: FAILED. 9 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
[01:00:50] 
[01:00:50] 
[01:00:50] 
[01:00:50] 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"
[01:00:50] 
[01:00:50] 
[01:00:50] 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
[01:00:50] Build completed unsuccessfully in 0:57:13
---
travis_time:end:0d7f9c16:start=1543906750431970423,finish=1543906750440376207,duration=8405784
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:1063adb6
$ 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:05265c1d
travis_time:start:05265c1d
$ 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:14fc7818
$ 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 the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 4, 2018
@ehuss
Copy link
Contributor Author

ehuss commented Dec 4, 2018

Could not resolve host: github.com 😭

@kennytm
Copy link
Member

kennytm commented Dec 4, 2018

@bors retry travis-ci/travis-ci#9696

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

bors commented Dec 4, 2018

⌛ Testing commit 46c88b9 with merge 58e9832...

bors added a commit that referenced this pull request Dec 4, 2018
Update cargo, rls

26 commits in b3d0b2e545b61d4cd08096911724b7d49d213f73..5e85ba14aaa20f8133863373404cb0af69eeef2c
2018-11-15 19:13:04 +0000 to 2018-12-02 14:37:25 +0000
- ConflictStoreTrie: Faster filtered search (rust-lang/cargo#6366)
- Remove `cmake` as a requirement (rust-lang/cargo#6368)
- progress: display "Downloading 1 crate" instead of "Downloading 1 crates" (rust-lang/cargo#6369)
- Use expect over unwrap, for panic-in-panic aborts (rust-lang/cargo#6364)
- Switch to pretty_env_logger, under --features pretty-env-logger (rust-lang/cargo#6362)
- use allow-dirty option in `cargo package` to skip vcs checks (rust-lang/cargo#6280)
- remove clones made redundant by Intern PackageId (rust-lang/cargo#6352)
- docs: correct profile usage of `cargo test --release` (rust-lang/cargo#6345)
- Improve doc for `cargo install` (rust-lang/cargo#6354)
- Intern PackageId (rust-lang/cargo#6332)
- Clean only release artifacts if --release option is set (rust-lang/cargo#6349)
- remove clones made redundant by Intern SourceId (rust-lang/cargo#6347)
- Intern SourceId (rust-lang/cargo#6342)
- Tweak Layout to allow for non json file targets with internal "." (rust-lang/cargo#6255)
- Correct Target Directory command-line option (rust-lang/cargo#6343)
- Persistent data structures by im-rs (rust-lang/cargo#6336)
- Move command prelude into main library (rust-lang/cargo#6335)
- Distinguish custom build invocations (rust-lang/cargo#6331)
- Allow crate_type=bin examples to run (rust-lang/cargo#6330)
- Make verify-project honour unstable features (rust-lang/cargo#6326)
- Make autodiscovery disable inferred targets (rust-lang/cargo#6329)
- Add `c` alias for `check` (rust-lang/cargo#6218)
- Allow user aliases to override built-in aliases (rust-lang/cargo#6259)
- Fix renaming directory project using build scripts with cross-compiling. (rust-lang/cargo#6328)
- Fix add_plugin_deps-related tests. (rust-lang/cargo#6327)
- Add a glossary. (rust-lang/cargo#6321)
@bors
Copy link
Contributor

bors commented Dec 4, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 58e9832 to master...

@bors bors merged commit 46c88b9 into rust-lang:master Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants