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

librustc_errors => 2018 #58240

Merged
merged 1 commit into from
Feb 7, 2019
Merged

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Feb 6, 2019

Transitions librustc_errors to Rust 2018; cc #58099

r? @Centril

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 6, 2019
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 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.
travis_time:end:0fd86466:start=1549478417503146351,finish=1549478418539391927,duration=1036245576
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
[00:06:05]    Compiling rustc_errors v0.0.0 (/checkout/src/librustc_errors)
[00:06:06] error: unused extern crate
[00:06:06]   --> src/librustc_errors/lib.rs:13:1
[00:06:06]    |
[00:06:06] 12 | / #[cfg(unix)]
[00:06:06] 13 | | extern crate libc;
[00:06:06]    | | ^^^^^^^^^^^^^^^^^-
[00:06:06]    | |__________________|
[00:06:06]    |
[00:06:06] note: lint level defined here
[00:06:06]   --> src/librustc_errors/lib.rs:10:9
[00:06:06]    |
[00:06:06]    |
[00:06:06] 10 | #![deny(rust_2018_idioms)]
[00:06:06]    |         ^^^^^^^^^^^^^^^^
[00:06:06]    = note: #[deny(unused_extern_crates)] implied by #[deny(rust_2018_idioms)]
[00:06:06] error: aborting due to previous error
[00:06:06] 
[00:06:06] error: Could not compile `rustc_errors`.
[00:06:06] warning: build failed, waiting for other jobs to finish...
[00:06:06] warning: build failed, waiting for other jobs to finish...
[00:06:13] error: build failed
[00:06:13] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--message-format" "json"
[00:06:13] expected success, got: exit code: 101
[00:06:13] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:06:13] Build completed unsuccessfully in 0:02:13
[00:06:13] Makefile:18: recipe for target 'all' failed
[00:06:13] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0c235912
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Wed Feb  6 18:46:43 UTC 2019
---
travis_time:end:2c7367ab:start=1549478804023765604,finish=1549478804028794965,duration=5029361
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:31b26d78
$ 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:1e4445e0
travis_time:start:1e4445e0
$ 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/as

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)

@Centril
Copy link
Contributor

Centril commented Feb 6, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Feb 6, 2019

📌 Commit 950fe66 has been approved by Centril

@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 Feb 6, 2019
kennytm added a commit to kennytm/rust that referenced this pull request Feb 7, 2019
…tril

librustc_errors => 2018

Transitions `librustc_errors` to Rust 2018; cc rust-lang#58099

r? @Centril
bors added a commit that referenced this pull request Feb 7, 2019
Rollup of 23 pull requests

Successful merges:

 - #58118 (Transition libtest to 2018 edition)
 - #58119 (libproc_macro => 2018)
 - #58123 (Avoid some bounds checks in binary_heap::{PeekMut,Hole})
 - #58124 (libsyntax_pos => 2018)
 - #58133 (libsyntax_ext => 2018)
 - #58136 (Improve error message and docs for non-UTF-8 bytes in stdio on Windows)
 - #58156 (update submodule: rust-installer from 27dec6c to ccdc47b)
 - #58192 (Do not ICE in codegen when using a extern_type static)
 - #58193 (Move librustc to 2018)
 - #58210 (Make an assert debug-only in `find_constraint_paths_between_regions`.)
 - #58217 (librustc_tsan => 2018)
 - #58218 (librustc_msan => 2018)
 - #58219 (librustc_asan => 2018)
 - #58220 (libprofiler_builtins => 2018)
 - #58223 (librustc_lsan => 2018)
 - #58225 (librustc_fs_util => 2018)
 - #58228 (librustc_plugin => 2018)
 - #58236 (librustc_resolve => 2018)
 - #58237 (Fix broken grammar in iter::from_fn() docs)
 - #58239 (librustc_apfloat => 2018)
 - #58240 (librustc_errors => 2018)
 - #58241 (librustc_llvm => 2018)
 - #58242 (Document the one TyKind that isn't documented)

Failed merges:

 - #58185 (Remove images' url to make it work even without internet connection)

r? @ghost
@bors bors merged commit 950fe66 into rust-lang:master Feb 7, 2019
@taiki-e taiki-e deleted the librustc_errors-2018 branch February 7, 2019 09:50
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.

4 participants