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_driver => 2018 #58253

Open
wants to merge 6 commits into
base: master
from

Conversation

Projects
None yet
5 participants
@taiki-e
Copy link
Contributor

taiki-e commented Feb 7, 2019

Transitions librustc_driver to Rust 2018; cc #58099

r? @Centril

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 7, 2019

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:122eb600:start=1549517015290855336,finish=1549517016168785320,duration=877929984
$ 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:21:50]    Compiling rustc_codegen_ssa v0.0.0 (/checkout/src/librustc_codegen_ssa)
[00:22:55] error[E0432]: unresolved import `getopts`
[00:22:55]   --> src/librustc_driver/lib.rs:26:9
[00:22:55]    |
[00:22:55] 26 | pub use getopts;
[00:22:55]    |         ^^^^^^^ no `getopts` external crate
[00:22:55] 
[00:22:55] error: cannot find macro `log_enabled!` in this scope
[00:22:55]     |
[00:22:55]     |
[00:22:55] 307 |                 if log_enabled!(log::Level::Info) {
[00:22:55] 
[00:22:55] 
[00:22:55] error: cannot find macro `log_enabled!` in this scope
[00:22:55]     |
[00:22:55]     |
[00:22:55] 314 |                 if log_enabled!(log::Level::Info) {
[00:22:55] 
[00:22:55] 
[00:22:55] error[E0433]: failed to resolve: could not find `getopts` in `{{root}}`
[00:22:55]     |
[00:22:55] 438 |         matches: &::getopts::Matches,
[00:22:55] 438 |         matches: &::getopts::Matches,
[00:22:55]     |                     ^^^^^^^ could not find `getopts` in `{{root}}`
[00:22:55] 
[00:22:55] error[E0433]: failed to resolve: could not find `errors` in `{{root}}`
[00:22:55]     |
[00:22:55]     |
[00:22:55] 441 |         descriptions: &::errors::registry::Registry,
[00:22:55]     |                          ^^^^^^ could not find `errors` in `{{root}}`
[00:22:55] 
[00:22:55] error[E0433]: failed to resolve: could not find `getopts` in `{{root}}`
[00:22:55]     |
[00:22:55] 454 |         matches: &::getopts::Matches,
[00:22:55] 454 |         matches: &::getopts::Matches,
[00:22:55]     |                     ^^^^^^^ could not find `getopts` in `{{root}}`
[00:22:55] 
[00:22:55] error[E0433]: failed to resolve: could not find `errors` in `{{root}}`
[00:22:55]     |
[00:22:55]     |
[00:22:55] 459 |         descriptions: &::errors::registry::Registry,
[00:22:55]     |                          ^^^^^^ could not find `errors` in `{{root}}`
[00:22:55] 
[00:22:55] error[E0433]: failed to resolve: could not find `getopts` in `{{root}}`
[00:22:55]     |
[00:22:55] 473 |         matches: &::getopts::Matches,
[00:22:55] 473 |         matches: &::getopts::Matches,
[00:22:55]     |                     ^^^^^^^ could not find `getopts` in `{{root}}`
[00:22:55] 
[00:22:55] error[E0433]: failed to resolve: could not find `getopts` in `{{root}}`
[00:22:55]     |
[00:22:55]     |
[00:22:55] 486 |         _: &::getopts::Matches
[00:22:55]     |               ^^^^^^^ could not find `getopts` in `{{root}}`
[00:22:55] 
[00:22:55] error: cannot find macro `warn!` in this scope
[00:22:55]     |
[00:22:55] 815 |                 warn!(
[00:22:55]     |                 ^^^^
[00:22:55] 
[00:22:55] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/driver.rs:122:15
[00:22:56]     |
[00:22:56] 122 |     control: &CompileController,
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/driver.rs:400:34
[00:22:56]     |
[00:22:56]     |
[00:22:56] 400 |     pub provide: Box<dyn Fn(&mut ty::query::Providers) + 'a + sync::Send>,
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/driver.rs:403:41
[00:22:56]     |
[00:22:56]     |
[00:22:56] 403 |     pub provide_extern: Box<dyn Fn(&mut ty::query::Providers) + 'a + sync::Send>,
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/driver.rs:646:15
[00:22:56]     |
[00:22:56]     |
[00:22:56] 646 |     control: &CompileController,
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/driver.rs:726:22
[00:22:56]     |
---
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]     --> src/librustc_driver/driver.rs:1143:40
[00:22:56]      |
[00:22:56] 1143 | pub fn default_provide(providers: &mut ty::query::Providers) {
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]     --> src/librustc_driver/driver.rs:1167:47
[00:22:56]      |
[00:22:56]      |
[00:22:56] 1167 | pub fn default_provide_extern(providers: &mut ty::query::Providers) {
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]     --> src/librustc_driver/driver.rs:1176:15
[00:22:56]      |
[00:22:56]      |
[00:22:56] 1176 |     control: &CompileController,
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/pretty.rs:603:70
[00:22:56]     |
[00:22:56]     |
[00:22:56] 603 |     fn to_one_node_id(self, user_option: &str, sess: &Session, map: &hir_map::Map) -> ast::NodeId {
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]    --> src/librustc_driver/lib.rs:912:43
[00:22:56]     |
[00:22:56]     |
[00:22:56] 912 | pub fn enable_save_analysis(control: &mut CompileController) {
[00:22:56] 
[00:22:56] error: hidden lifetime parameters in types are deprecated
[00:22:56]     --> src/librustc_driver/lib.rs:1520:27
[00:22:56]      |
---
[00:22:56] 
[00:22:56] error[E0277]: the size for values of type `str` cannot be known at compilation time
[00:22:56]    --> src/librustc_driver/lib.rs:561:54
[00:22:56]     |
[00:22:56] 561 |         matches.opt_default("pretty", "normal").map(|a| {
[00:22:56]     |                                                      ^ doesn't have a size known at compile-time
[00:22:56]     = help: the trait `std::marker::Sized` is not implemented for `str`
[00:22:56]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[00:22:56]     = note: all local variables must have a statically known size
[00:22:56]     = help: unsized locals are gated as an unstable feature
[00:22:56]     = help: unsized locals are gated as an unstable feature
[00:22:56] 
[00:22:56] error[E0277]: the size for values of type `str` cannot be known at compilation time
[00:22:56]    --> src/librustc_driver/lib.rs:772:16
[00:22:56]     |
[00:22:56] 772 |         if let Some(ref code) = matches.opt_str("explain") {
[00:22:56]     |
[00:22:56]     = help: the trait `std::marker::Sized` is not implemented for `str`
[00:22:56]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[00:22:56]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[00:22:56]     = note: required by `std::prelude::v1::Some`
[00:22:56] error: aborting due to 25 previous errors
[00:22:56] 
[00:22:56] Some errors occurred: E0277, E0432, E0433.
[00:22:56] For more information about an error, try `rustc --explain E0277`.
[00:22:56] For more information about an error, try `rustc --explain E0277`.
[00:22:56] error: Could not compile `rustc_driver`.
[00:22:56] warning: build failed, waiting for other jobs to finish...
[00:23:13] error: build failed
[00:23: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:23:13] expected success, got: exit code: 101
[00:23:13] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:23:13] Build completed unsuccessfully in 0:18:51
[00:23:14] Makefile:18: recipe for target 'all' failed
[00:23:14] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0f4b2718
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Feb  7 05:47:01 UTC 2019

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 force-pushed the taiki-e:librustc_driver-2018 branch from 5d65c19 to a982ce1 Feb 7, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 7, 2019

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:20520578:start=1549521777318023954,finish=1549521778209728281,duration=891704327
$ 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:48:27]    Compiling parking_lot_core v0.3.0
[00:48:29]    Compiling parking_lot v0.6.4
[00:48:32]    Compiling tempfile v3.0.5
[00:48:33]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:48:33] thread 'rustc' panicked at 'src/librustc/hir/def.rs:258: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:48:33] 
[00:48:33] error: internal compiler error: unexpected panic
[00:48:33] 
[00:48:33] note: the compiler unexpectedly panicked. this is a bug.
---
[00:48:33] 
[00:48:33] 
[00:48:33] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:48:33] Build completed unsuccessfully in 0:44:32
[00:48:33] Makefile:18: recipe for target 'all' failed
[00:48:33] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:11cca9ec
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Feb  7 07:31:42 UTC 2019
---
travis_time:end:16db2c9e:start=1549524702951178843,finish=1549524702955956990,duration=4778147
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:060b1c54
$ 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

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

This comment has been minimized.

Copy link
Contributor

bors commented Feb 7, 2019

☔️ The latest upstream changes (presumably #58010) made this pull request unmergeable. Please resolve the merge conflicts.

@taiki-e taiki-e force-pushed the taiki-e:librustc_driver-2018 branch 2 times, most recently from 548360e to 4fc9847 Feb 7, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 7, 2019

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:0c913244:start=1549556944749216322,finish=1549556946670548214,duration=1921331892
$ 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:52:42]    Compiling rand v0.6.1
[00:52:44]    Compiling parking_lot v0.6.4
[00:52:47]    Compiling tempfile v3.0.5
[00:52:48]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:52:49] thread 'rustc' panicked at 'src/librustc/hir/def.rs:258: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:52:49] 
[00:52:49] error: internal compiler error: unexpected panic
[00:52:49] 
[00:52:49] note: the compiler unexpectedly panicked. this is a bug.
---
[00:52:49] 
[00:52:49] 
[00:52:49] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:52:49] Build completed unsuccessfully in 0:46:04
[00:52:49] make: *** [all] Error 1
[00:52:49] Makefile:18: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:00b7f73e
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Feb  7 17:22:05 UTC 2019

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 force-pushed the taiki-e:librustc_driver-2018 branch from 4fc9847 to 0c49328 Feb 8, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 8, 2019

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:10cb7cd6:start=1549608657266969159,finish=1549608659827542038,duration=2560572879
$ 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:49:01]    Compiling parking_lot_core v0.3.0
[00:49:03]    Compiling parking_lot v0.6.4
[00:49:05]    Compiling tempfile v3.0.5
[00:49:06]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:49:07] thread 'rustc' panicked at 'src/librustc/hir/def.rs:258: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:49:07] 
[00:49:07] error: internal compiler error: unexpected panic
[00:49:07] 
[00:49:07] note: the compiler unexpectedly panicked. this is a bug.
---
[00:49:07] 
[00:49:07] 
[00:49:07] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:49:07] Build completed unsuccessfully in 0:45:29
[00:49:07] make: *** [all] Error 1
[00:49:07] Makefile:18: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:2628da04
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Fri Feb  8 07:40:18 UTC 2019
---
travis_time:end:0aac7b12:start=1549611618926361534,finish=1549611618931496911,duration=5135377
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:05696628
$ 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:0c4a9960
travis_time:start:0c4a9960
$ 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:22326eee
$ 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 force-pushed the taiki-e:librustc_driver-2018 branch from 0c49328 to 4708f78 Feb 8, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 8, 2019

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:39f41712:start=1549621877039919094,finish=1549621879152919891,duration=2113000797
$ 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

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 referenced this pull request Feb 8, 2019

Open

libstd => 2018 #58208

@Centril

Centril approved these changes Feb 8, 2019

Copy link
Contributor

Centril left a comment

LGTM modulo ICE

@taiki-e taiki-e force-pushed the taiki-e:librustc_driver-2018 branch from 4708f78 to 2ea02a8 Feb 9, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 9, 2019

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:12a58d2c:start=1549719733334205875,finish=1549719890558858916,duration=157224653041
$ 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:47:24]    Compiling parking_lot_core v0.3.0
[00:47:25]    Compiling parking_lot v0.6.4
[00:47:28]    Compiling tempfile v3.0.5
[00:47:29]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:47:29] thread 'rustc' panicked at 'src/librustc/hir/def.rs:259: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:47:29] 
[00:47:29] error: internal compiler error: unexpected panic
[00:47:29] 
[00:47:29] note: the compiler unexpectedly panicked. this is a bug.
---
[00:47:29] 
[00:47:29] To learn more, run the command again with --verbose.
[00:47:29] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:47:29] Build completed unsuccessfully in 0:43:57
[00:47:29] Makefile:18: recipe for target 'all' failed
[00:47:29] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0657ae76
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Sat Feb  9 14:32:28 UTC 2019
---
travis_time:end:1222715c:start=1549722749831874971,finish=1549722749836800641,duration=4925670
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:265d8c68
$ 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:04946d99
travis_time:start:04946d99
$ 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:081d943a
$ 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 force-pushed the taiki-e:librustc_driver-2018 branch from 2ea02a8 to 8a58ccc Feb 10, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 10, 2019

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:14906344:start=1549778784349191054,finish=1549778882372121993,duration=98022930939
$ 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:45:44]    Compiling parking_lot_core v0.3.0
[00:45:46]    Compiling parking_lot v0.6.4
[00:45:48]    Compiling tempfile v3.0.5
[00:45:49]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:45:50] thread 'rustc' panicked at 'src/librustc/hir/def.rs:259: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:45:50] 
[00:45:50] error: internal compiler error: unexpected panic
[00:45:50] 
[00:45:50] note: the compiler unexpectedly panicked. this is a bug.
---
[00:45:50] 
[00:45:50] 
[00:45:50] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:45:50] Build completed unsuccessfully in 0:42:29
[00:45:50] make: *** [all] Error 1
[00:45:50] Makefile:18: recipe for target 'all' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:30332ec7
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Sun Feb 10 06:54:01 UTC 2019
---
travis_time:end:086402dc:start=1549781642686087394,finish=1549781642690366879,duration=4279485
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:06e03622
$ 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:0039fa8a

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 force-pushed the taiki-e:librustc_driver-2018 branch from 8a58ccc to 00b3271 Feb 10, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 10, 2019

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:03e45298:start=1549783888015055635,finish=1549783962813985529,duration=74798929894
$ 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:48:01]    Compiling parking_lot_core v0.3.0
[00:48:02]    Compiling parking_lot v0.6.4
[00:48:04]    Compiling tempfile v3.0.5
[00:48:05]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:48:06] thread 'rustc' panicked at 'src/librustc/hir/def.rs:259: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:48:06] 
[00:48:06] error: internal compiler error: unexpected panic
[00:48:06] 
[00:48:06] note: the compiler unexpectedly panicked. this is a bug.
---
[00:48:06] 
[00:48:06] 
[00:48:06] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:48:06] Build completed unsuccessfully in 0:44:36
[00:48:06] Makefile:18: recipe for target 'all' failed
[00:48:06] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1a280068
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Sun Feb 10 08:20:57 UTC 2019

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 Centril referenced this pull request Feb 11, 2019

Open

Tracking issue for Transitioning crates to Rust 2018 #58099

73 of 77 tasks complete

@taiki-e taiki-e force-pushed the taiki-e:librustc_driver-2018 branch from 00b3271 to 9ea53dd Feb 12, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 12, 2019

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:00cba17a:start=1549980389985089744,finish=1549980392154684231,duration=2169594487
$ 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:52:00]    Compiling parking_lot_core v0.3.0
[00:52:02]    Compiling parking_lot v0.6.4
[00:52:04]    Compiling tempfile v3.0.5
[00:52:05]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:52:06] thread 'rustc' panicked at 'src/librustc/hir/def.rs:259: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:52:06] 
[00:52:06] error: internal compiler error: unexpected panic
[00:52:06] 
[00:52:06] note: the compiler unexpectedly panicked. this is a bug.
---
[00:52:06] 
[00:52:06] 
[00:52:06] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:52:06] Build completed unsuccessfully in 0:43:46
[00:52:06] make: *** [all] Error 1
[00:52:06] Makefile:18: recipe for target 'all' failed
100764 ./obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib
97552 ./src/llvm-project/clang/test
92556 ./.git
89964 ./src/llvm-emscripten/test/CodeGen

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 librustc_driver => 2018 [WIP] librustc_driver => 2018 Feb 12, 2019

@taiki-e taiki-e force-pushed the taiki-e:librustc_driver-2018 branch 2 times, most recently from ab141d6 to 7720ffd Feb 12, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 12, 2019

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:0003db62:start=1549993960174776129,finish=1549993962295775663,duration=2120999534
$ 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:47:11]    Compiling parking_lot_core v0.3.0
[00:47:12]    Compiling parking_lot v0.6.4
[00:47:15]    Compiling tempfile v3.0.5
[00:47:16]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:47:16] thread 'rustc' panicked at 'src/librustc/hir/def.rs:259: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:47:16] 
[00:47:16] error: internal compiler error: unexpected panic
[00:47:16] 
[00:47:16] note: the compiler unexpectedly panicked. this is a bug.
---
[00:47:16] 
[00:47:16] 
[00:47:16] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:47:16] Build completed unsuccessfully in 0:41:23
[00:47:16] Makefile:18: recipe for target 'all' failed
[00:47:16] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0af40cd6
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Tue Feb 12 18:40:12 UTC 2019
---
travis_time:end:069a2840:start=1549996812972288607,finish=1549996812976876863,duration=4588256
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:00cbeacc
$ 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:30a6847d
travis_time:start:30a6847d
$ 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:2761953a
$ 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 force-pushed the taiki-e:librustc_driver-2018 branch from 7720ffd to 27c4bd8 Feb 13, 2019

@taiki-e taiki-e changed the title [WIP] librustc_driver => 2018 librustc_driver => 2018 Feb 13, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 14, 2019

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:0465d02c:start=1550117983081397819,finish=1550117985735539958,duration=2654142139
$ 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:51:08]    Compiling parking_lot_core v0.3.0
[00:51:09]    Compiling parking_lot v0.6.4
[00:51:12]    Compiling tempfile v3.0.5
[00:51:13]    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:51:14] thread 'rustc' panicked at 'src/librustc/hir/def.rs:259: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:51:14] 
[00:51:14] error: internal compiler error: unexpected panic
[00:51:14] 
[00:51:14] note: the compiler unexpectedly panicked. this is a bug.
---
[00:51:14] 
[00:51:14] 
[00:51:14] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:51:14] Build completed unsuccessfully in 0:45:52
[00:51:14] Makefile:18: recipe for target 'all' failed
[00:51:14] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1bb5f250
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Thu Feb 14 05:11:10 UTC 2019

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

This comment has been minimized.

Copy link
Contributor

Centril commented Feb 14, 2019

So... I was hoping that f9e9c91 would have solved the ICE here but apparently not... Could you try this locally with RUST_BACKTRACE=1 ./x.py test ?

@taiki-e

This comment has been minimized.

Copy link
Contributor Author

taiki-e commented Feb 14, 2019

@Centril

This comment has been minimized.

Copy link
Contributor

Centril commented Feb 14, 2019

Seems like the problem occurs here:

 15: rustc_resolve::build_reduced_graph::<impl rustc_resolve::Resolver<'a>>::populate_module_if_necessary

r? @petrochenkov

@petrochenkov

This comment has been minimized.

Copy link
Contributor

petrochenkov commented Feb 14, 2019

Minimized reproduction would be appreciated.

if self.cstore.associated_item_cloned_untracked(def_id)
.method_has_self_argument {
self.has_self.insert(def_id);
}

This comment has been minimized.

@petrochenkov

petrochenkov Feb 15, 2019

Contributor

I'm pretty sure this shouldn't be necessary for fixing the ICE.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 15, 2019

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:222e1f89:start=1550224965600297573,finish=1550225043870897537,duration=78270599964
$ 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

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)

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 15, 2019

The job mingw-check 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:0c447111:start=1550231206042090522,finish=1550231289105997331,duration=83063906809
$ 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=mingw-check
---
[00:06:45]     Checking parking_lot_core v0.3.0
[00:06:45]     Checking parking_lot v0.6.4
[00:06:46]     Checking tempfile v3.0.5
[00:06:46]     Checking rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:06:46] thread 'rustc' panicked at 'src/librustc/hir/def.rs:257: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:06:46] 
[00:06:46] error: internal compiler error: unexpected panic
[00:06:46] 
[00:06:46] note: the compiler unexpectedly panicked. this is a bug.
---
[00:06:46] 
[00:06:46] error: Could not compile `rustdoc`.
[00:06:46] 
[00:06:46] To learn more, run the command again with --verbose.
[00:06:46] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "check" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--color" "always" "--manifest-path" "/checkout/src/tools/rustdoc/Cargo.toml" "--message-format" "json"
[00:06:46] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap check
[00:06:46] Build completed unsuccessfully in 0:04:41
travis_time:end:13384d5b:start=1550231297835628286,finish=1550231705212853657,duration=407377225371
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
---
travis_time:end:08902ce7:start=1550231705973262039,finish=1550231705978181817,duration=4919778
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0b9da340
$ 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:0995870d
travis_time:start:0995870d
$ 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:0ece8930
$ 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)

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 15, 2019

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:04da8834:start=1550239029457929779,finish=1550239101201201061,duration=71743271282
$ 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:18:18]    Compiling rustc_allocator v0.0.0 (/checkout/src/librustc_allocator)
[00:18:25]    Compiling rustc_lint v0.0.0 (/checkout/src/librustc_lint)
[00:18:25]    Compiling rustc_traits v0.0.0 (/checkout/src/librustc_traits)
[00:18:27]    Compiling rustc_resolve v0.0.0 (/checkout/src/librustc_resolve)
[00:18:29] error: internal compiler error: src/librustc/hir/def.rs:257: attempted .def_id() on invalid def: NonMacroAttr(Builtin)
[00:18:29] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:588:9
[00:18:29] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[00:18:29] error: aborting due to previous error
[00:18:29] 
[00:18:29] 
[00:18:29] 
[00:18:29] note: the compiler unexpectedly panicked. this is a bug.
[00:18:29] 
[00:18:29] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[00:18:29] 
[00:18:29] note: rustc 1.33.0-beta.1 (d1add9723 2019-01-17) running on x86_64-unknown-linux-gnu
[00:18:29] 
[00:18:29] note: compiler flags: -Z force-unstable-if-unmarked -C prefer-dynamic -C opt-level=2 -C prefer-dynamic -C debug-assertions=y -C link-args=-Wl,-rpath,$ORIGIN/../lib --crate-type dylib
[00:18:29] note: some of the compiler flags provided by cargo are hidden
[00:18:29] 
[00:18:29] error: Could not compile `rustc_resolve`.
[00:18:29] warning: build failed, waiting for other jobs to finish...
[00:18:29] warning: build failed, waiting for other jobs to finish...
[00:19:18] error: build failed
[00:19:18] 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:19:18] expected success, got: exit code: 101
[00:19:18] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:19:18] Build completed unsuccessfully in 0:14:40
[00:19:18] Makefile:18: recipe for target 'all' failed
[00:19:18] make: *** [all] Error 1
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0a977b3e
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Fri Feb 15 14:17:49 UTC 2019
---
travis_time:end:0b47266e:start=1550240269733801535,finish=1550240269738179873,duration=4378338
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:23c00786
$ 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:07dd3bd0
travis_time:start:07dd3bd0
$ 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:37aa30a9
$ 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 force-pushed the taiki-e:librustc_driver-2018 branch 4 times, most recently from 01daf63 to 6fa5bb0 Feb 15, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 16, 2019

