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 more delegations to the fmt docs and add doctests #67253

Merged
merged 2 commits into from
Dec 20, 2019

Conversation

elichai
Copy link
Contributor

@elichai elichai commented Dec 12, 2019

HI,
this is a continuation to #67021
I replaced the Debug example with one that use the Debug* helpers so that padding etc will work too.
I also added asserts for the doctests as @RalfJung asked :)

The only thing I left with the write! macro is the Display example as I didn't know if there's a better way to do that.

r? @QuietMisdreavus

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 12, 2019
@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.
2019-12-12T14:08:47.3164335Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-12-12T14:08:47.3390629Z ##[command]git config gc.auto 0
2019-12-12T14:08:47.3462163Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-12-12T14:08:47.3510646Z ##[command]git config --get-all http.proxy
2019-12-12T14:08:47.3651809Z ##[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/67253/merge:refs/remotes/pull/67253/merge
---
2019-12-12T14:14:17.7010564Z    Compiling serde_json v1.0.40
2019-12-12T14:14:19.3858010Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2019-12-12T14:14:29.9550435Z     Finished release [optimized] target(s) in 1m 19s
2019-12-12T14:14:29.9648066Z tidy check
2019-12-12T14:14:30.1698495Z tidy error: /checkout/src/libcore/fmt/mod.rs:725: line longer than 100 chars
2019-12-12T14:14:32.4601737Z some tidy checks failed
2019-12-12T14:14:32.4602166Z Found 485 error codes
2019-12-12T14:14:32.4602206Z Found 0 error codes with no tests
2019-12-12T14:14:32.4602244Z Done!
2019-12-12T14:14:32.4602244Z Done!
2019-12-12T14:14:32.4604949Z 
2019-12-12T14:14:32.4605200Z 
2019-12-12T14:14:32.4606475Z 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-12T14:14:32.4606962Z 
2019-12-12T14:14:32.4606991Z 
2019-12-12T14:14:32.4664782Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2019-12-12T14:14:32.4665797Z Build completed unsuccessfully in 0:01:23
2019-12-12T14:14:32.4665797Z Build completed unsuccessfully in 0:01:23
2019-12-12T14:14:32.4670459Z == clock drift check ==
2019-12-12T14:14:32.4683462Z   local time: Thu Dec 12 14:14:32 UTC 2019
2019-12-12T14:14:32.5673827Z   network time: Thu, 12 Dec 2019 14:14:32 GMT
2019-12-12T14:14:32.5680167Z == end clock drift check ==
2019-12-12T14:14:33.9590974Z 
2019-12-12T14:14:33.9688523Z ##[error]Bash exited with code '1'.
2019-12-12T14:14:33.9729046Z ##[section]Starting: Checkout
2019-12-12T14:14:33.9730656Z ==============================================================================
2019-12-12T14:14:33.9730706Z Task         : Get sources
2019-12-12T14:14:33.9730764Z 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)

@elichai elichai force-pushed the 2019-12-fmt branch 2 times, most recently from 840fb71 to 4ebcb9d Compare December 12, 2019 14:52
@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.
2019-12-12T14:53:39.5870119Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-12-12T14:53:39.6058201Z ##[command]git config gc.auto 0
2019-12-12T14:53:40.3640119Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-12-12T14:53:40.3651363Z ##[command]git config --get-all http.proxy
2019-12-12T14:53:40.3662061Z ##[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/67253/merge:refs/remotes/pull/67253/merge
---
2019-12-12T15:54:06.6131825Z .................................................................................................... 1600/9364
2019-12-12T15:54:11.0912680Z .................................................................................................... 1700/9364
2019-12-12T15:54:23.3258182Z ................................................................i................................... 1800/9364
2019-12-12T15:54:31.1680364Z .................................................................................................... 1900/9364
2019-12-12T15:54:46.0645298Z .................................................iiiii.............................................. 2000/9364
2019-12-12T15:54:56.6532199Z .................................................................................................... 2200/9364
2019-12-12T15:54:59.3016108Z .................................................................................................... 2300/9364
2019-12-12T15:55:02.7817530Z .................................................................................................... 2400/9364
2019-12-12T15:55:25.5561176Z .................................................................................................... 2500/9364
---
2019-12-12T15:58:00.2708867Z .................................................................................................... 4700/9364
2019-12-12T15:58:05.5263531Z .........................................................i...............i.......................... 4800/9364
2019-12-12T15:58:13.5790992Z .................................................................................................... 4900/9364
2019-12-12T15:58:22.1556249Z .................................................................................................... 5000/9364
2019-12-12T15:58:27.5844912Z .i.................................................................................................. 5100/9364
2019-12-12T15:58:38.0505710Z ...................................................................ii.ii...........i................ 5200/9364
2019-12-12T15:58:47.1735858Z ...i................................................................................................ 5400/9364
2019-12-12T15:58:57.6689757Z .................................................................................................... 5500/9364
2019-12-12T15:59:04.0597622Z .................................................i.................................................. 5600/9364
2019-12-12T15:59:11.3507447Z .................................................................................................... 5700/9364
2019-12-12T15:59:11.3507447Z .................................................................................................... 5700/9364
2019-12-12T15:59:21.8577565Z .................................................................................................... 5800/9364
2019-12-12T15:59:32.1519936Z .....................................ii...i..ii...........i......................................... 5900/9364
2019-12-12T15:59:51.8561607Z .................................................................................................... 6100/9364
2019-12-12T16:00:00.3538379Z .................................................................................................... 6200/9364
2019-12-12T16:00:00.3538379Z .................................................................................................... 6200/9364
2019-12-12T16:00:10.5204063Z .............................................................i..ii.................................. 6300/9364
2019-12-12T16:00:38.9125387Z .................................................................................................... 6500/9364
2019-12-12T16:00:41.0806708Z .................................i.................................................................. 6600/9364
2019-12-12T16:00:43.4397848Z .................................................................................................... 6700/9364
2019-12-12T16:00:45.8718585Z ........................i........................................................................... 6800/9364
---
2019-12-12T16:02:25.6346613Z .................................................................................................... 7400/9364
2019-12-12T16:02:30.6628561Z .................................................................................................... 7500/9364
2019-12-12T16:02:37.4380788Z .................................................................................................... 7600/9364
2019-12-12T16:02:46.1457849Z .................................................................................................... 7700/9364
2019-12-12T16:02:54.2161911Z ...........................................iiii..................................................... 7800/9364
2019-12-12T16:03:08.9920674Z .................................................................................................... 8000/9364
2019-12-12T16:03:17.7053736Z .................................................................................................... 8100/9364
2019-12-12T16:03:31.6542626Z .................................................................................................... 8200/9364
2019-12-12T16:03:40.3964764Z .................................................................................................... 8300/9364
---
2019-12-12T16:06:02.8978382Z  finished in 6.335
2019-12-12T16:06:02.9158468Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-12T16:06:03.0970519Z 
2019-12-12T16:06:03.0970842Z running 166 tests
2019-12-12T16:06:06.2637594Z iiii......i........ii..iiii...i.............................i..i..................i....i............ 100/166
2019-12-12T16:06:08.4156232Z i.i.i...iii..iiiiiii.......................iii............ii......
2019-12-12T16:06:08.4159642Z 
2019-12-12T16:06:08.4163257Z  finished in 5.499
2019-12-12T16:06:08.4370854Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-12T16:06:08.6039857Z 
---
2019-12-12T16:06:10.5753354Z  finished in 2.138
2019-12-12T16:06:10.5962028Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-12T16:06:10.7626136Z 
2019-12-12T16:06:10.7628033Z running 9 tests
2019-12-12T16:06:10.7628905Z iiiiiiiii
2019-12-12T16:06:10.7629263Z 
2019-12-12T16:06:10.7629327Z  finished in 0.166
2019-12-12T16:06:10.7820253Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-12T16:06:10.9653630Z 
---
2019-12-12T16:06:30.9830745Z  finished in 20.201
2019-12-12T16:06:31.0065464Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-12T16:06:31.1881298Z 
2019-12-12T16:06:31.1882418Z running 124 tests
2019-12-12T16:06:57.5455236Z .iiiii..ii.....i..i...i..i.i.i..i..i..iii....ii.ii....ii..........iiii..........i.....i..ii.......ii 100/124
2019-12-12T16:07:01.8500452Z .i.iii.....iiiiii.....ii
2019-12-12T16:07:01.8502131Z 
2019-12-12T16:07:01.8506019Z  finished in 30.844
2019-12-12T16:07:01.8516186Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-12T16:07:01.8517324Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-12-12T16:13:30.5925659Z ------------------------------------------
2019-12-12T16:13:30.5925715Z error: unknown start of token: `
2019-12-12T16:13:30.5926128Z   --> <doctest>:21:23
2019-12-12T16:13:30.5926190Z    |
2019-12-12T16:13:30.5926340Z 21 | There are a number of `debug_*` methods on [`Formatter`] to help you with manual
2019-12-12T16:13:30.5926447Z    |
2019-12-12T16:13:30.5926796Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5926851Z    |
2019-12-12T16:13:30.5926851Z    |
2019-12-12T16:13:30.5927140Z 21 | There are a number of 'debug_*` methods on [`Formatter`] to help you with manual
2019-12-12T16:13:30.5927251Z 
2019-12-12T16:13:30.5927298Z error: unknown start of token: `
2019-12-12T16:13:30.5927538Z   --> <doctest>:21:31
2019-12-12T16:13:30.5927621Z    |
2019-12-12T16:13:30.5927621Z    |
2019-12-12T16:13:30.5927674Z 21 | There are a number of `debug_*` methods on [`Formatter`] to help you with manual
2019-12-12T16:13:30.5927795Z    |
2019-12-12T16:13:30.5928102Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5928158Z    |
2019-12-12T16:13:30.5928158Z    |
2019-12-12T16:13:30.5928463Z 21 | There are a number of `debug_*' methods on [`Formatter`] to help you with manual
2019-12-12T16:13:30.5928553Z 
2019-12-12T16:13:30.5928598Z error: unknown start of token: `
2019-12-12T16:13:30.5928892Z   --> <doctest>:21:45
2019-12-12T16:13:30.5928940Z    |
2019-12-12T16:13:30.5928940Z    |
2019-12-12T16:13:30.5928994Z 21 | There are a number of `debug_*` methods on [`Formatter`] to help you with manual
2019-12-12T16:13:30.5929118Z    |
2019-12-12T16:13:30.5929772Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5929856Z    |
2019-12-12T16:13:30.5929856Z    |
2019-12-12T16:13:30.5930149Z 21 | There are a number of `debug_*` methods on ['Formatter`] to help you with manual
2019-12-12T16:13:30.5930255Z 
2019-12-12T16:13:30.5930326Z error: unknown start of token: `
2019-12-12T16:13:30.5930553Z   --> <doctest>:21:55
2019-12-12T16:13:30.5930602Z    |
2019-12-12T16:13:30.5930602Z    |
2019-12-12T16:13:30.5930675Z 21 | There are a number of `debug_*` methods on [`Formatter`] to help you with manual
2019-12-12T16:13:30.5930783Z    |
2019-12-12T16:13:30.5931094Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5931148Z    |
2019-12-12T16:13:30.5931148Z    |
2019-12-12T16:13:30.5931437Z 21 | There are a number of `debug_*` methods on [`Formatter'] to help you with manual
2019-12-12T16:13:30.5931562Z 
2019-12-12T16:13:30.5931608Z error: unknown start of token: `
2019-12-12T16:13:30.5931835Z   --> <doctest>:22:27
2019-12-12T16:13:30.5931902Z    |
2019-12-12T16:13:30.5931902Z    |
2019-12-12T16:13:30.5931962Z 22 | implementations, such as [`debug_struct`][debug_struct].
2019-12-12T16:13:30.5932077Z    |
2019-12-12T16:13:30.5932374Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5932429Z    |
2019-12-12T16:13:30.5932429Z    |
2019-12-12T16:13:30.5932734Z 22 | implementations, such as ['debug_struct`][debug_struct].
2019-12-12T16:13:30.5932841Z 
2019-12-12T16:13:30.5932886Z error: unknown start of token: `
2019-12-12T16:13:30.5933130Z   --> <doctest>:22:40
2019-12-12T16:13:30.5933179Z    |
2019-12-12T16:13:30.5933179Z    |
2019-12-12T16:13:30.5933229Z 22 | implementations, such as [`debug_struct`][debug_struct].
2019-12-12T16:13:30.5933488Z    |
2019-12-12T16:13:30.5933816Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5933871Z    |
2019-12-12T16:13:30.5933871Z    |
2019-12-12T16:13:30.5934321Z 22 | implementations, such as [`debug_struct'][debug_struct].
2019-12-12T16:13:30.5934743Z 
2019-12-12T16:13:30.5934794Z error: unknown start of token: `
2019-12-12T16:13:30.5935109Z   --> <doctest>:24:1
2019-12-12T16:13:30.5935159Z    |
---
2019-12-12T16:13:30.5936540Z    |       ^
2019-12-12T16:13:30.5936585Z    |
2019-12-12T16:13:30.5936880Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5936952Z    |
2019-12-12T16:13:30.5937230Z 24 | `Debug' implementations using either `derive` or the debug builder API
2019-12-12T16:13:30.5937334Z 
2019-12-12T16:13:30.5937380Z error: unknown start of token: `
2019-12-12T16:13:30.5937602Z   --> <doctest>:24:38
2019-12-12T16:13:30.5937651Z    |
2019-12-12T16:13:30.5937651Z    |
2019-12-12T16:13:30.5937771Z 24 | `Debug` implementations using either `derive` or the debug builder API
2019-12-12T16:13:30.5937825Z    |                                      ^
2019-12-12T16:13:30.5937882Z    |
2019-12-12T16:13:30.5938254Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5938307Z    |
2019-12-12T16:13:30.5938588Z 24 | `Debug` implementations using either 'derive` or the debug builder API
2019-12-12T16:13:30.5938703Z 
2019-12-12T16:13:30.5938747Z error: unknown start of token: `
2019-12-12T16:13:30.5938972Z   --> <doctest>:24:45
2019-12-12T16:13:30.5939040Z    |
2019-12-12T16:13:30.5939040Z    |
2019-12-12T16:13:30.5939091Z 24 | `Debug` implementations using either `derive` or the debug builder API
2019-12-12T16:13:30.5939544Z    |                                             ^
2019-12-12T16:13:30.5939700Z    |
2019-12-12T16:13:30.5940068Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5940123Z    |
2019-12-12T16:13:30.5940417Z 24 | `Debug` implementations using either `derive' or the debug builder API
2019-12-12T16:13:30.5940523Z 
2019-12-12T16:13:30.5940569Z error: unknown start of token: `
2019-12-12T16:13:30.5940815Z   --> <doctest>:25:5
2019-12-12T16:13:30.5940863Z    |
2019-12-12T16:13:30.5940863Z    |
2019-12-12T16:13:30.5941155Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-12T16:13:30.5941275Z    |
2019-12-12T16:13:30.5941566Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5941639Z    |
2019-12-12T16:13:30.5941639Z    |
2019-12-12T16:13:30.5941922Z 25 | on ['Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-12T16:13:30.5942007Z 
2019-12-12T16:13:30.5942073Z error: unknown start of token: `
2019-12-12T16:13:30.5942293Z   --> <doctest>:25:15
2019-12-12T16:13:30.5942342Z    |
2019-12-12T16:13:30.5942342Z    |
2019-12-12T16:13:30.5942639Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-12T16:13:30.5942944Z    |
2019-12-12T16:13:30.5943269Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5943343Z    |
2019-12-12T16:13:30.5943343Z    |
2019-12-12T16:13:30.5943717Z 25 | on [`Formatter'] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-12T16:13:30.5943834Z 
2019-12-12T16:13:30.5943881Z error: unknown start of token: `
2019-12-12T16:13:30.5944131Z   --> <doctest>:25:68
2019-12-12T16:13:30.5944181Z    |
2019-12-12T16:13:30.5944181Z    |
2019-12-12T16:13:30.5944484Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-12T16:13:30.5944596Z    |
2019-12-12T16:13:30.5944907Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5944962Z    |
2019-12-12T16:13:30.5944962Z    |
2019-12-12T16:13:30.5945238Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: '{:#?}`.
2019-12-12T16:13:30.5945368Z 
2019-12-12T16:13:30.5945414Z error: unknown start of token: `
2019-12-12T16:13:30.5945647Z   --> <doctest>:25:74
2019-12-12T16:13:30.5945716Z    |
2019-12-12T16:13:30.5945716Z    |
2019-12-12T16:13:30.5946001Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-12T16:13:30.5946201Z    |
2019-12-12T16:13:30.5946492Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5946545Z    |
2019-12-12T16:13:30.5946545Z    |
2019-12-12T16:13:30.5946845Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}'.
2019-12-12T16:13:30.5946943Z 
2019-12-12T16:13:30.5946999Z error: unknown start of token: `
2019-12-12T16:13:30.5947243Z   --> <doctest>:28:2
2019-12-12T16:13:30.5947291Z    |
2019-12-12T16:13:30.5947291Z    |
2019-12-12T16:13:30.5947342Z 28 | [`Formatter`]: ../../std/fmt/struct.Formatter.html
2019-12-12T16:13:30.5947411Z    |  ^
2019-12-12T16:13:30.5947753Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5947830Z    |
2019-12-12T16:13:30.5947830Z    |
2019-12-12T16:13:30.5948089Z 28 | ['Formatter`]: ../../std/fmt/struct.Formatter.html
2019-12-12T16:13:30.5948140Z    |  ^
2019-12-12T16:13:30.5948239Z error: unknown start of token: `
2019-12-12T16:13:30.5948460Z   --> <doctest>:28:12
2019-12-12T16:13:30.5948508Z    |
2019-12-12T16:13:30.5948508Z    |
2019-12-12T16:13:30.5948578Z 28 | [`Formatter`]: ../../std/fmt/struct.Formatter.html
2019-12-12T16:13:30.5948671Z    |
2019-12-12T16:13:30.5949318Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5949414Z    |
2019-12-12T16:13:30.5949414Z    |
2019-12-12T16:13:30.5949718Z 28 | [`Formatter']: ../../std/fmt/struct.Formatter.html
2019-12-12T16:13:30.5949824Z 
2019-12-12T16:13:30.5949871Z error: unknown start of token: `
2019-12-12T16:13:30.5950094Z   --> <doctest>:30:22
2019-12-12T16:13:30.5950151Z    |
2019-12-12T16:13:30.5950151Z    |
2019-12-12T16:13:30.5950405Z 30 | Pretty-printing with `#?`:
2019-12-12T16:13:30.5950504Z    |
2019-12-12T16:13:30.5950812Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5950867Z    |
2019-12-12T16:13:30.5950867Z    |
2019-12-12T16:13:30.5951094Z 30 | Pretty-printing with '#?`:
2019-12-12T16:13:30.5951199Z 
2019-12-12T16:13:30.5951246Z error: unknown start of token: `
2019-12-12T16:13:30.5951468Z   --> <doctest>:30:25
2019-12-12T16:13:30.5951536Z    |
2019-12-12T16:13:30.5951536Z    |
2019-12-12T16:13:30.5951764Z 30 | Pretty-printing with `#?`:
2019-12-12T16:13:30.5951991Z    |
2019-12-12T16:13:30.5952340Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-12T16:13:30.5952394Z    |
2019-12-12T16:13:30.5952394Z    |
2019-12-12T16:13:30.5952617Z 30 | Pretty-printing with `#?':
2019-12-12T16:13:30.5952819Z 
2019-12-12T16:13:30.5952868Z warning: could not parse code block as Rust code
2019-12-12T16:13:30.5953170Z    --> /checkout/src/libcore/fmt/mod.rs:448:5
2019-12-12T16:13:30.5953228Z     |
---
2019-12-12T16:13:30.5954880Z 
2019-12-12T16:13:30.5954929Z error: unterminated double quote string
2019-12-12T16:13:30.5955198Z   --> <doctest>:13:24
2019-12-12T16:13:30.5955250Z    |
2019-12-12T16:13:30.5955298Z 13 |       "{"A": 10, "B": 11}"
2019-12-12T16:13:30.5955428Z 14 | |  );
2019-12-12T16:13:30.5955476Z    | |____^
2019-12-12T16:13:30.5955507Z 
2019-12-12T16:13:30.5955555Z 
---
2019-12-12T16:13:30.5956704Z test result: FAILED. 324 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out
2019-12-12T16:13:30.5956746Z 
2019-12-12T16:13:30.5962940Z 
2019-12-12T16:13:30.5963022Z 
2019-12-12T16:13:30.5965150Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--rustdoc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "--src-base" "/checkout/src/test/rustdoc" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "rustdoc" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-12-12T16:13:30.5965607Z 
2019-12-12T16:13:30.5965663Z 
2019-12-12T16:13:30.5965719Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-12-12T16:13:30.5965856Z Build completed unsuccessfully in 1:14:04
2019-12-12T16:13:30.5965856Z Build completed unsuccessfully in 1:14:04
2019-12-12T16:13:30.5965940Z src/tools/compiletest/src/main.rs:537:22
2019-12-12T16:13:30.5966002Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-12-12T16:13:30.5977053Z == clock drift check ==
2019-12-12T16:13:30.6003123Z   local time: Thu Dec 12 16:13:30 UTC 2019
2019-12-12T16:13:31.1487495Z   network time: Thu, 12 Dec 2019 16:13:31 GMT
2019-12-12T16:13:34.1919224Z == end clock drift check ==
2019-12-12T16:13:34.1919332Z 
2019-12-12T16:13:34.2046243Z ##[error]Bash exited with code '1'.
2019-12-12T16:13:34.2096407Z ##[section]Starting: Checkout
2019-12-12T16:13:34.2098283Z ==============================================================================
2019-12-12T16:13:34.2098359Z Task         : Get sources
2019-12-12T16:13:34.2098431Z 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
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.
2019-12-14T16:15:01.4262856Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-12-14T16:15:01.4466433Z ##[command]git config gc.auto 0
2019-12-14T16:15:01.4530270Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-12-14T16:15:01.4583265Z ##[command]git config --get-all http.proxy
2019-12-14T16:15:01.4725384Z ##[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/67253/merge:refs/remotes/pull/67253/merge
---
2019-12-14T17:12:20.8715870Z .................................................................................................... 1600/9375
2019-12-14T17:12:25.0735815Z .................................................................................................... 1700/9375
2019-12-14T17:12:36.6456273Z ................................................................i................................... 1800/9375
2019-12-14T17:12:44.0672540Z .................................................................................................... 1900/9375
2019-12-14T17:12:58.1651626Z .................................................iiiii.............................................. 2000/9375
2019-12-14T17:13:08.0940050Z .................................................................................................... 2200/9375
2019-12-14T17:13:10.4064874Z .................................................................................................... 2300/9375
2019-12-14T17:13:13.6390030Z .................................................................................................... 2400/9375
2019-12-14T17:13:35.0849483Z .................................................................................................... 2500/9375
---
2019-12-14T17:16:00.7334016Z .................................................................................................... 4700/9375
2019-12-14T17:16:05.6164132Z .........................................................i...............i.......................... 4800/9375
2019-12-14T17:16:13.1195288Z .................................................................................................... 4900/9375
2019-12-14T17:16:21.0037212Z .................................................................................................... 5000/9375
2019-12-14T17:16:26.0555774Z .i.................................................................................................. 5100/9375
2019-12-14T17:16:35.9460410Z ...................................................................ii.ii...........i................ 5200/9375
2019-12-14T17:16:44.3852354Z ...i................................................................................................ 5400/9375
2019-12-14T17:16:54.2945143Z .................................................................................................... 5500/9375
2019-12-14T17:17:00.2885511Z .................................................i.................................................. 5600/9375
2019-12-14T17:17:07.1096425Z .................................................................................................... 5700/9375
2019-12-14T17:17:07.1096425Z .................................................................................................... 5700/9375
2019-12-14T17:17:16.9889660Z .................................................................................................... 5800/9375
2019-12-14T17:17:26.4537274Z .....................................ii...i..ii...........i......................................... 5900/9375
2019-12-14T17:17:44.7196446Z .................................................................................................... 6100/9375
2019-12-14T17:17:52.3343722Z .................................................................................................... 6200/9375
2019-12-14T17:17:52.3343722Z .................................................................................................... 6200/9375
2019-12-14T17:18:03.8879466Z .............................................................i..ii.................................. 6300/9375
2019-12-14T17:18:30.0520147Z .................................................................................................... 6500/9375
2019-12-14T17:18:31.9226478Z .................................i.................................................................. 6600/9375
2019-12-14T17:18:34.0412153Z .................................................................................................... 6700/9375
2019-12-14T17:18:36.1915226Z .........................i.......................................................................... 6800/9375
---
2019-12-14T17:20:09.5103541Z .................................................................................................... 7400/9375
2019-12-14T17:20:14.2606070Z .................................................................................................... 7500/9375
2019-12-14T17:20:19.5648644Z .................................................................................................... 7600/9375
2019-12-14T17:20:28.3990382Z .................................................................................................... 7700/9375
2019-12-14T17:20:36.4246092Z ..............................................iiii.................................................. 7800/9375
2019-12-14T17:20:50.3082979Z .................................................................................................... 8000/9375
2019-12-14T17:20:58.2278139Z .................................................................................................... 8100/9375
2019-12-14T17:21:11.7022265Z .................................................................................................... 8200/9375
2019-12-14T17:21:19.3772771Z .................................................................................................... 8300/9375
---
2019-12-14T17:23:35.2979481Z  finished in 6.128
2019-12-14T17:23:35.3164545Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-14T17:23:35.4874659Z 
2019-12-14T17:23:35.4874924Z running 166 tests
2019-12-14T17:23:38.4080821Z iiii......i........ii..iiii...i.............................i..i..................i....i............ 100/166
2019-12-14T17:23:40.4436911Z i.i.i...iii..iiiiiii.......................iii............ii......
2019-12-14T17:23:40.4438556Z 
2019-12-14T17:23:40.4445009Z  finished in 5.128
2019-12-14T17:23:40.4627801Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-14T17:23:40.6192335Z 
---
2019-12-14T17:23:42.5101344Z  finished in 2.047
2019-12-14T17:23:42.5295380Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-14T17:23:42.6838304Z 
2019-12-14T17:23:42.6839865Z running 9 tests
2019-12-14T17:23:42.6841610Z iiiiiiiii
2019-12-14T17:23:42.6842058Z 
2019-12-14T17:23:42.6843058Z  finished in 0.154
2019-12-14T17:23:42.7016756Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-14T17:23:42.8826653Z 
---
2019-12-14T17:24:02.0029536Z  finished in 18.726
2019-12-14T17:24:02.0029891Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-14T17:24:02.0029929Z 
2019-12-14T17:24:02.0029986Z running 124 tests
2019-12-14T17:24:25.4468183Z .iiiii..ii.....i..i...i..i.i.i..i..i..iii....ii.ii....ii..........iiii..........i.....i..ii.......ii 100/124
2019-12-14T17:24:29.4381760Z .i.iii.....iiiiii.....ii
2019-12-14T17:24:29.4383881Z 
2019-12-14T17:24:29.4384145Z  finished in 27.988
2019-12-14T17:24:29.4391012Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-14T17:24:29.4391571Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-12-14T17:31:30.1168897Z ------------------------------------------
2019-12-14T17:31:30.1169498Z error: unknown start of token: `
2019-12-14T17:31:30.1170203Z   --> <doctest>:21:46
2019-12-14T17:31:30.1170442Z    |
2019-12-14T17:31:30.1170654Z 21 | There are a number of helper methods on the [`Formatter`] struct to help you with manual
2019-12-14T17:31:30.1171198Z    |
2019-12-14T17:31:30.1172284Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1172540Z    |
2019-12-14T17:31:30.1172540Z    |
2019-12-14T17:31:30.1173131Z 21 | There are a number of helper methods on the ['Formatter`] struct to help you with manual
2019-12-14T17:31:30.1173592Z 
2019-12-14T17:31:30.1173642Z error: unknown start of token: `
2019-12-14T17:31:30.1174085Z   --> <doctest>:21:56
2019-12-14T17:31:30.1174133Z    |
2019-12-14T17:31:30.1174133Z    |
2019-12-14T17:31:30.1174207Z 21 | There are a number of helper methods on the [`Formatter`] struct to help you with manual
2019-12-14T17:31:30.1174320Z    |
2019-12-14T17:31:30.1174606Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1174665Z    |
2019-12-14T17:31:30.1174665Z    |
2019-12-14T17:31:30.1175098Z 21 | There are a number of helper methods on the [`Formatter'] struct to help you with manual
2019-12-14T17:31:30.1175406Z 
2019-12-14T17:31:30.1175447Z error: unknown start of token: `
2019-12-14T17:31:30.1176176Z   --> <doctest>:22:27
2019-12-14T17:31:30.1176228Z    |
2019-12-14T17:31:30.1176228Z    |
2019-12-14T17:31:30.1176286Z 22 | implementations, such as [`debug_struct`][debug_struct].
2019-12-14T17:31:30.1176395Z    |
2019-12-14T17:31:30.1176693Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1177114Z    |
2019-12-14T17:31:30.1177114Z    |
2019-12-14T17:31:30.1177433Z 22 | implementations, such as ['debug_struct`][debug_struct].
2019-12-14T17:31:30.1177535Z 
2019-12-14T17:31:30.1177577Z error: unknown start of token: `
2019-12-14T17:31:30.1177820Z   --> <doctest>:22:40
2019-12-14T17:31:30.1177885Z    |
2019-12-14T17:31:30.1177885Z    |
2019-12-14T17:31:30.1177930Z 22 | implementations, such as [`debug_struct`][debug_struct].
2019-12-14T17:31:30.1178039Z    |
2019-12-14T17:31:30.1178332Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1178381Z    |
2019-12-14T17:31:30.1178381Z    |
2019-12-14T17:31:30.1178670Z 22 | implementations, such as [`debug_struct'][debug_struct].
2019-12-14T17:31:30.1178753Z 
2019-12-14T17:31:30.1178794Z error: unknown start of token: `
2019-12-14T17:31:30.1179203Z   --> <doctest>:24:1
2019-12-14T17:31:30.1179240Z    |
---
2019-12-14T17:31:30.1188046Z    |       ^
2019-12-14T17:31:30.1188088Z    |
2019-12-14T17:31:30.1188416Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1188486Z    |
2019-12-14T17:31:30.1188764Z 24 | `Debug' implementations using either `derive` or the debug builder API
2019-12-14T17:31:30.1188841Z 
2019-12-14T17:31:30.1188904Z error: unknown start of token: `
2019-12-14T17:31:30.1189132Z   --> <doctest>:24:38
2019-12-14T17:31:30.1189276Z    |
2019-12-14T17:31:30.1189276Z    |
2019-12-14T17:31:30.1189501Z 24 | `Debug` implementations using either `derive` or the debug builder API
2019-12-14T17:31:30.1189543Z    |                                      ^
2019-12-14T17:31:30.1189578Z    |
2019-12-14T17:31:30.1189868Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1190087Z    |
2019-12-14T17:31:30.1190339Z 24 | `Debug` implementations using either 'derive` or the debug builder API
2019-12-14T17:31:30.1190431Z 
2019-12-14T17:31:30.1190467Z error: unknown start of token: `
2019-12-14T17:31:30.1190664Z   --> <doctest>:24:45
2019-12-14T17:31:30.1190722Z    |
2019-12-14T17:31:30.1190722Z    |
2019-12-14T17:31:30.1190762Z 24 | `Debug` implementations using either `derive` or the debug builder API
2019-12-14T17:31:30.1190805Z    |                                             ^
2019-12-14T17:31:30.1190859Z    |
2019-12-14T17:31:30.1191112Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1191164Z    |
2019-12-14T17:31:30.1191404Z 24 | `Debug` implementations using either `derive' or the debug builder API
2019-12-14T17:31:30.1191495Z 
2019-12-14T17:31:30.1191532Z error: unknown start of token: `
2019-12-14T17:31:30.1191744Z   --> <doctest>:25:5
2019-12-14T17:31:30.1191783Z    |
2019-12-14T17:31:30.1191783Z    |
2019-12-14T17:31:30.1192038Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-14T17:31:30.1192338Z    |
2019-12-14T17:31:30.1192624Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1192667Z    |
2019-12-14T17:31:30.1192667Z    |
2019-12-14T17:31:30.1193104Z 25 | on ['Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-14T17:31:30.1193168Z 
2019-12-14T17:31:30.1193365Z error: unknown start of token: `
2019-12-14T17:31:30.1193581Z   --> <doctest>:25:15
2019-12-14T17:31:30.1193618Z    |
2019-12-14T17:31:30.1193618Z    |
2019-12-14T17:31:30.1193847Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-14T17:31:30.1193939Z    |
2019-12-14T17:31:30.1194173Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1194231Z    |
2019-12-14T17:31:30.1194231Z    |
2019-12-14T17:31:30.1194470Z 25 | on [`Formatter'] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-14T17:31:30.1194534Z 
2019-12-14T17:31:30.1194586Z error: unknown start of token: `
2019-12-14T17:31:30.1194771Z   --> <doctest>:25:68
2019-12-14T17:31:30.1194807Z    |
2019-12-14T17:31:30.1194807Z    |
2019-12-14T17:31:30.1195052Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-14T17:31:30.1195134Z    |
2019-12-14T17:31:30.1195765Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1195821Z    |
2019-12-14T17:31:30.1195821Z    |
2019-12-14T17:31:30.1196110Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: '{:#?}`.
2019-12-14T17:31:30.1196216Z 
2019-12-14T17:31:30.1196257Z error: unknown start of token: `
2019-12-14T17:31:30.1196606Z   --> <doctest>:25:74
2019-12-14T17:31:30.1196680Z    |
2019-12-14T17:31:30.1196680Z    |
2019-12-14T17:31:30.1196992Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}`.
2019-12-14T17:31:30.1197112Z    |
2019-12-14T17:31:30.1197400Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1197448Z    |
2019-12-14T17:31:30.1197448Z    |
2019-12-14T17:31:30.1197727Z 25 | on [`Formatter`] support pretty-printing using the alternate flag: `{:#?}'.
2019-12-14T17:31:30.1197929Z 
2019-12-14T17:31:30.1197969Z error: unknown start of token: `
2019-12-14T17:31:30.1198236Z   --> <doctest>:28:2
2019-12-14T17:31:30.1198280Z    |
2019-12-14T17:31:30.1198280Z    |
2019-12-14T17:31:30.1198327Z 28 | [`Formatter`]: ../../std/fmt/struct.Formatter.html
2019-12-14T17:31:30.1198389Z    |  ^
2019-12-14T17:31:30.1198728Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1198776Z    |
2019-12-14T17:31:30.1198776Z    |
2019-12-14T17:31:30.1199353Z 28 | ['Formatter`]: ../../std/fmt/struct.Formatter.html
2019-12-14T17:31:30.1199391Z    |  ^
2019-12-14T17:31:30.1199468Z error: unknown start of token: `
2019-12-14T17:31:30.1199652Z   --> <doctest>:28:12
2019-12-14T17:31:30.1199688Z    |
2019-12-14T17:31:30.1199688Z    |
2019-12-14T17:31:30.1199724Z 28 | [`Formatter`]: ../../std/fmt/struct.Formatter.html
2019-12-14T17:31:30.1199819Z    |
2019-12-14T17:31:30.1200056Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1200114Z    |
2019-12-14T17:31:30.1200114Z    |
2019-12-14T17:31:30.1200324Z 28 | [`Formatter']: ../../std/fmt/struct.Formatter.html
2019-12-14T17:31:30.1200386Z 
2019-12-14T17:31:30.1200438Z error: unknown start of token: `
2019-12-14T17:31:30.1200628Z   --> <doctest>:30:22
2019-12-14T17:31:30.1200665Z    |
2019-12-14T17:31:30.1200665Z    |
2019-12-14T17:31:30.1200877Z 30 | Pretty-printing with `#?`:
2019-12-14T17:31:30.1200950Z    |
2019-12-14T17:31:30.1201184Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1201243Z    |
2019-12-14T17:31:30.1201243Z    |
2019-12-14T17:31:30.1201431Z 30 | Pretty-printing with '#?`:
2019-12-14T17:31:30.1201511Z 
2019-12-14T17:31:30.1201545Z error: unknown start of token: `
2019-12-14T17:31:30.1201736Z   --> <doctest>:30:25
2019-12-14T17:31:30.1201772Z    |
2019-12-14T17:31:30.1201772Z    |
2019-12-14T17:31:30.1201980Z 30 | Pretty-printing with `#?`:
2019-12-14T17:31:30.1202052Z    |
2019-12-14T17:31:30.1202304Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-12-14T17:31:30.1202344Z    |
2019-12-14T17:31:30.1202344Z    |
2019-12-14T17:31:30.1202537Z 30 | Pretty-printing with `#?':
2019-12-14T17:31:30.1202618Z 
2019-12-14T17:31:30.1202653Z warning: could not parse code block as Rust code
2019-12-14T17:31:30.1202864Z    --> /checkout/src/libcore/fmt/mod.rs:448:5
2019-12-14T17:31:30.1202921Z     |
---
2019-12-14T17:31:30.1204355Z 
2019-12-14T17:31:30.1204389Z error: unterminated double quote string
2019-12-14T17:31:30.1204593Z   --> <doctest>:13:24
2019-12-14T17:31:30.1204699Z    |
2019-12-14T17:31:30.1204732Z 13 |       "{"A": 10, "B": 11}"
2019-12-14T17:31:30.1204819Z 14 | |  );
2019-12-14T17:31:30.1204851Z    | |____^
2019-12-14T17:31:30.1204874Z 
2019-12-14T17:31:30.1204894Z 
---
2019-12-14T17:31:30.1206582Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:537:22
2019-12-14T17:31:30.1206641Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-12-14T17:31:30.1206708Z 
2019-12-14T17:31:30.1206735Z 
2019-12-14T17:31:30.1208437Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--rustdoc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "--src-base" "/checkout/src/test/rustdoc" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "rustdoc" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-12-14T17:31:30.1208718Z 
2019-12-14T17:31:30.1208748Z 
2019-12-14T17:31:30.1208795Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-12-14T17:31:30.1208863Z Build completed unsuccessfully in 1:10:29
2019-12-14T17:31:30.1208863Z Build completed unsuccessfully in 1:10:29
2019-12-14T17:31:30.1254846Z == clock drift check ==
2019-12-14T17:31:30.1274353Z   local time: Sat Dec 14 17:31:30 UTC 2019
2019-12-14T17:31:30.6705726Z   network time: Sat, 14 Dec 2019 17:31:30 GMT
2019-12-14T17:31:30.6711115Z == end clock drift check ==
2019-12-14T17:31:33.0956500Z 
2019-12-14T17:31:33.1073339Z ##[error]Bash exited with code '1'.
2019-12-14T17:31:33.1119517Z ##[section]Starting: Checkout
2019-12-14T17:31:33.1120985Z ==============================================================================
2019-12-14T17:31:33.1121050Z Task         : Get sources
2019-12-14T17:31:33.1121090Z 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)

/// }
/// }
///
/// let origin = Point { x: 0, y: 0 };
///
/// println!("The origin is: {:?}", origin);
/// ```
Copy link
Contributor

Choose a reason for hiding this comment

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

This line shouldn't have been deleted. The code block is continuing into the prose.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you!
I guess I need to make my IDE highlight these stuff.

@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.
2019-12-15T12:44:14.7431676Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-12-15T12:44:14.7627576Z ##[command]git config gc.auto 0
2019-12-15T12:44:14.7706316Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-12-15T12:44:14.7756843Z ##[command]git config --get-all http.proxy
2019-12-15T12:44:14.7944674Z ##[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/67253/merge:refs/remotes/pull/67253/merge
---
2019-12-15T13:43:08.7810037Z .................................................................................................... 1600/9380
2019-12-15T13:43:13.1644314Z .................................................................................................... 1700/9380
2019-12-15T13:43:25.3740779Z ...................................................................i................................ 1800/9380
2019-12-15T13:43:32.6288019Z .................................................................................................... 1900/9380
2019-12-15T13:43:47.9515791Z ....................................................iiiii........................................... 2000/9380
2019-12-15T13:43:58.2186833Z .................................................................................................... 2200/9380
2019-12-15T13:44:00.6424197Z .................................................................................................... 2300/9380
2019-12-15T13:44:03.8838796Z .................................................................................................... 2400/9380
2019-12-15T13:44:26.3812528Z .................................................................................................... 2500/9380
---
2019-12-15T13:47:04.0093131Z .............................................................i...............i...................... 4800/9380
2019-12-15T13:47:11.5429987Z .................................................................................................... 4900/9380
2019-12-15T13:47:20.0956595Z .................................................................................................... 5000/9380
2019-12-15T13:47:25.2091996Z .....i.............................................................................................. 5100/9380
2019-12-15T13:47:35.7253062Z .......................................................................ii.ii...........i............ 5200/9380
2019-12-15T13:47:44.5015375Z .......i............................................................................................ 5400/9380
2019-12-15T13:47:54.5462716Z .................................................................................................... 5500/9380
2019-12-15T13:48:01.0689217Z .....................................................i.............................................. 5600/9380
2019-12-15T13:48:08.0567937Z .................................................................................................... 5700/9380
2019-12-15T13:48:08.0567937Z .................................................................................................... 5700/9380
2019-12-15T13:48:18.2104129Z .................................................................................................... 5800/9380
2019-12-15T13:48:25.2521308Z .........................................ii...i..ii............i.................................... 5900/9380
2019-12-15T13:48:46.9971112Z .................................................................................................... 6100/9380
2019-12-15T13:48:54.8133865Z .................................................................................................... 6200/9380
2019-12-15T13:48:54.8133865Z .................................................................................................... 6200/9380
2019-12-15T13:49:04.5797614Z ..................................................................i..ii............................. 6300/9380
2019-12-15T13:49:32.4015130Z .................................................................................................... 6500/9380
2019-12-15T13:49:34.3955562Z .......................................i............................................................ 6600/9380
2019-12-15T13:49:36.5552993Z .................................................................................................... 6700/9380
2019-12-15T13:49:38.9603538Z ..............................i..................................................................... 6800/9380
---
2019-12-15T13:51:14.4773552Z .................................................................................................... 7400/9380
2019-12-15T13:51:19.1481879Z .................................................................................................... 7500/9380
2019-12-15T13:51:24.4375221Z .................................................................................................... 7600/9380
2019-12-15T13:51:33.3944120Z .................................................................................................... 7700/9380
2019-12-15T13:51:42.0812561Z ....................................................iiii............................................ 7800/9380
2019-12-15T13:51:56.2359463Z .................................................................................................... 8000/9380
2019-12-15T13:52:02.3339661Z .................................................................................................... 8100/9380
2019-12-15T13:52:17.5336283Z .................................................................................................... 8200/9380
2019-12-15T13:52:25.2386975Z .................................................................................................... 8300/9380
---
2019-12-15T13:54:44.4752628Z  finished in 6.065
2019-12-15T13:54:44.4753724Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-15T13:54:44.4753946Z 
2019-12-15T13:54:44.4754097Z running 166 tests
2019-12-15T13:54:46.9837049Z iiii......i........ii..iiii...i.............................i..i..................i....i............ 100/166
2019-12-15T13:54:48.9678760Z i.i.i...iii..iiiiiii.......................iii............ii......
2019-12-15T13:54:48.9681684Z 
2019-12-15T13:54:48.9683212Z  finished in 5.107
2019-12-15T13:54:48.9871243Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-15T13:54:49.1600664Z 
---
2019-12-15T13:54:51.9761560Z  finished in 2.046
2019-12-15T13:54:51.9879652Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-15T13:54:51.9879714Z 
2019-12-15T13:54:51.9879761Z running 9 tests
2019-12-15T13:54:51.9880519Z iiiiiiiii
2019-12-15T13:54:51.9880899Z 
2019-12-15T13:54:51.9880943Z  finished in 0.167
2019-12-15T13:54:51.9881269Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-15T13:54:51.9881307Z 
---
2019-12-15T13:55:10.0347135Z  finished in 18.796
2019-12-15T13:55:10.0591518Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-15T13:55:10.9805434Z 
2019-12-15T13:55:10.9805766Z running 124 tests
2019-12-15T13:55:34.7495470Z .iiiii..ii.....i..i...i..i.i.i..i..i..iii....ii.ii....ii..........iiii..........i.....i..ii.......ii 100/124
2019-12-15T13:55:38.8994716Z .i.iii.....iiiiii.....ii
2019-12-15T13:55:38.8995800Z 
2019-12-15T13:55:38.8998479Z  finished in 28.840
2019-12-15T13:55:38.9003289Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-12-15T13:55:38.9004302Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-12-15T14:08:45.6629364Z 
2019-12-15T14:08:45.6634308Z    Doc-tests core
2019-12-15T14:08:50.1134758Z 
2019-12-15T14:08:50.1185857Z running 2437 tests
2019-12-15T14:08:59.0996137Z ......iiiii......................................................................................... 100/2437
2019-12-15T14:09:08.4998230Z ..................................................................................ii................ 200/2437
2019-12-15T14:09:28.8885228Z ................i................................................................................... 400/2437
2019-12-15T14:09:28.8885228Z ................i................................................................................... 400/2437
2019-12-15T14:09:38.1301621Z ................................................................i..i..................iiii.......... 500/2437
2019-12-15T14:09:54.3127409Z .................................................................................................... 700/2437
2019-12-15T14:10:02.7968536Z .................................................................................................... 800/2437
2019-12-15T14:10:11.2113054Z .................................................................................................... 900/2437
2019-12-15T14:10:19.7563558Z .................................................................................................... 1000/2437
---
2019-12-15T14:12:26.4833748Z Test executable failed (exit code 101).
2019-12-15T14:12:26.4834014Z 
2019-12-15T14:12:26.4834347Z stderr:
2019-12-15T14:12:26.4835523Z thread 'main' panicked at 'assertion failed: `(left == right)`
2019-12-15T14:12:26.4835572Z   left: `"The origin is: (0, 0)"`,
2019-12-15T14:12:26.4836336Z  right: `"(0, 0)"`', fmt/mod.rs:19:1
2019-12-15T14:12:26.4836443Z 
2019-12-15T14:12:26.4836468Z 
2019-12-15T14:12:26.4836723Z ---- fmt/mod.rs - fmt::Result (line 48) stdout ----
2019-12-15T14:12:26.4836774Z Test executable failed (exit code 101).
2019-12-15T14:12:26.4836774Z Test executable failed (exit code 101).
2019-12-15T14:12:26.4836803Z 
2019-12-15T14:12:26.4836843Z stderr:
2019-12-15T14:12:26.4837105Z thread 'main' panicked at 'assertion failed: `(left == right)`
2019-12-15T14:12:26.4837156Z   left: `"(3, 4, 5)"`,
2019-12-15T14:12:26.4837386Z  right: `"(3.0, 4.0, 5.0)"`', fmt/mod.rs:21:1
2019-12-15T14:12:26.4837495Z 
2019-12-15T14:12:26.4837521Z 
2019-12-15T14:12:26.4837547Z 
2019-12-15T14:12:26.4837606Z failures:
---
2019-12-15T14:12:26.5050997Z   local time: Sun Dec 15 14:12:26 UTC 2019
2019-12-15T14:12:27.0470287Z   network time: Sun, 15 Dec 2019 14:12:27 GMT
2019-12-15T14:12:27.0473029Z == end clock drift check ==
2019-12-15T14:12:27.5777784Z 
2019-12-15T14:12:27.5864139Z ##[error]Bash exited with code '1'.
2019-12-15T14:12:27.5917823Z ##[section]Starting: Checkout
2019-12-15T14:12:27.5919657Z ==============================================================================
2019-12-15T14:12:27.5919712Z Task         : Get sources
2019-12-15T14:12:27.5919780Z 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)

@elichai
Copy link
Contributor Author

elichai commented Dec 15, 2019

And after I thought I ran all the tests locally even ./x.py doc it still fails lol. sorry.

@elichai
Copy link
Contributor Author

elichai commented Dec 15, 2019

Finally :)

@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 19, 2019

📌 Commit a9d6889 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 19, 2019
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Dec 19, 2019
Add more delegations to the fmt docs and add doctests

HI,
this is a continuation to rust-lang#67021
I replaced the `Debug` example with one that use the `Debug*` helpers so that padding etc will work too.
I also added asserts for the doctests as @RalfJung asked :)

The only thing I left with the `write!` macro is the `Display` example as I didn't know if there's a better way to do that.

r? @QuietMisdreavus
bors added a commit that referenced this pull request Dec 19, 2019
Rollup of 6 pull requests

Successful merges:

 - #67253 (Add more delegations to the fmt docs and add doctests)
 - #67281 (add string.insert benchmarks)
 - #67351 (Set release channel on non-dist builders)
 - #67421 (Fix internal documentation typo)
 - #67432 (Fix toolstate history format)
 - #67436 (Correct the todo! stabilization version)

Failed merges:

r? @ghost
@bors bors merged commit a9d6889 into rust-lang:master Dec 20, 2019
@elichai elichai deleted the 2019-12-fmt branch April 27, 2020 07:31
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