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 E0533 #64735

Merged
merged 2 commits into from
Sep 29, 2019

Conversation

GuillaumeGomez
Copy link
Member

Part of #61137

@rust-highfive
Copy link
Collaborator

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@rust-highfive
Copy link
Collaborator

r? @zackmdavis

(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 Sep 24, 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-09-24T12:02:49.6645591Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-09-24T12:02:49.7169201Z ##[command]git config gc.auto 0
2019-09-24T12:02:49.7299263Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-09-24T12:02:49.7362915Z ##[command]git config --get-all http.proxy
2019-09-24T12:02:49.7521216Z ##[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/64735/merge:refs/remotes/pull/64735/merge
---
2019-09-24T13:08:40.3965948Z .................................................................................................... 1500/9038
2019-09-24T13:08:46.9109243Z .................................................................................................... 1600/9038
2019-09-24T13:08:59.9806016Z .........................................................................i...............i.......... 1700/9038
2019-09-24T13:09:07.9167713Z .................................................................................................... 1800/9038
2019-09-24T13:09:16.8462019Z ................................................................iiiii............................... 1900/9038
2019-09-24T13:09:37.3407812Z .................................................................................................... 2100/9038
2019-09-24T13:09:40.0276520Z .................................................................................................... 2200/9038
2019-09-24T13:09:43.4555587Z .................................................................................................... 2300/9038
2019-09-24T13:09:52.3671499Z .................................................................................................... 2400/9038
---
2019-09-24T13:13:01.9412503Z .....................................................i...............i.............................. 4700/9038
2019-09-24T13:13:11.7750484Z .................................................................................................... 4800/9038
2019-09-24T13:13:20.7696968Z .................................................................................................... 4900/9038
2019-09-24T13:13:28.7580163Z .................................................................................................... 5000/9038
2019-09-24T13:13:39.0250276Z ........................................ii.ii....................................................... 5100/9038
2019-09-24T13:13:49.6309099Z .................................................................................................... 5300/9038
2019-09-24T13:14:00.7783865Z .................................................................................................... 5400/9038
2019-09-24T13:14:08.6009803Z .....i.............................................................................................. 5500/9038
2019-09-24T13:14:14.1891870Z .................................................................................................... 5600/9038
2019-09-24T13:14:14.1891870Z .................................................................................................... 5600/9038
2019-09-24T13:14:26.6279416Z .................................................................................................... 5700/9038
2019-09-24T13:14:40.4780472Z ii...i..ii...........i.............................................................................. 5800/9038
2019-09-24T13:15:03.3613185Z .................................................................................................... 6000/9038
2019-09-24T13:15:12.3589209Z .................................................................................................... 6100/9038
2019-09-24T13:15:12.3589209Z .................................................................................................... 6100/9038
2019-09-24T13:15:27.3364845Z ..i..ii............................................................................................. 6200/9038
2019-09-24T13:15:47.1031123Z ..............................................................i..................................... 6400/9038
2019-09-24T13:15:49.5258009Z .................................................................................................... 6500/9038
2019-09-24T13:15:52.2778320Z ..................................i................................................................. 6600/9038
2019-09-24T13:15:56.6855747Z .................................................................................................... 6700/9038
---
2019-09-24T13:20:41.1503676Z  finished in 5.604
2019-09-24T13:20:41.1724514Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:20:41.3877350Z 
2019-09-24T13:20:41.3878385Z running 150 tests
2019-09-24T13:20:44.8807870Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-09-24T13:20:46.9562654Z ..iiii..............i.........iii.i.......ii......
2019-09-24T13:20:46.9563302Z 
2019-09-24T13:20:46.9568777Z  finished in 5.784
2019-09-24T13:20:46.9766811Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:20:47.1596969Z 
---
2019-09-24T13:20:50.1311844Z  finished in 2.431
2019-09-24T13:20:50.1312142Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:20:50.1312185Z 
2019-09-24T13:20:50.1312252Z running 9 tests
2019-09-24T13:20:50.1312533Z iiiiiiiii
2019-09-24T13:20:50.1312853Z 
2019-09-24T13:20:50.1312899Z  finished in 0.174
2019-09-24T13:20:50.1313185Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:20:50.1313225Z 
---
2019-09-24T13:21:09.1289788Z  finished in 19.506
2019-09-24T13:21:10.1367031Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:21:10.1367151Z 
2019-09-24T13:21:10.1367282Z running 123 tests
2019-09-24T13:21:34.7924102Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-09-24T13:21:39.6488580Z i.i.i......iii.i.....ii
2019-09-24T13:21:39.6489123Z 
2019-09-24T13:21:39.6493856Z  finished in 30.497
2019-09-24T13:21:39.6506859Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:21:39.6507263Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-09-24T13:35:21.6035000Z 
2019-09-24T13:35:21.6037067Z    Doc-tests core
2019-09-24T13:35:26.9555549Z 
2019-09-24T13:35:26.9556142Z running 2405 tests
2019-09-24T13:35:38.7440513Z ......iiiii......................................................................................... 100/2405
2019-09-24T13:35:50.0308792Z ...............................................................................ii................... 200/2405
2019-09-24T13:36:17.1575356Z .i.................................................................................................. 400/2405
2019-09-24T13:36:17.1575356Z .i.................................................................................................. 400/2405
2019-09-24T13:36:28.4696953Z ................................................i..i.................iiii........................... 500/2405
2019-09-24T13:36:50.0941227Z .................................................................................................... 700/2405
2019-09-24T13:37:01.0459294Z .................................................................................................... 800/2405
2019-09-24T13:37:11.9109732Z .................................................................................................... 900/2405
2019-09-24T13:37:22.7380323Z .................................................................................................... 1000/2405
---
2019-09-24T13:41:35.7819638Z ............................................... 300/763
2019-09-24T13:41:35.7830667Z thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:854:13
2019-09-24T13:41:35.8241342Z .................................................................................................... 400/763
2019-09-24T13:41:37.8960682Z .................................................................................................... 500/763
2019-09-24T13:41:37.9207952Z ....................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-09-24T13:41:37.9242370Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1165:5
2019-09-24T13:41:37.9264048Z .thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ......thread 'src/libcore/result.rs<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-09-24T13:41:38.2421852Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-09-24T13:41:38.2447844Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-09-24T13:41:38.2482736Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1165:5
2019-09-24T13:41:38.2662417Z ................ 600/763
---
2019-09-24T13:41:49.7554759Z 
2019-09-24T13:41:49.7556471Z running 991 tests
2019-09-24T13:42:12.4760637Z i................................................................................................... 100/991
2019-09-24T13:42:24.7896801Z .................................................................................................... 200/991
2019-09-24T13:42:33.5325744Z .................iii......i......i...i......i....................................................... 300/991
2019-09-24T13:42:39.6900022Z .................................................................................................... 400/991
2019-09-24T13:42:48.2260325Z ..................................i..i.................................ii........................... 500/991
2019-09-24T13:43:04.3459854Z .................................................................................................... 700/991
2019-09-24T13:43:04.3459854Z .................................................................................................... 700/991
2019-09-24T13:43:12.9883198Z .................iiii............................................................................... 800/991
2019-09-24T13:43:28.8549523Z .................................................................................................... 900/991
2019-09-24T13:43:36.8978639Z .......................................iiii................................................
2019-09-24T13:43:36.8980970Z 
2019-09-24T13:43:36.9085901Z  finished in 206.670
2019-09-24T13:43:36.9103527Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-09-24T13:43:37.1321972Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-09-24T14:00:38.5146578Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0533 (line 9225) stdout ----
2019-09-24T14:00:38.5146631Z error[E0061]: this function takes 1 parameter but 0 parameters were supplied
2019-09-24T14:00:38.5147028Z   --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:9233:15
2019-09-24T14:00:38.5147193Z    |
2019-09-24T14:00:38.5147712Z 6  |     fn turtle(&self) -> usize { 0 }
2019-09-24T14:00:38.5148087Z ...
2019-09-24T14:00:38.5148087Z ...
2019-09-24T14:00:38.5148246Z 10 |     x if x == Tortoise::turtle() => {} // Bound into `x` then we compare it!
2019-09-24T14:00:38.5149594Z 
2019-09-24T14:00:38.5149664Z error[E0308]: mismatched types
2019-09-24T14:00:38.5150003Z   --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:9233:15
2019-09-24T14:00:38.5150054Z    |
2019-09-24T14:00:38.5150054Z    |
2019-09-24T14:00:38.5150283Z 10 |     x if x == Tortoise::turtle() => {} // Bound into `x` then we compare it!
2019-09-24T14:00:38.5150460Z    |               ^^^^^^^^^^^^^^^^^^ expected u32, found usize
2019-09-24T14:00:38.5150662Z error: aborting due to 2 previous errors
2019-09-24T14:00:38.5150790Z 
2019-09-24T14:00:38.5150891Z Some errors have detailed explanations: E0061, E0308.
2019-09-24T14:00:38.5151198Z For more information about an error, try `rustc --explain E0061`.
---
2019-09-24T14:00:38.5153953Z == clock drift check ==
2019-09-24T14:00:38.5154359Z   local time: Tue Sep 24 14:00:38 UTC 2019
2019-09-24T14:00:38.7335827Z   network time: Tue, 24 Sep 2019 14:00:38 GMT
2019-09-24T14:00:38.7336283Z == end clock drift check ==
2019-09-24T14:00:39.6665407Z ##[error]Bash exited with code '1'.
2019-09-24T14:00:39.6707691Z ##[section]Starting: Checkout
2019-09-24T14:00:39.6710242Z ==============================================================================
2019-09-24T14:00:39.6710484Z Task         : Get sources
2019-09-24T14:00:39.6710552Z 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)

@rust-highfive

This comment has been minimized.

@Centril
Copy link
Contributor

Centril commented Sep 29, 2019

r? @Centril @bors r+

@bors
Copy link
Contributor

bors commented Sep 29, 2019

📌 Commit e58e144 has been approved by Centril

@rust-highfive rust-highfive assigned Centril and unassigned zackmdavis Sep 29, 2019
@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 Sep 29, 2019
Centril added a commit to Centril/rust that referenced this pull request Sep 29, 2019
…-E0533, r=Centril

Add long error explanation for E0533

Part of rust-lang#61137
Centril added a commit to Centril/rust that referenced this pull request Sep 29, 2019
…-E0533, r=Centril

Add long error explanation for E0533

Part of rust-lang#61137
bors added a commit that referenced this pull request Sep 29, 2019
Rollup of 6 pull requests

Successful merges:

 - #64691 (Point at definition when misusing ADT)
 - #64735 (Add long error explanation for E0533)
 - #64825 (Point at enclosing match when expecting `()` in arm)
 - #64858 (Add support for relating slices in `super_relate_consts`)
 - #64894 (syntax: fix dropping of attribute on first param of non-method assocated fn)
 - #64898 (fixed typo)

Failed merges:

r? @ghost
@bors bors merged commit e58e144 into rust-lang:master Sep 29, 2019
@GuillaumeGomez GuillaumeGomez deleted the long-err-explanation-E0533 branch September 30, 2019 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants