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

Provide a span if main function is not present in crate #64290

Merged
merged 1 commit into from Sep 15, 2019

Conversation

@Mark-Simulacrum
Copy link
Member

commented Sep 8, 2019

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves #36561.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Sep 8, 2019

r? @estebank

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

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 2a5e2fe to b483725 Sep 8, 2019

@ehuss

This comment has been minimized.

Copy link
Contributor

commented Sep 8, 2019

the diagnostic machinery does not cope well with an empty span

I'm curious what issues there are with this, can you say more?

(For context, I wrote this note, and at the time I noticed there are a few other diagnostics that don't have spans. I've also written editor integration where it has to handle these kinds of things, so I'm a bit surprised it causes issues. Tools still need to handle diagnostics without filenames.)

FWIW, this seems like a good improvement. At the time I didn't know it was possible to generate a span like this.

@estebank

This comment has been minimized.

Copy link
Contributor

commented Sep 8, 2019

r=me once green

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Sep 8, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed (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.
2019-09-08T17:28:18.9948195Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-08T17:28:19.9776615Z ##[command]git config gc.auto 0
2019-09-08T17:28:19.9782990Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-08T17:28:19.9787413Z ##[command]git config --get-all http.proxy
2019-09-08T17:28:19.9791419Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-08T18:29:27.4303421Z .................................................................................................... 1500/9008
2019-09-08T18:29:33.6296543Z .................................................................................................... 1600/9008
2019-09-08T18:29:46.8057450Z ......................................................i...............i............................. 1700/9008
2019-09-08T18:29:54.9195143Z .................................................................................................... 1800/9008
2019-09-08T18:30:09.3275449Z .............................................iiiii.................................................. 1900/9008
2019-09-08T18:30:20.3638109Z .................................................................................................... 2100/9008
2019-09-08T18:30:22.8441710Z .................................................................................................... 2200/9008
2019-09-08T18:30:26.3520129Z .................................................................................................... 2300/9008
2019-09-08T18:30:34.6418396Z .................................................................................................... 2400/9008
---
2019-09-08T18:33:35.7754289Z ..................................i...............i................................................. 4700/9008
2019-09-08T18:33:47.5834212Z .................................................................................................... 4800/9008
2019-09-08T18:33:53.7616091Z .................................................................................................... 4900/9008
2019-09-08T18:34:04.3778187Z .................................................................................................... 5000/9008
2019-09-08T18:34:10.3616359Z ................ii.ii............................................................................... 5100/9008
2019-09-08T18:34:20.8849546Z .................................................................................................... 5300/9008
2019-09-08T18:34:30.9063846Z ...............................................................................i.................... 5400/9008
2019-09-08T18:34:38.6513929Z .................................................................................................... 5500/9008
2019-09-08T18:34:44.4441787Z .................................................................................................... 5600/9008
2019-09-08T18:34:44.4441787Z .................................................................................................... 5600/9008
2019-09-08T18:34:54.9274362Z .........................................................................ii...i..ii...........i..... 5700/9008
2019-09-08T18:35:20.5558887Z .................................................................................................... 5900/9008
2019-09-08T18:35:30.8882260Z .................................................................................................... 6000/9008
2019-09-08T18:35:30.8882260Z .................................................................................................... 6000/9008
2019-09-08T18:35:36.5472940Z ...........................................................................i..ii.................... 6100/9008
2019-09-08T18:36:06.5542966Z .................................................................................................... 6300/9008
2019-09-08T18:36:08.5785698Z ..................................i................................................................. 6400/9008
2019-09-08T18:36:10.7297451Z .................................................................................................... 6500/9008
2019-09-08T18:36:13.3227454Z ......i............................................................................................. 6600/9008
---
2019-09-08T18:40:23.4867579Z 1 error: incorrect close delimiter: `}`
2019-09-08T18:40:23.4867986Z -   --> $DIR/unclosed_delim_mod.rs:5:1
2019-09-08T18:40:23.4868611Z +   --> $DIR/unclosed_delim_mod.rs:7:1
2019-09-08T18:40:23.4868832Z 3    |
2019-09-08T18:40:23.4869502Z 4 LL | pub fn new() -> Result<Value, ()> {
2019-09-08T18:40:23.4869985Z 5    |                                   - close delimiter possibly meant for this
2019-09-08T18:40:23.4870247Z 
2019-09-08T18:40:23.4870403Z The actual stderr differed from the expected stderr.
2019-09-08T18:40:23.4870403Z The actual stderr differed from the expected stderr.
2019-09-08T18:40:23.4870879Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/parser/unclosed-delimiter-in-dep/unclosed-delimiter-in-dep.stderr
2019-09-08T18:40:23.4871307Z To update references, rerun the tests and pass the `--bless` flag
2019-09-08T18:40:23.4871745Z To only update this specific test, also pass `--test-args parser/unclosed-delimiter-in-dep.rs`
2019-09-08T18:40:23.4872044Z error: 1 errors occurred comparing output.
2019-09-08T18:40:23.4872178Z status: exit code: 1
2019-09-08T18:40:23.4872178Z status: exit code: 1
2019-09-08T18:40:23.4873202Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/parser/unclosed-delimiter-in-dep.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/parser/unclosed-delimiter-in-dep" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/parser/unclosed-delimiter-in-dep/auxiliary" "-A" "unused"
2019-09-08T18:40:23.4874029Z ------------------------------------------
2019-09-08T18:40:23.4874178Z 
2019-09-08T18:40:23.4874517Z ------------------------------------------
2019-09-08T18:40:23.4874699Z stderr:
2019-09-08T18:40:23.4874699Z stderr:
2019-09-08T18:40:23.4875026Z ------------------------------------------
2019-09-08T18:40:23.4875185Z error: incorrect close delimiter: `}`
2019-09-08T18:40:23.4875548Z   --> /checkout/src/test/ui/parser/unclosed_delim_mod.rs:7:1
2019-09-08T18:40:23.4875710Z    |
2019-09-08T18:40:23.4876050Z LL | pub fn new() -> Result<Value, ()> {
2019-09-08T18:40:23.4876470Z    |                                   - close delimiter possibly meant for this
2019-09-08T18:40:23.4876891Z LL |     Ok(Value {
2019-09-08T18:40:23.4877713Z    |       - un-closed delimiter
2019-09-08T18:40:23.4878452Z LL | }
2019-09-08T18:40:23.4878513Z    | ^ incorrect close delimiter
2019-09-08T18:40:23.4878545Z 
2019-09-08T18:40:23.4878590Z error[E0308]: mismatched types
2019-09-08T18:40:23.4878590Z error[E0308]: mismatched types
2019-09-08T18:40:23.4878913Z   --> /checkout/src/test/ui/parser/unclosed-delimiter-in-dep.rs:4:20
2019-09-08T18:40:23.4878981Z    |
2019-09-08T18:40:23.4879225Z LL |     let _: usize = unclosed_delim_mod::new();
2019-09-08T18:40:23.4879287Z    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^ expected usize, found enum `std::result::Result`
2019-09-08T18:40:23.4879353Z    |
2019-09-08T18:40:23.4879397Z    = note: expected type `usize`
2019-09-08T18:40:23.4879460Z               found type `std::result::Result<unclosed_delim_mod::Value, ()>`
2019-09-08T18:40:23.4879558Z error: aborting due to 2 previous errors
2019-09-08T18:40:23.4879587Z 
2019-09-08T18:40:23.4879884Z For more information about this error, try `rustc --explain E0308`.
2019-09-08T18:40:23.4879921Z 
---
2019-09-08T18:40:23.4901196Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-08T18:40:23.4901281Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-09-08T18:40:23.4920199Z 
2019-09-08T18:40:23.4920567Z 
2019-09-08T18:40:23.4922423Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-08T18:40:23.4923049Z 
2019-09-08T18:40:23.4923105Z 
2019-09-08T18:40:23.4927323Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-08T18:40:23.4927416Z Build completed unsuccessfully in 1:04:58
2019-09-08T18:40:23.4927416Z Build completed unsuccessfully in 1:04:58
2019-09-08T18:40:23.4982449Z == clock drift check ==
2019-09-08T18:40:23.5000681Z   local time: Sun Sep  8 18:40:23 UTC 2019
2019-09-08T18:40:23.5892168Z   network time: Sun, 08 Sep 2019 18:40:23 GMT
2019-09-08T18:40:23.5895632Z == end clock drift check ==
2019-09-08T18:40:24.2791447Z ##[error]Bash exited with code '1'.
2019-09-08T18:40:24.2832937Z ##[section]Starting: Checkout
2019-09-08T18:40:24.2835035Z ==============================================================================
2019-09-08T18:40:24.2835093Z Task         : Get sources
2019-09-08T18:40:24.2835163Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@Mark-Simulacrum

This comment has been minimized.

Copy link
Member Author

commented Sep 8, 2019

I'm curious what issues there are with this, can you say more?

It's not completely clear exactly where the problems arise, but I was able to trigger an ICE or two, particularly with --error-format=json; I suspect the problem lies in that we expect all files to have at least one line such that lines - 1 >= 0, but if this is not the case, at least in a debug-assertion enabled compiler we will panic when lines is 0. It's quite possible this can be fixed, but I don't think it's worth even filing an issue (it seems relatively unimportant that we can emit errors in completely empty files, as that is rare).

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from b483725 to 8f64e38 Sep 8, 2019

@Mark-Simulacrum

This comment has been minimized.

Copy link
Member Author

commented Sep 8, 2019

Ah, I also forgot to mention -- in some situations, I was unable to trigger an ICE with the normal machinery (though --error-format=json did, I believe); however, the span and associated label was still not emitted (as if they had not been set).

src/librustc/middle/entry.rs Outdated Show resolved Hide resolved
src/librustc/middle/entry.rs Outdated Show resolved Hide resolved

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 8f64e38 to fa1ea7e Sep 8, 2019

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

commented Sep 8, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed (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.
2019-09-08T20:44:32.3316194Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-08T20:44:32.3500191Z ##[command]git config gc.auto 0
2019-09-08T20:44:32.3578191Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-08T20:44:32.3636640Z ##[command]git config --get-all http.proxy
2019-09-08T20:44:32.3783074Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-08T21:45:24.5455954Z .................................................................................................... 1500/9008
2019-09-08T21:45:30.3238602Z .................................................................................................... 1600/9008
2019-09-08T21:45:42.8861180Z ......................................................i...............i............................. 1700/9008
2019-09-08T21:45:50.7207725Z .................................................................................................... 1800/9008
2019-09-08T21:46:05.1496627Z .............................................iiiii.................................................. 1900/9008
2019-09-08T21:46:16.0847196Z .................................................................................................... 2100/9008
2019-09-08T21:46:18.6759518Z .................................................................................................... 2200/9008
2019-09-08T21:46:22.3281971Z .................................................................................................... 2300/9008
2019-09-08T21:46:30.4360562Z .................................................................................................... 2400/9008
---
2019-09-08T21:49:29.8872344Z ..................................i...............i................................................. 4700/9008
2019-09-08T21:49:41.4374892Z .................................................................................................... 4800/9008
2019-09-08T21:49:47.5910608Z .................................................................................................... 4900/9008
2019-09-08T21:49:58.2561490Z .................................................................................................... 5000/9008
2019-09-08T21:50:04.2489257Z ................ii.ii............................................................................... 5100/9008
2019-09-08T21:50:14.7038250Z .................................................................................................... 5300/9008
2019-09-08T21:50:24.7114683Z ...............................................................................i.................... 5400/9008
2019-09-08T21:50:32.5019284Z .................................................................................................... 5500/9008
2019-09-08T21:50:38.4096890Z .................................................................................................... 5600/9008
2019-09-08T21:50:38.4096890Z .................................................................................................... 5600/9008
2019-09-08T21:50:49.0274144Z .........................................................................ii...i..ii...........i..... 5700/9008
2019-09-08T21:51:14.1226796Z .................................................................................................... 5900/9008
2019-09-08T21:51:23.5618458Z .................................................................................................... 6000/9008
2019-09-08T21:51:23.5618458Z .................................................................................................... 6000/9008
2019-09-08T21:51:28.8472514Z ...........................................................................i..ii.................... 6100/9008
2019-09-08T21:51:58.0587014Z .................................................................................................... 6300/9008
2019-09-08T21:52:00.0468643Z ..................................i................................................................. 6400/9008
2019-09-08T21:52:02.1466077Z .................................................................................................... 6500/9008
2019-09-08T21:52:04.6582859Z ......i............................................................................................. 6600/9008
---
2019-09-08T21:56:45.8293406Z  finished in 19.754
2019-09-08T21:56:45.8471087Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-08T21:56:46.0395383Z 
2019-09-08T21:56:46.0396379Z running 150 tests
2019-09-08T21:56:49.2275823Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-08T21:56:51.1752520Z ..iiii..............i.........iii.i.......ii......
2019-09-08T21:56:51.1753961Z 
2019-09-08T21:56:51.1758967Z  finished in 5.329
2019-09-08T21:56:51.1955607Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-08T21:56:51.3715790Z 
---
2019-09-08T21:56:53.3992778Z  finished in 2.205
2019-09-08T21:56:53.4168984Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-08T21:56:53.5781473Z 
2019-09-08T21:56:53.5781675Z running 9 tests
2019-09-08T21:56:53.5782960Z iiiiiiiii
2019-09-08T21:56:53.5783384Z 
2019-09-08T21:56:53.5787843Z  finished in 0.162
2019-09-08T21:56:53.5967854Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-08T21:56:53.7955307Z 
---
2019-09-08T21:57:11.4958026Z  finished in 17.899
2019-09-08T21:57:11.5175605Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-08T21:57:11.7136719Z 
2019-09-08T21:57:11.7137218Z running 123 tests
2019-09-08T21:57:35.5639911Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-08T21:57:40.2146998Z i.i.i......iii.i.....ii
2019-09-08T21:57:40.2148448Z 
2019-09-08T21:57:40.2151717Z  finished in 28.697
2019-09-08T21:57:40.2154900Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-08T21:57:40.2158621Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-08T21:58:41.5109120Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-09-08T21:58:41.5109597Z ---- [ui] ui-fulldeps/hash-stable-is-unstable.rs stdout ----
2019-09-08T21:58:41.5109796Z diff of stderr:
2019-09-08T21:58:41.5109948Z 
2019-09-08T21:58:41.5110142Z 1 error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2019-09-08T21:58:41.5110567Z +   --> $DIR/hash-stable-is-unstable.rs:3:1
2019-09-08T21:58:41.5110764Z 2    |
2019-09-08T21:58:41.5111215Z -    = note: consider adding a `main` function to `$DIR/hash-stable-is-unstable.rs`
2019-09-08T21:58:41.5111422Z + LL | / extern crate rustc_data_structures;
2019-09-08T21:58:41.5111595Z + LL | |
2019-09-08T21:58:41.5111772Z + LL | | extern crate rustc;
2019-09-08T21:58:41.5111926Z + LL | |
2019-09-08T21:58:41.5112085Z + ...  |
2019-09-08T21:58:41.5112257Z + LL | |
2019-09-08T21:58:41.5112409Z + LL | | struct Test;
2019-09-08T21:58:41.5112841Z +    | |____________^ consider adding a `main` function to `$DIR/hash-stable-is-unstable.rs`
2019-09-08T21:58:41.5113068Z 4 
2019-09-08T21:58:41.5113633Z 5 error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-08T21:58:41.5114282Z 
2019-09-08T21:58:41.5114419Z 
2019-09-08T21:58:41.5114614Z The actual stderr differed from the expected stderr.
2019-09-08T21:58:41.5115101Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/hash-stable-is-unstable.stderr
2019-09-08T21:58:41.5115101Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/hash-stable-is-unstable.stderr
2019-09-08T21:58:41.5115556Z To update references, rerun the tests and pass the `--bless` flag
2019-09-08T21:58:41.5116033Z To only update this specific test, also pass `--test-args hash-stable-is-unstable.rs`
2019-09-08T21:58:41.5116370Z error: 1 errors occurred comparing output.
2019-09-08T21:58:41.5116545Z status: exit code: 1
2019-09-08T21:58:41.5116545Z status: exit code: 1
2019-09-08T21:58:41.5117699Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/auxiliary" "-A" "unused"
2019-09-08T21:58:41.5118706Z ------------------------------------------
2019-09-08T21:58:41.5118925Z 
2019-09-08T21:58:41.5119289Z ------------------------------------------
2019-09-08T21:58:41.5119476Z stderr:
2019-09-08T21:58:41.5119476Z stderr:
2019-09-08T21:58:41.5119846Z ------------------------------------------
2019-09-08T21:58:41.5120041Z error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2019-09-08T21:58:41.5120639Z    |
2019-09-08T21:58:41.5120802Z LL | / extern crate rustc_data_structures;
2019-09-08T21:58:41.5120802Z LL | / extern crate rustc_data_structures;
2019-09-08T21:58:41.5121195Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-08T21:58:41.5121392Z LL | | extern crate rustc;
2019-09-08T21:58:41.5121760Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-08T21:58:41.5121968Z ...  |
2019-09-08T21:58:41.5122335Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-08T21:58:41.5122518Z LL | | struct Test;
2019-09-08T21:58:41.5122965Z    | |____________^ consider adding a `main` function to `/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs`
2019-09-08T21:58:41.5123327Z 
2019-09-08T21:58:41.5123884Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-08T21:58:41.5124541Z    |
2019-09-08T21:58:41.5124709Z LL | extern crate rustc_data_structures;
2019-09-08T21:58:41.5124871Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-08T21:58:41.5125020Z    |
2019-09-08T21:58:41.5125020Z    |
2019-09-08T21:58:41.5125572Z    = note: for more information, see ***/issues/27812
2019-09-08T21:58:41.5125783Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-08T21:58:41.5125938Z 
2019-09-08T21:58:41.5126461Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-08T21:58:41.5127138Z    |
2019-09-08T21:58:41.5127284Z LL | extern crate rustc;
2019-09-08T21:58:41.5127429Z    | ^^^^^^^^^^^^^^^^^^^
2019-09-08T21:58:41.5127594Z    |
2019-09-08T21:58:41.5127594Z    |
2019-09-08T21:58:41.5128015Z    = note: for more information, see ***/issues/27812
2019-09-08T21:58:41.5128738Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-08T21:58:41.5128913Z 
2019-09-08T21:58:41.5129482Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-08T21:58:41.5130136Z    |
2019-09-08T21:58:41.5130283Z LL | extern crate rustc_macros;
2019-09-08T21:58:41.5130463Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-08T21:58:41.5130607Z    |
2019-09-08T21:58:41.5130607Z    |
2019-09-08T21:58:41.5131103Z    = note: for more information, see ***/issues/27812
2019-09-08T21:58:41.5131430Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-08T21:58:41.5131600Z 
2019-09-08T21:58:41.5132139Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-08T21:58:41.5133036Z    |
2019-09-08T21:58:41.5133193Z LL | use rustc_macros::HashStable;
2019-09-08T21:58:41.5133345Z    |     ^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-08T21:58:41.5133499Z    |
2019-09-08T21:58:41.5133499Z    |
2019-09-08T21:58:41.5133988Z    = note: for more information, see ***/issues/27812
2019-09-08T21:58:41.5134220Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-08T21:58:41.5134377Z 
2019-09-08T21:58:41.5134907Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-08T21:58:41.5135602Z    |
2019-09-08T21:58:41.5135753Z LL | #[derive(HashStable)]
2019-09-08T21:58:41.5135903Z    |          ^^^^^^^^^^
2019-09-08T21:58:41.5136050Z    |
2019-09-08T21:58:41.5136050Z    |
2019-09-08T21:58:41.5136493Z    = note: for more information, see ***/issues/27812
2019-09-08T21:58:41.5136748Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-08T21:58:41.5137053Z error: aborting due to 6 previous errors
2019-09-08T21:58:41.5137204Z 
2019-09-08T21:58:41.5137369Z Some errors have detailed explanations: E0601, E0658.
2019-09-08T21:58:41.5137812Z For more information about an error, try `rustc --explain E0601`.
---
2019-09-08T21:58:41.5140470Z test result: FAILED. 68 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2019-09-08T21:58:41.5140662Z 
2019-09-08T21:58:41.5140795Z 
2019-09-08T21:58:41.5141560Z 
2019-09-08T21:58:41.5143334Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-08T21:58:41.5143884Z 
2019-09-08T21:58:41.5144010Z 
2019-09-08T21:58:41.5144259Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-08T21:58:41.5144425Z Build completed unsuccessfully in 1:07:23
2019-09-08T21:58:41.5144425Z Build completed unsuccessfully in 1:07:23
2019-09-08T21:58:41.5190040Z == clock drift check ==
2019-09-08T21:58:41.5207850Z   local time: Sun Sep  8 21:58:41 UTC 2019
2019-09-08T21:58:41.6697301Z   network time: Sun, 08 Sep 2019 21:58:41 GMT
2019-09-08T21:58:41.6702524Z == end clock drift check ==
2019-09-08T21:58:42.4904152Z ##[error]Bash exited with code '1'.
2019-09-08T21:58:42.4941910Z ##[section]Starting: Checkout
2019-09-08T21:58:42.4943768Z ==============================================================================
2019-09-08T21:58:42.4943841Z Task         : Get sources
2019-09-08T21:58:42.4943890Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from fa1ea7e to 7dcf410 Sep 9, 2019

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

commented Sep 9, 2019

The job mingw-check of your PR failed (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.
2019-09-09T00:07:39.4641081Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-09T00:07:39.4848004Z ##[command]git config gc.auto 0
2019-09-09T00:07:39.4944713Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-09T00:07:39.5015175Z ##[command]git config --get-all http.proxy
2019-09-09T00:07:39.5161906Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-09T00:16:28.7190126Z     Checking syntax_ext v0.0.0 (/checkout/src/libsyntax_ext)
2019-09-09T00:16:32.3088758Z error[E0425]: cannot find function `main_err` in this scope
2019-09-09T00:16:32.3089534Z    --> src/librustc/middle/entry.rs:151:9
2019-09-09T00:16:32.3089842Z     |
2019-09-09T00:16:32.3090140Z 151 |         main_err(tcx, visitor);
2019-09-09T00:16:32.3090653Z 
2019-09-09T00:16:56.3235202Z error: aborting due to previous error
2019-09-09T00:16:56.3235585Z 
2019-09-09T00:16:56.3235987Z For more information about this error, try `rustc --explain E0425`.
---
2019-09-09T00:16:56.5269007Z == clock drift check ==
2019-09-09T00:16:56.5286462Z   local time: Mon Sep  9 00:16:56 UTC 2019
2019-09-09T00:16:56.6790405Z   network time: Mon, 09 Sep 2019 00:16:56 GMT
2019-09-09T00:16:56.6793373Z == end clock drift check ==
2019-09-09T00:16:57.3502658Z ##[error]Bash exited with code '1'.
2019-09-09T00:16:57.3539283Z ##[section]Starting: Checkout
2019-09-09T00:16:57.3541129Z ==============================================================================
2019-09-09T00:16:57.3541188Z Task         : Get sources
2019-09-09T00:16:57.3541257Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 7dcf410 to 0b65805 Sep 9, 2019

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

commented Sep 9, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed (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.
2019-09-09T01:19:22.1233329Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-09T01:19:22.9520205Z ##[command]git config gc.auto 0
2019-09-09T01:19:22.9524891Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-09T01:19:22.9531135Z ##[command]git config --get-all http.proxy
2019-09-09T01:19:22.9533691Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-09T02:19:57.0036552Z .................................................................................................... 1500/9008
2019-09-09T02:20:02.5428747Z .................................................................................................... 1600/9008
2019-09-09T02:20:14.3652373Z ......................................................i...............i............................. 1700/9008
2019-09-09T02:20:21.7165249Z .................................................................................................... 1800/9008
2019-09-09T02:20:35.3111507Z .............................................iiiii.................................................. 1900/9008
2019-09-09T02:20:45.9643311Z .................................................................................................... 2100/9008
2019-09-09T02:20:48.4152689Z .................................................................................................... 2200/9008
2019-09-09T02:20:51.6838257Z .................................................................................................... 2300/9008
2019-09-09T02:20:59.1332471Z .................................................................................................... 2400/9008
---
2019-09-09T02:23:49.3616401Z ..................................i...............i................................................. 4700/9008
2019-09-09T02:24:00.6991724Z .................................................................................................... 4800/9008
2019-09-09T02:24:06.7731799Z .................................................................................................... 4900/9008
2019-09-09T02:24:16.9208886Z .................................................................................................... 5000/9008
2019-09-09T02:24:22.6721922Z ................ii.ii............................................................................... 5100/9008
2019-09-09T02:24:32.7118149Z .................................................................................................... 5300/9008
2019-09-09T02:24:42.3044183Z ...............................................................................i.................... 5400/9008
2019-09-09T02:24:49.7589292Z .................................................................................................... 5500/9008
2019-09-09T02:24:55.4019446Z .................................................................................................... 5600/9008
2019-09-09T02:24:55.4019446Z .................................................................................................... 5600/9008
2019-09-09T02:25:05.6155776Z .........................................................................ii...i..ii...........i..... 5700/9008
2019-09-09T02:25:29.4924366Z .................................................................................................... 5900/9008
2019-09-09T02:25:38.4599654Z .................................................................................................... 6000/9008
2019-09-09T02:25:38.4599654Z .................................................................................................... 6000/9008
2019-09-09T02:25:44.8303628Z ...........................................................................i..ii.................... 6100/9008
2019-09-09T02:26:12.6526550Z .................................................................................................... 6300/9008
2019-09-09T02:26:14.5404120Z ..................................i................................................................. 6400/9008
2019-09-09T02:26:16.5188863Z .................................................................................................... 6500/9008
2019-09-09T02:26:18.8455349Z ......i............................................................................................. 6600/9008
---
2019-09-09T02:30:44.7845517Z  finished in 18.256
2019-09-09T02:30:44.8049205Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T02:30:44.9547478Z 
2019-09-09T02:30:44.9549141Z running 150 tests
2019-09-09T02:30:47.9354798Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-09T02:30:49.7789464Z ..iiii..............i.........iii.i.......ii......
2019-09-09T02:30:49.7791984Z 
2019-09-09T02:30:49.7796626Z  finished in 4.974
2019-09-09T02:30:49.7958845Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T02:30:49.9362977Z 
---
2019-09-09T02:30:51.8225288Z  finished in 2.026
2019-09-09T02:30:51.8411489Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T02:30:51.9992673Z 
2019-09-09T02:30:51.9992931Z running 9 tests
2019-09-09T02:30:51.9993664Z iiiiiiiii
2019-09-09T02:30:51.9993947Z 
2019-09-09T02:30:51.9993982Z  finished in 0.158
2019-09-09T02:30:52.0160031Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T02:30:52.1745101Z 
---
2019-09-09T02:31:09.0704297Z  finished in 17.054
2019-09-09T02:31:09.0882529Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T02:31:10.1903208Z 
2019-09-09T02:31:10.1915483Z running 123 tests
2019-09-09T02:31:30.7051003Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-09T02:31:34.9437933Z i.i.i......iii.i.....ii
2019-09-09T02:31:34.9439699Z 
2019-09-09T02:31:34.9439838Z  finished in 25.855
2019-09-09T02:31:34.9448661Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T02:31:34.9449629Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-09T02:32:32.8952995Z 
2019-09-09T02:32:32.8955580Z ---- [ui] ui-fulldeps/hash-stable-is-unstable.rs stdout ----
2019-09-09T02:32:32.8956013Z diff of stderr:
2019-09-09T02:32:32.8956169Z 
2019-09-09T02:32:32.8956300Z 1 error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2019-09-09T02:32:32.8956675Z +   --> $DIR/hash-stable-is-unstable.rs:3:1
2019-09-09T02:32:32.8956984Z 3 LL | / extern crate rustc_data_structures;
2019-09-09T02:32:32.8957106Z 4 LL | |
2019-09-09T02:32:32.8957224Z 
2019-09-09T02:32:32.8957339Z 5 LL | | extern crate rustc;
2019-09-09T02:32:32.8957339Z 5 LL | | extern crate rustc;
2019-09-09T02:32:32.8957455Z 6 LL | |
2019-09-09T02:32:32.8957748Z - ... |
2019-09-09T02:32:32.8958067Z + ...  |
2019-09-09T02:32:32.8958351Z 8 LL | |
2019-09-09T02:32:32.8958479Z 9 LL | | struct Test;
2019-09-09T02:32:32.8958806Z - | |____________^ consider adding a `main` function to `$DIR/hash-stable-is-unstable.rs`
2019-09-09T02:32:32.8959175Z +    | |____________^ consider adding a `main` function to `$DIR/hash-stable-is-unstable.rs`
2019-09-09T02:32:32.8959368Z 11 
2019-09-09T02:32:32.8960640Z 12 error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T02:32:32.8961337Z 
2019-09-09T02:32:32.8961675Z 
2019-09-09T02:32:32.8961911Z The actual stderr differed from the expected stderr.
2019-09-09T02:32:32.8962430Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/hash-stable-is-unstable.stderr
2019-09-09T02:32:32.8962430Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/hash-stable-is-unstable.stderr
2019-09-09T02:32:32.8962866Z To update references, rerun the tests and pass the `--bless` flag
2019-09-09T02:32:32.8963331Z To only update this specific test, also pass `--test-args hash-stable-is-unstable.rs`
2019-09-09T02:32:32.8963944Z error: 1 errors occurred comparing output.
2019-09-09T02:32:32.8964081Z status: exit code: 1
2019-09-09T02:32:32.8964081Z status: exit code: 1
2019-09-09T02:32:32.8964789Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/auxiliary" "-A" "unused"
2019-09-09T02:32:32.8965306Z ------------------------------------------
2019-09-09T02:32:32.8965460Z 
2019-09-09T02:32:32.8965751Z ------------------------------------------
2019-09-09T02:32:32.8965896Z stderr:
2019-09-09T02:32:32.8965896Z stderr:
2019-09-09T02:32:32.8966194Z ------------------------------------------
2019-09-09T02:32:32.8966347Z error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2019-09-09T02:32:32.8966834Z    |
2019-09-09T02:32:32.8966949Z LL | / extern crate rustc_data_structures;
2019-09-09T02:32:32.8966949Z LL | / extern crate rustc_data_structures;
2019-09-09T02:32:32.8967426Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-09T02:32:32.8967605Z LL | | extern crate rustc;
2019-09-09T02:32:32.8967918Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-09T02:32:32.8968089Z ...  |
2019-09-09T02:32:32.8968393Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-09T02:32:32.8968540Z LL | | struct Test;
2019-09-09T02:32:32.8968907Z    | |____________^ consider adding a `main` function to `/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs`
2019-09-09T02:32:32.8969046Z 
2019-09-09T02:32:32.8969636Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T02:32:32.8970683Z    |
2019-09-09T02:32:32.8970852Z LL | extern crate rustc_data_structures;
2019-09-09T02:32:32.8971021Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T02:32:32.8971162Z    |
2019-09-09T02:32:32.8971162Z    |
2019-09-09T02:32:32.8971783Z    = note: for more information, see ***/issues/27812
2019-09-09T02:32:32.8972003Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T02:32:32.8972137Z 
2019-09-09T02:32:32.8972695Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T02:32:32.8973498Z    |
2019-09-09T02:32:32.8973796Z LL | extern crate rustc;
2019-09-09T02:32:32.8973911Z    | ^^^^^^^^^^^^^^^^^^^
2019-09-09T02:32:32.8974042Z    |
2019-09-09T02:32:32.8974042Z    |
2019-09-09T02:32:32.8974396Z    = note: for more information, see ***/issues/27812
2019-09-09T02:32:32.8974579Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T02:32:32.8974700Z 
2019-09-09T02:32:32.8975604Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T02:32:32.8976212Z    |
2019-09-09T02:32:32.8976332Z LL | extern crate rustc_macros;
2019-09-09T02:32:32.8976555Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T02:32:32.8976923Z    |
2019-09-09T02:32:32.8976923Z    |
2019-09-09T02:32:32.8977392Z    = note: for more information, see ***/issues/27812
2019-09-09T02:32:32.8978098Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T02:32:32.8978132Z 
2019-09-09T02:32:32.8978524Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T02:32:32.8978787Z    |
2019-09-09T02:32:32.8978836Z LL | use rustc_macros::HashStable;
2019-09-09T02:32:32.8978880Z    |     ^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T02:32:32.8979089Z    |
2019-09-09T02:32:32.8979089Z    |
2019-09-09T02:32:32.8979346Z    = note: for more information, see ***/issues/27812
2019-09-09T02:32:32.8979393Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T02:32:32.8979421Z 
2019-09-09T02:32:32.8979723Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T02:32:32.8980414Z    |
2019-09-09T02:32:32.8980457Z LL | #[derive(HashStable)]
2019-09-09T02:32:32.8980520Z    |          ^^^^^^^^^^
2019-09-09T02:32:32.8980561Z    |
2019-09-09T02:32:32.8980561Z    |
2019-09-09T02:32:32.8980870Z    = note: for more information, see ***/issues/27812
2019-09-09T02:32:32.8981095Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T02:32:32.8981183Z error: aborting due to 6 previous errors
2019-09-09T02:32:32.8981230Z 
2019-09-09T02:32:32.8981277Z Some errors have detailed explanations: E0601, E0658.
2019-09-09T02:32:32.8981568Z For more information about an error, try `rustc --explain E0601`.
---
2019-09-09T02:32:32.8982487Z test result: FAILED. 68 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2019-09-09T02:32:32.8982524Z 
2019-09-09T02:32:32.8982569Z 
2019-09-09T02:32:32.8982595Z 
2019-09-09T02:32:32.8984182Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-09T02:32:32.8984410Z 
2019-09-09T02:32:32.8984433Z 
2019-09-09T02:32:32.8984469Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-09T02:32:32.8984525Z Build completed unsuccessfully in 1:05:45
2019-09-09T02:32:32.8984525Z Build completed unsuccessfully in 1:05:45
2019-09-09T02:32:32.9006741Z == clock drift check ==
2019-09-09T02:32:32.9026360Z   local time: Mon Sep  9 02:32:32 UTC 2019
2019-09-09T02:32:33.1933167Z   network time: Mon, 09 Sep 2019 02:32:33 GMT
2019-09-09T02:32:33.7181213Z == end clock drift check ==
2019-09-09T02:32:33.7940832Z ##[error]Bash exited with code '1'.
2019-09-09T02:32:33.7978867Z ##[section]Starting: Checkout
2019-09-09T02:32:33.7981449Z ==============================================================================
2019-09-09T02:32:33.7981506Z Task         : Get sources
2019-09-09T02:32:33.7981553Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 0b65805 to e04684e Sep 9, 2019

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

commented Sep 9, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed (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.
2019-09-09T11:46:30.1203897Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-09T11:46:30.9841098Z ##[command]git config gc.auto 0
2019-09-09T11:46:30.9847056Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-09T11:46:30.9853273Z ##[command]git config --get-all http.proxy
2019-09-09T11:46:30.9859031Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-09T12:51:48.6317238Z .................................................................................................... 1500/9009
2019-09-09T12:51:54.9245324Z .................................................................................................... 1600/9009
2019-09-09T12:52:08.5738516Z ......................................................i...............i............................. 1700/9009
2019-09-09T12:52:17.0783802Z .................................................................................................... 1800/9009
2019-09-09T12:52:32.6747612Z .............................................iiiii.................................................. 1900/9009
2019-09-09T12:52:44.5161118Z .................................................................................................... 2100/9009
2019-09-09T12:52:47.2919221Z .................................................................................................... 2200/9009
2019-09-09T12:52:51.2169627Z .................................................................................................... 2300/9009
2019-09-09T12:52:59.7878867Z .................................................................................................... 2400/9009
---
2019-09-09T12:56:11.8451232Z ...................................i...............i................................................ 4700/9009
2019-09-09T12:56:24.4027043Z .................................................................................................... 4800/9009
2019-09-09T12:56:31.5599622Z .................................................................................................... 4900/9009
2019-09-09T12:56:43.0891544Z .................................................................................................... 5000/9009
2019-09-09T12:56:49.7222525Z .................ii.ii.............................................................................. 5100/9009
2019-09-09T12:57:01.2126186Z .................................................................................................... 5300/9009
2019-09-09T12:57:12.1805010Z ................................................................................i................... 5400/9009
2019-09-09T12:57:20.5817919Z .................................................................................................... 5500/9009
2019-09-09T12:57:27.0002803Z .................................................................................................... 5600/9009
2019-09-09T12:57:27.0002803Z .................................................................................................... 5600/9009
2019-09-09T12:57:38.5749004Z ..........................................................................ii...i..ii...........i.... 5700/9009
2019-09-09T12:58:05.2452386Z .................................................................................................... 5900/9009
2019-09-09T12:58:15.8069225Z .................................................................................................... 6000/9009
2019-09-09T12:58:15.8069225Z .................................................................................................... 6000/9009
2019-09-09T12:58:22.1846049Z ............................................................................i..ii................... 6100/9009
2019-09-09T12:58:53.5898233Z .................................................................................................... 6300/9009
2019-09-09T12:58:55.9171687Z ...................................i................................................................ 6400/9009
2019-09-09T12:58:58.1707017Z .................................................................................................... 6500/9009
2019-09-09T12:59:00.9460009Z .......i............................................................................................ 6600/9009
---
2019-09-09T13:04:03.3671900Z  finished in 20.432
2019-09-09T13:04:03.3877058Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T13:04:03.5889083Z 
2019-09-09T13:04:03.5890289Z running 150 tests
2019-09-09T13:04:07.0857725Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-09T13:04:09.2722602Z ..iiii..............i.........iii.i.......ii......
2019-09-09T13:04:09.9065045Z 
2019-09-09T13:04:09.9101278Z  finished in 5.885
2019-09-09T13:04:09.9102189Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T13:04:09.9144620Z 
---
2019-09-09T13:04:11.6719550Z  finished in 2.376
2019-09-09T13:04:11.6920724Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T13:04:11.8565536Z 
2019-09-09T13:04:11.8565830Z running 9 tests
2019-09-09T13:04:11.8567376Z iiiiiiiii
2019-09-09T13:04:11.8567835Z 
2019-09-09T13:04:11.8567878Z  finished in 0.164
2019-09-09T13:04:11.8767463Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T13:04:12.0684762Z 
---
2019-09-09T13:04:31.6065678Z  finished in 19.730
2019-09-09T13:04:31.6312758Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T13:04:31.8255734Z 
2019-09-09T13:04:31.8256068Z running 123 tests
2019-09-09T13:04:56.7728794Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-09T13:05:01.6390800Z i.i.i......iii.i.....ii
2019-09-09T13:05:01.6392848Z 
2019-09-09T13:05:01.6393616Z  finished in 30.008
2019-09-09T13:05:01.6405205Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T13:05:01.6405596Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-09T13:06:08.7594132Z 
2019-09-09T13:06:08.7600106Z ---- [ui] ui-fulldeps/hash-stable-is-unstable.rs stdout ----
2019-09-09T13:06:08.7600624Z diff of stderr:
2019-09-09T13:06:08.7603096Z 
2019-09-09T13:06:08.7603493Z 1 error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2019-09-09T13:06:08.7604165Z +   --> $DIR/hash-stable-is-unstable.rs:3:1
2019-09-09T13:06:08.7604960Z 3 LL | / extern crate rustc_data_structures;
2019-09-09T13:06:08.7606093Z 4 LL | |
2019-09-09T13:06:08.7606392Z 
2019-09-09T13:06:08.7606482Z 
2019-09-09T13:06:08.7606482Z 
2019-09-09T13:06:08.7606537Z The actual stderr differed from the expected stderr.
2019-09-09T13:06:08.7607625Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/hash-stable-is-unstable.stderr
2019-09-09T13:06:08.7612934Z To update references, rerun the tests and pass the `--bless` flag
2019-09-09T13:06:08.7613328Z To only update this specific test, also pass `--test-args hash-stable-is-unstable.rs`
2019-09-09T13:06:08.7613425Z error: 1 errors occurred comparing output.
2019-09-09T13:06:08.7613473Z status: exit code: 1
2019-09-09T13:06:08.7613473Z status: exit code: 1
2019-09-09T13:06:08.7614883Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/auxiliary" "-A" "unused"
2019-09-09T13:06:08.7615241Z ------------------------------------------
2019-09-09T13:06:08.7615275Z 
2019-09-09T13:06:08.7615506Z ------------------------------------------
2019-09-09T13:06:08.7615553Z stderr:
2019-09-09T13:06:08.7615553Z stderr:
2019-09-09T13:06:08.7615761Z ------------------------------------------
2019-09-09T13:06:08.7615830Z error[E0601]: `main` function not found in crate `hash_stable_is_unstable`
2019-09-09T13:06:08.7616120Z    |
2019-09-09T13:06:08.7616180Z LL | / extern crate rustc_data_structures;
2019-09-09T13:06:08.7616180Z LL | / extern crate rustc_data_structures;
2019-09-09T13:06:08.7616418Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-09T13:06:08.7616470Z LL | | extern crate rustc;
2019-09-09T13:06:08.7616712Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-09T13:06:08.7616760Z ...  |
2019-09-09T13:06:08.7616983Z LL | | //~^ use of unstable library feature 'rustc_private'
2019-09-09T13:06:08.7617032Z LL | | struct Test;
2019-09-09T13:06:08.7617332Z    | |____________^ consider adding a `main` function to `/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs`
2019-09-09T13:06:08.7617382Z 
2019-09-09T13:06:08.7617729Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T13:06:08.7618054Z    |
2019-09-09T13:06:08.7618113Z LL | extern crate rustc_data_structures;
2019-09-09T13:06:08.7618166Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T13:06:08.7618207Z    |
2019-09-09T13:06:08.7618207Z    |
2019-09-09T13:06:08.7618637Z    = note: for more information, see ***/issues/27812
2019-09-09T13:06:08.7618696Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T13:06:08.7618726Z 
2019-09-09T13:06:08.7619624Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T13:06:08.7620565Z    |
2019-09-09T13:06:08.7620610Z LL | extern crate rustc;
2019-09-09T13:06:08.7620684Z    | ^^^^^^^^^^^^^^^^^^^
2019-09-09T13:06:08.7620726Z    |
2019-09-09T13:06:08.7620726Z    |
2019-09-09T13:06:08.7621123Z    = note: for more information, see ***/issues/27812
2019-09-09T13:06:08.7621193Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T13:06:08.7621230Z 
2019-09-09T13:06:08.7621867Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T13:06:08.7622329Z    |
2019-09-09T13:06:08.7622375Z LL | extern crate rustc_macros;
2019-09-09T13:06:08.7622601Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T13:06:08.7622646Z    |
2019-09-09T13:06:08.7622646Z    |
2019-09-09T13:06:08.7623007Z    = note: for more information, see ***/issues/27812
2019-09-09T13:06:08.7623095Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T13:06:08.7623130Z 
2019-09-09T13:06:08.7623539Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T13:06:08.7624227Z    |
2019-09-09T13:06:08.7624267Z LL | use rustc_macros::HashStable;
2019-09-09T13:06:08.7624331Z    |     ^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T13:06:08.7624370Z    |
2019-09-09T13:06:08.7624370Z    |
2019-09-09T13:06:08.7624657Z    = note: for more information, see ***/issues/27812
2019-09-09T13:06:08.7624735Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T13:06:08.7624778Z 
2019-09-09T13:06:08.7625145Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T13:06:08.7625471Z    |
2019-09-09T13:06:08.7625512Z LL | #[derive(HashStable)]
2019-09-09T13:06:08.7625553Z    |          ^^^^^^^^^^
2019-09-09T13:06:08.7625612Z    |
2019-09-09T13:06:08.7625612Z    |
2019-09-09T13:06:08.7625901Z    = note: for more information, see ***/issues/27812
2019-09-09T13:06:08.7625977Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T13:06:08.7626051Z error: aborting due to 6 previous errors
2019-09-09T13:06:08.7626077Z 
2019-09-09T13:06:08.7626136Z Some errors have detailed explanations: E0601, E0658.
2019-09-09T13:06:08.7626390Z For more information about an error, try `rustc --explain E0601`.
---
2019-09-09T13:06:08.7627629Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-09T13:06:08.7627706Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-09-09T13:06:08.7627738Z 
2019-09-09T13:06:08.7627761Z 
2019-09-09T13:06:08.7629263Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-09T13:06:08.7629585Z 
2019-09-09T13:06:08.7629614Z 
2019-09-09T13:06:08.7629676Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-09T13:06:08.7629724Z Build completed unsuccessfully in 1:12:30
2019-09-09T13:06:08.7629724Z Build completed unsuccessfully in 1:12:30
2019-09-09T13:06:08.7669230Z == clock drift check ==
2019-09-09T13:06:08.7684757Z   local time: Mon Sep  9 13:06:08 UTC 2019
2019-09-09T13:06:08.8543722Z   network time: Mon, 09 Sep 2019 13:06:08 GMT
2019-09-09T13:06:08.8544191Z == end clock drift check ==
2019-09-09T13:06:09.4265903Z ##[error]Bash exited with code '1'.
2019-09-09T13:06:09.4309882Z ##[section]Starting: Checkout
2019-09-09T13:06:09.4312706Z ==============================================================================
2019-09-09T13:06:09.4312768Z Task         : Get sources
2019-09-09T13:06:09.4312838Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from e04684e to 5021431 Sep 9, 2019

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

commented Sep 9, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed (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.
2019-09-09T13:13:03.6427924Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-09T13:13:03.6600759Z ##[command]git config gc.auto 0
2019-09-09T13:13:03.6678220Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-09T13:13:03.6731178Z ##[command]git config --get-all http.proxy
2019-09-09T13:13:03.6855883Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-09T14:10:39.3747417Z .................................................................................................... 1500/9009
2019-09-09T14:10:44.8197175Z .................................................................................................... 1600/9009
2019-09-09T14:10:56.6772832Z ......................................................i...............i............................. 1700/9009
2019-09-09T14:11:04.1131343Z .................................................................................................... 1800/9009
2019-09-09T14:11:17.5894928Z .............................................iiiii.................................................. 1900/9009
2019-09-09T14:11:27.9588314Z .................................................................................................... 2100/9009
2019-09-09T14:11:30.4133699Z .................................................................................................... 2200/9009
2019-09-09T14:11:33.7094644Z .................................................................................................... 2300/9009
2019-09-09T14:11:41.1296092Z .................................................................................................... 2400/9009
---
2019-09-09T14:14:30.9949983Z ...................................i...............i................................................ 4700/9009
2019-09-09T14:14:41.8061496Z .................................................................................................... 4800/9009
2019-09-09T14:14:48.0032567Z .................................................................................................... 4900/9009
2019-09-09T14:14:57.9602627Z .................................................................................................... 5000/9009
2019-09-09T14:15:03.7858314Z .................ii.ii.............................................................................. 5100/9009
2019-09-09T14:15:13.6136946Z .................................................................................................... 5300/9009
2019-09-09T14:15:23.2382431Z ................................................................................i................... 5400/9009
2019-09-09T14:15:30.5779151Z .................................................................................................... 5500/9009
2019-09-09T14:15:36.1790671Z .................................................................................................... 5600/9009
2019-09-09T14:15:36.1790671Z .................................................................................................... 5600/9009
2019-09-09T14:15:46.4958931Z ..........................................................................ii...i..ii...........i.... 5700/9009
2019-09-09T14:16:09.9222039Z .................................................................................................... 5900/9009
2019-09-09T14:16:18.9789599Z .................................................................................................... 6000/9009
2019-09-09T14:16:18.9789599Z .................................................................................................... 6000/9009
2019-09-09T14:16:24.7599270Z ............................................................................i..ii................... 6100/9009
2019-09-09T14:16:53.0522846Z .................................................................................................... 6300/9009
2019-09-09T14:16:54.9589152Z ...................................i................................................................ 6400/9009
2019-09-09T14:16:56.8720180Z .................................................................................................... 6500/9009
2019-09-09T14:16:59.4793333Z .......i............................................................................................ 6600/9009
---
2019-09-09T14:21:31.2340909Z  finished in 18.925
2019-09-09T14:21:31.2522573Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T14:21:31.4015001Z 
2019-09-09T14:21:31.4015838Z running 150 tests
2019-09-09T14:21:34.6704268Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-09T14:21:36.7697805Z ..iiii..............i.........iii.i.......ii......
2019-09-09T14:21:37.4263163Z 
2019-09-09T14:21:37.4276165Z  finished in 5.517
2019-09-09T14:21:37.4284289Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T14:21:37.4291320Z 
---
2019-09-09T14:21:39.1192697Z  finished in 2.332
2019-09-09T14:21:39.1400140Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T14:21:39.3089400Z 
2019-09-09T14:21:39.3089687Z running 9 tests
2019-09-09T14:21:39.3090967Z iiiiiiiii
2019-09-09T14:21:39.3091263Z 
2019-09-09T14:21:39.3092011Z  finished in 0.169
2019-09-09T14:21:39.3417748Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T14:21:39.9187946Z 
---
2019-09-09T14:21:58.0771838Z  finished in 18.735
2019-09-09T14:21:58.0962064Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T14:21:58.2602499Z 
2019-09-09T14:21:58.2603824Z running 123 tests
2019-09-09T14:22:21.9038204Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-09T14:22:26.4555786Z i.i.i......iii.i.....ii
2019-09-09T14:22:26.4559430Z 
2019-09-09T14:22:26.4559832Z  finished in 28.359
2019-09-09T14:22:26.4568753Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T14:22:26.4569549Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-09T14:23:25.7951650Z failures:
2019-09-09T14:23:25.7951679Z 
2019-09-09T14:23:25.7952110Z ---- [ui] ui-fulldeps/hash-stable-is-unstable.rs stdout ----
2019-09-09T14:23:25.7952143Z 
2019-09-09T14:23:25.7952451Z error: /checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs:3: unexpected error: '3:1: 15:13: `main` function not found in crate `hash_stable_is_unstable` [E0601]'
2019-09-09T14:23:25.7952537Z error: 1 unexpected errors found, 0 expected errors not found
2019-09-09T14:23:25.7952596Z status: exit code: 1
2019-09-09T14:23:25.7952596Z status: exit code: 1
2019-09-09T14:23:25.7953197Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/auxiliary" "-A" "unused"
2019-09-09T14:23:25.7953302Z unexpected errors (from JSON output): [
2019-09-09T14:23:25.7953341Z     Error {
2019-09-09T14:23:25.7953554Z         line_num: 3,
2019-09-09T14:23:25.7953608Z         kind: Some(
2019-09-09T14:23:25.7953676Z         ),
2019-09-09T14:23:25.7953676Z         ),
2019-09-09T14:23:25.7953741Z         msg: "3:1: 15:13: `main` function not found in crate `hash_stable_is_unstable` [E0601]",
2019-09-09T14:23:25.7953822Z ]
2019-09-09T14:23:25.7953845Z 
2019-09-09T14:23:25.7954107Z thread '[ui] ui-fulldeps/hash-stable-is-unstable.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:1512:13
2019-09-09T14:23:25.7954160Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
---
2019-09-09T14:23:25.7954865Z 
2019-09-09T14:23:25.7955070Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-09T14:23:25.7964136Z 
2019-09-09T14:23:25.7964272Z 
2019-09-09T14:23:25.7965731Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-09T14:23:25.7966265Z 
2019-09-09T14:23:25.7966290Z 
2019-09-09T14:23:25.7972507Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-09T14:23:25.7972608Z Build completed unsuccessfully in 1:03:39
2019-09-09T14:23:25.7972608Z Build completed unsuccessfully in 1:03:39
2019-09-09T14:23:25.8025995Z == clock drift check ==
2019-09-09T14:23:25.8034831Z   local time: Mon Sep  9 14:23:25 UTC 2019
2019-09-09T14:23:25.9530113Z   network time: Mon, 09 Sep 2019 14:23:25 GMT
2019-09-09T14:23:25.9533990Z == end clock drift check ==
2019-09-09T14:23:26.7514977Z ##[error]Bash exited with code '1'.
2019-09-09T14:23:26.7573810Z ##[section]Starting: Checkout
2019-09-09T14:23:26.7577182Z ==============================================================================
2019-09-09T14:23:26.7577243Z Task         : Get sources
2019-09-09T14:23:26.7577329Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

src/librustc/middle/entry.rs Outdated Show resolved Hide resolved

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 5021431 to 7583b98 Sep 9, 2019

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

commented Sep 9, 2019

The job x86_64-gnu-llvm-6.0 of your PR failed (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.
2019-09-09T14:55:02.0239868Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-09T14:55:02.0448998Z ##[command]git config gc.auto 0
2019-09-09T14:55:02.0562526Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-09T14:55:02.0632326Z ##[command]git config --get-all http.proxy
2019-09-09T14:55:02.0789905Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/64290/merge:refs/remotes/pull/64290/merge
---
2019-09-09T16:01:48.9732430Z .................................................................................................... 1500/9009
2019-09-09T16:01:55.4125984Z .................................................................................................... 1600/9009
2019-09-09T16:02:09.4512373Z ......................................................i...............i............................. 1700/9009
2019-09-09T16:02:18.2997712Z .................................................................................................... 1800/9009
2019-09-09T16:02:34.1394684Z .............................................iiiii.................................................. 1900/9009
2019-09-09T16:02:45.9759050Z .................................................................................................... 2100/9009
2019-09-09T16:02:48.6817607Z .................................................................................................... 2200/9009
2019-09-09T16:02:52.6093230Z .................................................................................................... 2300/9009
2019-09-09T16:03:01.3522884Z .................................................................................................... 2400/9009
---
2019-09-09T16:06:16.3323225Z ....................................i..............i................................................ 4700/9009
2019-09-09T16:06:28.8819593Z .................................................................................................... 4800/9009
2019-09-09T16:06:35.9414857Z .................................................................................................... 4900/9009
2019-09-09T16:06:47.5671707Z .................................................................................................... 5000/9009
2019-09-09T16:06:54.1672572Z .................ii.ii.............................................................................. 5100/9009
2019-09-09T16:07:05.6976051Z .................................................................................................... 5300/9009
2019-09-09T16:07:16.9225573Z ................................................................................i................... 5400/9009
2019-09-09T16:07:25.5806863Z .................................................................................................... 5500/9009
2019-09-09T16:07:32.1085236Z .................................................................................................... 5600/9009
2019-09-09T16:07:32.1085236Z .................................................................................................... 5600/9009
2019-09-09T16:07:43.7538465Z ..........................................................................ii...i..ii...........i.... 5700/9009
2019-09-09T16:08:11.0575361Z .................................................................................................... 5900/9009
2019-09-09T16:08:21.8894153Z .................................................................................................... 6000/9009
2019-09-09T16:08:21.8894153Z .................................................................................................... 6000/9009
2019-09-09T16:08:29.6571704Z ............................................................................i..ii................... 6100/9009
2019-09-09T16:09:02.2369850Z .................................................................................................... 6300/9009
2019-09-09T16:09:04.5827466Z ...................................i................................................................ 6400/9009
2019-09-09T16:09:06.9985380Z .................................................................................................... 6500/9009
2019-09-09T16:09:09.8460677Z .......i............................................................................................ 6600/9009
---
2019-09-09T16:14:19.6861184Z  finished in 20.814
2019-09-09T16:14:19.7068354Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T16:14:19.9266150Z 
2019-09-09T16:14:19.9268048Z running 150 tests
2019-09-09T16:14:23.6207824Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-09T16:14:25.7807726Z ..iiii..............i.........iii.i.......ii......
2019-09-09T16:14:25.7810912Z 
2019-09-09T16:14:25.7815411Z  finished in 6.075
2019-09-09T16:14:25.8015734Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T16:14:25.9896709Z 
---
2019-09-09T16:14:28.2435253Z  finished in 2.442
2019-09-09T16:14:28.2640239Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T16:14:28.4428486Z 
2019-09-09T16:14:28.4430807Z running 9 tests
2019-09-09T16:14:28.4432266Z iiiiiiiii
2019-09-09T16:14:28.4438091Z 
2019-09-09T16:14:28.4438172Z  finished in 0.179
2019-09-09T16:14:28.4637348Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T16:14:28.6684999Z 
---
2019-09-09T16:14:48.2128680Z  finished in 19.749
2019-09-09T16:14:48.2371228Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T16:14:48.4456423Z 
2019-09-09T16:14:48.4456709Z running 123 tests
2019-09-09T16:15:14.1092543Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-09T16:15:19.0917067Z i.i.i......iii.i.....ii
2019-09-09T16:15:19.0919381Z 
2019-09-09T16:15:19.0926231Z  finished in 30.856
2019-09-09T16:15:19.0938941Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-09T16:15:19.0939714Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-09T16:16:26.4601979Z 
2019-09-09T16:16:26.4602250Z ---- [ui] ui-fulldeps/hash-stable-is-unstable.rs stdout ----
2019-09-09T16:16:26.4602320Z diff of stderr:
2019-09-09T16:16:26.4602352Z 
2019-09-09T16:16:26.4602837Z 43    = note: for more information, see ***/issues/27812
2019-09-09T16:16:26.4602921Z 44    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T16:16:26.4603217Z - error: aborting due to 6 previous errors
2019-09-09T16:16:26.4603283Z + error: aborting due to 5 previous errors
2019-09-09T16:16:26.4603325Z 47 
2019-09-09T16:16:26.4603547Z - Some errors have detailed explanations: E0601, E0658.
2019-09-09T16:16:26.4603547Z - Some errors have detailed explanations: E0601, E0658.
2019-09-09T16:16:26.4603790Z - For more information about an error, try `rustc --explain E0601`.
2019-09-09T16:16:26.4604245Z + For more information about this error, try `rustc --explain E0658`.
2019-09-09T16:16:26.4604310Z 50 
2019-09-09T16:16:26.4604336Z 
2019-09-09T16:16:26.4604360Z 
2019-09-09T16:16:26.4604442Z The actual stderr differed from the expected stderr.
2019-09-09T16:16:26.4604784Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/hash-stable-is-unstable.stderr
2019-09-09T16:16:26.4605101Z To update references, rerun the tests and pass the `--bless` flag
2019-09-09T16:16:26.4605948Z To only update this specific test, also pass `--test-args hash-stable-is-unstable.rs`
2019-09-09T16:16:26.4606036Z error: 1 errors occurred comparing output.
2019-09-09T16:16:26.4606102Z status: exit code: 1
2019-09-09T16:16:26.4606102Z status: exit code: 1
2019-09-09T16:16:26.4606874Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/hash-stable-is-unstable.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/hash-stable-is-unstable/auxiliary" "-A" "unused"
2019-09-09T16:16:26.4607228Z ------------------------------------------
2019-09-09T16:16:26.4607263Z 
2019-09-09T16:16:26.4607505Z ------------------------------------------
2019-09-09T16:16:26.4607551Z stderr:
2019-09-09T16:16:26.4607551Z stderr:
2019-09-09T16:16:26.4607763Z ------------------------------------------
2019-09-09T16:16:26.4608157Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T16:16:26.4608859Z    |
2019-09-09T16:16:26.4608924Z LL | extern crate rustc_data_structures;
2019-09-09T16:16:26.4608970Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T16:16:26.4609011Z    |
2019-09-09T16:16:26.4609011Z    |
2019-09-09T16:16:26.4609510Z    = note: for more information, see ***/issues/27812
2019-09-09T16:16:26.4609573Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T16:16:26.4609608Z 
2019-09-09T16:16:26.4610466Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T16:16:26.4610802Z    |
2019-09-09T16:16:26.4610864Z LL | extern crate rustc;
2019-09-09T16:16:26.4610925Z    | ^^^^^^^^^^^^^^^^^^^
2019-09-09T16:16:26.4610966Z    |
2019-09-09T16:16:26.4610966Z    |
2019-09-09T16:16:26.4611306Z    = note: for more information, see ***/issues/27812
2019-09-09T16:16:26.4611365Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T16:16:26.4611400Z 
2019-09-09T16:16:26.4611812Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T16:16:26.4612120Z    |
2019-09-09T16:16:26.4612181Z LL | extern crate rustc_macros;
2019-09-09T16:16:26.4612227Z    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T16:16:26.4612269Z    |
2019-09-09T16:16:26.4612269Z    |
2019-09-09T16:16:26.4612567Z    = note: for more information, see ***/issues/27812
2019-09-09T16:16:26.4612631Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T16:16:26.4612677Z 
2019-09-09T16:16:26.4613403Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T16:16:26.4613768Z    |
2019-09-09T16:16:26.4613811Z LL | use rustc_macros::HashStable;
2019-09-09T16:16:26.4613875Z    |     ^^^^^^^^^^^^^^^^^^^^^^^^
2019-09-09T16:16:26.4613916Z    |
2019-09-09T16:16:26.4613916Z    |
2019-09-09T16:16:26.4614196Z    = note: for more information, see ***/issues/27812
2019-09-09T16:16:26.4614275Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T16:16:26.4614310Z 
2019-09-09T16:16:26.4614700Z error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
2019-09-09T16:16:26.4615635Z    |
2019-09-09T16:16:26.4615692Z LL | #[derive(HashStable)]
2019-09-09T16:16:26.4615759Z    |          ^^^^^^^^^^
2019-09-09T16:16:26.4615801Z    |
2019-09-09T16:16:26.4615801Z    |
2019-09-09T16:16:26.4616153Z    = note: for more information, see ***/issues/27812
2019-09-09T16:16:26.4616232Z    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
2019-09-09T16:16:26.4616310Z error: aborting due to 5 previous errors
2019-09-09T16:16:26.4616339Z 
2019-09-09T16:16:26.4616614Z For more information about this error, try `rustc --explain E0658`.
2019-09-09T16:16:26.4616648Z 
---
2019-09-09T16:16:26.4617550Z test result: FAILED. 68 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2019-09-09T16:16:26.4617724Z 
2019-09-09T16:16:26.4622350Z 
2019-09-09T16:16:26.4622424Z 
2019-09-09T16:16:26.4624000Z 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/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-09-09T16:16:26.4624254Z 
2019-09-09T16:16:26.4624301Z 
2019-09-09T16:16:26.4624344Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-09-09T16:16:26.4624395Z Build completed unsuccessfully in 1:13:53
2019-09-09T16:16:26.4624395Z Build completed unsuccessfully in 1:13:53
2019-09-09T16:16:26.4628572Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:536:22
2019-09-09T16:16:26.4628656Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-09-09T16:16:26.4674534Z == clock drift check ==
2019-09-09T16:16:26.4697261Z   local time: Mon Sep  9 16:16:26 UTC 2019
2019-09-09T16:16:26.5072056Z   network time: Mon, 09 Sep 2019 16:16:26 GMT
2019-09-09T16:16:26.5076214Z == end clock drift check ==
2019-09-09T16:16:27.1247800Z ##[error]Bash exited with code '1'.
2019-09-09T16:16:27.1286519Z ##[section]Starting: Checkout
2019-09-09T16:16:27.1288440Z ==============================================================================
2019-09-09T16:16:27.1288515Z Task         : Get sources
2019-09-09T16:16:27.1288564Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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)

err.note("the main function must be defined at the crate level \
but you have one or more functions named 'main' that are not \
defined at the crate level. Either move the definition or \
attach the `#[main]` attribute to override this behavior.");

This comment has been minimized.

Copy link
@estebank

estebank Sep 9, 2019

Contributor

Maybe we should have a span pointing at where the main function should be, like we're doing below?

None
if tcx.sess.teach(&err.get_code().unwrap()) {
err.note("If you don't know the basics of Rust, you can go look to the Rust Book \
to get started: https://doc.rust-lang.org/book/");

This comment has been minimized.

Copy link
@estebank

estebank Sep 9, 2019

Contributor

The indentation on both strings is off by two chars :)

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 7583b98 to 66e2d93 Sep 9, 2019

@Centril

This comment has been minimized.

Copy link
Member

commented Sep 14, 2019

@bors retry rolled up.

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64449 - Centril:rollup-ybq0h5v, r=Centril
Rollup of 17 pull requests

Successful merges:

 - #64116 (Fix minor typo in docs.)
 - #64290 (Provide a span if main function is not present in crate)
 - #64302 (Shrink `ObligationCauseCode`)
 - #64372 (use randSecure and randABytes)
 - #64374 (Box `DiagnosticBuilder`.)
 - #64375 (Fast path for vec.clear/truncate )
 - #64378 (Fix inconsistent link formatting.)
 - #64384 (Trim rustc-workspace-hack)
 - #64393 ( declare EnvKey before use to fix build error)
 - #64420 (Inline `mark_neighbours_as_waiting_from`.)
 - #64422 (Remove raw string literal quotes from error index descriptions)
 - #64423 (Add self to .mailmap)
 - #64424 (Fix false "never constructed" warnings for `Self::` variant paths)
 - #64425 (typo fix)
 - #64431 (fn ptr is structural match)
 - #64435 (codegen: use "_N" (like for other locals) instead of "argN", for argument names.)
 - #64439 (fix #64430, confusing `owned_box` error message in no_std build)

Failed merges:

r? @ghost
@bors

This comment has been minimized.

Copy link
Contributor

commented Sep 14, 2019

⌛️ Testing commit 6dc1483 with merge ab45f46...

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64290 - Mark-Simulacrum:span-no-main, r=estebank
Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves #36561.
Centril added a commit to Centril/rust that referenced this pull request Sep 14, 2019
Rollup merge of rust-lang#64290 - Mark-Simulacrum:span-no-main, r=est…
…ebank

Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves rust-lang#36561.
@Centril

This comment has been minimized.

Copy link
Member

commented Sep 14, 2019

@bors retry rolled up.

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64452 - Centril:rollup-z101tu8, r=Centril
Rollup of 17 pull requests

Successful merges:

 - #63846 (Added table containing the system calls used by Instant and SystemTime.)
 - #64116 (Fix minor typo in docs.)
 - #64290 (Provide a span if main function is not present in crate)
 - #64302 (Shrink `ObligationCauseCode`)
 - #64372 (use randSecure and randABytes)
 - #64374 (Box `DiagnosticBuilder`.)
 - #64375 (Fast path for vec.clear/truncate )
 - #64378 (Fix inconsistent link formatting.)
 - #64384 (Trim rustc-workspace-hack)
 - #64393 ( declare EnvKey before use to fix build error)
 - #64420 (Inline `mark_neighbours_as_waiting_from`.)
 - #64422 (Remove raw string literal quotes from error index descriptions)
 - #64423 (Add self to .mailmap)
 - #64425 (typo fix)
 - #64431 (fn ptr is structural match)
 - #64435 (codegen: use "_N" (like for other locals) instead of "argN", for argument names.)
 - #64439 (fix #64430, confusing `owned_box` error message in no_std build)

Failed merges:

r? @ghost
@Centril

This comment has been minimized.

Copy link
Member

commented Sep 14, 2019

Failed in #64452, @bors r-

You need to --bless --compare-mode=nll.

Provide a span if main function is not present in crate
Unfortunately, the diagnotic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

@Mark-Simulacrum Mark-Simulacrum force-pushed the Mark-Simulacrum:span-no-main branch from 6dc1483 to b7f20d0 Sep 14, 2019

@Mark-Simulacrum

This comment has been minimized.

Copy link
Member Author

commented Sep 14, 2019

@bors r=estebank

Ran with compare-mode=nll; can't wait until we can remove it.

@bors

This comment has been minimized.

Copy link
Contributor

commented Sep 14, 2019

📌 Commit b7f20d0 has been approved by estebank

@bors

This comment has been minimized.

Copy link
Contributor

commented Sep 14, 2019

⌛️ Testing commit b7f20d0 with merge 5453909...

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64290 - Mark-Simulacrum:span-no-main, r=estebank
Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves #36561.
Centril added a commit to Centril/rust that referenced this pull request Sep 14, 2019
Rollup merge of rust-lang#64290 - Mark-Simulacrum:span-no-main, r=est…
…ebank

Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves rust-lang#36561.
@Centril

This comment has been minimized.

Copy link
Member

commented Sep 14, 2019

@bors retry rolled up.

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64461 - Centril:rollup-vvoae0o, r=Centril
Rollup of 4 pull requests

Successful merges:

 - #61797 (Stabilise weak_ptr_eq)
 - #64290 (Provide a span if main function is not present in crate)
 - #64406 (Ban non-extern rust intrinsics)
 - #64419 (Deduplicate some code between miri and const prop)

Failed merges:

r? @ghost
@bors

This comment has been minimized.

Copy link
Contributor

commented Sep 14, 2019

⌛️ Testing commit b7f20d0 with merge 97ec3ff...

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64290 - Mark-Simulacrum:span-no-main, r=estebank
Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves #36561.
Centril added a commit to Centril/rust that referenced this pull request Sep 14, 2019
Rollup merge of rust-lang#64290 - Mark-Simulacrum:span-no-main, r=est…
…ebank

Provide a span if main function is not present in crate

Unfortunately, the diagnostic machinery does not cope well with an empty
span which can happen if the crate is empty, in which case we merely set
a spanless note.

Tests are already updated for this change, so a dedicated test is not added.

Resolves rust-lang#36561.
@Centril

This comment has been minimized.

Copy link
Member

commented Sep 14, 2019

@bors retry rolled up.

bors added a commit that referenced this pull request Sep 14, 2019
Auto merge of #64466 - Centril:rollup-s3nlb9e, r=Centril
Rollup of 4 pull requests

Successful merges:

 - #61797 (Stabilise weak_ptr_eq)
 - #64290 (Provide a span if main function is not present in crate)
 - #64406 (Ban non-extern rust intrinsics)
 - #64462 (feature_gate: Remove dead code from attribute checking)

Failed merges:

r? @ghost

@bors bors merged commit b7f20d0 into rust-lang:master Sep 15, 2019

4 of 5 checks passed

homu Testing commit b7f20d06ea40d13834bd04ad32d098d3626f11c7 with merge 97ec3ff09407d4f17fedac2262e61fb69cc61351...
Details
pr Build #20190914.25 succeeded
Details
pr (Linux mingw-check) Linux mingw-check succeeded
Details
pr (Linux x86_64-gnu-llvm-6.0) Linux x86_64-gnu-llvm-6.0 succeeded
Details
pr (LinuxTools) LinuxTools succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.