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

Clean up error codes #66900

Merged
merged 2 commits into from
Dec 6, 2019
Merged

Conversation

GuillaumeGomez
Copy link
Member

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 30, 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-11-30T12:45:18.3710487Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-11-30T12:45:18.3730602Z ##[command]git config gc.auto 0
2019-11-30T12:45:18.3733175Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-11-30T12:45:18.3738146Z ##[command]git config --get-all http.proxy
2019-11-30T12:45:18.3743890Z ##[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/66900/merge:refs/remotes/pull/66900/merge
---
2019-11-30T13:42:08.2584870Z .................................................................................................... 1600/9312
2019-11-30T13:42:12.6808665Z .................................................................................................... 1700/9312
2019-11-30T13:42:24.6744547Z ........................................i........................................................... 1800/9312
2019-11-30T13:42:32.1078264Z .................................................................................................... 1900/9312
2019-11-30T13:42:45.3264302Z .........................iiiii...................................................................... 2000/9312
2019-11-30T13:42:55.0445155Z .................................................................................................... 2200/9312
2019-11-30T13:42:57.4758766Z .................................................................................................... 2300/9312
2019-11-30T13:43:01.9181264Z .................................................................................................... 2400/9312
2019-11-30T13:43:23.2372750Z .................................................................................................... 2500/9312
---
2019-11-30T13:45:56.0146063Z ...........................i...............i........................................................ 4800/9312
2019-11-30T13:46:06.0505286Z .................................................................................................... 4900/9312
2019-11-30T13:46:11.8991382Z .................................................................................................... 5000/9312
2019-11-30T13:46:19.6975385Z .................................................................................................... 5100/9312
2019-11-30T13:46:27.0382867Z ................................ii.ii...........i................................................... 5200/9312
2019-11-30T13:46:36.0175994Z .................................................................................................... 5400/9312
2019-11-30T13:46:45.7437135Z .................................................................................................... 5500/9312
2019-11-30T13:46:52.5020602Z ..............i..................................................................................... 5600/9312
2019-11-30T13:46:58.4331509Z .................................................................................................... 5700/9312
2019-11-30T13:46:58.4331509Z .................................................................................................... 5700/9312
2019-11-30T13:47:09.2076244Z .................................................................................................... 5800/9312
2019-11-30T13:47:20.8763143Z ii...i..ii...........i.............................................................................. 5900/9312
2019-11-30T13:47:38.2456527Z .................................................................................................... 6100/9312
2019-11-30T13:47:43.5529425Z .................................................................................................... 6200/9312
2019-11-30T13:47:43.5529425Z .................................................................................................... 6200/9312
2019-11-30T13:47:56.7781094Z .......................i..ii........................................................................ 6300/9312
2019-11-30T13:48:15.8355710Z ...........................................................................................i........ 6500/9312
2019-11-30T13:48:17.9563727Z .................................................................................................... 6600/9312
2019-11-30T13:48:20.0758273Z ..................................................................................i................. 6700/9312
2019-11-30T13:48:22.5986786Z .................................................................................................... 6800/9312
---
2019-11-30T13:53:26.2813974Z  finished in 6.099
2019-11-30T13:53:26.2998098Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T13:53:26.4808615Z 
2019-11-30T13:53:26.4809006Z running 164 tests
2019-11-30T13:53:29.4037072Z iiii....iii......iii..iiii...i.............................i..i..................i....i...........ii 100/164
2019-11-30T13:53:31.3185050Z .i.i..iiii..iiiiiii............i.........iii.i..........ii......
2019-11-30T13:53:31.3186294Z 
2019-11-30T13:53:31.3189762Z  finished in 5.019
2019-11-30T13:53:31.3365886Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T13:53:31.8628522Z 
---
2019-11-30T13:53:33.4889716Z  finished in 2.152
2019-11-30T13:53:33.5075746Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T13:53:33.6564737Z 
2019-11-30T13:53:33.6565019Z running 9 tests
2019-11-30T13:53:33.6566044Z iiiiiiiii
2019-11-30T13:53:33.6585213Z 
2019-11-30T13:53:33.6591010Z  finished in 0.149
2019-11-30T13:53:33.6780391Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T13:53:34.3558522Z 
---
2019-11-30T13:53:53.0090347Z  finished in 19.331
2019-11-30T13:53:53.0288707Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T13:53:53.2148439Z 
2019-11-30T13:53:53.2148849Z running 124 tests
2019-11-30T13:54:15.9586536Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i....ii...i.......ii 100/124
2019-11-30T13:54:20.6361216Z .i.i.i......iii.i.....ii
2019-11-30T13:54:20.6362471Z 
2019-11-30T13:54:20.6365373Z  finished in 27.607
2019-11-30T13:54:20.6372881Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T13:54:20.6375844Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-11-30T14:05:42.2828071Z 
2019-11-30T14:05:42.2828936Z    Doc-tests core
2019-11-30T14:05:47.1088149Z 
2019-11-30T14:05:47.1089231Z running 2421 tests
2019-11-30T14:05:56.8122604Z ......iiiii......................................................................................... 100/2421
2019-11-30T14:06:18.5279788Z .................................................................................................... 300/2421
2019-11-30T14:06:30.5919407Z ..i................................................................................................. 400/2421
2019-11-30T14:06:30.5919407Z ..i................................................................................................. 400/2421
2019-11-30T14:06:40.8207273Z ..................................................i..i..................iiii........................ 500/2421
2019-11-30T14:06:59.5870913Z .................................................................................................... 700/2421
2019-11-30T14:07:09.4404439Z .................................................................................................... 800/2421
2019-11-30T14:07:19.0565062Z .................................................................................................... 900/2421
2019-11-30T14:07:28.7820901Z .................................................................................................... 1000/2421
---
2019-11-30T14:11:11.7585739Z ...............................................thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:854:13
2019-11-30T14:11:11.7585820Z ....... 300/756
2019-11-30T14:11:11.7586034Z .................................................................................................... 400/756
2019-11-30T14:11:13.7723232Z .................................................................................................... 500/756
2019-11-30T14:11:13.8000139Z .............thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1189:5
2019-11-30T14:11:13.8015444Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1189:5
2019-11-30T14:11:13.8030699Z .thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError.', src/libcore/result.rs:1189:5
2019-11-30T14:11:13.8040071Z .....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1189:5
2019-11-30T14:11:14.0112777Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1189:5
2019-11-30T14:11:14.0126476Z ....thread '<unnamed>' panicked at 'thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1189:5
2019-11-30T14:11:14.0156409Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1189:5
2019-11-30T14:11:14.0331170Z ....................... 600/756
2019-11-30T14:11:16.0606189Z ...............thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:629:13
2019-11-30T14:11:16.0607493Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:584:13
---
2019-11-30T14:11:16.0708913Z .thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/rwlock.rs:611:13
2019-11-30T14:11:16.0716491Z .thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/rwlock.rs:623:13
2019-11-30T14:11:18.1203724Z ..........................thread '<unnamed>' panicked at 'What the answer to my lifetimes dilemma is?', src/libstd/sys_common/remutex.rs:233:13
2019-11-30T14:11:18.1252665Z ............................... 700/756
2019-11-30T14:11:18.1336208Z ............................thread '<unnamed>' panicked at 'explicit panic', src/libstd/thread/mod.rs:1544:13
2019-11-30T14:11:18.7402755Z .........thread '<unnamed>' panicked at 'Box<Any>', src/libstd/thread/mod.rs:1676:13
2019-11-30T14:11:18.7408341Z ....thread '<unnamed>' panicked at 'owned string', src/libstd/thread/mod.rs:1662:13
2019-11-30T14:11:18.7409158Z thread '.<unnamed>' panicked at 'static string', src/libstd/thread/mod.rs:1648:13
2019-11-30T14:11:18.7415827Z .thread '<unnamed>' panicked at 'Box<Any>', src/libstd/thread/mod.rs:1694:13
2019-11-30T14:11:24.2473493Z test result: ok. 756 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-30T14:11:24.2473880Z 
2019-11-30T14:11:24.2484692Z      Running build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/env-82a827c5557010dc
2019-11-30T14:11:24.2513280Z 
---
2019-11-30T14:11:25.2882151Z 
2019-11-30T14:11:25.2882431Z running 999 tests
2019-11-30T14:11:43.7724624Z i................................................................................................... 100/999
2019-11-30T14:11:54.7683820Z .................................................................................................... 200/999
2019-11-30T14:12:02.3474102Z ..................iii......i......i...i......i...................................................... 300/999
2019-11-30T14:12:07.5543777Z .................................................................................................... 400/999
2019-11-30T14:12:14.8311998Z ..........................................i..i.................................ii................... 500/999
2019-11-30T14:12:28.4090431Z .................................................................................................... 700/999
2019-11-30T14:12:28.4090431Z .................................................................................................... 700/999
2019-11-30T14:12:35.3697554Z .........................iiii....................................................................... 800/999
2019-11-30T14:12:49.5768048Z .................................................................................................... 900/999
2019-11-30T14:12:56.5830030Z ...............................................iiii................................................
2019-11-30T14:12:56.5835087Z 
2019-11-30T14:12:56.5895208Z  finished in 180.391
2019-11-30T14:12:56.5909967Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-30T14:12:56.8039023Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-11-30T14:30:07.7995818Z 9  | fn main() {
2019-11-30T14:30:07.7996058Z    | --------- previous definition of the value `main` here
2019-11-30T14:30:07.7996122Z ...
2019-11-30T14:30:07.7996162Z 16 | fn main() {
2019-11-30T14:30:07.7996207Z    | ^^^^^^^^^ `main` redefined here
2019-11-30T14:30:07.7996313Z    = note: `main` must be defined only once in the value namespace of this module
2019-11-30T14:30:07.7996345Z 
2019-11-30T14:30:07.7996386Z error[E0136]: multiple `main` functions
2019-11-30T14:30:07.7996669Z   --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:2117:1
---
2019-11-30T14:30:07.8003210Z   local time: Sat Nov 30 14:30:07 UTC 2019
2019-11-30T14:30:08.3001701Z   network time: Sat, 30 Nov 2019 14:30:08 GMT
2019-11-30T14:30:08.3004456Z == end clock drift check ==
2019-11-30T14:30:09.2841831Z 
2019-11-30T14:30:09.2947829Z ##[error]Bash exited with code '1'.
2019-11-30T14:30:09.2985098Z ##[section]Starting: Checkout
2019-11-30T14:30:09.2986681Z ==============================================================================
2019-11-30T14:30:09.2986730Z Task         : Get sources
2019-11-30T14:30:09.2986772Z 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

Fixed the main duplicates.

@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-12-03T15:48:24.0401879Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-12-03T15:48:24.0414443Z ##[command]git config gc.auto 0
2019-12-03T15:48:24.0416482Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-12-03T15:48:24.0418167Z ##[command]git config --get-all http.proxy
2019-12-03T15:48:24.0420390Z ##[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/66900/merge:refs/remotes/pull/66900/merge
---
2019-12-03T15:53:55.6194050Z    Compiling serde_json v1.0.40
2019-12-03T15:53:57.2018465Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2019-12-03T15:54:07.3882407Z     Finished release [optimized] target(s) in 1m 21s
2019-12-03T15:54:07.3973590Z tidy check
2019-12-03T15:54:08.1018342Z tidy error: /checkout/src/librustc_error_codes/error_codes/E0107.md:22: line longer than 80 chars
2019-12-03T15:54:09.9925970Z Found 486 error codes
2019-12-03T15:54:09.9927020Z Found 0 error codes with no tests
2019-12-03T15:54:09.9927099Z Done!
2019-12-03T15:54:09.9928697Z some tidy checks failed
2019-12-03T15:54:09.9928697Z some tidy checks failed
2019-12-03T15:54:09.9928739Z 
2019-12-03T15:54:09.9928765Z 
2019-12-03T15:54:09.9938294Z 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-12-03T15:54:09.9938438Z 
2019-12-03T15:54:09.9938465Z 
2019-12-03T15:54:09.9943759Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2019-12-03T15:54:09.9943827Z Build completed unsuccessfully in 0:01:24
2019-12-03T15:54:09.9943827Z Build completed unsuccessfully in 0:01:24
2019-12-03T15:54:09.9986762Z == clock drift check ==
2019-12-03T15:54:09.9994698Z   local time: Tue Dec  3 15:54:09 UTC 2019
2019-12-03T15:54:10.2633746Z   network time: Tue, 03 Dec 2019 15:54:10 GMT
2019-12-03T15:54:10.2639246Z == end clock drift check ==
2019-12-03T15:54:11.6316203Z 
2019-12-03T15:54:11.6426604Z ##[error]Bash exited with code '1'.
2019-12-03T15:54:11.6453254Z ##[section]Starting: Checkout
2019-12-03T15:54:11.6454779Z ==============================================================================
2019-12-03T15:54:11.6454831Z Task         : Get sources
2019-12-03T15:54:11.6454895Z 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

And now I've fixed the tidy issue...

@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 5, 2019

📌 Commit c911bb1 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 Dec 5, 2019
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Dec 5, 2019
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Dec 5, 2019
RalfJung added a commit to RalfJung/rust that referenced this pull request Dec 5, 2019
bors added a commit that referenced this pull request Dec 5, 2019
Rollup of 13 pull requests

Successful merges:

 - #66405 (Tweak `ObligationForest` `NodeState`s)
 - #66730 (remove dependency from libhermit)
 - #66764 (Tweak wording of `collect()` on bad target type)
 - #66899 (Standard library support for riscv64gc-unknown-linux-gnu)
 - #66900 (Clean up error codes)
 - #66974 ([CI] fix the `! isCI` check in src/ci/run.sh)
 - #66979 (Add long error for E0631 and update ui tests.)
 - #67005 (capitalize Rust)
 - #67010 (Accurately portray raw identifiers in error messages)
 - #67011 (Include a span in more `expected...found` notes)
 - #67017 (cleanup long error explanations)
 - #67021 (Fix docs for formatting delegations)
 - #67041 (add ExitStatusExt into prelude)

Failed merges:

r? @ghost
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Dec 6, 2019
bors added a commit that referenced this pull request Dec 6, 2019
Rollup of 10 pull requests

Successful merges:

 - #66649 (VxWorks: fix issues in accessing environment variables)
 - #66764 (Tweak wording of `collect()` on bad target type)
 - #66900 (Clean up error codes)
 - #66974 ([CI] fix the `! isCI` check in src/ci/run.sh)
 - #66979 (Add long error for E0631 and update ui tests.)
 - #67017 (cleanup long error explanations)
 - #67021 (Fix docs for formatting delegations)
 - #67041 (add ExitStatusExt into prelude)
 - #67065 (Fix fetching arguments on the wasm32-wasi target)
 - #67066 (Update the revision of wasi-libc used in wasm32-wasi)

Failed merges:

r? @ghost
@bors bors merged commit c911bb1 into rust-lang:master Dec 6, 2019
@GuillaumeGomez GuillaumeGomez deleted the clean-up-err-codes branch December 6, 2019 12:52
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.

4 participants