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

docs: add mention of async blocks in move keyword docs #69477

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

Pulkit07
Copy link
Contributor

Fixes #69298

@rust-highfive
Copy link
Collaborator

r? @cramertj

(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 Feb 26, 2020
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-7 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.
2020-02-26T08:33:59.3716931Z ========================== Starting Command Output ===========================
2020-02-26T08:33:59.3719630Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/7a45cf94-f592-400e-9b0e-338eacf3b5f6.sh
2020-02-26T08:33:59.3719886Z 
2020-02-26T08:33:59.3723543Z ##[section]Finishing: Disable git automatic line ending conversion
2020-02-26T08:33:59.3739891Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-26T08:33:59.3742941Z Task         : Get sources
2020-02-26T08:33:59.3743176Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-26T08:33:59.3743464Z Version      : 1.0.0
2020-02-26T08:33:59.3743625Z Author       : Microsoft
---
2020-02-26T08:34:01.7913345Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-02-26T08:34:01.8068736Z ##[command]git config gc.auto 0
2020-02-26T08:34:01.8088458Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-02-26T08:34:01.8118262Z ##[command]git config --get-all http.proxy
2020-02-26T08:34:01.8194003Z ##[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/69477/merge:refs/remotes/pull/69477/merge
---
2020-02-26T09:30:55.0807698Z .................................................................................................... 1700/9708
2020-02-26T09:30:59.0117911Z .................................................................................................... 1800/9708
2020-02-26T09:31:08.7730597Z ...........................................i........................................................ 1900/9708
2020-02-26T09:31:15.5443398Z .................................................................................................... 2000/9708
2020-02-26T09:31:27.5958607Z .................................iiiii.............................................................. 2100/9708
2020-02-26T09:31:35.5938767Z .................................................................................................... 2300/9708
2020-02-26T09:31:37.6136040Z .................................................................................................... 2400/9708
2020-02-26T09:31:41.3436876Z .................................................................................................... 2500/9708
2020-02-26T09:31:58.9273266Z .................................................................................................... 2600/9708
---
2020-02-26T09:34:12.2522041Z .........i.......................................................................................... 5000/9708
2020-02-26T09:34:19.9226934Z .................................................................................................... 5100/9708
2020-02-26T09:34:23.7189555Z ....................................i............................................................... 5200/9708
2020-02-26T09:34:32.3637921Z .................................................................................................... 5300/9708
2020-02-26T09:34:37.2854696Z .............ii.ii........i...i..................................................................... 5400/9708
2020-02-26T09:34:44.1818109Z .................................................................................................... 5600/9708
2020-02-26T09:34:53.2029291Z .................................................................................................... 5700/9708
2020-02-26T09:34:58.9285336Z ....i............................................................................................... 5800/9708
2020-02-26T09:35:03.6279974Z .................................................................................................... 5900/9708
2020-02-26T09:35:03.6279974Z .................................................................................................... 5900/9708
2020-02-26T09:35:11.8288377Z ...............................................................................................ii... 6000/9708
2020-02-26T09:35:22.1473099Z i..ii...........i................................................................................... 6100/9708
2020-02-26T09:35:35.9570114Z .................................................................................................... 6300/9708
2020-02-26T09:35:41.2052985Z .................................................................................................... 6400/9708
2020-02-26T09:35:41.2052985Z .................................................................................................... 6400/9708
2020-02-26T09:35:55.3906470Z ..........................i..ii..................................................................... 6500/9708
2020-02-26T09:36:13.3326442Z .................................................................................................... 6700/9708
2020-02-26T09:36:15.2653671Z ..................i................................................................................. 6800/9708
2020-02-26T09:36:17.2471250Z .................................................................................................... 6900/9708
2020-02-26T09:36:19.2406375Z ................................................i................................................... 7000/9708
---
2020-02-26T09:37:48.3229560Z .................................................................................................... 7700/9708
2020-02-26T09:37:52.4280706Z .................................................................................................... 7800/9708
2020-02-26T09:37:58.0374656Z .............................................................................................i...... 7900/9708
2020-02-26T09:38:04.9111534Z .................................................................................................... 8000/9708
2020-02-26T09:38:10.9872679Z ..........................................iiiiiii.i................................................. 8100/9708
2020-02-26T09:38:22.9567215Z .................................................................................................... 8300/9708
2020-02-26T09:38:27.6160154Z .................................................................................................... 8400/9708
2020-02-26T09:38:40.5319226Z .................................................................................................... 8500/9708
2020-02-26T09:38:46.7374069Z .................................................................................................... 8600/9708
---
2020-02-26T09:40:49.2217862Z  finished in 6.588
2020-02-26T09:40:49.2357256Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T09:40:49.3614500Z 
2020-02-26T09:40:49.3614971Z running 178 tests
2020-02-26T09:40:51.8168824Z iiii......i...........ii..iiii...i....i...........i............i..i..................i....i......... 100/178
2020-02-26T09:40:53.7596494Z ...i.i.i...iii..iiiiiiiiiiiiiiii.......................iii............ii......
2020-02-26T09:40:53.7602651Z 
2020-02-26T09:40:53.7605992Z  finished in 4.523
2020-02-26T09:40:53.7760945Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T09:40:53.9081651Z 
---
2020-02-26T09:40:55.5313421Z  finished in 1.755
2020-02-26T09:40:55.5459032Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T09:40:55.6728045Z 
2020-02-26T09:40:55.6728467Z running 9 tests
2020-02-26T09:40:55.6729232Z iiiiiiiii
2020-02-26T09:40:55.6730044Z 
2020-02-26T09:40:55.6730166Z  finished in 0.126
2020-02-26T09:40:55.6869839Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T09:40:55.8095651Z 
---
2020-02-26T09:41:12.5076555Z  finished in 16.820
2020-02-26T09:41:12.5254708Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T09:41:12.6593712Z 
2020-02-26T09:41:12.6594016Z running 116 tests
2020-02-26T09:41:24.6232618Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii..........i.....i..i.......ii.i.ii. 100/116
2020-02-26T09:41:26.2834696Z ....iiii.....ii.
2020-02-26T09:41:26.2838601Z 
2020-02-26T09:41:26.2838932Z  finished in 13.758
2020-02-26T09:41:26.2842374Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T09:41:26.2843311Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2020-02-26T09:52:55.7747352Z 
2020-02-26T09:52:55.7748336Z    Doc-tests core
2020-02-26T09:52:59.6538142Z 
2020-02-26T09:52:59.6545808Z running 2478 tests
2020-02-26T09:53:07.0215560Z ......iiiii......................................................................................... 100/2478
2020-02-26T09:53:14.2019010Z ..................................................................................ii................ 200/2478
2020-02-26T09:53:31.0106580Z .................i.................................................................................. 400/2478
2020-02-26T09:53:31.0106580Z .................i.................................................................................. 400/2478
2020-02-26T09:53:38.6948749Z ......................................................................i..i..................iiii.... 500/2478
2020-02-26T09:53:52.0028137Z .................................................................................................... 700/2478
2020-02-26T09:53:59.0620531Z .................................................................................................... 800/2478
2020-02-26T09:54:06.1387210Z .................................................................................................... 900/2478
2020-02-26T09:54:13.1240928Z .................................................................................................... 1000/2478
---
2020-02-26T09:57:03.2628325Z .................................................................................................... 500/760
2020-02-26T09:57:03.2805749Z .................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2741:22
2020-02-26T09:57:03.2819374Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2778:21
2020-02-26T09:57:03.2837538Z thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2766:17
2020-02-26T09:57:03.2860481Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2645:13
2020-02-26T09:57:03.4687014Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1997:22
2020-02-26T09:57:03.4723573Z ....thread '.......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1916:13
2020-02-26T09:57:03.4730484Z .<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2034:21
2020-02-26T09:57:05.5214865Z ....................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:633:13
2020-02-26T09:57:05.5223948Z ...thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:587:13
2020-02-26T09:57:05.5224625Z ..thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:563:13
2020-02-26T09:57:05.5229673Z thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:694:13
---
2020-02-26T09:57:14.3671090Z 
2020-02-26T09:57:14.3671410Z running 1010 tests
2020-02-26T09:57:29.2251501Z i................................................................................................... 100/1010
2020-02-26T09:57:37.3242770Z .................................................................................................... 200/1010
2020-02-26T09:57:43.1368321Z ..................iii......i......i...i......i...................................................... 300/1010
2020-02-26T09:57:47.3150138Z .................................................................................................... 400/1010
2020-02-26T09:57:53.1063603Z ............................................i..i...................F..................ii............ 500/1010
2020-02-26T09:58:03.6516970Z .................................................................................................... 700/1010
2020-02-26T09:58:03.6516970Z .................................................................................................... 700/1010
2020-02-26T09:58:09.3403606Z ....................................iiii............................................................ 800/1010
2020-02-26T09:58:21.3364770Z .................................................................................................... 900/1010
2020-02-26T09:58:27.1825251Z ..........................................................iiii...................................... 1000/1010
2020-02-26T09:58:27.5956119Z failures:
2020-02-26T09:58:27.5962519Z 
2020-02-26T09:58:27.5963335Z ---- keyword_docs.rs - move_keyword (line 900) stdout ----
2020-02-26T09:58:27.5963621Z error: cannot find macro `printlin` in this scope
2020-02-26T09:58:27.5963621Z error: cannot find macro `printlin` in this scope
2020-02-26T09:58:27.5964014Z   --> keyword_docs.rs:903:5
2020-02-26T09:58:27.5964163Z    |
2020-02-26T09:58:27.5964350Z 6  |     printlin!("rust says {} from async closure", capture);
2020-02-26T09:58:27.5964887Z    | 
2020-02-26T09:58:27.5965052Z   ::: /checkout/src/libstd/macros.rs:94:1
2020-02-26T09:58:27.5965216Z    |
2020-02-26T09:58:27.5965216Z    |
2020-02-26T09:58:27.5965371Z 94 | macro_rules! println {
2020-02-26T09:58:27.5965764Z    | -------------------- similarly named macro `println` defined here
2020-02-26T09:58:27.5966120Z error[E0658]: async closures are unstable
2020-02-26T09:58:27.5966452Z  --> keyword_docs.rs:902:15
2020-02-26T09:58:27.5966597Z   |
2020-02-26T09:58:27.5966758Z 5 | let closure = async move || {
2020-02-26T09:58:27.5966758Z 5 | let closure = async move || {
2020-02-26T09:58:27.5966929Z   |               ^^^^^
2020-02-26T09:58:27.5967056Z   |
2020-02-26T09:58:27.5967597Z   = note: see issue #62290 <***/issues/62290> for more information
2020-02-26T09:58:27.5968361Z 
2020-02-26T09:58:27.5968510Z error: aborting due to 2 previous errors
2020-02-26T09:58:27.5968662Z 
2020-02-26T09:58:27.5969070Z For more information about this error, try `rustc --explain E0658`.
---
2020-02-26T09:58:27.6159967Z   local time: Wed Feb 26 09:58:27 UTC 2020
2020-02-26T09:58:28.1621380Z   network time: Wed, 26 Feb 2020 09:58:28 GMT
2020-02-26T09:58:28.1621621Z == end clock drift check ==
2020-02-26T09:58:28.5506795Z 
2020-02-26T09:58:28.5564769Z ##[error]Bash exited with code '1'.
2020-02-26T09:58:28.5576743Z ##[section]Finishing: Run build
2020-02-26T09:58:28.5619506Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-26T09:58:28.5623549Z Task         : Get sources
2020-02-26T09:58:28.5623810Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-26T09:58:28.5624049Z Version      : 1.0.0
2020-02-26T09:58:28.5624233Z Author       : Microsoft
2020-02-26T09:58:28.5624233Z Author       : Microsoft
2020-02-26T09:58:28.5624507Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-26T09:58:28.5624812Z ==============================================================================
2020-02-26T09:58:28.8790577Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-02-26T09:58:28.8828780Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-26T09:58:28.8914673Z Cleaning up task key
2020-02-26T09:58:28.8916023Z Start cleaning up orphan processes.
2020-02-26T09:58:28.9223523Z Terminate orphan process: pid (4582) (python)
2020-02-26T09:58:28.9264668Z ##[section]Finishing: Finalize Job

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
Copy link
Collaborator

The job x86_64-gnu-llvm-7 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.
2020-02-26T17:18:51.2340467Z ========================== Starting Command Output ===========================
2020-02-26T17:18:51.2343520Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/aee2e475-15f3-4a58-bc6d-5bccedd3d510.sh
2020-02-26T17:18:51.2343812Z 
2020-02-26T17:18:51.2348001Z ##[section]Finishing: Disable git automatic line ending conversion
2020-02-26T17:18:51.2370456Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-26T17:18:51.2374661Z Task         : Get sources
2020-02-26T17:18:51.2374988Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-26T17:18:51.2375330Z Version      : 1.0.0
2020-02-26T17:18:51.2375544Z Author       : Microsoft
---
2020-02-26T17:18:52.2594958Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-02-26T17:18:52.2604127Z ##[command]git config gc.auto 0
2020-02-26T17:18:52.2662380Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-02-26T17:18:52.2669105Z ##[command]git config --get-all http.proxy
2020-02-26T17:18:52.2680001Z ##[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/69477/merge:refs/remotes/pull/69477/merge
---
2020-02-26T18:22:37.9767932Z .................................................................................................... 1700/9733
2020-02-26T18:22:43.1662671Z .................................................................................................... 1800/9733
2020-02-26T18:22:56.0112001Z ....................................................................i............................... 1900/9733
2020-02-26T18:23:03.6928293Z .................................................................................................... 2000/9733
2020-02-26T18:23:19.7565487Z ..........................................................iiiii..................................... 2100/9733
2020-02-26T18:23:31.3302635Z .................................................................................................... 2300/9733
2020-02-26T18:23:33.8788771Z .................................................................................................... 2400/9733
2020-02-26T18:23:37.2773993Z .................................................................................................... 2500/9733
2020-02-26T18:24:00.2389934Z .................................................................................................... 2600/9733
---
2020-02-26T18:26:50.2052498Z ..................i...............i................................................................. 5000/9733
2020-02-26T18:27:00.8007451Z .................................................................................................... 5100/9733
2020-02-26T18:27:06.9043154Z .............................................................i...................................... 5200/9733
2020-02-26T18:27:14.3256823Z .................................................................................................... 5300/9733
2020-02-26T18:27:23.6388868Z ......................................ii.ii........i...i............................................ 5400/9733
2020-02-26T18:27:33.2971521Z .................................................................................................... 5600/9733
2020-02-26T18:27:43.3707785Z .................................................................................................... 5700/9733
2020-02-26T18:27:50.7675262Z .............................i...................................................................... 5800/9733
2020-02-26T18:27:57.2146840Z .................................................................................................... 5900/9733
2020-02-26T18:27:57.2146840Z .................................................................................................... 5900/9733
2020-02-26T18:28:08.9593910Z .................................................................................................... 6000/9733
2020-02-26T18:28:19.7571888Z ....................ii...i..ii...........i.......................................................... 6100/9733
2020-02-26T18:28:37.2616505Z .................................................................................................... 6300/9733
2020-02-26T18:28:44.9139615Z .................................................................................................... 6400/9733
2020-02-26T18:28:44.9139615Z .................................................................................................... 6400/9733
2020-02-26T18:28:57.1505567Z ...................................................i..ii............................................ 6500/9733
2020-02-26T18:29:22.8942232Z .................................................................................................... 6700/9733
2020-02-26T18:29:25.4314144Z ...........................................i........................................................ 6800/9733
2020-02-26T18:29:27.7540546Z .................................................................................................... 6900/9733
2020-02-26T18:29:30.2440242Z .........................................................................i.......................... 7000/9733
---
2020-02-26T18:31:15.7736954Z .................................................................................................... 7700/9733
2020-02-26T18:31:21.5330963Z .................................................................................................... 7800/9733
2020-02-26T18:31:26.9164086Z .................................................................................................... 7900/9733
2020-02-26T18:31:36.3161905Z ..................i................................................................................. 8000/9733
2020-02-26T18:31:45.1384301Z ...................................................................iiiiiii.i........................ 8100/9733
2020-02-26T18:32:01.3290217Z ........i......i.................................................................................... 8300/9733
2020-02-26T18:32:07.0044118Z .................................................................................................... 8400/9733
2020-02-26T18:32:20.9088248Z .................................................................................................... 8500/9733
2020-02-26T18:32:30.7089233Z .................................................................................................... 8600/9733
---
2020-02-26T18:35:03.1507466Z  finished in 7.522
2020-02-26T18:35:03.1715049Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T18:35:03.3752282Z 
2020-02-26T18:35:03.3752666Z running 178 tests
2020-02-26T18:35:06.4926022Z iiii......i...........ii..iiii...i....i...........i............i..i..................i....i......... 100/178
2020-02-26T18:35:08.9100392Z ...i.i.i...iii..iiiiiiiiiiiiiiii.......................iii............ii......
2020-02-26T18:35:08.9104056Z 
2020-02-26T18:35:08.9163254Z  finished in 5.738
2020-02-26T18:35:08.9280091Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T18:35:09.0938254Z 
---
2020-02-26T18:35:11.0909782Z  finished in 2.162
2020-02-26T18:35:11.1126008Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T18:35:11.2877234Z 
2020-02-26T18:35:11.2877610Z running 9 tests
2020-02-26T18:35:11.2878824Z iiiiiiiii
2020-02-26T18:35:11.2885282Z 
2020-02-26T18:35:11.2885477Z  finished in 0.175
2020-02-26T18:35:11.3092029Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T18:35:11.5287379Z 
---
2020-02-26T18:35:32.5602611Z  finished in 21.251
2020-02-26T18:35:32.5858033Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T18:35:32.8057189Z 
2020-02-26T18:35:32.8057690Z running 116 tests
2020-02-26T18:35:47.0447304Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii..........i.....i..i.......ii.i.ii. 100/116
2020-02-26T18:35:48.9469729Z ....iiii.....ii.
2020-02-26T18:35:48.9471215Z 
2020-02-26T18:35:48.9471487Z  finished in 16.361
2020-02-26T18:35:48.9477276Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-26T18:35:48.9478194Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2020-02-26T18:49:51.2490270Z 
2020-02-26T18:49:51.2491224Z    Doc-tests core
2020-02-26T18:49:56.1824904Z 
2020-02-26T18:49:56.1825298Z running 2478 tests
2020-02-26T18:50:05.6510142Z ......iiiii......................................................................................... 100/2478
2020-02-26T18:50:14.5010132Z ..................................................................................ii................ 200/2478
2020-02-26T18:50:34.7396194Z .................i.................................................................................. 400/2478
2020-02-26T18:50:34.7396194Z .................i.................................................................................. 400/2478
2020-02-26T18:50:43.9534353Z ......................................................................i..i..................iiii.... 500/2478
2020-02-26T18:50:59.5462667Z .................................................................................................... 700/2478
2020-02-26T18:51:07.4896862Z .................................................................................................... 800/2478
2020-02-26T18:51:15.7658997Z .................................................................................................... 900/2478
2020-02-26T18:51:23.8669836Z .................................................................................................... 1000/2478
---
2020-02-26T18:54:53.7231467Z 
2020-02-26T18:54:53.7237633Z running 1010 tests
2020-02-26T18:55:11.2676644Z i................................................................................................... 100/1010
2020-02-26T18:55:21.1658124Z .................................................................................................... 200/1010
2020-02-26T18:55:28.1180462Z ..................iii......i......i...i......i...................................................... 300/1010
2020-02-26T18:55:33.0330078Z .................................................................................................... 400/1010
2020-02-26T18:55:39.6535002Z ............................................i..i...................F..................ii............ 500/1010
2020-02-26T18:55:51.7200750Z .................................................................................................... 700/1010
2020-02-26T18:55:51.7200750Z .................................................................................................... 700/1010
2020-02-26T18:55:58.1922234Z ....................................iiii............................................................ 800/1010
2020-02-26T18:56:12.0693052Z .................................................................................................... 900/1010
2020-02-26T18:56:18.7242303Z ..........................................................iiii...................................... 1000/1010
2020-02-26T18:56:19.1731177Z failures:
2020-02-26T18:56:19.1731693Z 
2020-02-26T18:56:19.1732863Z ---- keyword_docs.rs - move_keyword (line 900) stdout ----
2020-02-26T18:56:19.1733412Z error[E0658]: async closures are unstable
2020-02-26T18:56:19.1733412Z error[E0658]: async closures are unstable
2020-02-26T18:56:19.1734171Z  --> keyword_docs.rs:902:15
2020-02-26T18:56:19.1734598Z   |
2020-02-26T18:56:19.1735630Z 5 | let closure = async move || {
2020-02-26T18:56:19.1736504Z   |               ^^^^^
2020-02-26T18:56:19.1736734Z   |
2020-02-26T18:56:19.1737655Z   = note: see issue #62290 <***/issues/62290> for more information
2020-02-26T18:56:19.1738356Z 
2020-02-26T18:56:19.1738582Z error: aborting due to previous error
2020-02-26T18:56:19.1738983Z 
2020-02-26T18:56:19.1739574Z For more information about this error, try `rustc --explain E0658`.
---
2020-02-26T18:56:19.1950755Z   local time: Wed Feb 26 18:56:19 UTC 2020
2020-02-26T18:56:19.2652515Z   network time: Wed, 26 Feb 2020 18:56:19 GMT
2020-02-26T18:56:19.2654582Z == end clock drift check ==
2020-02-26T18:56:19.6328108Z 
2020-02-26T18:56:19.6400999Z ##[error]Bash exited with code '1'.
2020-02-26T18:56:19.6413772Z ##[section]Finishing: Run build
2020-02-26T18:56:19.6455755Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-26T18:56:19.6460470Z Task         : Get sources
2020-02-26T18:56:19.6460801Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-26T18:56:19.6461074Z Version      : 1.0.0
2020-02-26T18:56:19.6461267Z Author       : Microsoft
2020-02-26T18:56:19.6461267Z Author       : Microsoft
2020-02-26T18:56:19.6461605Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-26T18:56:19.6461956Z ==============================================================================
2020-02-26T18:56:19.9695390Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-02-26T18:56:19.9743095Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-26T18:56:19.9839751Z Cleaning up task key
2020-02-26T18:56:19.9840981Z Start cleaning up orphan processes.
2020-02-26T18:56:20.0000257Z Terminate orphan process: pid (4059) (python)
2020-02-26T18:56:20.0222914Z ##[section]Finishing: Finalize Job

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
/// let capture = "hello";
/// let closure = async move || {
Copy link
Member

Choose a reason for hiding this comment

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

This doc says "async block" above, but uses an async closure and says "async closure" below. async closures are not stable and shouldn't be mentioned in these docs.

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-7 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.
2020-02-27T13:10:37.3678030Z ========================== Starting Command Output ===========================
2020-02-27T13:10:37.3683126Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/7c017ec8-e9b3-4085-815b-9ec8a4a90433.sh
2020-02-27T13:10:37.3683656Z 
2020-02-27T13:10:37.3688539Z ##[section]Finishing: Disable git automatic line ending conversion
2020-02-27T13:10:37.3715445Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-27T13:10:37.3722112Z Task         : Get sources
2020-02-27T13:10:37.3722464Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-27T13:10:37.3722995Z Version      : 1.0.0
2020-02-27T13:10:37.3723214Z Author       : Microsoft
---
2020-02-27T13:10:40.0938372Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-02-27T13:10:40.1147269Z ##[command]git config gc.auto 0
2020-02-27T13:10:40.1187072Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-02-27T13:10:40.1220741Z ##[command]git config --get-all http.proxy
2020-02-27T13:10:40.1334996Z ##[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/69477/merge:refs/remotes/pull/69477/merge
---
2020-02-27T14:20:03.9052750Z .................................................................................................... 1700/9733
2020-02-27T14:20:08.6681583Z .................................................................................................... 1800/9733
2020-02-27T14:20:20.9240914Z ....................................................................i............................... 1900/9733
2020-02-27T14:20:28.3348776Z .................................................................................................... 2000/9733
2020-02-27T14:20:44.4384726Z ..........................................................iiiii..................................... 2100/9733
2020-02-27T14:20:56.0410302Z .................................................................................................... 2300/9733
2020-02-27T14:20:58.5665815Z .................................................................................................... 2400/9733
2020-02-27T14:21:01.9994892Z .................................................................................................... 2500/9733
2020-02-27T14:21:25.2233331Z .................................................................................................... 2600/9733
---
2020-02-27T14:24:16.7058077Z ..................i...............i................................................................. 5000/9733
2020-02-27T14:24:27.4053107Z .................................................................................................... 5100/9733
2020-02-27T14:24:33.5375542Z .............................................................i...................................... 5200/9733
2020-02-27T14:24:40.8331093Z .................................................................................................... 5300/9733
2020-02-27T14:24:50.6510201Z ......................................ii.ii........i...i............................................ 5400/9733
2020-02-27T14:25:00.3318458Z .................................................................................................... 5600/9733
2020-02-27T14:25:10.5252986Z .................................................................................................... 5700/9733
2020-02-27T14:25:17.9776633Z .............................i...................................................................... 5800/9733
2020-02-27T14:25:24.6039519Z .................................................................................................... 5900/9733
2020-02-27T14:25:24.6039519Z .................................................................................................... 5900/9733
2020-02-27T14:25:36.4411965Z .................................................................................................... 6000/9733
2020-02-27T14:25:47.5327532Z ....................ii...i..ii...........i.......................................................... 6100/9733
2020-02-27T14:26:05.5903744Z .................................................................................................... 6300/9733
2020-02-27T14:26:13.2080237Z .................................................................................................... 6400/9733
2020-02-27T14:26:13.2080237Z .................................................................................................... 6400/9733
2020-02-27T14:26:27.1460910Z ...................................................i..ii............................................ 6500/9733
2020-02-27T14:26:53.4247316Z .................................................................................................... 6700/9733
2020-02-27T14:26:56.0449721Z ...........................................i........................................................ 6800/9733
2020-02-27T14:26:58.4364528Z .................................................................................................... 6900/9733
2020-02-27T14:27:01.0142639Z .........................................................................i.......................... 7000/9733
---
2020-02-27T14:28:49.8199153Z .................................................................................................... 7700/9733
2020-02-27T14:28:55.6576915Z .................................................................................................... 7800/9733
2020-02-27T14:29:01.0605608Z .................................................................................................... 7900/9733
2020-02-27T14:29:09.9270885Z ..................i................................................................................. 8000/9733
2020-02-27T14:29:19.3993435Z ...................................................................iiiiiii.i........................ 8100/9733
2020-02-27T14:29:35.9627121Z ........i......i.................................................................................... 8300/9733
2020-02-27T14:29:41.6343433Z .................................................................................................... 8400/9733
2020-02-27T14:29:55.7991024Z .................................................................................................... 8500/9733
2020-02-27T14:30:05.8421995Z .................................................................................................... 8600/9733
---
2020-02-27T14:32:43.0880818Z  finished in 8.308
2020-02-27T14:32:43.1114319Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-27T14:32:43.3353001Z 
2020-02-27T14:32:43.3354469Z running 178 tests
2020-02-27T14:32:46.6386775Z iiii......i...........ii..iiii...i....i...........i............i..i..................i....i......... 100/178
2020-02-27T14:32:49.1356817Z ...i.i.i...iii..iiiiiiiiiiiiiiii.......................iii............ii......
2020-02-27T14:32:49.1360272Z 
2020-02-27T14:32:49.1360578Z  finished in 6.024
2020-02-27T14:32:49.1574787Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-27T14:32:49.3482260Z 
---
2020-02-27T14:32:51.5001930Z  finished in 2.342
2020-02-27T14:32:51.5199658Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-27T14:32:51.6822420Z 
2020-02-27T14:32:51.6823189Z running 9 tests
2020-02-27T14:32:51.6824605Z iiiiiiiii
2020-02-27T14:32:51.6827091Z 
2020-02-27T14:32:51.6827403Z  finished in 0.161
2020-02-27T14:32:51.7026410Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-27T14:32:51.9150664Z 
---
2020-02-27T14:33:14.2118167Z  finished in 22.509
2020-02-27T14:33:14.2362787Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-27T14:33:14.4314504Z 
2020-02-27T14:33:14.4314888Z running 116 tests
2020-02-27T14:33:28.4756864Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii..........i.....i..i.......ii.i.ii. 100/116
2020-02-27T14:33:30.5752612Z ....iiii.....ii.
2020-02-27T14:33:30.5754104Z 
2020-02-27T14:33:30.5755791Z  finished in 16.339
2020-02-27T14:33:30.5763054Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-02-27T14:33:30.5763894Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2020-02-27T14:48:01.7981579Z 
2020-02-27T14:48:01.7982506Z    Doc-tests core
2020-02-27T14:48:06.8241142Z 
2020-02-27T14:48:06.8242347Z running 2480 tests
2020-02-27T14:48:16.2164707Z ......iiiii......................................................................................... 100/2480
2020-02-27T14:48:25.5323576Z ....................................................................................ii.............. 200/2480
2020-02-27T14:48:47.1465280Z ...................i................................................................................ 400/2480
2020-02-27T14:48:47.1465280Z ...................i................................................................................ 400/2480
2020-02-27T14:48:57.4398088Z ........................................................................i..i..................iiii.. 500/2480
2020-02-27T14:49:15.3859488Z .................................................................................................... 700/2480
2020-02-27T14:49:24.6654133Z .................................................................................................... 800/2480
2020-02-27T14:49:33.9149699Z .................................................................................................... 900/2480
2020-02-27T14:49:43.3871929Z .................................................................................................... 1000/2480
---
2020-02-27T14:53:33.7529624Z 
2020-02-27T14:53:33.7529978Z running 1010 tests
2020-02-27T14:53:52.6545267Z i................................................................................................... 100/1010
2020-02-27T14:54:03.2176822Z .................................................................................................... 200/1010
2020-02-27T14:54:10.4895187Z ...................iii.....i......i...i......i...................................................... 300/1010
2020-02-27T14:54:15.7595238Z .................................................................................................... 400/1010
2020-02-27T14:54:22.7178743Z ............................................i..i...................F..................ii............ 500/1010
2020-02-27T14:54:35.6732774Z .................................................................................................... 700/1010
2020-02-27T14:54:35.6732774Z .................................................................................................... 700/1010
2020-02-27T14:54:42.7898071Z ....................................iiii............................................................ 800/1010
2020-02-27T14:54:57.4142749Z .................................................................................................... 900/1010
2020-02-27T14:55:04.4212162Z ..........................................................iiii...................................... 1000/1010
2020-02-27T14:55:04.9027752Z failures:
2020-02-27T14:55:04.9027873Z 
2020-02-27T14:55:04.9029346Z ---- keyword_docs.rs - move_keyword (line 900) stdout ----
2020-02-27T14:55:04.9029754Z error: unused implementer of `std::future::Future` that must be used
2020-02-27T14:55:04.9029754Z error: unused implementer of `std::future::Future` that must be used
2020-02-27T14:55:04.9030273Z  --> keyword_docs.rs:902:1
2020-02-27T14:55:04.9030460Z   |
2020-02-27T14:55:04.9030634Z 5 | / async move {
2020-02-27T14:55:04.9030890Z 6 | |     println!("rust says {} from async block", capture);
2020-02-27T14:55:04.9031293Z   | |__^
2020-02-27T14:55:04.9031428Z   |
2020-02-27T14:55:04.9031829Z note: the lint level is defined here
2020-02-27T14:55:04.9032296Z  --> keyword_docs.rs:898:9
2020-02-27T14:55:04.9032296Z  --> keyword_docs.rs:898:9
2020-02-27T14:55:04.9032504Z   |
2020-02-27T14:55:04.9032781Z 1 | #![deny(warnings)]
2020-02-27T14:55:04.9032981Z   |         ^^^^^^^^
2020-02-27T14:55:04.9033275Z   = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
2020-02-27T14:55:04.9033623Z   = note: futures do nothing unless you `.await` or poll them
2020-02-27T14:55:04.9034038Z error: aborting due to previous error
2020-02-27T14:55:04.9034204Z 
2020-02-27T14:55:04.9034573Z Couldn't compile the test.
2020-02-27T14:55:04.9034722Z 
---
2020-02-27T14:55:04.9250089Z   local time: Thu Feb 27 14:55:04 UTC 2020
2020-02-27T14:55:05.4797627Z   network time: Thu, 27 Feb 2020 14:55:05 GMT
2020-02-27T14:55:05.4799426Z == end clock drift check ==
2020-02-27T14:55:06.2315495Z 
2020-02-27T14:55:06.2399796Z ##[error]Bash exited with code '1'.
2020-02-27T14:55:06.2418851Z ##[section]Finishing: Run build
2020-02-27T14:55:06.2467658Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-27T14:55:06.2472934Z Task         : Get sources
2020-02-27T14:55:06.2473279Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-27T14:55:06.2473596Z Version      : 1.0.0
2020-02-27T14:55:06.2473836Z Author       : Microsoft
2020-02-27T14:55:06.2473836Z Author       : Microsoft
2020-02-27T14:55:06.2474193Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-27T14:55:06.2474600Z ==============================================================================
2020-02-27T14:55:06.6041732Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-02-27T14:55:06.6088409Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69477/merge to s
2020-02-27T14:55:06.6178279Z Cleaning up task key
2020-02-27T14:55:06.6179538Z Start cleaning up orphan processes.
2020-02-27T14:55:06.6356066Z Terminate orphan process: pid (4644) (python)
2020-02-27T14:55:06.6623902Z ##[section]Finishing: Finalize Job

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)

@cramertj
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Feb 28, 2020

📌 Commit 299a0d5 has been approved by cramertj

@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 Feb 28, 2020
bors added a commit that referenced this pull request Feb 29, 2020
Rollup of 6 pull requests

Successful merges:

 - #69477 (docs: add mention of async blocks in move keyword docs)
 - #69504 (Use assert_ne in hash tests)
 - #69546 (use to_vec() instead of .iter().cloned().collect() to convert slices to vecs.)
 - #69551 (use is_empty() instead of len() == x  to determine if structs are empty.)
 - #69563 (Fix no_std detection for target triples)
 - #69567 (use .to_string() instead of format!() macro to create strings)

Failed merges:

r? @ghost
@bors bors merged commit 222aa62 into rust-lang:master Feb 29, 2020
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.

Move keyword page makes no mention of async blocks
4 participants