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

Add long error explanation for E0577 #65434

Merged
merged 2 commits into from
Oct 31, 2019

Conversation

GuillaumeGomez
Copy link
Member

Part of #61137.

r? @kinnison

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, 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-10-15T11:54:34.6170288Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-15T11:54:34.6262616Z ##[command]git config gc.auto 0
2019-10-15T11:54:34.6342751Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-15T11:54:34.6401810Z ##[command]git config --get-all http.proxy
2019-10-15T11:54:34.6533286Z ##[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/65434/merge:refs/remotes/pull/65434/merge
---
2019-10-15T12:51:18.1271361Z .................................................................................................... 1600/9182
2019-10-15T12:51:23.3304407Z .................................................................................................... 1700/9182
2019-10-15T12:51:35.9372399Z ............................i...............i....................................................... 1800/9182
2019-10-15T12:51:43.0807403Z .................................................................................................... 1900/9182
2019-10-15T12:51:56.6781933Z ...................iiiii............................................................................ 2000/9182
2019-10-15T12:52:06.7368572Z .................................................................................................... 2200/9182
2019-10-15T12:52:09.1085677Z .................................................................................................... 2300/9182
2019-10-15T12:52:14.0938765Z .................................................................................................... 2400/9182
2019-10-15T12:52:34.7352918Z .................................................................................................... 2500/9182
---
2019-10-15T12:55:25.9188210Z ...........................i...............i........................................................ 4800/9182
2019-10-15T12:55:37.7357665Z .................................................................................................... 4900/9182
2019-10-15T12:55:44.0796972Z .................................................................................................... 5000/9182
2019-10-15T12:55:53.3554286Z .................................................................................................... 5100/9182
2019-10-15T12:56:01.3982538Z ...........................ii.ii.................................................................... 5200/9182
2019-10-15T12:56:11.2888324Z .................................................................................................... 5400/9182
2019-10-15T12:56:22.0182174Z .............................................................................................i...... 5500/9182
2019-10-15T12:56:30.3109437Z .................................................................................................... 5600/9182
2019-10-15T12:56:35.4080003Z .................................................................................................... 5700/9182
2019-10-15T12:56:35.4080003Z .................................................................................................... 5700/9182
2019-10-15T12:56:46.0657078Z ..........................................................................................ii...i..ii 5800/9182
2019-10-15T12:57:11.4021037Z .................................................................................................... 6000/9182
2019-10-15T12:57:20.7742443Z .................................................................................................... 6100/9182
2019-10-15T12:57:26.4573643Z .................................................................................................i.. 6200/9182
2019-10-15T12:57:40.4775428Z ii.................................................................................................. 6300/9182
---
2019-10-15T13:02:32.7937172Z  finished in 5.721
2019-10-15T13:02:32.8126620Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:02:32.9776640Z 
2019-10-15T13:02:32.9776892Z running 153 tests
2019-10-15T13:02:36.0624434Z i....iii......iii..iiii....i............................i..i..................i....i...........ii.i. 100/153
2019-10-15T13:02:37.9008921Z i..iiii..............i.........iii.i.........ii......
2019-10-15T13:02:37.9009356Z 
2019-10-15T13:02:37.9012981Z  finished in 5.088
2019-10-15T13:02:37.9225692Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:02:38.6143634Z 
---
2019-10-15T13:02:40.0688486Z  finished in 2.146
2019-10-15T13:02:40.0868659Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:02:40.2375972Z 
2019-10-15T13:02:40.2376113Z running 9 tests
2019-10-15T13:02:40.2376862Z iiiiiiiii
2019-10-15T13:02:40.2377462Z 
2019-10-15T13:02:40.2377526Z  finished in 0.149
2019-10-15T13:02:40.2537843Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:02:41.1147261Z 
---
2019-10-15T13:02:58.6233797Z  finished in 17.714
2019-10-15T13:02:58.6234072Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:02:58.6234103Z 
2019-10-15T13:02:58.6234138Z running 123 tests
2019-10-15T13:03:21.1522207Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-15T13:03:25.6161024Z i.i.i......iii.i.....ii
2019-10-15T13:03:25.6162182Z 
2019-10-15T13:03:25.6165337Z  finished in 27.630
2019-10-15T13:03:25.6174312Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:03:25.6176513Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-15T13:15:44.5925777Z 
2019-10-15T13:15:44.5926619Z    Doc-tests core
2019-10-15T13:15:49.4123363Z 
2019-10-15T13:15:49.4124390Z running 2405 tests
2019-10-15T13:16:00.4165093Z ......iiiii......................................................................................... 100/2405
2019-10-15T13:16:11.0844929Z ...............................................................................ii................... 200/2405
2019-10-15T13:16:36.7871917Z .i.................................................................................................. 400/2405
2019-10-15T13:16:36.7871917Z .i.................................................................................................. 400/2405
2019-10-15T13:16:47.4687701Z ................................................i..i.................iiii........................... 500/2405
2019-10-15T13:17:08.1504032Z .................................................................................................... 700/2405
2019-10-15T13:17:18.6034648Z .................................................................................................... 800/2405
2019-10-15T13:17:28.8787713Z .................................................................................................... 900/2405
2019-10-15T13:17:39.2167020Z .................................................................................................... 1000/2405
---
2019-10-15T13:21:30.9114265Z ............................................... 300/763
2019-10-15T13:21:30.9132148Z thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:854:13
2019-10-15T13:21:30.9781640Z .................................................................................................... 400/763
2019-10-15T13:21:33.0660814Z .................................................................................................... 500/763
2019-10-15T13:21:33.1013375Z ....................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-15T13:21:33.1048952Z .....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1165:5
2019-10-15T13:21:33.1065896Z thread '<unnamed>.' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:.1165:5
2019-10-15T13:21:33.1075547Z .....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-15T13:21:33.3463235Z .........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-15T13:21:33.3506134Z ............thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1165:5
2019-10-15T13:21:33.3507334Z thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-15T13:21:33.3711124Z ............... 600/763
2019-10-15T13:21:35.4049279Z ........................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:629:13
2019-10-15T13:21:35.4060999Z ..thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:584:13
---
2019-10-15T13:21:44.7676442Z 
2019-10-15T13:21:44.7692711Z running 994 tests
2019-10-15T13:22:07.2008975Z i................................................................................................... 100/994
2019-10-15T13:22:19.6001496Z .................................................................................................... 200/994
2019-10-15T13:22:28.4840720Z ...................iii......i......i...i......i..................................................... 300/994
2019-10-15T13:22:34.5042125Z .................................................................................................... 400/994
2019-10-15T13:22:42.7783160Z .....................................i..i.................................ii........................ 500/994
2019-10-15T13:22:58.4775841Z .................................................................................................... 700/994
2019-10-15T13:22:58.4775841Z .................................................................................................... 700/994
2019-10-15T13:23:06.9147332Z ....................iiii............................................................................ 800/994
2019-10-15T13:23:22.2418881Z .................................................................................................... 900/994
2019-10-15T13:23:30.0238878Z ..........................................iiii................................................
2019-10-15T13:23:30.0239037Z 
2019-10-15T13:23:30.0297757Z  finished in 194.242
2019-10-15T13:23:30.0316510Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-15T13:23:30.2329478Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-10-15T13:39:20.2397665Z 
2019-10-15T13:39:20.2397716Z failures:
2019-10-15T13:39:20.2397739Z 
2019-10-15T13:39:20.2397981Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0577 (line 10259) stdout ----
2019-10-15T13:39:20.2398044Z error[E0433]: failed to resolve: maybe a missing crate `Sea`?
2019-10-15T13:39:20.2398250Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:10262:16
2019-10-15T13:39:20.2398289Z   |
2019-10-15T13:39:20.2398344Z 5 | pub (in crate::Sea) struct Shark; // error!
2019-10-15T13:39:20.2398389Z   |                ^^^ maybe a missing crate `Sea`?
2019-10-15T13:39:20.2398454Z error: aborting due to previous error
2019-10-15T13:39:20.2398496Z 
2019-10-15T13:39:20.2398694Z For more information about this error, try `rustc --explain E0433`.
2019-10-15T13:39:20.2398694Z For more information about this error, try `rustc --explain E0433`.
2019-10-15T13:39:20.2398736Z Some expected error codes were not found: ["E0577"]
2019-10-15T13:39:20.2398994Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0577 (line 10270) stdout ----
2019-10-15T13:39:20.2399041Z error[E0433]: failed to resolve: maybe a missing crate `Sea`?
2019-10-15T13:39:20.2399245Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:10272:20
2019-10-15T13:39:20.2399299Z   |
2019-10-15T13:39:20.2399335Z 4 |     pub (in crate::Sea) struct Shark; // ok!
2019-10-15T13:39:20.2399374Z   |                    ^^^ maybe a missing crate `Sea`?
2019-10-15T13:39:20.2399448Z error: aborting due to previous error
2019-10-15T13:39:20.2399477Z 
2019-10-15T13:39:20.2399670Z For more information about this error, try `rustc --explain E0433`.
2019-10-15T13:39:20.2399840Z Couldn't compile the test.
---
2019-10-15T13:39:20.2400943Z == clock drift check ==
2019-10-15T13:39:20.2401003Z   local time: Tue Oct 15 13:39:19 UTC 2019
2019-10-15T13:39:20.2401231Z   network time: Tue, 15 Oct 2019 13:39:19 GMT
2019-10-15T13:39:20.2401274Z == end clock drift check ==
2019-10-15T13:39:20.2467079Z ##[error]Bash exited with code '1'.
2019-10-15T13:39:20.2515836Z ##[section]Starting: Checkout
2019-10-15T13:39:20.2517506Z ==============================================================================
2019-10-15T13:39:20.2517557Z Task         : Get sources
2019-10-15T13:39:20.2517615Z 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)

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

I'm okay with this, though I do have a couple of comments.

src/librustc_resolve/error_codes.rs Outdated Show resolved Hide resolved
@bors
Copy link
Contributor

bors commented Oct 16, 2019

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

@bors bors added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 16, 2019
@GuillaumeGomez GuillaumeGomez force-pushed the long-err-explanation-E0577 branch from dc6bb93 to 5500e8e Compare October 16, 2019 09:15
@GuillaumeGomez
Copy link
Member Author

Updated!

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

👍

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, 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-10-16T09:19:09.6605906Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-16T09:19:10.3303548Z ##[command]git config gc.auto 0
2019-10-16T09:19:10.3306405Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-16T09:19:10.3307974Z ##[command]git config --get-all http.proxy
2019-10-16T09:19:10.3310029Z ##[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/65434/merge:refs/remotes/pull/65434/merge
---
2019-10-16T10:19:06.9166983Z .................................................................................................... 1600/9196
2019-10-16T10:19:12.1987252Z .................................................................................................... 1700/9196
2019-10-16T10:19:25.2036357Z .............................i...............i...................................................... 1800/9196
2019-10-16T10:19:32.7697560Z .................................................................................................... 1900/9196
2019-10-16T10:19:46.9544617Z ...................iiiii............................................................................ 2000/9196
2019-10-16T10:19:57.4095237Z .................................................................................................... 2200/9196
2019-10-16T10:20:00.0098171Z .................................................................................................... 2300/9196
2019-10-16T10:20:05.4537251Z .................................................................................................... 2400/9196
2019-10-16T10:20:27.3932779Z .................................................................................................... 2500/9196
---
2019-10-16T10:23:18.5678175Z ......................i...............i............................................................. 4800/9196
2019-10-16T10:23:29.9130855Z .................................................................................................... 4900/9196
2019-10-16T10:23:35.9728822Z .................................................................................................... 5000/9196
2019-10-16T10:23:45.9590333Z .................................................................................................... 5100/9196
2019-10-16T10:23:52.0057256Z ......................ii.ii......................................................................... 5200/9196
2019-10-16T10:24:01.8987466Z .................................................................................................... 5400/9196
2019-10-16T10:24:11.5131487Z ........................................................................................i........... 5500/9196
2019-10-16T10:24:19.2991710Z .................................................................................................... 5600/9196
2019-10-16T10:24:24.1447502Z .................................................................................................... 5700/9196
2019-10-16T10:24:24.1447502Z .................................................................................................... 5700/9196
2019-10-16T10:24:34.3329633Z .....................................................................................ii...i..ii..... 5800/9196
2019-10-16T10:25:00.0878731Z .................................................................................................... 6000/9196
2019-10-16T10:25:09.5680690Z .................................................................................................... 6100/9196
2019-10-16T10:25:15.7111236Z .................................................................................................... 6200/9196
2019-10-16T10:25:15.7111236Z .................................................................................................... 6200/9196
2019-10-16T10:25:29.0290688Z .......i..ii........................................................................................ 6300/9196
2019-10-16T10:25:48.0261161Z ...................................................................i................................ 6500/9196
2019-10-16T10:25:50.0567878Z .................................................................................................... 6600/9196
2019-10-16T10:25:52.4017387Z .........................................i.......................................................... 6700/9196
2019-10-16T10:25:56.1728332Z .................................................................................................... 6800/9196
---
2019-10-16T10:30:21.3627475Z  finished in 5.231
2019-10-16T10:30:21.3798460Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:30:21.5295190Z 
2019-10-16T10:30:21.5296515Z running 153 tests
2019-10-16T10:30:24.5975104Z i....iii......iii..iiii...i.............................i..i..................i....i...........ii.i. 100/153
2019-10-16T10:30:26.5301185Z i..iiii..............i.........iii.i.........ii......
2019-10-16T10:30:26.5304680Z 
2019-10-16T10:30:26.5307050Z  finished in 5.150
2019-10-16T10:30:26.5477984Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:30:26.6901760Z 
---
2019-10-16T10:30:28.6727565Z  finished in 2.125
2019-10-16T10:30:28.6920978Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:30:28.8585529Z 
2019-10-16T10:30:28.8588377Z running 9 tests
2019-10-16T10:30:28.8589615Z iiiiiiiii
2019-10-16T10:30:28.8589939Z 
2019-10-16T10:30:28.8589980Z  finished in 0.166
2019-10-16T10:30:28.8796607Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:30:29.0383476Z 
---
2019-10-16T10:30:46.1442663Z  finished in 17.263
2019-10-16T10:30:46.1597219Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:30:46.3102821Z 
2019-10-16T10:30:46.3103098Z running 123 tests
2019-10-16T10:31:08.7871844Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-16T10:31:13.2423585Z i.i.i......iii.i.....ii
2019-10-16T10:31:13.2425766Z 
2019-10-16T10:31:13.2426400Z  finished in 27.082
2019-10-16T10:31:13.2437145Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:31:13.2439222Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-16T10:44:00.9761472Z 
2019-10-16T10:44:00.9762641Z    Doc-tests core
2019-10-16T10:44:05.8448356Z 
2019-10-16T10:44:05.8449184Z running 2405 tests
2019-10-16T10:44:16.7339855Z ......iiiii......................................................................................... 100/2405
2019-10-16T10:44:27.1488804Z ...............................................................................ii................... 200/2405
2019-10-16T10:44:52.7710406Z .i.................................................................................................. 400/2405
2019-10-16T10:44:52.7710406Z .i.................................................................................................. 400/2405
2019-10-16T10:45:03.3663208Z ................................................i..i.................iiii........................... 500/2405
2019-10-16T10:45:23.5650010Z .................................................................................................... 700/2405
2019-10-16T10:45:33.9418631Z .................................................................................................... 800/2405
2019-10-16T10:45:44.2704056Z .................................................................................................... 900/2405
2019-10-16T10:45:54.4998452Z .................................................................................................... 1000/2405
---
2019-10-16T10:49:53.3882817Z ............................................... 300/763
2019-10-16T10:49:53.3883626Z thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:854:13
2019-10-16T10:49:53.4230578Z .................................................................................................... 400/763
2019-10-16T10:49:55.4878177Z .................................................................................................... 500/763
2019-10-16T10:49:55.5195779Z ....................thread '.<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-16T10:49:55.5211960Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1165:5
2019-10-16T10:49:55.5219255Z .thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-16T10:49:55.5235874Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-16T10:49:55.6819288Z ........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-16T10:49:55.6846460Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-16T10:49:55.6879722Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-16T10:49:57.7415663Z ......................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:629:13
2019-10-16T10:49:57.7416276Z ...thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:584:13
2019-10-16T10:49:57.7416743Z ..thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:561:13
2019-10-16T10:49:57.7417065Z ..thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:689:13
---
2019-10-16T10:50:07.0605101Z 
2019-10-16T10:50:07.0693560Z running 994 tests
2019-10-16T10:50:28.4063827Z i................................................................................................... 100/994
2019-10-16T10:50:39.9363214Z .................................................................................................... 200/994
2019-10-16T10:50:48.1898556Z ...................iii......i......i...i......i..................................................... 300/994
2019-10-16T10:50:53.7583790Z .................................................................................................... 400/994
2019-10-16T10:51:01.4151837Z .....................................i..i.................................ii........................ 500/994
2019-10-16T10:51:15.9856535Z .................................................................................................... 700/994
2019-10-16T10:51:15.9856535Z .................................................................................................... 700/994
2019-10-16T10:51:23.9839228Z ....................iiii............................................................................ 800/994
2019-10-16T10:51:39.0572641Z .................................................................................................... 900/994
2019-10-16T10:51:46.6382601Z ..........................................iiii................................................
2019-10-16T10:51:46.6383619Z 
2019-10-16T10:51:46.6437941Z  finished in 195.085
2019-10-16T10:51:46.6456364Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-16T10:51:46.8419196Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-10-16T11:07:44.7311343Z 
2019-10-16T11:07:44.7311391Z failures:
2019-10-16T11:07:44.7311419Z 
2019-10-16T11:07:44.7311762Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0577 (line 10391) stdout ----
2019-10-16T11:07:44.7311850Z error[E0433]: failed to resolve: maybe a missing crate `Sea`?
2019-10-16T11:07:44.7314281Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:10393:20
2019-10-16T11:07:44.7314438Z   |
2019-10-16T11:07:44.7314481Z 4 |     pub (in crate::Sea) struct Shark; // ok!
2019-10-16T11:07:44.7314522Z   |                    ^^^ maybe a missing crate `Sea`?
2019-10-16T11:07:44.7314603Z error: aborting due to previous error
2019-10-16T11:07:44.7314628Z 
2019-10-16T11:07:44.7314870Z For more information about this error, try `rustc --explain E0433`.
2019-10-16T11:07:44.7315057Z Couldn't compile the test.
2019-10-16T11:07:44.7315057Z Couldn't compile the test.
2019-10-16T11:07:44.7315360Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0577 (line 10380) stdout ----
2019-10-16T11:07:44.7315413Z error[E0433]: failed to resolve: maybe a missing crate `Sea`?
2019-10-16T11:07:44.7315952Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:10383:16
2019-10-16T11:07:44.7316006Z   |
2019-10-16T11:07:44.7316223Z 5 | pub (in crate::Sea) struct Shark; // error!
2019-10-16T11:07:44.7316408Z   |                ^^^ maybe a missing crate `Sea`?
2019-10-16T11:07:44.7316473Z error: aborting due to previous error
2019-10-16T11:07:44.7316496Z 
2019-10-16T11:07:44.7316805Z For more information about this error, try `rustc --explain E0433`.
2019-10-16T11:07:44.7316805Z For more information about this error, try `rustc --explain E0433`.
2019-10-16T11:07:44.7316854Z Some expected error codes were not found: ["E0577"]
2019-10-16T11:07:44.7316913Z failures:
2019-10-16T11:07:44.7317183Z     /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0577 (line 10380)
2019-10-16T11:07:44.7318098Z     /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0577 (line 10391)
2019-10-16T11:07:44.7318479Z 
---
2019-10-16T11:07:44.7320995Z == clock drift check ==
2019-10-16T11:07:44.7321134Z   local time: Wed Oct 16 11:07:44 UTC 2019
2019-10-16T11:07:44.8689339Z   network time: Wed, 16 Oct 2019 11:07:44 GMT
2019-10-16T11:07:44.8690268Z == end clock drift check ==
2019-10-16T11:07:45.5906480Z ##[error]Bash exited with code '1'.
2019-10-16T11:07:45.5946012Z ##[section]Starting: Checkout
2019-10-16T11:07:45.5947701Z ==============================================================================
2019-10-16T11:07:45.5947764Z Task         : Get sources
2019-10-16T11:07:45.5947801Z 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)

@GuillaumeGomez GuillaumeGomez force-pushed the long-err-explanation-E0577 branch from 5500e8e to 3d88f2c Compare October 16, 2019 11:57
@hdhoang hdhoang added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 17, 2019
@Dylan-DPC-zz
Copy link

r? @kinnison

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

One suggestion left. If you don't want to reword it as much as I suggest, then at least drop the comma after the therefore and after the error words :D

src/librustc_resolve/error_codes.rs Outdated Show resolved Hide resolved
@Dylan-DPC-zz
Copy link

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Oct 17, 2019

📌 Commit e417180 has been approved by Dylan-DPC

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 17, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 18, 2019
…-E0577, r=Dylan-DPC

Add long error explanation for E0577

Part of rust-lang#61137.

r? @kinnison
src/librustc_resolve/error_codes.rs Outdated Show resolved Hide resolved
@Dylan-DPC-zz
Copy link

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Oct 18, 2019

📌 Commit 4e3f4ca has been approved by Dylan-DPC

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

bors commented Oct 26, 2019

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout long-err-explanation-E0577 (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self long-err-explanation-E0577 --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging src/librustc_resolve/error_codes.rs
CONFLICT (content): Merge conflict in src/librustc_resolve/error_codes.rs
Automatic merge failed; fix conflicts and then commit the result.

@GuillaumeGomez GuillaumeGomez force-pushed the long-err-explanation-E0577 branch from f90a8ed to 610ce3f Compare October 29, 2019 12:51
@GuillaumeGomez
Copy link
Member Author

@bors: r=Dylan-DPC

@bors
Copy link
Contributor

bors commented Oct 29, 2019

📌 Commit 610ce3f0ba29625e4f7e60ed0a9397546c782f86 has been approved by Dylan-DPC

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 29, 2019
bors added a commit that referenced this pull request Oct 29, 2019
Rollup of 12 pull requests

Successful merges:

 - #65405 (Create new error E0742 and add long error explanation)
 - #65539 (resolve: Turn the "non-empty glob must import something" error into a lint)
 - #65724 (ci: refactor pr tools job skipping)
 - #65741 (Prevent help popup to disappear when clicking on it)
 - #65832 (Re-enable Emscripten's exception handling support)
 - #65843 (Enable dist for MIPS64 musl targets)
 - #65898 (add basic HermitCore support within libtest)
 - #65900 (proc_macro: clean up bridge::client::__run_expand{1,2} a bit.)
 - #65906 (Update mdbook to 0.3.3)
 - #65920 (Use rustc-workspace-hack for rustbook)
 - #65930 (doc: use new feature gate for c_void type)
 - #65936 (save-analysis: Account for async desugaring in async fn return types)

Failed merges:

 - #65434 (Add long error explanation for E0577)

r? @ghost
@bors
Copy link
Contributor

bors commented Oct 29, 2019

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

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 29, 2019
@GuillaumeGomez GuillaumeGomez force-pushed the long-err-explanation-E0577 branch from 610ce3f to 125d60d Compare October 30, 2019 13:50
@GuillaumeGomez
Copy link
Member Author

And here we go again...

@bors: r=Dylan-DPC

@bors
Copy link
Contributor

bors commented Oct 30, 2019

📌 Commit 125d60d has been approved by Dylan-DPC

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 30, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 31, 2019
…-E0577, r=Dylan-DPC

Add long error explanation for E0577

Part of rust-lang#61137.

r? @kinnison
bors added a commit that referenced this pull request Oct 31, 2019
Rollup of 7 pull requests

Successful merges:

 - #65274 (Upload toolstates.json to rust-lang-ci2)
 - #65434 (Add long error explanation for E0577)
 - #65850 (Update comments re type parameter hack in object safety)
 - #65955 (ci: revert msys2 ca-certificates hack)
 - #65959 (Fix an incorrect docstring for Immediate in librustc_mir/interpret.)
 - #65979 (Switch CrateMetadata's source_map_import_info from RwLock to Once)
 - #65981 (work around aggressive syntax feature gating)

Failed merges:

r? @ghost
@bors bors merged commit 125d60d into rust-lang:master Oct 31, 2019
@bors
Copy link
Contributor

bors commented Oct 31, 2019

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

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 31, 2019
@GuillaumeGomez GuillaumeGomez deleted the long-err-explanation-E0577 branch October 31, 2019 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants