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

Create new error E0742 and add long error explanation #65405

Merged
merged 4 commits into from
Oct 29, 2019

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Oct 14, 2019

Part of #61137.

Creates E0742 error code and add its long error explanation.

@rust-highfive
Copy link
Collaborator

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@rust-highfive
Copy link
Collaborator

r? @eddyb

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 14, 2019
@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-14T12:09:13.8439848Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-14T12:09:13.8453664Z ##[command]git config gc.auto 0
2019-10-14T12:09:13.8457386Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-14T12:09:13.8462822Z ##[command]git config --get-all http.proxy
2019-10-14T12:09:13.8469134Z ##[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/65405/merge:refs/remotes/pull/65405/merge
---
2019-10-14T13:10:39.1912316Z .................................................................................................... 1600/9173
2019-10-14T13:10:45.6176845Z .................................................................................................... 1700/9173
2019-10-14T13:10:57.8408651Z ......................i...............i............................................................. 1800/9173
2019-10-14T13:11:04.9320049Z .................................................................................................... 1900/9173
2019-10-14T13:11:19.6362445Z .............iiiii.................................................................................. 2000/9173
2019-10-14T13:11:29.9645036Z .................................................................................................... 2200/9173
2019-10-14T13:11:32.5224413Z .................................................................................................... 2300/9173
2019-10-14T13:11:37.9879018Z .................................................................................................... 2400/9173
2019-10-14T13:11:59.9811025Z .................................................................................................... 2500/9173
---
2019-10-14T13:14:56.0575101Z ....................i...............i............................................................... 4800/9173
2019-10-14T13:15:07.7308350Z .................................................................................................... 4900/9173
2019-10-14T13:15:14.1853374Z .................................................................................................... 5000/9173
2019-10-14T13:15:24.9542177Z .................................................................................................... 5100/9173
2019-10-14T13:15:31.3021488Z ....................ii.ii........................................................................... 5200/9173
2019-10-14T13:15:41.9446393Z .................................................................................................... 5400/9173
2019-10-14T13:15:52.1198827Z ......................................................................................i............. 5500/9173
2019-10-14T13:16:00.1647563Z .................................................................................................... 5600/9173
2019-10-14T13:16:05.6280681Z .................................................................................................... 5700/9173
2019-10-14T13:16:05.6280681Z .................................................................................................... 5700/9173
2019-10-14T13:16:16.2839100Z ...................................................................................ii...i..ii....... 5800/9173
2019-10-14T13:16:41.8042496Z .................................................................................................... 6000/9173
2019-10-14T13:16:51.5745418Z .................................................................................................... 6100/9173
2019-10-14T13:16:51.5745418Z .................................................................................................... 6100/9173
2019-10-14T13:16:57.1103548Z ..........................................................................................i..ii..... 6200/9173
2019-10-14T13:17:25.8516209Z .................................................................................................... 6400/9173
2019-10-14T13:17:31.0292937Z ...................................................i................................................ 6500/9173
2019-10-14T13:17:33.2097425Z .................................................................................................... 6600/9173
2019-10-14T13:17:35.5932299Z ........................i........................................................................... 6700/9173
---
2019-10-14T13:22:12.5198145Z  finished in 5.448
2019-10-14T13:22:12.5198498Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:22:12.5198536Z 
2019-10-14T13:22:12.5198579Z running 153 tests
2019-10-14T13:22:16.5144413Z i....iii......iii..iiii...i.............................i..i..................i....i...........ii.i. 100/153
2019-10-14T13:22:17.6307514Z i..iiii..............i.........iii.i.........ii......
2019-10-14T13:22:17.6308110Z 
2019-10-14T13:22:17.6310995Z  finished in 5.369
2019-10-14T13:22:17.6507054Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:22:17.8101385Z 
---
2019-10-14T13:22:20.0150569Z  finished in 2.186
2019-10-14T13:22:20.0150826Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:22:20.0150860Z 
2019-10-14T13:22:20.0151090Z running 9 tests
2019-10-14T13:22:20.0151494Z iiiiiiiii
2019-10-14T13:22:20.0151768Z 
2019-10-14T13:22:20.0151803Z  finished in 0.156
2019-10-14T13:22:20.0298580Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:22:20.1982049Z 
---
2019-10-14T13:22:38.1346642Z  finished in 18.104
2019-10-14T13:22:38.1547849Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:22:38.3153252Z 
2019-10-14T13:22:38.3154726Z running 123 tests
2019-10-14T13:23:02.5566834Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-14T13:23:07.1952400Z i.i.i......iii.i.....ii
2019-10-14T13:23:07.1953585Z 
2019-10-14T13:23:07.1954948Z  finished in 29.040
2019-10-14T13:23:07.1965398Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:23:07.1966958Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-14T13:36:10.6514862Z 
2019-10-14T13:36:10.6520455Z    Doc-tests core
2019-10-14T13:36:15.7122848Z 
2019-10-14T13:36:15.7142423Z running 2405 tests
2019-10-14T13:36:26.9265253Z ......iiiii......................................................................................... 100/2405
2019-10-14T13:36:37.6466632Z ...............................................................................ii................... 200/2405
2019-10-14T13:37:03.4737339Z .i.................................................................................................. 400/2405
2019-10-14T13:37:03.4737339Z .i.................................................................................................. 400/2405
2019-10-14T13:37:14.0208327Z ................................................i..i.................iiii........................... 500/2405
2019-10-14T13:37:34.4295192Z .................................................................................................... 700/2405
2019-10-14T13:37:44.6746629Z .................................................................................................... 800/2405
2019-10-14T13:37:55.1445918Z .................................................................................................... 900/2405
2019-10-14T13:38:05.6134687Z .................................................................................................... 1000/2405
---
2019-10-14T13:42:05.7693295Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-14T13:42:05.7701255Z thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1165:5
2019-10-14T13:42:05.7727821Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-10-14T13:42:05.8167809Z ................ 600/763
2019-10-14T13:42:07.8503005Z .......................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:629:13
2019-10-14T13:42:07.8510279Z .thread '<unnamed>..' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:584:13
2019-10-14T13:42:07.8526008Z .thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:561:13
2019-10-14T13:42:07.8526338Z ..thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:689:13
2019-10-14T13:42:07.8543383Z ...thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
2019-10-14T13:42:07.8543800Z  right: `2`', src/libstd/sync/mutex.rs:653:13
2019-10-14T13:42:07.8677307Z ......thread '<unnamed>' panicked at 'test panic in inner thread to poison RwLock', src/libstd/sync/rwlock.rs:791:13
2019-10-14T13:42:07.8681484Z thread '<unnamed>' panicked at 'test panic in inner thread to poison RwLock', src/libstd/sync/rwlock.rs:768:13
2019-10-14T13:42:07.8683972Z ..........thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/rwlock.rs:705:13
---
2019-10-14T13:42:17.2430611Z 
2019-10-14T13:42:17.2430869Z running 994 tests
2019-10-14T13:42:39.0154138Z i................................................................................................... 100/994
2019-10-14T13:42:50.8235278Z .................................................................................................... 200/994
2019-10-14T13:42:59.3077555Z ...................iii......i......i...i......i..................................................... 300/994
2019-10-14T13:43:05.0747186Z .................................................................................................... 400/994
2019-10-14T13:43:12.9134413Z .....................................i..i.................................ii........................ 500/994
2019-10-14T13:43:27.8680078Z .................................................................................................... 700/994
2019-10-14T13:43:27.8680078Z .................................................................................................... 700/994
2019-10-14T13:43:36.1057421Z ....................iiii............................................................................ 800/994
2019-10-14T13:43:51.6563975Z .................................................................................................... 900/994
2019-10-14T13:43:59.4650696Z ..........................................iiii................................................
2019-10-14T13:43:59.4651006Z 
2019-10-14T13:43:59.4690788Z  finished in 195.111
2019-10-14T13:43:59.4705091Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-14T13:43:59.6824559Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-10-14T14:00:18.9453200Z 
2019-10-14T14:00:18.9453267Z failures:
2019-10-14T14:00:18.9453296Z 
2019-10-14T14:00:18.9453621Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0740 (line 12802) stdout ----
2019-10-14T14:00:18.9453700Z error[E0433]: failed to resolve: maybe a missing crate `Sea`?
2019-10-14T14:00:18.9453973Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12804:20
2019-10-14T14:00:18.9454025Z   |
2019-10-14T14:00:18.9454073Z 4 |     pub (in crate::Sea) struct Shark; // ok!
2019-10-14T14:00:18.9454142Z   |                    ^^^ maybe a missing crate `Sea`?
2019-10-14T14:00:18.9454218Z error: aborting due to previous error
2019-10-14T14:00:18.9454247Z 
2019-10-14T14:00:18.9454518Z For more information about this error, try `rustc --explain E0433`.
2019-10-14T14:00:18.9454724Z Couldn't compile the test.
2019-10-14T14:00:18.9454724Z Couldn't compile the test.
2019-10-14T14:00:18.9455045Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0740 (line 12794) stdout ----
2019-10-14T14:00:18.9455125Z error[E0433]: failed to resolve: maybe a missing crate `Sea`?
2019-10-14T14:00:18.9455395Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12797:16
2019-10-14T14:00:18.9455445Z   |
2019-10-14T14:00:18.9455510Z 5 | pub (in crate::Sea) struct Shark; // error!
2019-10-14T14:00:18.9455560Z   |                ^^^ maybe a missing crate `Sea`?
2019-10-14T14:00:18.9455634Z error: aborting due to previous error
2019-10-14T14:00:18.9455837Z 
2019-10-14T14:00:18.9456062Z For more information about this error, try `rustc --explain E0433`.
2019-10-14T14:00:18.9456062Z For more information about this error, try `rustc --explain E0433`.
2019-10-14T14:00:18.9456110Z Some expected error codes were not found: ["E0735"]
2019-10-14T14:00:18.9456406Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0740 (line 12811) stdout ----
2019-10-14T14:00:18.9456548Z error[E0433]: failed to resolve: maybe a missing crate `Earth`?
2019-10-14T14:00:18.9456808Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12814:24
2019-10-14T14:00:18.9456869Z   |
2019-10-14T14:00:18.9456910Z 5 |         pub (in crate::Earth) struct Shark; // ok!
2019-10-14T14:00:18.9456963Z   |                        ^^^^^ maybe a missing crate `Earth`?
2019-10-14T14:00:18.9457047Z error: aborting due to previous error
2019-10-14T14:00:18.9457073Z 
2019-10-14T14:00:18.9457299Z For more information about this error, try `rustc --explain E0433`.
2019-10-14T14:00:18.9457504Z Couldn't compile the test.
---
2019-10-14T14:00:18.9459123Z == clock drift check ==
2019-10-14T14:00:18.9459213Z   local time: Mon Oct 14 14:00:18 UTC 2019
2019-10-14T14:00:19.1916660Z   network time: Mon, 14 Oct 2019 14:00:19 GMT
2019-10-14T14:00:19.1923830Z == end clock drift check ==
2019-10-14T14:00:19.5775050Z ##[error]Bash exited with code '1'.
2019-10-14T14:00:19.5840211Z ##[section]Starting: Checkout
2019-10-14T14:00:19.5842234Z ==============================================================================
2019-10-14T14:00:19.5842293Z Task         : Get sources
2019-10-14T14:00:19.5842360Z 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)

@Dylan-DPC-zz
Copy link

r? @Dylan-DPC

@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-18T20:02:55.9864557Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-18T20:02:56.0097022Z ##[command]git config gc.auto 0
2019-10-18T20:02:56.0150663Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-18T20:02:56.0200398Z ##[command]git config --get-all http.proxy
2019-10-18T20:02:56.0337046Z ##[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/65405/merge:refs/remotes/pull/65405/merge
---
2019-10-18T20:08:44.0993292Z Successfully built 9c2ed63ed05c
2019-10-18T20:08:44.1784329Z Successfully tagged rust-ci:latest
2019-10-18T20:08:44.2835876Z Built container sha256:9c2ed63ed05c1131a8a3a7f34bc1f654183148bee2d68ccc31dc894644107dc6
2019-10-18T20:08:44.2857779Z Uploading finished image to https://rust-lang-ci-sccache2.s3.amazonaws.com/docker/590c864a5f2335de0a8287407f9a96030510ec86a676b9b48333a6a037ff1c9ca74007b9ad184866d613750a3d2a1a88c9ad4e657c82d0b1a088ee62c541c4ca
2019-10-18T20:09:42.3622390Z upload failed: - to s3://rust-lang-ci-sccache2/docker/590c864a5f2335de0a8287407f9a96030510ec86a676b9b48333a6a037ff1c9ca74007b9ad184866d613750a3d2a1a88c9ad4e657c82d0b1a088ee62c541c4ca An error occurred (InvalidAccessKeyId) when calling the CreateMultipartUpload operation: The AWS Access Key Id you provided does not exist in our records.
2019-10-18T20:09:43.4343513Z [CI_JOB_NAME=x86_64-gnu-llvm-6.0]
2019-10-18T20:09:43.4379095Z == clock drift check ==
2019-10-18T20:09:43.4388344Z   local time: Fri Oct 18 20:09:43 UTC 2019
2019-10-18T20:09:43.5874894Z   network time: Fri, 18 Oct 2019 20:09:43 GMT
---
2019-10-18T21:04:16.8343136Z .................................................................................................... 1600/9196
2019-10-18T21:04:21.6514823Z .................................................................................................... 1700/9196
2019-10-18T21:04:34.2448537Z .............................i...............i...................................................... 1800/9196
2019-10-18T21:04:41.2981196Z .................................................................................................... 1900/9196
2019-10-18T21:04:54.6364223Z ...................iiiii............................................................................ 2000/9196
2019-10-18T21:05:04.7362918Z .................................................................................................... 2200/9196
2019-10-18T21:05:07.2680129Z .................................................................................................... 2300/9196
2019-10-18T21:05:12.5940862Z .................................................................................................... 2400/9196
2019-10-18T21:05:33.1552530Z .................................................................................................... 2500/9196
---
2019-10-18T21:08:16.3964650Z ......................i...............i............................................................. 4800/9196
2019-10-18T21:08:27.4515695Z .................................................................................................... 4900/9196
2019-10-18T21:08:33.3139864Z .................................................................................................... 5000/9196
2019-10-18T21:08:42.9434627Z .................................................................................................... 5100/9196
2019-10-18T21:08:48.7935016Z ......................ii.ii......................................................................... 5200/9196
2019-10-18T21:08:58.3469112Z .................................................................................................... 5400/9196
2019-10-18T21:09:08.1647556Z ........................................................................................i........... 5500/9196
2019-10-18T21:09:15.7222491Z .................................................................................................... 5600/9196
2019-10-18T21:09:20.3440179Z .................................................................................................... 5700/9196
2019-10-18T21:09:20.3440179Z .................................................................................................... 5700/9196
2019-10-18T21:09:30.3903593Z .....................................................................................ii...i..ii..... 5800/9196
2019-10-18T21:09:54.7131332Z .................................................................................................... 6000/9196
2019-10-18T21:10:04.1297774Z .................................................................................................... 6100/9196
2019-10-18T21:10:10.7763711Z .................................................................................................... 6200/9196
2019-10-18T21:10:10.7763711Z .................................................................................................... 6200/9196
2019-10-18T21:10:25.0370457Z .......i..ii........................................................................................ 6300/9196
2019-10-18T21:10:44.9269620Z ...................................................................i................................ 6500/9196
2019-10-18T21:10:47.1198771Z .................................................................................................... 6600/9196
2019-10-18T21:10:49.6193137Z .........................................i.......................................................... 6700/9196
2019-10-18T21:10:53.5806427Z .................................................................................................... 6800/9196
---
2019-10-18T21:15:13.0329107Z  finished in 5.789
2019-10-18T21:15:13.0533280Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:15:13.2354833Z 
2019-10-18T21:15:13.2355126Z running 153 tests
2019-10-18T21:15:16.2977879Z i....iii......iii..iiii...i.............................i..i..................i....i...........ii.i. 100/153
2019-10-18T21:15:18.7125570Z i..iiii..............i.........iii.i.........ii......
2019-10-18T21:15:18.7127330Z 
2019-10-18T21:15:18.7185756Z  finished in 5.110
2019-10-18T21:15:18.7186660Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:15:18.7186913Z 
---
2019-10-18T21:15:20.2676523Z  finished in 2.087
2019-10-18T21:15:20.2842140Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:15:20.4328379Z 
2019-10-18T21:15:20.4328604Z running 9 tests
2019-10-18T21:15:20.4330697Z iiiiiiiii
2019-10-18T21:15:20.4330994Z 
2019-10-18T21:15:20.4331491Z  finished in 0.148
2019-10-18T21:15:20.4497913Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:15:21.2170696Z 
---
2019-10-18T21:15:37.7959655Z  finished in 17.346
2019-10-18T21:15:37.8149113Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:15:37.9850548Z 
2019-10-18T21:15:37.9850869Z running 123 tests
2019-10-18T21:16:00.8138496Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-18T21:16:05.0753375Z i.i.i......iii.i.....ii
2019-10-18T21:16:05.0753934Z 
2019-10-18T21:16:05.0753993Z  finished in 27.260
2019-10-18T21:16:05.0766846Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:16:05.0767191Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-18T21:27:59.1637659Z 
2019-10-18T21:27:59.1638740Z    Doc-tests core
2019-10-18T21:28:03.9071569Z 
2019-10-18T21:28:03.9072648Z running 2406 tests
2019-10-18T21:28:14.1738289Z ......iiiii......................................................................................... 100/2406
2019-10-18T21:28:24.1848788Z ................................................................................ii.................. 200/2406
2019-10-18T21:28:47.5994906Z ..i................................................................................................. 400/2406
2019-10-18T21:28:47.5994906Z ..i................................................................................................. 400/2406
2019-10-18T21:28:57.3443797Z .................................................i..i.................iiii.......................... 500/2406
2019-10-18T21:29:16.2621781Z .................................................................................................... 700/2406
2019-10-18T21:29:26.0494010Z .................................................................................................... 800/2406
2019-10-18T21:29:35.7539567Z .................................................................................................... 900/2406
2019-10-18T21:29:45.3970406Z .................................................................................................... 1000/2406
---
2019-10-18T21:33:40.0594289Z 
2019-10-18T21:33:40.0596555Z running 994 tests
2019-10-18T21:34:00.1053888Z i................................................................................................... 100/994
2019-10-18T21:34:10.9762657Z .................................................................................................... 200/994
2019-10-18T21:34:18.7701025Z ...................iii......i......i...i......i..................................................... 300/994
2019-10-18T21:34:24.1511705Z .................................................................................................... 400/994
2019-10-18T21:34:31.3565430Z .....................................i..i.................................ii........................ 500/994
2019-10-18T21:34:45.1915593Z .................................................................................................... 700/994
2019-10-18T21:34:45.1915593Z .................................................................................................... 700/994
2019-10-18T21:34:52.7502291Z ....................iiii............................................................................ 800/994
2019-10-18T21:35:07.5898247Z .................................................................................................... 900/994
2019-10-18T21:35:15.0474801Z ..........................................iiii................................................
2019-10-18T21:35:15.0478777Z 
2019-10-18T21:35:15.0530354Z  finished in 183.851
2019-10-18T21:35:15.0546473Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-18T21:35:15.2457975Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-10-18T21:50:34.4618285Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0740 (line 13013) stdout ----
2019-10-18T21:50:34.4618334Z error[E0740]: visibilities can only be restricted to ancestor modules
2019-10-18T21:50:34.4618551Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:13016:9
2019-10-18T21:50:34.4618598Z   |
2019-10-18T21:50:34.4618636Z 4 | pub (in crate::Sea) struct Shark; // error!
2019-10-18T21:50:34.4618695Z 
2019-10-18T21:50:34.4618738Z error: aborting due to previous error
2019-10-18T21:50:34.4618761Z 
2019-10-18T21:50:34.4619106Z For more information about this error, try `rustc --explain E0740`.
2019-10-18T21:50:34.4619106Z For more information about this error, try `rustc --explain E0740`.
2019-10-18T21:50:34.4619148Z Some expected error codes were not found: ["E0735"]
2019-10-18T21:50:34.4619212Z failures:
2019-10-18T21:50:34.4619435Z     /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0740 (line 13013)
2019-10-18T21:50:34.4619476Z 
2019-10-18T21:50:34.4619514Z test result: FAILED. 757 passed; 1 failed; 25 ignored; 0 measured; 0 filtered out
---
2019-10-18T21:50:34.4620493Z   local time: Fri Oct 18 21:50:34 UTC 2019
2019-10-18T21:50:34.7306205Z   network time: Fri, 18 Oct 2019 21:50:34 GMT
2019-10-18T21:50:34.7309105Z == end clock drift check ==
2019-10-18T21:50:35.9354750Z 
2019-10-18T21:50:35.9439732Z ##[error]Bash exited with code '1'.
2019-10-18T21:50:35.9472269Z ##[section]Starting: Checkout
2019-10-18T21:50:35.9474158Z ==============================================================================
2019-10-18T21:50:35.9474215Z Task         : Get sources
2019-10-18T21:50:35.9474251Z 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
Copy link
Member Author

cc @Dylan-DPC :)

src/librustc_resolve/error_codes.rs Outdated Show resolved Hide resolved
@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-23T08:48:26.2997671Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-23T08:48:26.3242118Z ##[command]git config gc.auto 0
2019-10-23T08:48:26.3325912Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-23T08:48:26.3382004Z ##[command]git config --get-all http.proxy
2019-10-23T08:48:26.3541441Z ##[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/65405/merge:refs/remotes/pull/65405/merge
---
2019-10-23T08:54:50.0276431Z    Compiling serde_json v1.0.40
2019-10-23T08:54:51.9274902Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2019-10-23T08:55:04.2346186Z     Finished release [optimized] target(s) in 1m 34s
2019-10-23T08:55:04.2435676Z tidy check
2019-10-23T08:55:05.4915209Z tidy error: duplicate error code: 740
2019-10-23T08:55:05.4916183Z tidy error: /checkout/src/librustc_resolve/error_codes.rs:1909: E0740: r##"
2019-10-23T08:55:05.4916476Z tidy error: /checkout/src/librustc_typeck/error_codes.rs:4866: E0740: r##"
2019-10-23T08:55:06.8853889Z Found 483 error codes
2019-10-23T08:55:06.8854021Z Found 0 error codes with no tests
2019-10-23T08:55:06.8854199Z Done!
2019-10-23T08:55:06.8859619Z some tidy checks failed
2019-10-23T08:55:06.8859619Z some tidy checks failed
2019-10-23T08:55:06.8860394Z 
2019-10-23T08:55:06.8866021Z 
2019-10-23T08:55:06.8867236Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor"
2019-10-23T08:55:06.8867910Z 
2019-10-23T08:55:06.8868100Z 
2019-10-23T08:55:06.8868366Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2019-10-23T08:55:06.8868534Z Build completed unsuccessfully in 0:01:38
2019-10-23T08:55:06.8868534Z Build completed unsuccessfully in 0:01:38
2019-10-23T08:55:06.8925742Z == clock drift check ==
2019-10-23T08:55:06.8958716Z   local time: Wed Oct 23 08:55:06 UTC 2019
2019-10-23T08:55:07.1740317Z   network time: Wed, 23 Oct 2019 08:55:07 GMT
2019-10-23T08:55:07.1743489Z == end clock drift check ==
2019-10-23T08:55:09.1765666Z 
2019-10-23T08:55:09.1880875Z ##[error]Bash exited with code '1'.
2019-10-23T08:55:09.1914069Z ##[section]Starting: Checkout
2019-10-23T08:55:09.1916150Z ==============================================================================
2019-10-23T08:55:09.1916222Z Task         : Get sources
2019-10-23T08:55:09.1916285Z 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 changed the title Create new error E0740 and add long error explanation Create new error E0741 and add long error explanation Oct 23, 2019
@GuillaumeGomez
Copy link
Member Author

I changed the error code to fix tests.

@Dylan-DPC-zz
Copy link

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Oct 24, 2019

📌 Commit b64d69d 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 24, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 24, 2019
…-E0740, r=Dylan-DPC

Create new error E0741 and add long error explanation

Part of rust-lang#61137.

Creates E0740 error code and add its long error explanation.
@Centril
Copy link
Contributor

Centril commented Oct 24, 2019

Failed in #65769, @bors r-

@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 24, 2019
@GuillaumeGomez
Copy link
Member Author

Erf, someone already created E0741... :'(

@Dylan-DPC-zz
Copy link

Dylan-DPC-zz commented Oct 25, 2019

We need Mutex<Error Codes> ;)

@GuillaumeGomez
Copy link
Member Author

Indeed haha!

@GuillaumeGomez GuillaumeGomez changed the title Create new error E0741 and add long error explanation Create new error E0742 and add long error explanation Oct 29, 2019
@GuillaumeGomez
Copy link
Member Author

@bors: r=Dylan-DPC

@bors
Copy link
Contributor

bors commented Oct 29, 2019

📌 Commit 9869e5b 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
@GuillaumeGomez
Copy link
Member Author

And to avoid having to update the error code once again:

@bors: p=1

@Dylan-DPC-zz
Copy link

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Oct 29, 2019

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Contributor

bors commented Oct 29, 2019

📌 Commit 9869e5b has been approved by Dylan-DPC

tmandry added a commit to tmandry/rust that referenced this pull request Oct 29, 2019
…-E0740, r=Dylan-DPC

Create new error E0742 and add long error explanation

Part of rust-lang#61137.

Creates E0742 error code and add its long error explanation.
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 bors merged commit 9869e5b into rust-lang:master Oct 29, 2019
@GuillaumeGomez GuillaumeGomez deleted the long-err-explanation-E0740 branch October 30, 2019 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants