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

Update pulldown-cmark version #65894

Closed

Conversation

GuillaumeGomez
Copy link
Member

@Mark-Simulacrum
Copy link
Member

Do we expect any functional changes? i.e., is this just an API change? The changelog suggests that's the case pulldown-cmark/pulldown-cmark@v0.5.3...v0.6.0.

Maybe a rustdoc crater run makes sense here -- it won't test html is unchanged, but at least new doctests I guess and such.

src/librustdoc/html/markdown.rs Outdated Show resolved Hide resolved
src/librustdoc/html/markdown.rs Outdated Show resolved Hide resolved
src/librustdoc/html/markdown.rs Outdated Show resolved Hide resolved
src/librustdoc/html/markdown.rs Outdated Show resolved Hide resolved
@ehuss
Copy link
Contributor

ehuss commented Oct 28, 2019

I'd be concerned about making this change until pulldown-cmark/pulldown-cmark#398 is fixed, since it is relatively easy to trigger a panic.

Also, I'm wondering if you ran into issues with intra-rustdoc links? When I tried this a while back, I found that it more often used Strings instead of &str, and that messes up the pointer subtraction in the bad link callback.

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-10-28T13:42:01.2524942Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-28T13:42:01.2758675Z ##[command]git config gc.auto 0
2019-10-28T13:42:01.2841253Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-28T13:42:01.2904151Z ##[command]git config --get-all http.proxy
2019-10-28T13:42:01.3048082Z ##[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/65894/merge:refs/remotes/pull/65894/merge
---
2019-10-28T14:44:38.0753697Z .................................................................................................... 1600/9259
2019-10-28T14:44:44.1039738Z .................................................................................................... 1700/9259
2019-10-28T14:44:57.1307317Z ..........................................................i...............i......................... 1800/9259
2019-10-28T14:45:05.1954786Z .................................................................................................... 1900/9259
2019-10-28T14:45:20.7373984Z ................................................iiiii............................................... 2000/9259
2019-10-28T14:45:31.9802374Z .................................................................................................... 2200/9259
2019-10-28T14:45:34.6436421Z .................................................................................................... 2300/9259
2019-10-28T14:45:38.6444855Z .................................................................................................... 2400/9259
2019-10-28T14:46:03.5094906Z .................................................................................................... 2500/9259
---
2019-10-28T14:49:05.0834534Z .................................................i...............i.................................. 4800/9259
2019-10-28T14:49:14.4294400Z .................................................................................................... 4900/9259
2019-10-28T14:49:23.5338115Z .................................................................................................... 5000/9259
2019-10-28T14:49:30.0625317Z .................................................................................................... 5100/9259
2019-10-28T14:49:40.9620546Z ..................................................ii.ii...........i................................. 5200/9259
2019-10-28T14:49:50.9395661Z .................................................................................................... 5400/9259
2019-10-28T14:50:00.7635404Z .................................................................................................... 5500/9259
2019-10-28T14:50:08.9977626Z ....................i............................................................................... 5600/9259
2019-10-28T14:50:15.1960783Z .................................................................................................... 5700/9259
2019-10-28T14:50:15.1960783Z .................................................................................................... 5700/9259
2019-10-28T14:50:27.5846790Z .................................................................................................... 5800/9259
2019-10-28T14:50:40.3921782Z .....ii...i..ii...........i......................................................................... 5900/9259
2019-10-28T14:51:02.9144754Z .................................................................................................... 6100/9259
2019-10-28T14:51:07.8363733Z .................................................................................................... 6200/9259
2019-10-28T14:51:07.8363733Z .................................................................................................... 6200/9259
2019-10-28T14:51:22.5582532Z ........................i..ii....................................................................... 6300/9259
2019-10-28T14:51:43.5553196Z ..........................................................................................i......... 6500/9259
2019-10-28T14:51:45.9041082Z .................................................................................................... 6600/9259
2019-10-28T14:51:48.2599712Z .................................................................i.................................. 6700/9259
2019-10-28T14:51:51.3051209Z .................................................................................................... 6800/9259
---
2019-10-28T14:56:36.5917808Z  finished in 5.868
2019-10-28T14:56:36.6121408Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T14:56:36.7865229Z 
2019-10-28T14:56:36.7866197Z running 153 tests
2019-10-28T14:56:40.1293210Z i....iii......iii..iiii...i.............................i..i..................i....i...........ii.i. 100/153
2019-10-28T14:56:42.1985135Z i..iiii..............i.........iii.i.........ii......
2019-10-28T14:56:42.1989052Z 
2019-10-28T14:56:42.1989136Z  finished in 5.586
2019-10-28T14:56:42.2288030Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T14:56:42.4044310Z 
---
2019-10-28T14:56:44.5173754Z  finished in 2.288
2019-10-28T14:56:44.5407024Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T14:56:44.7190795Z 
2019-10-28T14:56:44.7192022Z running 9 tests
2019-10-28T14:56:44.7193338Z iiiiiiiii
2019-10-28T14:56:44.7194284Z 
2019-10-28T14:56:44.7197374Z  finished in 0.178
2019-10-28T14:56:44.7414257Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T14:56:44.9337860Z 
---
2019-10-28T14:57:04.4726282Z  finished in 19.731
2019-10-28T14:57:04.4925930Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T14:57:04.6638794Z 
2019-10-28T14:57:04.6639126Z running 123 tests
2019-10-28T14:57:30.2948490Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-28T14:57:35.2318660Z i.i.i......iii.i.....ii
2019-10-28T14:57:35.2319223Z 
2019-10-28T14:57:35.2319337Z  finished in 30.739
2019-10-28T14:57:35.2330073Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T14:57:35.2335221Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-28T14:59:14.4264303Z    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
2019-10-28T14:59:18.2292272Z warning: unused variable: `offset`
2019-10-28T14:59:18.2294333Z    --> src/librustdoc/html/markdown.rs:572:49
2019-10-28T14:59:18.2295192Z     |
2019-10-28T14:59:18.2295839Z 572 |                 while let Some((Event::Text(s), offset)) = parser.next() {
2019-10-28T14:59:18.2297511Z     |                                                 ^^^^^^ help: consider prefixing with an underscore: `_offset`
2019-10-28T14:59:18.2298618Z     = note: `#[warn(unused_variables)]` on by default
2019-10-28T14:59:18.2299023Z 
2019-10-28T14:59:18.2299438Z warning: unused variable: `fence_idx`
2019-10-28T14:59:18.2299862Z    --> src/librustdoc/html/markdown.rs:946:30
2019-10-28T14:59:18.2299862Z    --> src/librustdoc/html/markdown.rs:946:30
2019-10-28T14:59:18.2300249Z     |
2019-10-28T14:59:18.2300704Z 946 |                         Some(fence_idx) => {
2019-10-28T14:59:18.2301233Z     |                              ^^^^^^^^^ help: consider prefixing with an underscore: `_fence_idx`
2019-10-28T15:01:33.1582198Z    Compiling rustdoc-tool v0.0.0 (/checkout/src/tools/rustdoc)
2019-10-28T15:01:33.8396759Z     Finished release [optimized] target(s) in 2m 51s
2019-10-28T15:01:33.8716507Z Check compiletest suite=rustdoc mode=rustdoc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-28T15:01:34.0649573Z 
---
2019-10-28T15:05:09.3519219Z failures:
2019-10-28T15:05:09.3519463Z 
2019-10-28T15:05:09.3520032Z ---- [rustdoc] rustdoc/test_option_check/bar.rs stdout ----
2019-10-28T15:05:09.3520435Z 
2019-10-28T15:05:09.3521018Z error: Not found doc test: "test /checkout/src/test/rustdoc/test_option_check/bar.rs - foooo (line 8) ... ok" in "/checkout/src/test/rustdoc/test_option_check/bar.rs":[6]
2019-10-28T15:05:09.3521312Z status: exit code: 0
2019-10-28T15:05:09.3522088Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/bar/auxiliary" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/bar" "/checkout/src/test/rustdoc/test_option_check/bar.rs" "--test"
2019-10-28T15:05:09.3522838Z ------------------------------------------
2019-10-28T15:05:09.3523080Z 
2019-10-28T15:05:09.3523295Z running 1 test
2019-10-28T15:05:09.3523295Z running 1 test
2019-10-28T15:05:09.3523746Z test /checkout/src/test/rustdoc/test_option_check/bar.rs - foooo (line 8) ... ok
2019-10-28T15:05:09.3524210Z test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-10-28T15:05:09.3524383Z 
2019-10-28T15:05:09.3524550Z 
2019-10-28T15:05:09.3525718Z ------------------------------------------
---
2019-10-28T15:05:09.3527455Z 
2019-10-28T15:05:09.3527668Z 
2019-10-28T15:05:09.3528153Z ---- [rustdoc] rustdoc/test_option_check/test.rs stdout ----
2019-10-28T15:05:09.3528547Z 
2019-10-28T15:05:09.3529107Z error: Not found doc test: "test /checkout/src/test/rustdoc/test_option_check/test.rs - Bar (line 17) ... ok" in "/checkout/src/test/rustdoc/test_option_check/test.rs":[8, 15]
2019-10-28T15:05:09.3530913Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/test/auxiliary" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/test" "/checkout/src/test/rustdoc/test_option_check/test.rs" "--test"
2019-10-28T15:05:09.3531290Z stdout:
2019-10-28T15:05:09.3531759Z ------------------------------------------
2019-10-28T15:05:09.3532023Z 
2019-10-28T15:05:09.3532023Z 
2019-10-28T15:05:09.3532260Z running 3 tests
2019-10-28T15:05:09.3532742Z test /checkout/src/test/rustdoc/test_option_check/test.rs - Bar (line 17) ... ok
2019-10-28T15:05:09.3533646Z test /checkout/src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 8) ... ok
2019-10-28T15:05:09.3535948Z test /checkout/src/test/rustdoc/test_option_check/test.rs - Foo (line 10) ... ok
2019-10-28T15:05:09.3536932Z test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-10-28T15:05:09.3537132Z 
2019-10-28T15:05:09.3537316Z 
2019-10-28T15:05:09.3537807Z ------------------------------------------
---
2019-10-28T15:05:09.3541637Z test result: FAILED. 318 passed; 2 failed; 3 ignored; 0 measured; 0 filtered out
2019-10-28T15:05:09.3541877Z 
2019-10-28T15:05:09.3546297Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:537
2019-10-28T15:05:09.3547502Z 
2019-10-28T15:05:09.3549561Z 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-6.0/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" "6.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-10-28T15:05:09.3550104Z 
2019-10-28T15:05:09.3550226Z 
2019-10-28T15:05:09.3550384Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-10-28T15:05:09.3550535Z Build completed unsuccessfully in 1:16:17
2019-10-28T15:05:09.3550535Z Build completed unsuccessfully in 1:16:17
2019-10-28T15:05:09.3554178Z :22
2019-10-28T15:05:09.3554376Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-10-28T15:05:09.3599249Z == clock drift check ==
2019-10-28T15:05:09.3612207Z   local time: Mon Oct 28 15:05:09 UTC 2019
2019-10-28T15:05:09.5045860Z   network time: Mon, 28 Oct 2019 15:05:09 GMT
2019-10-28T15:05:09.5049554Z == end clock drift check ==
2019-10-28T15:05:12.2801263Z 
2019-10-28T15:05:12.2944110Z ##[error]Bash exited with code '1'.
2019-10-28T15:05:12.2982625Z ##[section]Starting: Checkout
2019-10-28T15:05:12.2984310Z ==============================================================================
2019-10-28T15:05:12.2984380Z Task         : Get sources
2019-10-28T15:05:12.2984426Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@GuillaumeGomez
Copy link
Member Author

@ehuss Indeed! Let's wait until it's merged then.

@Dylan-DPC-zz Dylan-DPC-zz added the S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. label Oct 29, 2019
@tshepang
Copy link
Member

It's now merged

@GuillaumeGomez
Copy link
Member Author

Thanks for the info. Waiting for the release now! :)

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-12T09:21:37.3757040Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-11-12T09:21:37.3943804Z ##[command]git config gc.auto 0
2019-11-12T09:21:37.4012423Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-11-12T09:21:37.4065684Z ##[command]git config --get-all http.proxy
2019-11-12T09:21:37.4202128Z ##[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/65894/merge:refs/remotes/pull/65894/merge
---
2019-11-12T10:19:23.8344643Z .................................................................................................... 1400/9231
2019-11-12T10:19:30.1151513Z .................................................................................................... 1500/9231
2019-11-12T10:19:36.1463594Z .................................................................................................... 1600/9231
2019-11-12T10:19:45.0279406Z .................................................................................................... 1700/9231
2019-11-12T10:19:53.0595900Z ..i................................................................................................. 1800/9231
2019-11-12T10:19:59.5384797Z .......................................................................................iiiii........ 1900/9231
2019-11-12T10:20:19.8428842Z .................................................................................................... 2100/9231
2019-11-12T10:20:22.1328075Z .................................................................................................... 2200/9231
2019-11-12T10:20:24.5640208Z .................................................................................................... 2300/9231
2019-11-12T10:20:33.6395849Z .................................................................................................... 2400/9231
---
2019-11-12T10:23:22.8155789Z ..................................................................................i...............i. 4700/9231
2019-11-12T10:23:29.9060025Z .................................................................................................... 4800/9231
2019-11-12T10:23:38.9181233Z .................................................................................................... 4900/9231
2019-11-12T10:23:44.1911092Z .................................................................................................... 5000/9231
2019-11-12T10:23:55.1586531Z .....................................................................................ii.ii.......... 5100/9231
2019-11-12T10:23:58.8991904Z .i.................................................................................................. 5200/9231
2019-11-12T10:24:12.8443651Z .................................................................................................... 5400/9231
2019-11-12T10:24:19.6564521Z ...................................................................i................................ 5500/9231
2019-11-12T10:24:26.9054273Z .................................................................................................... 5600/9231
2019-11-12T10:24:34.5738955Z .................................................................................................... 5700/9231
2019-11-12T10:24:34.5738955Z .................................................................................................... 5700/9231
2019-11-12T10:24:43.3913720Z ....................................................ii...i..ii...........i.......................... 5800/9231
2019-11-12T10:25:05.1636618Z .................................................................................................... 6000/9231
2019-11-12T10:25:12.3528569Z .................................................................................................... 6100/9231
2019-11-12T10:25:12.3528569Z .................................................................................................... 6100/9231
2019-11-12T10:25:17.1487016Z .......................................................................i..ii........................ 6200/9231
2019-11-12T10:25:44.7346862Z .................................................................................................... 6400/9231
2019-11-12T10:25:46.6962113Z .......................................i............................................................ 6500/9231
2019-11-12T10:25:48.7840959Z .................................................................................................... 6600/9231
2019-11-12T10:25:50.9404029Z .......................i............................................................................ 6700/9231
---
2019-11-12T10:30:56.3775569Z  finished in 5.600
2019-11-12T10:30:56.3950199Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:30:57.0543243Z 
2019-11-12T10:30:57.0578299Z running 156 tests
2019-11-12T10:30:59.4069774Z iiii....iii......iii..iiii...i.............................i..i..................i....i...........ii 100/156
2019-11-12T10:31:01.5507639Z .i.i..iiii..............i.........iii.i.........ii......
2019-11-12T10:31:01.5509289Z 
2019-11-12T10:31:01.5589361Z  finished in 4.846
2019-11-12T10:31:01.5599421Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:31:01.5618323Z 
---
2019-11-12T10:31:03.3325564Z  finished in 2.072
2019-11-12T10:31:03.3508806Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:31:03.5050664Z 
2019-11-12T10:31:03.5051509Z running 9 tests
2019-11-12T10:31:03.5052560Z iiiiiiiii
2019-11-12T10:31:03.5054745Z 
2019-11-12T10:31:03.5055026Z  finished in 0.154
2019-11-12T10:31:03.5231151Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:31:04.0567697Z 
---
2019-11-12T10:31:22.4120125Z  finished in 18.888
2019-11-12T10:31:22.4320784Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:31:22.6014540Z 
2019-11-12T10:31:22.6015563Z running 123 tests
2019-11-12T10:31:45.9286020Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-11-12T10:31:50.4352124Z i.i.i......iii.i.....ii
2019-11-12T10:31:50.4353429Z 
2019-11-12T10:31:50.4357537Z  finished in 28.003
2019-11-12T10:31:50.4366684Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:31:50.4367366Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-11-12T10:33:17.6010311Z    Compiling rustdoc v0.0.0 (/checkout/src/librustdoc)
2019-11-12T10:33:20.9899430Z warning: unused variable: `offset`
2019-11-12T10:33:20.9900683Z    --> src/librustdoc/html/markdown.rs:572:49
2019-11-12T10:33:20.9901183Z     |
2019-11-12T10:33:20.9901773Z 572 |                 while let Some((Event::Text(s), offset)) = parser.next() {
2019-11-12T10:33:20.9902670Z     |                                                 ^^^^^^ help: consider prefixing with an underscore: `_offset`
2019-11-12T10:33:20.9903980Z     = note: `#[warn(unused_variables)]` on by default
2019-11-12T10:33:20.9904264Z 
2019-11-12T10:33:20.9904868Z warning: unused variable: `fence_idx`
2019-11-12T10:33:20.9905427Z    --> src/librustdoc/html/markdown.rs:946:30
2019-11-12T10:33:20.9905427Z    --> src/librustdoc/html/markdown.rs:946:30
2019-11-12T10:33:20.9906082Z     |
2019-11-12T10:33:20.9906611Z 946 |                         Some(fence_idx) => {
2019-11-12T10:33:20.9907191Z     |                              ^^^^^^^^^ help: consider prefixing with an underscore: `_fence_idx`
2019-11-12T10:35:18.4425334Z    Compiling rustdoc-tool v0.0.0 (/checkout/src/tools/rustdoc)
2019-11-12T10:35:19.0477815Z     Finished release [optimized] target(s) in 2m 29s
2019-11-12T10:35:19.0721200Z Check compiletest suite=rustdoc mode=rustdoc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-12T10:35:19.2339218Z 
---
2019-11-12T10:38:06.9268679Z failures:
2019-11-12T10:38:06.9268969Z 
2019-11-12T10:38:06.9270045Z ---- [rustdoc] rustdoc/test_option_check/bar.rs stdout ----
2019-11-12T10:38:06.9270125Z 
2019-11-12T10:38:06.9270531Z error: Not found doc test: "test /checkout/src/test/rustdoc/test_option_check/bar.rs - foooo (line 8) ... ok" in "/checkout/src/test/rustdoc/test_option_check/bar.rs":[6]
2019-11-12T10:38:06.9270619Z status: exit code: 0
2019-11-12T10:38:06.9271329Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/bar/auxiliary" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/bar" "/checkout/src/test/rustdoc/test_option_check/bar.rs" "--test"
2019-11-12T10:38:06.9271606Z ------------------------------------------
2019-11-12T10:38:06.9271642Z 
2019-11-12T10:38:06.9271698Z running 1 test
2019-11-12T10:38:06.9271698Z running 1 test
2019-11-12T10:38:06.9271922Z test /checkout/src/test/rustdoc/test_option_check/bar.rs - foooo (line 8) ... ok
2019-11-12T10:38:06.9272011Z test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-12T10:38:06.9272037Z 
2019-11-12T10:38:06.9272056Z 
2019-11-12T10:38:06.9272295Z ------------------------------------------
---
2019-11-12T10:38:06.9272769Z 
2019-11-12T10:38:06.9272789Z 
2019-11-12T10:38:06.9272987Z ---- [rustdoc] rustdoc/test_option_check/test.rs stdout ----
2019-11-12T10:38:06.9273021Z 
2019-11-12T10:38:06.9273336Z error: Not found doc test: "test /checkout/src/test/rustdoc/test_option_check/test.rs - Bar (line 17) ... ok" in "/checkout/src/test/rustdoc/test_option_check/test.rs":[8, 15]
2019-11-12T10:38:06.9273912Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/test/auxiliary" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/test" "/checkout/src/test/rustdoc/test_option_check/test.rs" "--test"
2019-11-12T10:38:06.9273973Z stdout:
2019-11-12T10:38:06.9274153Z ------------------------------------------
2019-11-12T10:38:06.9274199Z 
2019-11-12T10:38:06.9274199Z 
2019-11-12T10:38:06.9274233Z running 3 tests
2019-11-12T10:38:06.9274444Z test /checkout/src/test/rustdoc/test_option_check/test.rs - Bar (line 17) ... ok
2019-11-12T10:38:06.9274686Z test /checkout/src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 8) ... ok
2019-11-12T10:38:06.9274905Z test /checkout/src/test/rustdoc/test_option_check/test.rs - Foo (line 10) ... ok
2019-11-12T10:38:06.9274979Z test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-12T10:38:06.9275021Z 
2019-11-12T10:38:06.9275041Z 
2019-11-12T10:38:06.9275223Z ------------------------------------------
---
2019-11-12T10:38:06.9284990Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:537:22
2019-11-12T10:38:06.9285344Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-11-12T10:38:06.9299560Z 
2019-11-12T10:38:06.9299707Z 
2019-11-12T10:38:06.9301579Z 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-6.0/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" "6.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-11-12T10:38:06.9301816Z 
2019-11-12T10:38:06.9301840Z 
2019-11-12T10:38:06.9305854Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-11-12T10:38:06.9305926Z Build completed unsuccessfully in 1:10:03
2019-11-12T10:38:06.9305926Z Build completed unsuccessfully in 1:10:03
2019-11-12T10:38:06.9352893Z == clock drift check ==
2019-11-12T10:38:06.9369710Z   local time: Tue Nov 12 10:38:06 UTC 2019
2019-11-12T10:38:07.2140069Z   network time: Tue, 12 Nov 2019 10:38:07 GMT
2019-11-12T10:38:07.2146334Z == end clock drift check ==
2019-11-12T10:38:10.0575698Z 
2019-11-12T10:38:10.0668282Z ##[error]Bash exited with code '1'.
2019-11-12T10:38:10.0705536Z ##[section]Starting: Checkout
2019-11-12T10:38:10.0707570Z ==============================================================================
2019-11-12T10:38:10.0707648Z Task         : Get sources
2019-11-12T10:38:10.0707696Z 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-6.0 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-12T22:58:32.8775936Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-11-12T22:58:33.4519065Z ##[command]git config gc.auto 0
2019-11-12T22:58:33.4523881Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-11-12T22:58:33.4525976Z ##[command]git config --get-all http.proxy
2019-11-12T22:58:33.4529860Z ##[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/65894/merge:refs/remotes/pull/65894/merge
---
2019-11-12T23:58:35.9260721Z .................................................................................................... 1500/9234
2019-11-12T23:58:42.0691433Z .................................................................................................... 1600/9234
2019-11-12T23:58:51.4106505Z .................................................................................................... 1700/9234
2019-11-12T23:58:59.9697734Z ...i................................................................................................ 1800/9234
2019-11-12T23:59:06.8521577Z .......................................................................................iiiii........ 1900/9234
2019-11-12T23:59:28.1824793Z .................................................................................................... 2100/9234
2019-11-12T23:59:30.4896498Z .................................................................................................... 2200/9234
2019-11-12T23:59:32.9334067Z .................................................................................................... 2300/9234
2019-11-12T23:59:42.5629833Z .................................................................................................... 2400/9234
---
2019-11-13T00:02:36.5814877Z ....................................................................................i............... 4700/9234
2019-11-13T00:02:43.7099127Z i................................................................................................... 4800/9234
2019-11-13T00:02:53.1012457Z .................................................................................................... 4900/9234
2019-11-13T00:02:58.3663142Z .................................................................................................... 5000/9234
2019-11-13T00:03:10.0080681Z .......................................................................................ii.ii........ 5100/9234
2019-11-13T00:03:18.4042823Z ......................i............................................................................. 5300/9234
2019-11-13T00:03:26.7340730Z .................................................................................................... 5400/9234
2019-11-13T00:03:35.5785502Z .....................................................................i.............................. 5500/9234
2019-11-13T00:03:43.0529951Z .................................................................................................... 5600/9234
2019-11-13T00:03:43.0529951Z .................................................................................................... 5600/9234
2019-11-13T00:03:50.6366062Z .................................................................................................... 5700/9234
2019-11-13T00:04:00.0946821Z .......................................................ii...i..ii...........i....................... 5800/9234
2019-11-13T00:04:22.8089839Z .................................................................................................... 6000/9234
2019-11-13T00:04:31.1222699Z .................................................................................................... 6100/9234
2019-11-13T00:04:31.1222699Z .................................................................................................... 6100/9234
2019-11-13T00:04:36.9889456Z ..........................................................................i..ii..................... 6200/9234
2019-11-13T00:05:06.2304148Z .................................................................................................... 6400/9234
2019-11-13T00:05:08.4343890Z ..........................................i......................................................... 6500/9234
2019-11-13T00:05:10.5496292Z .................................................................................................... 6600/9234
2019-11-13T00:05:12.8209794Z ..........................i......................................................................... 6700/9234
---
2019-11-13T00:10:28.3936142Z  finished in 5.856
2019-11-13T00:10:28.4125392Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T00:10:28.5829313Z 
2019-11-13T00:10:28.5830053Z running 156 tests
2019-11-13T00:10:31.5015141Z iiii....iii......iii..iiii...i.............................i..i..................i....i...........ii 100/156
2019-11-13T00:10:33.4640483Z .i.i..iiii..............i.........iii..i........ii......
2019-11-13T00:10:33.4641602Z 
2019-11-13T00:10:33.4645468Z  finished in 5.052
2019-11-13T00:10:33.4868853Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T00:10:33.6647043Z 
---
2019-11-13T00:10:35.6483674Z  finished in 2.160
2019-11-13T00:10:35.6683194Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T00:10:35.8365816Z 
2019-11-13T00:10:35.8366666Z running 9 tests
2019-11-13T00:10:35.8367557Z iiiiiiiii
2019-11-13T00:10:35.8368216Z 
2019-11-13T00:10:35.8368431Z  finished in 0.168
2019-11-13T00:10:35.8552864Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T00:10:36.0263871Z 
---
2019-11-13T00:10:55.1346168Z  finished in 19.269
2019-11-13T00:10:55.1433786Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T00:10:55.3127756Z 
2019-11-13T00:10:55.3128439Z running 123 tests
2019-11-13T00:11:18.3489746Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-11-13T00:11:23.6418884Z i.i.i......iii.i.....ii
2019-11-13T00:11:23.6420434Z 
2019-11-13T00:11:23.6421622Z  finished in 27.725
2019-11-13T00:11:23.6427951Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T00:11:23.6428439Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-11-13T00:18:06.9792566Z failures:
2019-11-13T00:18:06.9799809Z 
2019-11-13T00:18:06.9800348Z ---- [rustdoc] rustdoc/test_option_check/bar.rs stdout ----
2019-11-13T00:18:06.9800390Z 
2019-11-13T00:18:06.9801477Z error: Not found doc test: "test /checkout/src/test/rustdoc/test_option_check/bar.rs - foooo (line 8) ... ok" in "/checkout/src/test/rustdoc/test_option_check/bar.rs":[6]
2019-11-13T00:18:06.9801551Z status: exit code: 0
2019-11-13T00:18:06.9802221Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/bar/auxiliary" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/bar" "/checkout/src/test/rustdoc/test_option_check/bar.rs" "--test"
2019-11-13T00:18:06.9802530Z ------------------------------------------
2019-11-13T00:18:06.9802585Z 
2019-11-13T00:18:06.9802627Z running 1 test
2019-11-13T00:18:06.9802627Z running 1 test
2019-11-13T00:18:06.9802884Z test /checkout/src/test/rustdoc/test_option_check/bar.rs - foooo (line 8) ... ok
2019-11-13T00:18:06.9803004Z test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T00:18:06.9803036Z 
2019-11-13T00:18:06.9803062Z 
2019-11-13T00:18:06.9803281Z ------------------------------------------
---
2019-11-13T00:18:06.9803856Z 
2019-11-13T00:18:06.9803882Z 
2019-11-13T00:18:06.9804110Z ---- [rustdoc] rustdoc/test_option_check/test.rs stdout ----
2019-11-13T00:18:06.9804144Z 
2019-11-13T00:18:06.9804638Z error: Not found doc test: "test /checkout/src/test/rustdoc/test_option_check/test.rs - Bar (line 17) ... ok" in "/checkout/src/test/rustdoc/test_option_check/test.rs":[8, 15]
2019-11-13T00:18:06.9805428Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/test/auxiliary" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/test_option_check/test" "/checkout/src/test/rustdoc/test_option_check/test.rs" "--test"
2019-11-13T00:18:06.9805520Z stdout:
2019-11-13T00:18:06.9805750Z ------------------------------------------
2019-11-13T00:18:06.9805802Z 
2019-11-13T00:18:06.9805802Z 
2019-11-13T00:18:06.9805841Z running 3 tests
2019-11-13T00:18:06.9806065Z test /checkout/src/test/rustdoc/test_option_check/test.rs - Bar (line 17) ... ok
2019-11-13T00:18:06.9806316Z test /checkout/src/test/rustdoc/test_option_check/bar.rs - bar::foooo (line 8) ... ok
2019-11-13T00:18:06.9806542Z test /checkout/src/test/rustdoc/test_option_check/test.rs - Foo (line 10) ... ok
2019-11-13T00:18:06.9806631Z test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T00:18:06.9806659Z 
2019-11-13T00:18:06.9806681Z 
2019-11-13T00:18:06.9806994Z ------------------------------------------
---
2019-11-13T00:18:06.9814464Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:537:22
2019-11-13T00:18:06.9814692Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-11-13T00:18:06.9814721Z 
2019-11-13T00:18:06.9814765Z 
2019-11-13T00:18:06.9816206Z 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-6.0/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" "6.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-11-13T00:18:06.9816447Z 
2019-11-13T00:18:06.9816471Z 
2019-11-13T00:18:06.9816510Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-11-13T00:18:06.9816570Z Build completed unsuccessfully in 1:13:01
2019-11-13T00:18:06.9816570Z Build completed unsuccessfully in 1:13:01
2019-11-13T00:18:06.9869906Z == clock drift check ==
2019-11-13T00:18:06.9886313Z   local time: Wed Nov 13 00:18:06 UTC 2019
2019-11-13T00:18:07.2686290Z   network time: Wed, 13 Nov 2019 00:18:07 GMT
2019-11-13T00:18:07.2692936Z == end clock drift check ==
2019-11-13T00:18:09.8080430Z 
2019-11-13T00:18:09.8145353Z ##[error]Bash exited with code '1'.
2019-11-13T00:18:09.8182475Z ##[section]Starting: Checkout
2019-11-13T00:18:09.8184359Z ==============================================================================
2019-11-13T00:18:09.8184590Z Task         : Get sources
2019-11-13T00:18:09.8184631Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@Dylan-DPC-zz
Copy link

@GuillaumeGomez @Mark-Simulacrum @ehuss pulldown-cmark released a new version on Monday, so this is no longer blocked on that

@Dylan-DPC-zz Dylan-DPC-zz added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. labels Nov 13, 2019
@GuillaumeGomez
Copy link
Member Author

Updated!

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-13T16:57:25.6983622Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-11-13T16:57:25.7186746Z ##[command]git config gc.auto 0
2019-11-13T16:57:25.7265503Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-11-13T16:57:25.7327070Z ##[command]git config --get-all http.proxy
2019-11-13T16:57:25.7471126Z ##[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/65894/merge:refs/remotes/pull/65894/merge
---
2019-11-13T17:57:06.9908476Z .................................................................................................... 1500/9239
2019-11-13T17:57:12.9611139Z .................................................................................................... 1600/9239
2019-11-13T17:57:21.9406685Z .................................................................................................... 1700/9239
2019-11-13T17:57:30.3574910Z ....i............................................................................................... 1800/9239
2019-11-13T17:57:37.0192322Z ........................................................................................iiiii....... 1900/9239
2019-11-13T17:57:58.4707749Z .................................................................................................... 2100/9239
2019-11-13T17:58:00.8677278Z .................................................................................................... 2200/9239
2019-11-13T17:58:03.3561400Z .................................................................................................... 2300/9239
2019-11-13T17:58:10.1492492Z .................................................................................................... 2400/9239
---
2019-11-13T18:01:04.4220583Z .......................................................................................i............ 4700/9239
2019-11-13T18:01:11.0905323Z ...i................................................................................................ 4800/9239
2019-11-13T18:01:20.6156772Z .................................................................................................... 4900/9239
2019-11-13T18:01:26.0770172Z .................................................................................................... 5000/9239
2019-11-13T18:01:37.2890400Z ..........................................................................................ii.ii..... 5100/9239
2019-11-13T18:01:45.8315020Z .........................i.......................................................................... 5300/9239
2019-11-13T18:01:54.4600377Z .................................................................................................... 5400/9239
2019-11-13T18:02:02.9885094Z ........................................................................i........................... 5500/9239
2019-11-13T18:02:10.4316136Z .................................................................................................... 5600/9239
2019-11-13T18:02:10.4316136Z .................................................................................................... 5600/9239
2019-11-13T18:02:17.4781355Z .................................................................................................... 5700/9239
2019-11-13T18:02:27.1210067Z ..........................................................ii...i..ii...........i.................... 5800/9239
2019-11-13T18:02:49.8347088Z .................................................................................................... 6000/9239
2019-11-13T18:02:58.2133009Z .................................................................................................... 6100/9239
2019-11-13T18:02:58.2133009Z .................................................................................................... 6100/9239
2019-11-13T18:03:03.4559917Z .............................................................................i..ii.................. 6200/9239
2019-11-13T18:03:32.2495562Z .................................................................................................... 6400/9239
2019-11-13T18:03:35.0659375Z .............................................i...................................................... 6500/9239
2019-11-13T18:03:37.3021700Z .................................................................................................... 6600/9239
2019-11-13T18:03:39.7376266Z .............................i...................................................................... 6700/9239
---
2019-11-13T18:08:56.5435876Z  finished in 5.740
2019-11-13T18:08:56.5522663Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:08:56.7514499Z 
2019-11-13T18:08:56.7514736Z running 156 tests
2019-11-13T18:08:59.6308714Z iiii....iii......iii..iiii...i.............................i..i..................i....i...........ii 100/156
2019-11-13T18:09:01.6348029Z .i.i..iiii..............i.........iii.i.........ii......
2019-11-13T18:09:01.6351609Z 
2019-11-13T18:09:01.6356445Z  finished in 5.083
2019-11-13T18:09:01.6562695Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:09:01.8254900Z 
---
2019-11-13T18:09:03.7708355Z  finished in 2.114
2019-11-13T18:09:03.7892157Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:09:03.9676276Z 
2019-11-13T18:09:03.9676415Z running 9 tests
2019-11-13T18:09:03.9677332Z iiiiiiiii
2019-11-13T18:09:03.9677775Z 
2019-11-13T18:09:03.9677849Z  finished in 0.178
2019-11-13T18:09:03.9862755Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:09:04.1728395Z 
---
2019-11-13T18:09:23.5884550Z  finished in 19.601
2019-11-13T18:09:23.6155672Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:09:24.3485787Z 
2019-11-13T18:09:24.3486726Z running 123 tests
2019-11-13T18:09:48.9541909Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-11-13T18:09:53.8349842Z i.i.i......iii.i.....ii
2019-11-13T18:09:53.8351604Z 
2019-11-13T18:09:53.8354965Z  finished in 30.219
2019-11-13T18:09:53.8361528Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:09:53.8365295Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-11-13T18:21:58.8926768Z 
2019-11-13T18:21:58.8937206Z    Doc-tests core
2019-11-13T18:22:03.9566332Z 
2019-11-13T18:22:03.9567928Z running 2420 tests
2019-11-13T18:22:14.6155691Z ......iiiii......................................................................................... 100/2420
2019-11-13T18:22:24.9817687Z .................................................................................ii................. 200/2420
2019-11-13T18:22:49.3771439Z ..i................................................................................................. 400/2420
2019-11-13T18:22:49.3771439Z ..i................................................................................................. 400/2420
2019-11-13T18:22:59.4716461Z .....................................................ii.................iiii........................ 500/2420
2019-11-13T18:23:18.4580051Z .................................................................................................... 700/2420
2019-11-13T18:23:28.3718296Z .................................................................................................... 800/2420
2019-11-13T18:23:38.2658840Z .................................................................................................... 900/2420
2019-11-13T18:23:48.2003818Z .................................................................................................... 1000/2420
---
2019-11-13T18:27:53.5348937Z 
2019-11-13T18:27:53.5367911Z running 1000 tests
2019-11-13T18:28:14.0714778Z i................................................................................................... 100/1000
2019-11-13T18:28:25.3486280Z .................................................................................................... 200/1000
2019-11-13T18:28:33.2307541Z ...................iii......i......i...i......i..................................................... 300/1000
2019-11-13T18:28:38.4794568Z .................................................................................................... 400/1000
2019-11-13T18:28:45.9518321Z ...........................................i..i.................................ii.................. 500/1000
2019-11-13T18:28:59.8037556Z .................................................................................................... 700/1000
2019-11-13T18:28:59.8037556Z .................................................................................................... 700/1000
2019-11-13T18:29:07.2659786Z ..........................iiii...................................................................... 800/1000
2019-11-13T18:29:22.6663856Z .................................................................................................... 900/1000
2019-11-13T18:29:30.3895818Z ................................................iiii................................................ 1000/1000
2019-11-13T18:29:30.3899329Z test result: ok. 980 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2019-11-13T18:29:30.3899715Z 
2019-11-13T18:29:30.4000698Z  finished in 190.430
2019-11-13T18:29:30.4017572Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2019-11-13T18:47:32.9761712Z  finished in 41.906
2019-11-13T18:47:33.0087778Z Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T18:47:33.2218817Z 
2019-11-13T18:47:33.2219548Z running 203 tests
2019-11-13T18:48:04.1091070Z ....................i...ii...................................................................i...... 100/203
2019-11-13T18:48:38.7579367Z .................................iiii.......i.........F.iiii.iii.................................... 200/203
2019-11-13T18:48:39.2424655Z i..
2019-11-13T18:48:39.2434853Z 
2019-11-13T18:48:39.2435338Z ---- [run-make] run-make-fulldeps/rustdoc-error-lines stdout ----
2019-11-13T18:48:39.2435395Z 
2019-11-13T18:48:39.2435440Z error: make failed
2019-11-13T18:48:39.2435440Z error: make failed
2019-11-13T18:48:39.2435483Z status: exit code: 2
2019-11-13T18:48:39.2435525Z command: "make"
2019-11-13T18:48:39.2435580Z stdout:
2019-11-13T18:48:39.2435826Z ------------------------------------------
2019-11-13T18:48:39.2436670Z LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" '/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc' -L /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib --test input.rs > /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines/output || true
2019-11-13T18:48:39.2438265Z "/checkout/src/etc/cat-and-grep.sh" 'input.rs - foo (line 5)' < /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines/output
2019-11-13T18:48:39.2438759Z [[[ begin stdout ]]]
2019-11-13T18:48:39.2440542Z running 3 tests
2019-11-13T18:48:39.2440809Z test input.rs - bar (line 15) ... FAILED
2019-11-13T18:48:39.2441732Z test input.rs - bar (line 22) ... FAILED
2019-11-13T18:48:39.2442077Z test input.rs - foo (line 5) ... FAILED
---
2019-11-13T18:48:39.2451669Z 
2019-11-13T18:48:39.2451722Z test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T18:48:39.2451756Z 
2019-11-13T18:48:39.2452795Z 
2019-11-13T18:48:39.2452883Z [[[ end stdout ]]]
2019-11-13T18:48:39.2453915Z "/checkout/src/etc/cat-and-grep.sh" 'input.rs:7:15' < /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines/output
2019-11-13T18:48:39.2454025Z [[[ begin stdout ]]]
2019-11-13T18:48:39.2455024Z running 3 tests
2019-11-13T18:48:39.2455886Z test input.rs - bar (line 15) ... FAILED
2019-11-13T18:48:39.2456168Z test input.rs - bar (line 22) ... FAILED
2019-11-13T18:48:39.2457218Z test input.rs - foo (line 5) ... FAILED
---
2019-11-13T18:48:39.2464234Z 
2019-11-13T18:48:39.2464296Z test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T18:48:39.2464327Z 
2019-11-13T18:48:39.2465211Z 
2019-11-13T18:48:39.2465272Z [[[ end stdout ]]]
2019-11-13T18:48:39.2465862Z "/checkout/src/etc/cat-and-grep.sh" 'input.rs - bar (line 15)' < /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines/output
2019-11-13T18:48:39.2465926Z [[[ begin stdout ]]]
2019-11-13T18:48:39.2466182Z running 3 tests
2019-11-13T18:48:39.2466410Z test input.rs - bar (line 15) ... FAILED
2019-11-13T18:48:39.2466634Z test input.rs - bar (line 22) ... FAILED
2019-11-13T18:48:39.2466875Z test input.rs - foo (line 5) ... FAILED
---
2019-11-13T18:48:39.2472766Z 
2019-11-13T18:48:39.2472832Z test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T18:48:39.2472865Z 
2019-11-13T18:48:39.2473058Z 
2019-11-13T18:48:39.2473104Z [[[ end stdout ]]]
2019-11-13T18:48:39.2473477Z "/checkout/src/etc/cat-and-grep.sh" 'input.rs:17:15' < /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines/output
2019-11-13T18:48:39.2473557Z [[[ begin stdout ]]]
2019-11-13T18:48:39.2473818Z running 3 tests
2019-11-13T18:48:39.2474047Z test input.rs - bar (line 15) ... FAILED
2019-11-13T18:48:39.2474277Z test input.rs - bar (line 22) ... FAILED
2019-11-13T18:48:39.2474518Z test input.rs - foo (line 5) ... FAILED
---
2019-11-13T18:48:39.2481126Z 
2019-11-13T18:48:39.2481188Z test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T18:48:39.2481220Z 
2019-11-13T18:48:39.2481408Z 
2019-11-13T18:48:39.2481452Z [[[ end stdout ]]]
2019-11-13T18:48:39.2481834Z "/checkout/src/etc/cat-and-grep.sh" 'input.rs - bar (line 24)' < /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/rustdoc-error-lines/rustdoc-error-lines/output
2019-11-13T18:48:39.2481904Z [[[ begin stdout ]]]
2019-11-13T18:48:39.2482163Z running 3 tests
2019-11-13T18:48:39.2482395Z test input.rs - bar (line 15) ... FAILED
2019-11-13T18:48:39.2483508Z test input.rs - bar (line 22) ... FAILED
2019-11-13T18:48:39.2483859Z test input.rs - foo (line 5) ... FAILED
---
2019-11-13T18:48:39.2489233Z 
2019-11-13T18:48:39.2489281Z test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-13T18:48:39.2489327Z 
2019-11-13T18:48:39.2489522Z 
2019-11-13T18:48:39.2489567Z [[[ end stdout ]]]
2019-11-13T18:48:39.2489817Z Error: cannot match: input.rs - bar (line 24)
2019-11-13T18:48:39.2490072Z Makefile:7: recipe for target 'all' failed
2019-11-13T18:48:39.2490329Z ------------------------------------------
2019-11-13T18:48:39.2490389Z stderr:
2019-11-13T18:48:39.2490635Z ------------------------------------------
2019-11-13T18:48:39.2490635Z ------------------------------------------
2019-11-13T18:48:39.2490807Z make: *** [all] Error 1
2019-11-13T18:48:39.2491126Z ------------------------------------------
2019-11-13T18:48:39.2491159Z 
2019-11-13T18:48:39.2491184Z 
2019-11-13T18:48:39.2491262Z 
---
2019-11-13T18:48:39.2492228Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:537:22
2019-11-13T18:48:39.2492286Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-11-13T18:48:39.2492319Z 
2019-11-13T18:48:39.2492358Z 
2019-11-13T18:48:39.2499147Z 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/run-make-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-make" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/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" "6.0.0\n" "--system-llvm" "--cc" "cc" "--cxx" "c++" "--cflags" "-ffunction-sections -fdata-sections -fPIC -m64" "--llvm-components" "aarch64 aarch64asmparser aarch64asmprinter aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils all all-targets amdgpu amdgpuasmparser amdgpuasmprinter amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgpuutils analysis arm armasmparser armasmprinter armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitwriter bpf bpfasmparser bpfasmprinter bpfcodegen bpfdesc bpfdisassembler bpfinfo codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader lanai lanaiasmparser lanaiasmprinter lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker lto mc mcdisassembler mcjit mcparser mips mipsasmparser mipsasmprinter mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmprinter msp430codegen msp430desc msp430info native nativecodegen nvptx nvptxasmprinter nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit passes powerpc powerpcasmparser powerpcasmprinter powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata runtimedyld scalaropts selectiondag sparc sparcasmparser sparcasmprinter sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzasmprinter systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target transformutils vectorize windowsmanifest x86 x86asmparser x86asmprinter x86codegen x86desc x86disassembler x86info x86utils xcore xcoreasmprinter xcorecodegen xcoredesc xcoredisassembler xcoreinfo" "--llvm-cxxflags" "-I/usr/lib/llvm-6.0/include -std=c++0x -fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -ffunction-sections -fdata-sections -O2 -DNDEBUG  -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" "--ar" "ar" "--llvm-bin-dir" "/usr/lib/llvm-6.0/bin" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2019-11-13T18:48:39.2500464Z 
2019-11-13T18:48:39.2500594Z 
2019-11-13T18:48:39.2500753Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-11-13T18:48:39.2500913Z Build completed unsuccessfully in 1:44:57
2019-11-13T18:48:39.2500913Z Build completed unsuccessfully in 1:44:57
2019-11-13T18:48:39.2543152Z == clock drift check ==
2019-11-13T18:48:39.4584544Z   local time: Wed Nov 13 18:48:39 UTC 2019
2019-11-13T18:48:39.6994003Z   network time: Wed, 13 Nov 2019 18:48:39 GMT
2019-11-13T18:48:39.6994157Z == end clock drift check ==
2019-11-13T18:48:47.3619473Z 
2019-11-13T18:48:47.3744015Z ##[error]Bash exited with code '1'.
2019-11-13T18:48:47.3784867Z ##[section]Starting: Checkout
2019-11-13T18:48:47.3786554Z ==============================================================================
2019-11-13T18:48:47.3786615Z Task         : Get sources
2019-11-13T18:48:47.3786684Z 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)

@Mark-Simulacrum Mark-Simulacrum added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 13, 2019
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-13T22:33:52.3244359Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-11-13T22:33:53.1961693Z ##[command]git config gc.auto 0
2019-11-13T22:33:53.1965059Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-11-13T22:33:53.1967402Z ##[command]git config --get-all http.proxy
2019-11-13T22:33:53.1971104Z ##[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/65894/merge:refs/remotes/pull/65894/merge
---
2019-11-13T23:30:32.8717803Z .................................................................................................... 1500/9239
2019-11-13T23:30:38.7481494Z .................................................................................................... 1600/9239
2019-11-13T23:30:47.5126630Z .................................................................................................... 1700/9239
2019-11-13T23:30:55.6963251Z ....i............................................................................................... 1800/9239
2019-11-13T23:31:02.1656029Z ........................................................................................iiiii....... 1900/9239
2019-11-13T23:31:22.7801292Z .................................................................................................... 2100/9239
2019-11-13T23:31:25.0229575Z .................................................................................................... 2200/9239
2019-11-13T23:31:27.3490566Z .................................................................................................... 2300/9239
2019-11-13T23:31:34.0305304Z .................................................................................................... 2400/9239
---
2019-11-13T23:34:22.4380987Z .......................................................................................i............ 4700/9239
2019-11-13T23:34:28.9008435Z ...i................................................................................................ 4800/9239
2019-11-13T23:34:37.7874463Z .................................................................................................... 4900/9239
2019-11-13T23:34:42.9204256Z .................................................................................................... 5000/9239
2019-11-13T23:34:53.4264411Z ..........................................................................................ii.ii..... 5100/9239
2019-11-13T23:35:01.5009339Z .........................i.......................................................................... 5300/9239
2019-11-13T23:35:09.6693282Z .................................................................................................... 5400/9239
2019-11-13T23:35:18.0838820Z ........................................................................i........................... 5500/9239
2019-11-13T23:35:25.1490049Z .................................................................................................... 5600/9239
2019-11-13T23:35:25.1490049Z .................................................................................................... 5600/9239
2019-11-13T23:35:32.0785184Z .................................................................................................... 5700/9239
2019-11-13T23:35:41.4076649Z ..........................................................ii...i..ii...........i.................... 5800/9239
2019-11-13T23:36:02.7952719Z .................................................................................................... 6000/9239
2019-11-13T23:36:10.7480735Z .................................................................................................... 6100/9239
2019-11-13T23:36:10.7480735Z .................................................................................................... 6100/9239
2019-11-13T23:36:16.4489071Z .............................................................................i..ii.................. 6200/9239
2019-11-13T23:36:44.5745976Z .................................................................................................... 6400/9239
2019-11-13T23:36:47.0983137Z .............................................i...................................................... 6500/9239
2019-11-13T23:36:49.1904907Z .................................................................................................... 6600/9239
2019-11-13T23:36:51.4413908Z .............................i...................................................................... 6700/9239
---
2019-11-13T23:41:52.6811520Z  finished in 5.572
2019-11-13T23:41:52.6999594Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T23:41:52.8523884Z 
2019-11-13T23:41:52.8526325Z running 156 tests
2019-11-13T23:41:55.6035549Z iiii....iii......iii..iiii...i.............................i..i..................i....i...........ii 100/156
2019-11-13T23:41:57.4405110Z .i.i..iiii..............i.........iii.i.........ii......
2019-11-13T23:41:57.4405657Z 
2019-11-13T23:41:57.4409195Z  finished in 4.740
2019-11-13T23:41:57.4583741Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T23:41:57.6059776Z 
---
2019-11-13T23:41:59.4590908Z  finished in 2.000
2019-11-13T23:41:59.4766773Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T23:41:59.6137570Z 
2019-11-13T23:41:59.6137726Z running 9 tests
2019-11-13T23:41:59.6138282Z iiiiiiiii
2019-11-13T23:41:59.6138672Z 
2019-11-13T23:41:59.6142505Z  finished in 0.137
2019-11-13T23:41:59.6291596Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T23:41:59.7875777Z 
---
2019-11-13T23:42:18.1130962Z  finished in 18.483
2019-11-13T23:42:18.1302668Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T23:42:18.2903120Z 
2019-11-13T23:42:18.2903326Z running 123 tests
2019-11-13T23:42:41.4633029Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-11-13T23:42:45.8928357Z i.i.i......iii.i.....ii
2019-11-13T23:42:45.8931700Z 
2019-11-13T23:42:45.8931980Z  finished in 27.762
2019-11-13T23:42:45.8940737Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-13T23:42:45.8941247Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-11-13T23:54:11.3361383Z 
2019-11-13T23:54:11.3365710Z    Doc-tests core
2019-11-13T23:54:16.1835708Z 
2019-11-13T23:54:16.1836741Z running 2420 tests
2019-11-13T23:54:26.7666535Z ......iiiii......................................................................................... 100/2420
2019-11-13T23:54:36.8464772Z .................................................................................ii................. 200/2420
2019-11-13T23:55:01.0295979Z ...i................................................................................................ 400/2420
2019-11-13T23:55:01.0295979Z ...i................................................................................................ 400/2420
2019-11-13T23:55:10.9922173Z ...................................................i..i.................iiii........................ 500/2420
2019-11-13T23:55:30.3421650Z .................................................................................................... 700/2420
2019-11-13T23:55:40.3439142Z .................................................................................................... 800/2420
2019-11-13T23:55:50.2557520Z .................................................................................................... 900/2420
2019-11-13T23:56:00.0525460Z .................................................................................................... 1000/2420
---
2019-11-13T23:59:49.8893246Z ............................................... 300/763
2019-11-13T23:59:49.8896647Z .....thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:854:13
2019-11-13T23:59:50.0318753Z ............................................................................................... 400/763
2019-11-13T23:59:52.1205701Z .................................................................................................... 500/763
2019-11-13T23:59:52.1544079Z ....................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError.', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.1554615Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.1560716Z .thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.1586232Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.3720469Z ........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.3738266Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.3786465Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libcore/result.rs:1187:5
2019-11-13T23:59:52.4286315Z ................ 600/763
2019-11-13T23:59:54.4721783Z ........................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:629:13
2019-11-13T23:59:54.4724450Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:584:13
---
2019-11-14T00:00:03.6972042Z 
2019-11-14T00:00:03.6972260Z running 1000 tests
2019-11-14T00:00:24.1380624Z i................................................................................................... 100/1000
2019-11-14T00:00:35.5181162Z .................................................................................................... 200/1000
2019-11-14T00:00:43.5541676Z ...................iii......i......i...i......i..................................................... 300/1000
2019-11-14T00:00:48.8766649Z .................................................................................................... 400/1000
2019-11-14T00:00:56.3074050Z ...........................................i..i.................................ii.................. 500/1000
2019-11-14T00:01:10.1679504Z .................................................................................................... 700/1000
2019-11-14T00:01:10.1679504Z .................................................................................................... 700/1000
2019-11-14T00:01:17.5427677Z ..........................iiii...................................................................... 800/1000
2019-11-14T00:01:32.6443443Z .................................................................................................... 900/1000
2019-11-14T00:01:40.0717538Z ................................................iiii................................................ 1000/1000
2019-11-14T00:01:40.0718574Z test result: ok. 980 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2019-11-14T00:01:40.0718631Z 
2019-11-14T00:01:40.0780983Z  finished in 188.022
2019-11-14T00:01:40.0797125Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2019-11-14T00:19:16.8160474Z  finished in 40.310
2019-11-14T00:19:16.8211551Z Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-11-14T00:19:16.8211951Z 
2019-11-14T00:19:16.8212128Z running 203 tests
2019-11-14T00:19:45.2774653Z ....................i...ii...................................................................i...... 100/203
2019-11-14T00:20:17.9953973Z .................................iiii.......i...........iiii.iii.................................... 200/203
2019-11-14T00:20:18.8306076Z i..
2019-11-14T00:20:18.8399625Z 
2019-11-14T00:20:18.8399678Z  finished in 62.836
2019-11-14T00:20:18.8399979Z doc tests for: /checkout/src/doc/rustdoc/src/command-line-arguments.md
2019-11-14T00:20:18.8400259Z doc tests for: /checkout/src/doc/rustdoc/src/documentation-tests.md
---
2019-11-14T00:20:45.3407926Z ---- [ui] rustdoc-ui/invalid-syntax.rs stdout ----
2019-11-14T00:20:45.3407966Z 
2019-11-14T00:20:45.3408212Z error: test compilation failed although it shouldn't!
2019-11-14T00:20:45.3408283Z status: exit code: 1
2019-11-14T00:20:45.3409389Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "/checkout/src/test/rustdoc-ui/invalid-syntax.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/invalid-syntax" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/invalid-syntax/auxiliary"
2019-11-14T00:20:45.3410192Z ------------------------------------------
2019-11-14T00:20:45.3410235Z 
2019-11-14T00:20:45.3410484Z ------------------------------------------
2019-11-14T00:20:45.3410701Z stderr:
2019-11-14T00:20:45.3410701Z stderr:
2019-11-14T00:20:45.3411263Z ------------------------------------------
2019-11-14T00:20:45.3411302Z error: unknown start of token: \
2019-11-14T00:20:45.3411474Z  --> <doctest>:1:1
2019-11-14T00:20:45.3411508Z   |
2019-11-14T00:20:45.3411702Z 1 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
2019-11-14T00:20:45.3411790Z 
2019-11-14T00:20:45.3411823Z error: unknown start of token: \
2019-11-14T00:20:45.3411976Z  --> <doctest>:1:43
2019-11-14T00:20:45.3412027Z   |
2019-11-14T00:20:45.3412027Z   |
2019-11-14T00:20:45.3412221Z 1 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
2019-11-14T00:20:45.3412302Z 
2019-11-14T00:20:45.3412335Z error: unknown start of token: \
2019-11-14T00:20:45.3412483Z  --> <doctest>:1:60
2019-11-14T00:20:45.3412515Z   |
2019-11-14T00:20:45.3412515Z   |
2019-11-14T00:20:45.3412725Z 1 | \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
2019-11-14T00:20:45.3412798Z 
2019-11-14T00:20:45.3412849Z warning: could not parse code block as Rust code
2019-11-14T00:20:45.3413034Z   --> /checkout/src/test/rustdoc-ui/invalid-syntax.rs:3:5
2019-11-14T00:20:45.3413071Z    |
2019-11-14T00:20:45.3413071Z    |
2019-11-14T00:20:45.3413108Z LL |   /// ```
2019-11-14T00:20:45.3413158Z    |  _____^
2019-11-14T00:20:45.3413358Z LL | | /// \__________pkt->size___________/          \_result->size_/ \__pkt->size__/
2019-11-14T00:20:45.3413447Z    | |_______^
2019-11-14T00:20:45.3413478Z    |
2019-11-14T00:20:45.3413513Z help: mark blocks that do not contain Rust code as text
2019-11-14T00:20:45.3413563Z    |
---
2019-11-14T00:20:45.3421764Z   --> /checkout/src/test/rustdoc-ui/invalid-syntax.rs:54:5
2019-11-14T00:20:45.3421800Z    |
2019-11-14T00:20:45.3421848Z LL |   /// ```
2019-11-14T00:20:45.3421879Z    |  _____^
2019-11-14T00:20:45.3421912Z LL | | /// slkdjf
2019-11-14T00:20:45.3421992Z    |
2019-11-14T00:20:45.3422027Z help: mark blocks that do not contain Rust code as text
2019-11-14T00:20:45.3422060Z    |
2019-11-14T00:20:45.3422106Z LL | /// ```text
2019-11-14T00:20:45.3422106Z LL | /// ```text
2019-11-14T00:20:45.3422138Z    |     ^^^^^^^
2019-11-14T00:20:45.3422158Z 
2019-11-14T00:20:45.3422373Z thread 'rustc' panicked at 'byte index 45 is out of bounds of `Indented code that contains a fence
2019-11-14T00:20:45.3422592Z     ````', src/libcore/str/mod.rs:2052:9
2019-11-14T00:20:45.3422633Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-11-14T00:20:45.3422658Z 
2019-11-14T00:20:45.3422838Z ------------------------------------------
---
2019-11-14T00:20:45.3423473Z test result: FAILED. 31 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
2019-11-14T00:20:45.3423676Z 
2019-11-14T00:20:45.3423712Z 
2019-11-14T00:20:45.3423731Z 
2019-11-14T00:20:45.3424919Z 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-ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-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" "6.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-11-14T00:20:45.3425193Z 
2019-11-14T00:20:45.3425215Z 
2019-11-14T00:20:45.3425249Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-11-14T00:20:45.3425309Z Build completed unsuccessfully in 1:41:01
2019-11-14T00:20:45.3425309Z Build completed unsuccessfully in 1:41:01
2019-11-14T00:20:45.3425343Z == clock drift check ==
2019-11-14T00:20:45.3425376Z   local time: Thu Nov 14 00:20:44 UTC 2019
2019-11-14T00:20:45.3425425Z   network time: Thu, 14 Nov 2019 00:20:45 GMT
2019-11-14T00:20:45.3425458Z == end clock drift check ==
2019-11-14T00:20:46.2731832Z 
2019-11-14T00:20:46.2800333Z ##[error]Bash exited with code '1'.
2019-11-14T00:20:46.2842424Z ##[section]Starting: Checkout
2019-11-14T00:20:46.2844060Z ==============================================================================
2019-11-14T00:20:46.2844124Z Task         : Get sources
2019-11-14T00:20:46.2844175Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@GuillaumeGomez
Copy link
Member Author

Updated. Let's see if all the tests are happy this time!

@Mark-Simulacrum
Copy link
Member

Once tests are passing and presuming there are no functional changes, r=me.

@GuillaumeGomez
Copy link
Member Author

@bors: r=Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Nov 17, 2019

📌 Commit 339e29a has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 17, 2019
@bors
Copy link
Contributor

bors commented Nov 17, 2019

⌛ Testing commit 339e29a with merge e3af139bc36297a97f607f5ae119f28496338e43...

@@ -115,7 +115,8 @@ warning: could not parse code block as Rust code
LL | /// code with bad syntax
| _________^
LL | | /// \_
| |__________^
LL | | ///
| |_
Copy link
Member

Choose a reason for hiding this comment

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

Where is the ^?

@bors
Copy link
Contributor

bors commented Nov 17, 2019

💔 Test failed - checks-azure

@rust-highfive
Copy link
Collaborator

The job dist-x86_64-linux of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2019-11-17T15:22:00.9475184Z   | ^
2019-11-17T15:22:00.9475376Z   |
2019-11-17T15:22:00.9476280Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-11-17T15:22:00.9476598Z   |
2019-11-17T15:22:00.9477047Z 1 | '``compile_fail
2019-11-17T15:22:00.9477432Z 
2019-11-17T15:22:00.9477647Z error: unknown start of token: `
2019-11-17T15:22:00.9478079Z  --> <doctest>:1:2
2019-11-17T15:22:00.9478313Z   |
2019-11-17T15:22:00.9478313Z   |
2019-11-17T15:22:00.9478512Z 1 | ```compile_fail
2019-11-17T15:22:00.9478694Z   |  ^
2019-11-17T15:22:00.9478906Z   |
2019-11-17T15:22:00.9479420Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-11-17T15:22:00.9479670Z   |
2019-11-17T15:22:00.9480088Z 1 | `'`compile_fail
2019-11-17T15:22:00.9480315Z   |  ^
2019-11-17T15:22:00.9480659Z error: unknown start of token: `
2019-11-17T15:22:00.9481087Z  --> <doctest>:1:3
2019-11-17T15:22:00.9481334Z   |
2019-11-17T15:22:00.9481517Z 1 | ```compile_fail
2019-11-17T15:22:00.9481517Z 1 | ```compile_fail
2019-11-17T15:22:00.9481715Z   |   ^
2019-11-17T15:22:00.9481908Z   |
2019-11-17T15:22:00.9482426Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-11-17T15:22:00.9482701Z   |
2019-11-17T15:22:00.9483105Z 1 | ``'compile_fail
2019-11-17T15:22:00.9483501Z 
2019-11-17T15:22:00.9483695Z error: unknown start of token: `
2019-11-17T15:22:00.9484098Z  --> <doctest>:8:5
2019-11-17T15:22:00.9484348Z   |
---
2019-11-17T15:22:00.9492718Z 
2019-11-17T15:22:00.9501702Z warning: could not parse code block as Rust code
2019-11-17T15:22:00.9502497Z    --> src/libcore/pin.rs:301:9
2019-11-17T15:22:00.9503074Z     |
2019-11-17T15:22:00.9503657Z 301 |   //!     ```compile_fail
2019-11-17T15:22:00.9504235Z     |  _________^
2019-11-17T15:22:00.9504902Z 302 | | //!     fn exploit_ref_cell<T>(rc: Pin<&mut RefCell<T>>) {
2019-11-17T15:22:00.9505654Z 303 | | //!         { let p = rc.as_mut().get_pin_mut(); } // Here we get pinned access to the `T`.
2019-11-17T15:22:00.9506385Z 304 | | //!         let rc_shr: &RefCell<T> = rc.into_ref().get_ref();
2019-11-17T15:22:00.9507526Z 307 | | //!     }
2019-11-17T15:22:00.9509140Z 308 | | //!     ```
2019-11-17T15:22:00.9509529Z     | |___________^
2019-11-17T15:22:00.9509599Z 
---
2019-11-17T15:22:18.5068856Z   | ^
2019-11-17T15:22:18.5069118Z   |
2019-11-17T15:22:18.5069775Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-11-17T15:22:18.5070161Z   |
2019-11-17T15:22:18.5070707Z 1 | '``compile_fail
2019-11-17T15:22:18.5071308Z 
2019-11-17T15:22:18.5071573Z error: unknown start of token: `
2019-11-17T15:22:18.5072109Z  --> <doctest>:1:2
2019-11-17T15:22:18.5072476Z   |
2019-11-17T15:22:18.5072476Z   |
2019-11-17T15:22:18.5072747Z 1 | ```compile_fail
2019-11-17T15:22:18.5073032Z   |  ^
2019-11-17T15:22:18.5073311Z   |
2019-11-17T15:22:18.5073929Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-11-17T15:22:18.5074337Z   |
2019-11-17T15:22:18.5074852Z 1 | `'`compile_fail
2019-11-17T15:22:18.5075214Z   |  ^
2019-11-17T15:22:18.5075759Z error: unknown start of token: `
2019-11-17T15:22:18.5076276Z  --> <doctest>:1:3
2019-11-17T15:22:18.5076638Z   |
2019-11-17T15:22:18.5076923Z 1 | ```compile_fail
2019-11-17T15:22:18.5076923Z 1 | ```compile_fail
2019-11-17T15:22:18.5077191Z   |   ^
2019-11-17T15:22:18.5077461Z   |
2019-11-17T15:22:18.5078052Z help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
2019-11-17T15:22:18.5078431Z   |
2019-11-17T15:22:18.5078952Z 1 | ``'compile_fail
2019-11-17T15:22:18.5080361Z 
2019-11-17T15:22:18.5080683Z error: unknown start of token: `
2019-11-17T15:22:18.5081407Z  --> <doctest>:8:5
2019-11-17T15:22:18.5081777Z   |
---
2019-11-17T15:23:59.5925426Z     |                                 ^^^^^^^^ cannot be resolved, ignoring
2019-11-17T15:23:59.5925831Z     |
2019-11-17T15:23:59.5926205Z     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-17T15:23:59.5926281Z 
2019-11-17T15:23:59.6192737Z thread 'rustc' panicked at 'byte index 334 is out of bounds of `A doc comment (e.g. `/// ...`, `//! ...`, `/** ... */`, `/*! ... */`).
2019-11-17T15:23:59.6192945Z Doc attributes (e.g. `#[doc="..."]`) are represented with the `Normal`
2019-11-17T15:23:59.6193031Z variant (which is much less compact and thus more expensive).
2019-11-17T15:23:59.6193097Z 
2019-11-17T15:23:59.6193404Z Note: `self.has_name(sym::doc)` and `self.check_nam`[...]', src/libcore/macros/mod.rs:23:13
2019-11-17T15:23:59.7271182Z error: Could not document `syntax`.
2019-11-17T15:23:59.7271323Z 
2019-11-17T15:23:59.7271384Z Caused by:
2019-11-17T15:23:59.7271384Z Caused by:
2019-11-17T15:23:59.7274713Z   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustdoc --edition=2018 --crate-type lib --crate-name syntax src/libsyntax/lib.rs --target x86_64-unknown-linux-gnu -o /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/release/deps --extern bitflags=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libbitflags-4832b73a59cc0f66.rmeta --extern lazy_static=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/liblazy_static-5da31b467d36a336.rmeta --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/liblog-b71cb8d96ddad860.rmeta --extern rustc_data_structures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-dea507b75c596083.rmeta --extern rustc_error_codes=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_error_codes-fb2a6d59a52a3b6f.rmeta --extern errors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-ebacc70065319d20.rmeta --extern rustc_index=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_index-07a3b9e8780801c6.rmeta --extern rustc_lexer=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_lexer-9f91b4ca008ddea4.rmeta --extern scoped_tls=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libscoped_tls-d39e9d1a030ad0d2.rmeta --extern rustc_serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-351ce27a546fb3a8.rmeta --extern smallvec=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libsmallvec-50b6da5c023b0a74.rmeta --extern syntax_pos=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-d3ea3842cfe923a7.rmeta --document-private-items --passes strip-hidden` (exit code: 1)
2019-11-17T15:24:01.8523670Z [RUSTC-TIMING] syntax test:false 6.582
2019-11-17T15:24:01.8670526Z error: build failed
2019-11-17T15:24:01.8700744Z 
2019-11-17T15:24:01.8700888Z 
2019-11-17T15:24:01.8700888Z 
2019-11-17T15:24:01.8703253Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "doc" "-Zconfig-profile" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "2" "--release" "--locked" "--color" "always" "--features" "jemalloc" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--no-deps" "-p" "rustc_metadata" "-p" "rustc_codegen_llvm" "-p" "rustc_macros" "-p" "rustc_llvm" "-p" "rustc_error_codes" "-p" "rustc_privacy" "-p" "rustc_errors" "-p" "rustc_interface" "-p" "syntax_ext" "-p" "rustc_plugin" "-p" "build_helper" "-p" "rustc_codegen_ssa" "-p" "syntax" "-p" "rustc_traits" "-p" "syntax_pos" "-p" "rustc_index" "-p" "rustc_lint" "-p" "rustc_lexer" "-p" "rustc_mir" "-p" "rustc_codegen_utils" "-p" "rustc" "-p" "rustc_save_analysis" "-p" "rustc_driver" "-p" "serialize" "-p" "rustc_apfloat" "-p" "rustc_data_structures" "-p" "rustc_parse" "-p" "rustc_fs_util" "-p" "arena" "-p" "rustc_plugin_impl" "-p" "rustc_resolve" "-p" "graphviz" "-p" "rustc_target" "-p" "syntax_expand" "-p" "rustc_typeck" "-p" "rustc_passes" "-p" "rustc_incremental" "-p" "fmt_macros"
2019-11-17T15:24:01.8703908Z 
2019-11-17T15:24:01.8703968Z 
2019-11-17T15:24:01.8704462Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host x86_64-unknown-linux-gnu --target x86_64-unknown-linux-gnu
2019-11-17T15:24:01.8704613Z Build completed unsuccessfully in 1:27:09
2019-11-17T15:24:01.8704613Z Build completed unsuccessfully in 1:27:09
2019-11-17T15:24:01.8749504Z == clock drift check ==
2019-11-17T15:24:01.8771550Z   local time: Sun Nov 17 15:24:01 UTC 2019
2019-11-17T15:24:02.4645875Z   network time: Sun, 17 Nov 2019 15:24:02 GMT
2019-11-17T15:24:02.4654357Z == end clock drift check ==
2019-11-17T15:24:05.8082040Z 
2019-11-17T15:24:05.8206621Z ##[error]Bash exited with code '1'.
2019-11-17T15:24:05.8244122Z ##[section]Starting: Checkout
2019-11-17T15:24:05.8246514Z ==============================================================================
2019-11-17T15:24:05.8246759Z Task         : Get sources
2019-11-17T15:24:05.8246853Z 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)

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 17, 2019
}
code_block = Some(offset_range.clone());

code_start = if !md[previous_offset.end..offset_range.start].ends_with(" ") {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it is necessary to scan through the text to find the code block start/end now that it is using into_offset_iter. It has the exact ranges provided by pulldown-cmark. Perhaps something like this will be a little more reliable?

diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index d10b131af8e..e1fc7075372 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -922,11 +922,11 @@ crate fn rust_code_blocks(md: &str) -> Vec<RustCodeBlock> {

     let mut p = Parser::new_ext(md, opts()).into_offset_iter();

-    let mut code_block = None;
+    let mut code_block_range = 0..0;
     let mut code_start = 0;
+    let mut code_end = 0;
     let mut is_fenced = false;
     let mut in_rust_code_block = false;
-    let mut previous_offset = Range { start: 0, end: 0 };
     while let Some((event, offset_range)) = p.next() {
         match event {
             Event::Start(Tag::CodeBlock(syntax)) => {
@@ -938,36 +938,23 @@ crate fn rust_code_blocks(md: &str) -> Vec<RustCodeBlock> {

                 if lang_string.rust {
                     in_rust_code_block = true;
-                    code_block = Some(offset_range.clone());
-
-                    code_start = if !md[previous_offset.end..offset_range.start].ends_with("    ") {
-                        is_fenced = true;
-                        offset_range.start + md[offset_range.clone()]
-                            .lines()
-                            .next()
-                            .map_or(0, |x| x.len() + 1)
-                    } else {
-                        is_fenced = false;
-                        offset_range.start
-                    };
+                    code_block_range = offset_range.clone();
+                    is_fenced = md[offset_range].starts_with("```");
+                }
+            }
+            Event::Text(_) if in_rust_code_block => {
+                // Once inside a code block, the Text event gives the contents
+                // of the code block.
+                if code_start == 0 {
+                    code_start = offset_range.start;
                 }
+                code_end = offset_range.end;
             }
             Event::End(Tag::CodeBlock(syntax)) if in_rust_code_block => {
                 in_rust_code_block = false;
-
-                let code_end = if is_fenced {
-                    let last_len = md[offset_range.clone()]
-                        .lines()
-                        .last()
-                        .filter(|l| l.ends_with("```"))
-                        .map_or(0, |l| l.len());
-                    offset_range.end - last_len
-                } else {
-                    offset_range.end
-                };
                 code_blocks.push(RustCodeBlock {
                     is_fenced,
-                    range: code_block.clone().unwrap(),
+                    range: code_block_range.clone(),
                     code: Range {
                         start: code_start,
                         end: code_end,
@@ -978,10 +965,10 @@ crate fn rust_code_blocks(md: &str) -> Vec<RustCodeBlock> {
                         None
                     },
                 });
+                code_start = 0;
             }
             _ => (),
         }
-        previous_offset = offset_range;
     }

     code_blocks

Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately it's not. I had this issue as well. :)

In the case the block code is indented and not started with backticks, then if we have backticks, it's text. We even have a test for this use case. Therefore, we need to check if the code block is preceded by whitespaces.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just to be clear, are you referring to this test? If it is important to avoid adding the suggestion to add text, a modification of the patch above should work: Add this to Event::Text:

is_fenced = code_start != code_block_range.start;

and remove is_fenced from Tag::CodeBlock. That is, when the Event::Text has the same offset as Event::Start(Tag::CodeBlock)), then it should be an indented codeblock.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a hack and not a good one unfortunately. Like I said below, the easiest way is to simply know beforehand the kind of code block this is. I sent a PR for it in pulldown-cmark. That'll allow us to just remove all of this.

@GuillaumeGomez
Copy link
Member Author

Actually, it's too much of an issue to be able to tell from code if this is indented or not. Therefore I opened pulldown-cmark/pulldown-cmark#415 and I'm sending a PR to fix it. It'll be simpler this way.

@Dylan-DPC-zz
Copy link

Marking this as blocked waiting for the upstream issue

@Dylan-DPC-zz Dylan-DPC-zz added S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 17, 2019
@GuillaumeGomez
Copy link
Member Author

Ok, waiting on pulldown-cmark/pulldown-cmark#416

@bors
Copy link
Contributor

bors commented Dec 11, 2019

☔ The latest upstream changes (presumably #67198) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented Jan 30, 2020

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout up-pulldown-cmark (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self up-pulldown-cmark --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging src/test/rustdoc-ui/invalid-syntax.stderr
CONFLICT (content): Merge conflict in src/test/rustdoc-ui/invalid-syntax.stderr
Auto-merging src/librustdoc/test.rs
Auto-merging src/librustdoc/passes/mod.rs
Auto-merging src/librustdoc/passes/check_code_block_syntax.rs
CONFLICT (content): Merge conflict in src/librustdoc/passes/check_code_block_syntax.rs
Auto-merging src/librustdoc/html/markdown.rs
CONFLICT (content): Merge conflict in src/librustdoc/html/markdown.rs
Auto-merging src/librustdoc/Cargo.toml
Auto-merging Cargo.lock
CONFLICT (content): Merge conflict in Cargo.lock
Automatic merge failed; fix conflicts and then commit the result.

@XAMPPRocky
Copy link
Member

Closing this due to inactivity, and merge conflicts with the base branch. Feel free to re-open once fixes for pulldown-cmark have been released.

@GuillaumeGomez GuillaumeGomez deleted the up-pulldown-cmark branch February 13, 2020 12:00
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Feb 14, 2020
…k, r=Dylan-DPC

Update pulldown-cmark dependency

r? @kinnison

cc @ollie27

Reopening of  rust-lang#65894.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants