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_borrowck => 2018 #58260

Merged
merged 1 commit into from
Feb 9, 2019
Merged

Conversation

taiki-e
Copy link
Member

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

Transitions librustc_borrowck 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 7, 2019
@taiki-e taiki-e changed the title librustc_borrowck => 2018 [WIP] librustc_borrowck => 2018 Feb 7, 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:018c9fd2:start=1549559987460830844,finish=1549560088498424737,duration=101037593893
$ 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:28:51]    Compiling rustc_borrowck v0.0.0 (/checkout/src/librustc_borrowck)
[00:28:52] error[E0432]: unresolved import `rustc_errors`
[00:28:52]   --> src/librustc_borrowck/lib.rs:18:5
[00:28:52]    |
[00:28:52] 18 | use rustc_errors as errors;
[00:28:52]    |     ^^^^^^^^^^^^^^^^^^^^^^ no `rustc_errors` external crate
[00:28:52] error: unused import: `rustc_errors as errors`
[00:28:52]   --> src/librustc_borrowck/lib.rs:18:5
[00:28:52]    |
[00:28:52] 18 | use rustc_errors as errors;
---
[00:29:59] 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:29:59] expected success, got: exit code: 101
[00:29:59] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:29:59] Build completed unsuccessfully in 0:17:28
[00:29:59] make: *** [all] Error 1
[00:29:59] Makefile:18: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:12cd884c
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Feb  7 17:51:38 UTC 2019
---
travis_time:end:00cac845:start=1549561899707143911,finish=1549561899712315882,duration=5171971
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:17b6f3d7
$ 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:1188e2b1
travis_time:start:1188e2b1
$ 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:00de2ed4
$ 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)

@taiki-e taiki-e changed the title [WIP] librustc_borrowck => 2018 librustc_borrowck => 2018 Feb 7, 2019
@taiki-e taiki-e changed the title librustc_borrowck => 2018 [WIP] librustc_borrowck => 2018 Feb 8, 2019
@taiki-e taiki-e changed the title [WIP] librustc_borrowck => 2018 librustc_borrowck => 2018 Feb 8, 2019
@Centril
Copy link
Contributor

Centril commented Feb 8, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Feb 8, 2019

📌 Commit a2c4a36 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 8, 2019
@@ -3,23 +3,14 @@
html_root_url = "https://doc.rust-lang.org/nightly/")]

#![allow(non_camel_case_types)]
#![deny(rust_2018_idioms)]

#![feature(nll)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about removing this? 😃

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do it in a follow up PR. :)

Centril added a commit to Centril/rust that referenced this pull request Feb 8, 2019
…entril

librustc_borrowck => 2018

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

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

Successful merges:

 - #58091 (Transition compiletest to Rust 2018)
 - #58115 (Transition rustdoc to 2018 edition)
 - #58120 (Transition build_helper to 2018 edition)
 - #58222 (librustc_allocator => 2018)
 - #58233 (librustc_save_analysis => 2018)
 - #58245 (librustc_lint => 2018)
 - #58247 (librustc_passes => 2018)
 - #58251 (Transition librustc_traits to 2018 edition)
 - #58255 (librustc_metadata => 2018)
 - #58256 (librustc_cratesio_shim => 2018)
 - #58257 (librustc_target => 2018)
 - #58259 (librustc_codegen_utils => 2018)
 - #58260 (librustc_borrowck => 2018)
 - #58261 (librustc_incremental => 2018)
 - #58265 (librustc_mir => 2018)
 - #58275 (libcore, liballoc: disable tests in Miri)
 - #58285 (error_index_generator => 2018)
 - #58312 (librustc_data_structures => 2018)

Failed merges:

r? @ghost
@bors bors merged commit a2c4a36 into rust-lang:master Feb 9, 2019
@taiki-e taiki-e deleted the librustc_borrowck-2018 branch February 9, 2019 03:58
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.

5 participants