The job mingw-check 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:083b0e13:start=1550308833977580611,finish=1550308836029960069,duration=2052379458
$ 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=mingw-check
---
[00:06:50]     Checking parking_lot_core v0.3.0
[00:06:51]     Checking parking_lot v0.6.4
[00:06:52]     Checking tempfile v3.0.5
[00:06:52]     Checking rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:06:52] thread 'rustc' panicked at 'src/librustc/hir/def.rs:257: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:06:52] 
[00:06:52] error: internal compiler error: unexpected panic
[00:06:52] 
[00:06:52] note: the compiler unexpectedly panicked. this is a bug.
---
[00:06:52] 
[00:06:52] error: Could not compile `rustdoc`.
[00:06:52] 
[00:06:52] To learn more, run the command again with --verbose.
[00:06:52] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "check" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--color" "always" "--manifest-path" "/checkout/src/tools/rustdoc/Cargo.toml" "--message-format" "json"
[00:06:52] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap check
[00:06:52] Build completed unsuccessfully in 0:04:36
travis_time:end:06b8928f:start=1550308847760608905,finish=1550309261174853862,duration=413414244957
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
---
travis_time:end:116e8ac0:start=1550309262188442379,finish=1550309262193985809,duration=5543430
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:0eddab68
$ 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:03fc2d20
travis_time:start:03fc2d20
$ 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:034c9464
$ 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

This comment has been minimized.

Copy link
Contributor Author

taiki-e commented Feb 16, 2019

@Centril @petrochenkov
x86_64-gnu-llvm-6.0 passed, but mingw-check failed...

Here is a full dump with backtrace of mingw-check: https://gist.github.com/taiki-e/52632a55a5f5152da66ce981ffa34ea3

It seems to occur in the same place.

  15: rustc_resolve::build_reduced_graph::<impl rustc_resolve::Resolver<'a>>::populate_module_if_necessary

@taiki-e taiki-e force-pushed the taiki-e:librustc_driver-2018 branch from 6fa5bb0 to 4ccba7e Feb 20, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Feb 20, 2019

The job mingw-check 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:0e49d224:start=1550661163364197283,finish=1550661166180620023,duration=2816422740
$ 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=mingw-check
---
[00:06:15]     Checking parking_lot_core v0.3.0
[00:06:15]     Checking parking_lot v0.6.4
[00:06:16]     Checking tempfile v3.0.5
[00:06:17]     Checking rustdoc v0.0.0 (/checkout/src/librustdoc)
[00:06:17] thread 'rustc' panicked at 'src/librustc/hir/def.rs:257: attempted .def_id() on invalid def: NonMacroAttr(Builtin)', src/librustc/util/bug.rs:37:26
[00:06:17] 
[00:06:17] error: internal compiler error: unexpected panic
[00:06:17] 
[00:06:17] note: the compiler unexpectedly panicked. this is a bug.
---
[00:06:17] 
[00:06:17] error: Could not compile `rustdoc`.
[00:06:17] 
[00:06:17] To learn more, run the command again with --verbose.
[00:06:17] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "check" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--color" "always" "--manifest-path" "/checkout/src/tools/rustdoc/Cargo.toml" "--message-format" "json"
[00:06:17] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap check
[00:06:17] Build completed unsuccessfully in 0:04:14
travis_time:end:01ad1f66:start=1550661176828410449,finish=1550661554759299113,duration=377930888664
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
---
travis_time:end:05628094:start=1550661555425178827,finish=1550661555429532373,duration=4353546
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:01436ad3
$ 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:0ecdaa72
travis_time:start:0ecdaa72
$ 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:35a91c00
$ 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment