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

Allow using Self:: in doc #71289

Merged
merged 1 commit into from May 23, 2020
Merged

Allow using Self:: in doc #71289

merged 1 commit into from May 23, 2020

Conversation

ghost
Copy link

@ghost ghost commented Apr 18, 2020

Closes #70802

@JohnTitor JohnTitor added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 18, 2020
@rust-highfive
Copy link
Collaborator

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

Click to expand the log.
2020-04-18T16:20:42.0217124Z ========================== Starting Command Output ===========================
2020-04-18T16:20:42.0220844Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/f9fd2ed3-ce74-4436-8398-92ea8d717b63.sh
2020-04-18T16:20:42.0221202Z 
2020-04-18T16:20:42.0225009Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-18T16:20:42.0242014Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-18T16:20:42.0245245Z Task         : Get sources
2020-04-18T16:20:42.0245510Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T16:20:42.0245764Z Version      : 1.0.0
2020-04-18T16:20:42.0245957Z Author       : Microsoft
---
2020-04-18T16:20:43.0090631Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-18T16:20:43.0100581Z ##[command]git config gc.auto 0
2020-04-18T16:20:43.0106660Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-18T16:20:43.0112232Z ##[command]git config --get-all http.proxy
2020-04-18T16:20:43.0122488Z ##[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/71289/merge:refs/remotes/pull/71289/merge
---
2020-04-18T16:22:42.5295170Z  ---> 318032b5f0e2
2020-04-18T16:22:42.5296558Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-8       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-18T16:22:42.5302085Z  ---> Using cache
2020-04-18T16:22:42.5302942Z  ---> d44a858fd1ce
2020-04-18T16:22:42.5356935Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-18T16:22:42.5359105Z  ---> 58b910f50f5a
2020-04-18T16:22:42.5359312Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-18T16:22:42.5359660Z  ---> Using cache
2020-04-18T16:22:42.5360002Z  ---> ee7702aadba1
---
2020-04-18T16:22:42.5732126Z Looks like docker image is the same as before, not uploading
2020-04-18T16:22:50.3043863Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T16:22:50.3292067Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T16:22:50.3319972Z == clock drift check ==
2020-04-18T16:22:50.3329086Z   local time: Sat Apr 18 16:22:50 UTC 2020
2020-04-18T16:22:50.6414029Z   network time: Sat, 18 Apr 2020 16:22:50 GMT
2020-04-18T16:22:50.6440548Z Starting sccache server...
2020-04-18T16:22:50.7278256Z configure: processing command line
2020-04-18T16:22:50.7278927Z configure: 
2020-04-18T16:22:50.7279953Z configure: rust.dist-src        := False
---
2020-04-18T16:27:56.6213261Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T16:27:58.0361855Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T16:27:59.5421950Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T16:28:00.6736345Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T16:28:09.1147049Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T16:28:11.6616836Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T16:28:15.9525069Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T16:28:19.9936619Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T16:28:28.7811169Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T16:48:59.7436676Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T16:49:01.1870644Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T16:49:02.8460698Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T16:49:02.8546236Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T16:49:12.3794577Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T16:49:14.2965160Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T16:49:18.5799407Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T16:49:22.5507604Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T16:49:32.3316073Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T17:10:14.4531577Z .................................................................................................... 1700/9905
2020-04-18T17:10:18.0720363Z .................................................................................................... 1800/9905
2020-04-18T17:10:25.8122069Z .................................................................................................i.. 1900/9905
2020-04-18T17:10:33.1356179Z .................................................................................................... 2000/9905
2020-04-18T17:10:39.0033228Z .......................................................................................iiiii........ 2100/9905
2020-04-18T17:10:57.0273520Z .................................................................................................... 2300/9905
2020-04-18T17:10:59.1098922Z .................................................................................................... 2400/9905
2020-04-18T17:11:01.2689833Z .................................................................................................... 2500/9905
2020-04-18T17:11:07.0886313Z .................................................................................................... 2600/9905
---
2020-04-18T17:13:35.4580782Z .................................................................................................... 4900/9905
2020-04-18T17:13:39.8585923Z ...............................................................i...............i.................... 5000/9905
2020-04-18T17:13:46.3426028Z .................................................................................................... 5100/9905
2020-04-18T17:13:52.5468779Z .................................................................................................... 5200/9905
2020-04-18T17:13:57.1087320Z .........i.........................................................................................i 5300/9905
2020-04-18T17:14:05.7379696Z ...................................................................................................i 5400/9905
2020-04-18T17:14:09.9862754Z i.ii........i...i................................................................................... 5500/9905
2020-04-18T17:14:16.9282371Z .............................................i...................................................... 5700/9905
2020-04-18T17:14:25.0515142Z .............................................................................ii..................... 5800/9905
2020-04-18T17:14:31.2002167Z ................i................................................................................... 5900/9905
2020-04-18T17:14:36.0875418Z .................................................................................................... 6000/9905
2020-04-18T17:14:36.0875418Z .................................................................................................... 6000/9905
2020-04-18T17:14:45.3207200Z .................................................................................................... 6100/9905
2020-04-18T17:14:55.0596777Z ..........ii...i..ii...........i.................................................................... 6200/9905
2020-04-18T17:15:06.8749700Z .................................................................................................... 6400/9905
2020-04-18T17:15:09.9161694Z .................................................................................................... 6500/9905
2020-04-18T17:15:09.9161694Z .................................................................................................... 6500/9905
2020-04-18T17:15:19.6297793Z ........................................i..ii....................................................... 6600/9905
2020-04-18T17:15:38.6715939Z .................................................................................................... 6800/9905
2020-04-18T17:15:40.5467132Z .........................................i.......................................................... 6900/9905
2020-04-18T17:15:42.3624027Z .................................................................................................... 7000/9905
2020-04-18T17:15:44.2335691Z .................................................................................i.................. 7100/9905
---
2020-04-18T17:17:05.5242956Z .................................................................................................... 7800/9905
2020-04-18T17:17:09.4066095Z .................................................................................................... 7900/9905
2020-04-18T17:17:15.1691635Z .................................................................................................... 8000/9905
2020-04-18T17:17:20.3170635Z ...............................................i.................................................... 8100/9905
2020-04-18T17:17:29.1267431Z ................................................................................................iiii 8200/9905
2020-04-18T17:17:34.0590056Z ii.iiiii.i.......................................................................................... 8300/9905
2020-04-18T17:17:45.7872588Z .................................................................................................... 8500/9905
2020-04-18T17:17:53.0407550Z .................................................................................................... 8600/9905
2020-04-18T17:18:05.2751488Z .................................................................................................... 8700/9905
2020-04-18T17:18:11.2472313Z .................................................................................................... 8800/9905
---
2020-04-18T17:20:09.8202414Z Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-18T17:20:09.8371697Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T17:20:10.0282429Z 
2020-04-18T17:20:10.0282664Z running 186 tests
2020-04-18T17:20:12.6087940Z iiii......i.............ii.i..........i.............................i..i..................i....i.... 100/186
2020-04-18T17:20:14.9042897Z ........i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-18T17:20:14.9045022Z 
2020-04-18T17:20:14.9052522Z  finished in 5.068
2020-04-18T17:20:14.9058173Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
2020-04-18T17:20:14.9236009Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T17:20:16.8994003Z Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-18T17:20:16.9183074Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T17:20:17.0607699Z 
2020-04-18T17:20:17.0608133Z running 9 tests
2020-04-18T17:20:17.0609620Z iiiiiiiii
2020-04-18T17:20:17.0611583Z 
2020-04-18T17:20:17.0620769Z  finished in 0.143
2020-04-18T17:20:17.0621616Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-18T17:20:17.0790694Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T17:20:35.0629402Z Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
2020-04-18T17:20:35.0845160Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T17:20:35.2633578Z 
2020-04-18T17:20:35.2633830Z running 115 tests
2020-04-18T17:20:47.5908452Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii.........i.....i..i.......ii.i.ii.. 100/115
2020-04-18T17:20:49.1519911Z ...iiii.....ii.
2020-04-18T17:20:49.1521250Z 
2020-04-18T17:20:49.1523665Z  finished in 14.067
2020-04-18T17:20:49.1535452Z Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
2020-04-18T17:20:49.1540035Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T17:27:01.2254735Z failures:
2020-04-18T17:27:01.2254966Z 
2020-04-18T17:27:01.2255956Z ---- [rustdoc] rustdoc/issue-23511.rs stdout ----
2020-04-18T17:27:01.2256260Z 
2020-04-18T17:27:01.2256536Z error: htmldocck failed!
2020-04-18T17:27:01.2256893Z status: exit code: 1
2020-04-18T17:27:01.2258198Z command: "/usr/bin/python2.7" "/checkout/src/etc/htmldocck.py" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc/issue-23511" "/checkout/src/test/rustdoc/issue-23511.rs"
2020-04-18T17:27:01.2259844Z ------------------------------------------
2020-04-18T17:27:01.2260123Z 
2020-04-18T17:27:01.2260727Z ------------------------------------------
2020-04-18T17:27:01.2261075Z stderr:
2020-04-18T17:27:01.2261075Z stderr:
2020-04-18T17:27:01.2261707Z ------------------------------------------
2020-04-18T17:27:01.2262072Z 9: @has check failed
2020-04-18T17:27:01.2262408Z  `PATTERN` did not match
2020-04-18T17:27:01.2263193Z          // @has search-index.js foo
2020-04-18T17:27:01.2263718Z Encountered 1 errors
2020-04-18T17:27:01.2263930Z 
2020-04-18T17:27:01.2264579Z ------------------------------------------
2020-04-18T17:27:01.2264853Z 
---
2020-04-18T17:27:01.2267803Z 
2020-04-18T17:27:01.2267960Z 
2020-04-18T17:27:01.2268786Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-18T17:27:01.2269451Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-04-18T17:27:01.2276037Z 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-8/bin/FileCheck" "--nodejs" "/usr/bin/node" "--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" "8.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-18T17:27:01.2280363Z 
2020-04-18T17:27:01.2280528Z 
2020-04-18T17:27:01.2285230Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-18T17:27:01.2285872Z Build completed unsuccessfully in 1:02:33
2020-04-18T17:27:01.2285872Z Build completed unsuccessfully in 1:02:33
2020-04-18T17:27:01.2312664Z == clock drift check ==
2020-04-18T17:27:01.2341863Z   local time: Sat Apr 18 17:27:01 UTC 2020
2020-04-18T17:27:01.7534094Z   network time: Sat, 18 Apr 2020 17:27:01 GMT
2020-04-18T17:27:03.1002657Z 
2020-04-18T17:27:03.1002657Z 
2020-04-18T17:27:03.1064360Z ##[error]Bash exited with code '1'.
2020-04-18T17:27:03.1077428Z ##[section]Finishing: Run build
2020-04-18T17:27:03.1121821Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-18T17:27:03.1126377Z Task         : Get sources
2020-04-18T17:27:03.1126661Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T17:27:03.1126937Z Version      : 1.0.0
2020-04-18T17:27:03.1127126Z Author       : Microsoft
2020-04-18T17:27:03.1127126Z Author       : Microsoft
2020-04-18T17:27:03.1127423Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-18T17:27:03.1127894Z ==============================================================================
2020-04-18T17:27:03.4180163Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-18T17:27:03.4229807Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-18T17:27:03.4315774Z Cleaning up task key
2020-04-18T17:27:03.4316907Z Start cleaning up orphan processes.
2020-04-18T17:27:03.4477045Z Terminate orphan process: pid (3674) (python)
2020-04-18T17:27:03.4625398Z ##[section]Finishing: Finalize Job

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

@rust-highfive
Copy link
Collaborator

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

Click to expand the log.
2020-04-18T21:17:59.5439264Z ========================== Starting Command Output ===========================
2020-04-18T21:17:59.5445226Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/e052b6ff-6ef6-4778-9626-8c2e068d2596.sh
2020-04-18T21:17:59.5445844Z 
2020-04-18T21:17:59.5452592Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-18T21:17:59.5474189Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-18T21:17:59.5478141Z Task         : Get sources
2020-04-18T21:17:59.5478445Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T21:17:59.5478741Z Version      : 1.0.0
2020-04-18T21:17:59.5478977Z Author       : Microsoft
---
2020-04-18T21:18:00.5390259Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-18T21:18:00.5400439Z ##[command]git config gc.auto 0
2020-04-18T21:18:00.5410024Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-18T21:18:00.5420072Z ##[command]git config --get-all http.proxy
2020-04-18T21:18:00.5432214Z ##[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/71289/merge:refs/remotes/pull/71289/merge
---
2020-04-18T21:20:20.5450349Z  ---> 318032b5f0e2
2020-04-18T21:20:20.5451240Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-8       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-18T21:20:20.5457711Z  ---> Using cache
2020-04-18T21:20:20.5458158Z  ---> d44a858fd1ce
2020-04-18T21:20:20.5459251Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-18T21:20:20.5532699Z  ---> 58b910f50f5a
2020-04-18T21:20:20.5543874Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-18T21:20:20.5544750Z  ---> Using cache
2020-04-18T21:20:20.5545210Z  ---> ee7702aadba1
---
2020-04-18T21:20:20.6043424Z Looks like docker image is the same as before, not uploading
2020-04-18T21:20:27.9495750Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T21:20:27.9779656Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-18T21:20:27.9817237Z == clock drift check ==
2020-04-18T21:20:27.9822420Z   local time: Sat Apr 18 21:20:27 UTC 2020
2020-04-18T21:20:28.3004995Z   network time: Sat, 18 Apr 2020 21:20:28 GMT
2020-04-18T21:20:28.3038673Z Starting sccache server...
2020-04-18T21:20:28.4001335Z configure: processing command line
2020-04-18T21:20:28.4002080Z configure: 
2020-04-18T21:20:28.4003265Z configure: rust.dist-src        := False
---
2020-04-18T21:25:56.3100078Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T21:25:57.8903810Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T21:25:59.5745511Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T21:26:01.3181260Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T21:26:09.7821639Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T21:26:13.9390553Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T21:26:18.6376964Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T21:26:23.1301948Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T21:26:31.6183438Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T21:49:59.2816406Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-18T21:50:00.9025793Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-18T21:50:02.8500679Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-18T21:50:04.7816952Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-18T21:50:13.9255969Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T21:50:18.4671550Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-18T21:50:23.2789946Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-18T21:50:27.8589166Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-18T21:50:36.4800866Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-18T22:14:12.9642073Z .................................................................................................... 1700/9906
2020-04-18T22:14:16.8892657Z .................................................................................................... 1800/9906
2020-04-18T22:14:25.4261898Z .................................................................................................i.. 1900/9906
2020-04-18T22:14:32.9496027Z .................................................................................................... 2000/9906
2020-04-18T22:14:39.2058460Z .......................................................................................iiiii........ 2100/9906
2020-04-18T22:14:58.6562248Z .................................................................................................... 2300/9906
2020-04-18T22:15:00.7328989Z .................................................................................................... 2400/9906
2020-04-18T22:15:02.9895041Z .................................................................................................... 2500/9906
2020-04-18T22:15:08.9964695Z .................................................................................................... 2600/9906
---
2020-04-18T22:17:54.4321782Z .................................................................................................... 4900/9906
2020-04-18T22:17:59.2918727Z ...............................................................i...............i.................... 5000/9906
2020-04-18T22:18:06.6757870Z .................................................................................................... 5100/9906
2020-04-18T22:18:13.5694457Z .................................................................................................... 5200/9906
2020-04-18T22:18:18.5365998Z .........i.........................................................................................i 5300/9906
2020-04-18T22:18:28.3356131Z ...................................................................................................i 5400/9906
2020-04-18T22:18:33.0812409Z i.ii........i...i................................................................................... 5500/9906
2020-04-18T22:18:40.6605717Z ..............................................i..................................................... 5700/9906
2020-04-18T22:18:49.7959265Z ..............................................................................ii.................... 5800/9906
2020-04-18T22:18:56.9950596Z .................i.................................................................................. 5900/9906
2020-04-18T22:19:02.4091904Z .................................................................................................... 6000/9906
2020-04-18T22:19:02.4091904Z .................................................................................................... 6000/9906
2020-04-18T22:19:13.0591024Z .................................................................................................... 6100/9906
2020-04-18T22:19:23.4511619Z ...........ii...i..ii...........i................................................................... 6200/9906
2020-04-18T22:19:39.0583902Z .................................................................................................... 6400/9906
2020-04-18T22:19:45.4705076Z .................................................................................................... 6500/9906
2020-04-18T22:19:45.4705076Z .................................................................................................... 6500/9906
2020-04-18T22:19:58.1705461Z .........................................i..ii...................................................... 6600/9906
2020-04-18T22:20:19.6804007Z .................................................................................................... 6800/9906
2020-04-18T22:20:21.8050411Z ..........................................i......................................................... 6900/9906
2020-04-18T22:20:23.8702335Z .................................................................................................... 7000/9906
2020-04-18T22:20:26.0156433Z ..................................................................................i................. 7100/9906
---
2020-04-18T22:21:57.8559823Z .................................................................................................... 7800/9906
2020-04-18T22:22:02.1910531Z .................................................................................................... 7900/9906
2020-04-18T22:22:08.4581406Z .................................................................................................... 8000/9906
2020-04-18T22:22:14.1862679Z ................................................i................................................... 8100/9906
2020-04-18T22:22:23.7673071Z .................................................................................................iii 8200/9906
2020-04-18T22:22:29.0771174Z iii.iiiii.i......................................................................................... 8300/9906
2020-04-18T22:22:42.2157885Z .................................................................................................... 8500/9906
2020-04-18T22:22:50.4037720Z .................................................................................................... 8600/9906
2020-04-18T22:23:04.4846397Z .................................................................................................... 8700/9906
2020-04-18T22:23:11.2682124Z .................................................................................................... 8800/9906
---
2020-04-18T22:25:27.5176761Z Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-18T22:25:27.5321031Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T22:25:27.7565894Z 
2020-04-18T22:25:27.7566268Z running 186 tests
2020-04-18T22:25:30.8102536Z iiii......i.............ii.i..........i.............................i..i..................i....i.... 100/186
2020-04-18T22:25:33.5879482Z ........i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-18T22:25:33.5885209Z 
2020-04-18T22:25:33.5889742Z  finished in 6.057
2020-04-18T22:25:33.5895832Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
2020-04-18T22:25:33.6066405Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T22:25:35.8781606Z Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-18T22:25:35.8973067Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T22:25:36.0378896Z 
2020-04-18T22:25:36.0380699Z running 9 tests
2020-04-18T22:25:36.0382528Z iiiiiiiii
2020-04-18T22:25:36.0383920Z 
2020-04-18T22:25:36.0384286Z  finished in 0.141
2020-04-18T22:25:36.0385014Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-18T22:25:36.0574077Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T22:25:57.0902439Z Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
2020-04-18T22:25:57.1106704Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T22:25:57.2802170Z 
2020-04-18T22:25:57.2802981Z running 115 tests
2020-04-18T22:26:11.1679474Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii.........i.....i..i.......ii.i.ii.. 100/115
2020-04-18T22:26:12.7475140Z ...iiii.....ii.
2020-04-18T22:26:12.7477524Z 
2020-04-18T22:26:12.7481085Z  finished in 15.637
2020-04-18T22:26:12.7485890Z Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
2020-04-18T22:26:12.7489455Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-18T22:39:47.2023288Z 
2020-04-18T22:39:47.2025221Z    Doc-tests core
2020-04-18T22:39:52.0850529Z 
2020-04-18T22:39:52.0851342Z running 2496 tests
2020-04-18T22:40:00.8524903Z ......iiiii......................................................................................... 100/2496
2020-04-18T22:40:09.8052655Z .....................................................................................ii............. 200/2496
2020-04-18T22:40:30.5534207Z ....................i............................................................................... 400/2496
2020-04-18T22:40:30.5534207Z ....................i............................................................................... 400/2496
2020-04-18T22:40:40.4732541Z ..........................................................................i..i..................iiii 500/2496
2020-04-18T22:40:56.8269896Z .................................................................................................... 700/2496
2020-04-18T22:41:05.3083256Z .................................................................................................... 800/2496
2020-04-18T22:41:13.7887887Z .................................................................................................... 900/2496
2020-04-18T22:41:22.5695820Z .................................................................................................... 1000/2496
---
2020-04-18T22:44:40.5373952Z .................................................thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:888:13
2020-04-18T22:44:40.5379603Z . 300/764
2020-04-18T22:44:40.6362642Z .................................................................................................... 400/764
2020-04-18T22:44:42.7096345Z .................................................................................................... 500/764
2020-04-18T22:44:42.7578075Z ......................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2741:22
2020-04-18T22:44:42.7595844Z ....thread 'thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2766:17
2020-04-18T22:44:42.7604562Z .<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2778:21
2020-04-18T22:44:42.7625785Z ......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2645:13
2020-04-18T22:44:43.0706415Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1997:22
2020-04-18T22:44:43.0727052Z .....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2022:17
2020-04-18T22:44:43.0745513Z ..thread '.<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2034:21
2020-04-18T22:44:43.0765015Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1916:13
2020-04-18T22:44:45.1154175Z ........................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:633:13
2020-04-18T22:44:45.1158394Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:587:13
2020-04-18T22:44:45.1162655Z thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:563:13
2020-04-18T22:44:45.1163906Z thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:694:13
---
2020-04-18T22:44:54.1989288Z 
2020-04-18T22:44:54.1990269Z running 1020 tests
2020-04-18T22:45:11.2727911Z i................................................................................................... 100/1020
2020-04-18T22:45:21.2210713Z .................................................................................................... 200/1020
2020-04-18T22:45:28.7107234Z ...................iii......i......i...i......i..................................................... 300/1020
2020-04-18T22:45:33.6067185Z .................................................................................................... 400/1020
2020-04-18T22:45:40.2463450Z ....................................................i....i......................................ii.. 500/1020
2020-04-18T22:45:52.8699983Z .................................................................................................... 700/1020
2020-04-18T22:45:52.8699983Z .................................................................................................... 700/1020
2020-04-18T22:45:59.8303624Z ..............................................iiii.................................................. 800/1020
2020-04-18T22:46:13.2735151Z .................................................................................................... 900/1020
2020-04-18T22:46:19.3273204Z ....................................................................iiii............................ 1000/1020
2020-04-18T22:46:20.5389563Z test result: ok. 1000 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2020-04-18T22:46:20.5389823Z 
2020-04-18T22:46:20.5501812Z  finished in 162.223
2020-04-18T22:46:20.5513084Z Set({"src/libterm"}) not skipped for "bootstrap::test::Crate" -- not in ["src/tools/tidy"]
---
2020-04-18T22:49:29.6041179Z 
2020-04-18T22:49:29.6041762Z test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2020-04-18T22:49:29.6042126Z 
2020-04-18T22:49:29.6096689Z  finished in 0.928
2020-04-18T22:49:29.6103976Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::test::CrateLibrustc" -- not in ["src/tools/tidy"]
2020-04-18T22:49:29.6118323Z Testing rustc_query_system stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T22:49:29.8117864Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-18T22:49:30.8524930Z      Running build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_query_system-317fb1a974c1061d
2020-04-18T22:49:30.8555147Z 
2020-04-18T22:49:30.8555369Z running 0 tests
2020-04-18T22:49:30.8555709Z 
---
2020-04-18T23:04:34.7480876Z Set({"/checkout/src/librustc_parse"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-18T23:04:34.7481824Z Set({"/checkout/src/librustc_passes"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-18T23:04:34.7482810Z Set({"/checkout/src/librustc_plugin_impl"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-18T23:04:34.7483767Z Set({"/checkout/src/librustc_privacy"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-18T23:04:34.7484736Z Set({"/checkout/src/librustc_query_system"}) not skipped for "bootstrap::doc::Rustc" -- not in ["src/tools/tidy"]
2020-04-18T23:04:34.7486884Z Set({"/checkout/src/librustc_save_analysis"}) not skipped for "bootstrap::doc::Rustc"Documenting stage2 rustdoc (x86_64-unknown-linux-gnu)
2020-04-18T23:04:34.7487720Z  skipping - compiler/librustdoc docs disabled
2020-04-18T23:04:34.7488385Z Documenting error index (x86_64-unknown-linux-gnu)
2020-04-18T23:04:34.7489006Z  -- not in ["src/tools/tidy"]
---
2020-04-18T23:05:37.9630779Z Suite("src/test/run-make-fulldeps") not skipped for "bootstrap::test::RunMakeFullDeps" -- not in ["src/tools/tidy"]
2020-04-18T23:05:37.9984750Z Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T23:05:38.2351281Z 
2020-04-18T23:05:38.2351853Z running 211 tests
2020-04-18T23:06:09.5377307Z ......................i...ii.......................................................................i 100/211
2020-04-18T23:06:48.7483669Z ........................................iiiiii......i..............iii.............................. 200/211
2020-04-18T23:06:53.8564495Z .......ii..
2020-04-18T23:06:53.8567317Z 
2020-04-18T23:06:53.8568043Z  finished in 75.858
2020-04-18T23:06:53.8575534Z Set({"src/doc/rustdoc"}) not skipped for "bootstrap::test::RustdocBook" -- not in ["src/tools/tidy"]
2020-04-18T23:06:53.8580794Z doc tests for: /checkout/src/doc/rustdoc/src/advanced-features.md
---
2020-04-18T23:07:07.8028307Z doc tests for: /checkout/src/doc/rustc/src/targets/index.md
2020-04-18T23:07:07.8222438Z doc tests for: /checkout/src/doc/rustc/src/what-is-rustc.md
2020-04-18T23:07:07.9761889Z  finished in 4.326
2020-04-18T23:07:07.9781591Z Set({"src/test/rustdoc-js-std"}) not skipped for "bootstrap::test::RustdocJSStd" -- not in ["src/tools/tidy"]
2020-04-18T23:07:09.1342187Z Checking "alias-1" ... OK
2020-04-18T23:07:09.2662979Z Checking "alias-2" ... OK
2020-04-18T23:07:09.3397989Z Checking "alias-3" ... OK
2020-04-18T23:07:09.4092364Z Checking "alias" ... OK
2020-04-18T23:07:09.6177063Z Checking "basic" ... OK
2020-04-18T23:07:09.7208902Z Checking "deduplication" ... OK
2020-04-18T23:07:09.7948553Z Checking "enum-option" ... OK
2020-04-18T23:07:09.9199872Z Checking "filter-crate" ... OK
2020-04-18T23:07:10.0316724Z Checking "fn-forget" ... OK
2020-04-18T23:07:10.1735022Z Checking "from_u" ... OK
2020-04-18T23:07:10.2586155Z Checking "keyword" ... OK
2020-04-18T23:07:10.3273251Z Checking "macro-check" ... OK
2020-04-18T23:07:10.3737521Z Checking "macro-print" ... OK
2020-04-18T23:07:10.4881584Z Checking "multi-query" ... OK
2020-04-18T23:07:10.5429782Z Checking "never" ... OK
2020-04-18T23:07:10.5670805Z Checking "quoted" ... OK
2020-04-18T23:07:10.6055187Z Checking "return-specific-literal" ... OK
2020-04-18T23:07:10.7383939Z Checking "return-specific" ... OK
2020-04-18T23:07:10.8689867Z Checking "should-fail" ... OK
2020-04-18T23:07:11.0657729Z Checking "string-from_ut" ... OK
2020-04-18T23:07:11.1813102Z Checking "struct-vec" ... OK
2020-04-18T23:07:11.3644439Z Checking "vec-new" ... OK
2020-04-18T23:07:11.6336307Z Check compiletest suite=rustdoc-js mode=js-doc-test (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-18T23:07:12.0113784Z 
2020-04-18T23:07:12.0114126Z running 6 tests
2020-04-18T23:07:18.9111147Z ......
---
2020-04-18T23:07:34.5743136Z 
2020-04-18T23:07:34.5743646Z ---- [ui] rustdoc-ui/coverage/basic.rs stdout ----
2020-04-18T23:07:34.5743872Z diff of stdout:
2020-04-18T23:07:34.5744001Z 
2020-04-18T23:07:34.5744475Z 1 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5744934Z 2 | File                                | Documented |      Total | Percentage |
2020-04-18T23:07:34.5745617Z 3 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5746153Z - | ...est/rustdoc-ui/coverage/basic.rs |          7 |         14 |      50.0% |
2020-04-18T23:07:34.5746667Z + | ...est/rustdoc-ui/coverage/basic.rs |          8 |         16 |      50.0% |
2020-04-18T23:07:34.5747426Z 5 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5748005Z - | Total                               |          7 |         14 |      50.0% |
2020-04-18T23:07:34.5748358Z + | Total                               |          8 |         16 |      50.0% |
2020-04-18T23:07:34.5748930Z 7 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5749262Z 
2020-04-18T23:07:34.5749352Z 
2020-04-18T23:07:34.5749565Z The actual stdout differed from the expected stdout.
2020-04-18T23:07:34.5750151Z Actual stdout saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/basic/basic.stdout
2020-04-18T23:07:34.5750151Z Actual stdout saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/basic/basic.stdout
2020-04-18T23:07:34.5751018Z To update references, rerun the tests and pass the `--bless` flag
2020-04-18T23:07:34.5751493Z To only update this specific test, also pass `--test-args coverage/basic.rs`
2020-04-18T23:07:34.5751830Z error: 1 errors occurred comparing output.
2020-04-18T23:07:34.5752019Z status: exit code: 0
2020-04-18T23:07:34.5752019Z status: exit code: 0
2020-04-18T23:07:34.5753732Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "/checkout/src/test/rustdoc-ui/coverage/basic.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/basic" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "unstable-options" "--show-coverage" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/basic/auxiliary"
2020-04-18T23:07:34.5755292Z ------------------------------------------
2020-04-18T23:07:34.5755835Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5755835Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5756162Z | File                                | Documented |      Total | Percentage |
2020-04-18T23:07:34.5756637Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5757112Z | ...est/rustdoc-ui/coverage/basic.rs |          8 |         16 |      50.0% |
2020-04-18T23:07:34.5757725Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5758048Z | Total                               |          8 |         16 |      50.0% |
2020-04-18T23:07:34.5758553Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5759059Z ------------------------------------------
2020-04-18T23:07:34.5759224Z stderr:
2020-04-18T23:07:34.5759547Z ------------------------------------------
2020-04-18T23:07:34.5759685Z 
2020-04-18T23:07:34.5759685Z 
2020-04-18T23:07:34.5759981Z ------------------------------------------
2020-04-18T23:07:34.5760116Z 
2020-04-18T23:07:34.5760195Z 
2020-04-18T23:07:34.5760543Z ---- [ui] rustdoc-ui/coverage/statics-consts.rs stdout ----
2020-04-18T23:07:34.5760746Z diff of stdout:
2020-04-18T23:07:34.5760851Z 
2020-04-18T23:07:34.5761246Z 1 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5761560Z 2 | File                                | Documented |      Total | Percentage |
2020-04-18T23:07:34.5762041Z 3 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5762549Z - | ...oc-ui/coverage/statics-consts.rs |          6 |          7 |      85.7% |
2020-04-18T23:07:34.5763146Z + | ...oc-ui/coverage/statics-consts.rs |          7 |          8 |      87.5% |
2020-04-18T23:07:34.5763649Z 5 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5764181Z - | Total                               |          6 |          7 |      85.7% |
2020-04-18T23:07:34.5764510Z + | Total                               |          7 |          8 |      87.5% |
2020-04-18T23:07:34.5765016Z 7 +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5765341Z 
2020-04-18T23:07:34.5765425Z 
2020-04-18T23:07:34.5765602Z The actual stdout differed from the expected stdout.
2020-04-18T23:07:34.5766318Z Actual stdout saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/statics-consts/statics-consts.stdout
2020-04-18T23:07:34.5766318Z Actual stdout saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/statics-consts/statics-consts.stdout
2020-04-18T23:07:34.5766842Z To update references, rerun the tests and pass the `--bless` flag
2020-04-18T23:07:34.5767335Z To only update this specific test, also pass `--test-args coverage/statics-consts.rs`
2020-04-18T23:07:34.5767685Z error: 1 errors occurred comparing output.
2020-04-18T23:07:34.5767873Z status: exit code: 0
2020-04-18T23:07:34.5767873Z status: exit code: 0
2020-04-18T23:07:34.5769427Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "/checkout/src/test/rustdoc-ui/coverage/statics-consts.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/statics-consts" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Z" "unstable-options" "--show-coverage" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-ui/coverage/statics-consts/auxiliary"
2020-04-18T23:07:34.5770799Z ------------------------------------------
2020-04-18T23:07:34.5771227Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5771227Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5771549Z | File                                | Documented |      Total | Percentage |
2020-04-18T23:07:34.5772023Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5772498Z | ...oc-ui/coverage/statics-consts.rs |          7 |          8 |      87.5% |
2020-04-18T23:07:34.5772989Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5773292Z | Total                               |          7 |          8 |      87.5% |
2020-04-18T23:07:34.5774181Z +-------------------------------------+------------+------------+------------+
2020-04-18T23:07:34.5774842Z ------------------------------------------
2020-04-18T23:07:34.5775032Z stderr:
2020-04-18T23:07:34.5775426Z ------------------------------------------
2020-04-18T23:07:34.5775574Z 
---
2020-04-18T23:07:34.5778321Z Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-18T23:07:34.5778633Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-04-18T23:07:34.5778830Z 
2020-04-18T23:07:34.5778913Z 
2020-04-18T23:07:34.5796491Z 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-8/bin/FileCheck" "--nodejs" "/usr/bin/node" "--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" "8.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-18T23:07:34.5799726Z 
2020-04-18T23:07:34.5799834Z 
2020-04-18T23:07:34.5800543Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-18T23:07:34.5800963Z Build completed unsuccessfully in 1:45:26
2020-04-18T23:07:34.5800963Z Build completed unsuccessfully in 1:45:26
2020-04-18T23:07:34.5804038Z == clock drift check ==
2020-04-18T23:07:34.5842246Z   local time: Sat Apr 18 23:07:34 UTC 2020
2020-04-18T23:07:34.9106760Z   network time: Sat, 18 Apr 2020 23:07:34 GMT
2020-04-18T23:07:35.8464641Z 
2020-04-18T23:07:35.8464641Z 
2020-04-18T23:07:35.8559399Z ##[error]Bash exited with code '1'.
2020-04-18T23:07:35.8576993Z ##[section]Finishing: Run build
2020-04-18T23:07:35.8634152Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-18T23:07:35.8640231Z Task         : Get sources
2020-04-18T23:07:35.8640587Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-18T23:07:35.8640937Z Version      : 1.0.0
2020-04-18T23:07:35.8641173Z Author       : Microsoft
2020-04-18T23:07:35.8641173Z Author       : Microsoft
2020-04-18T23:07:35.8641550Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-18T23:07:35.8641988Z ==============================================================================
2020-04-18T23:07:36.2166803Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-18T23:07:36.2210766Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-18T23:07:36.2310645Z Cleaning up task key
2020-04-18T23:07:36.2312070Z Start cleaning up orphan processes.
2020-04-18T23:07:36.2540819Z Terminate orphan process: pid (3592) (python)
2020-04-18T23:07:36.2842271Z ##[section]Finishing: Finalize Job

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

@Dylan-DPC-zz
Copy link

r? @GuillaumeGomez

@Dylan-DPC-zz
Copy link

We do not allow merge commits, kindly rebase and re-commit the change :)

src/librustdoc/fold.rs Outdated Show resolved Hide resolved
@ghost
Copy link
Author

ghost commented Apr 19, 2020

We do not allow merge commits, kindly rebase and re-commit the change :)

thank you and done

@GuillaumeGomez
Copy link
Member

After a discussion with @xliiv, I got a better understanding of why they were using regex. It currently runs not on links but on the doc block directly. It brings a few concerns though: working on a text block is definitely not a good idea. For example, if we have:

/// Text
/// [Link][Self::foo]
///
/// ```
/// // We are inside a trait implementation
/// let x = &array[foo][Self::x];
/// ```

[Link][Self::foo] will be replaced correctly, but &array[foo][Self::x]; won't. So we definitely shouldn't do that.

I thought about two solutions to handle this:

  1. Keep the same logic but then use the markdown parser and then replace the links. We just have to rebuild the doc block afterwards but it's not really complicated (we do something equivalent elsewhere). However, this solution will break the span and when we'll have warnings, it won't match the actual code (if you replace "Self::" with "SomeSuperLongType::" for example), which is problematic. So I don't think it will work out, or at least not nicely.
  2. Replace Self:: when we are in the intra-doc link code and give it knowledge of the current type so it can replace Self:: correctly.

Now that I think about it, when you declare a trait or even a struct, I think that Self:: should be replaced there as well, meaning impl blocks aren't the only ones that should receive this update. Meaning that the second solution looks a lot more promising since in addition to that, it doesn't break spans.

@ghost
Copy link
Author

ghost commented Apr 21, 2020

2\. Replace `Self::` when we are in the intra-doc link code and give it knowledge of the current type so it can replace `Self::` correctly.

This makes sense more to me, so the solution would be to

  1. store somewhere name of impl which is available here
    ImplItem(mut i) => {
  2. use it here (or even earlier)

when you declare a trait or even a struct, I think that Self:: should be replaced there as well,

this should just work now AFAIK (see #70802)

@GuillaumeGomez if you can hint me where is the right place to store impl it could be easier.. now, i'll just check how it works for struct block

@ghost
Copy link
Author

ghost commented Apr 21, 2020

Btw, this example data

inner: ImplItem(
    Impl {
        unsafety: Normal,
        generics: Generics {
            params: [],
            where_predicates: [],
        },
        provided_trait_methods: {},
        trait_: None,
        for_: ResolvedPath {
            path: Path {
                global: false,
                res: Def(
                    Struct,
                    DefId(0:3 ~ foo[8787]::MyStruct[0]),
                ),
                segments: [
                    PathSegment {
                        name: "MyStruct",
                        args: AngleBracketed {
                            args: [],
                            bindings: [],
                        },
                    },
                ],
            },
            param_names: None,
            did: DefId(0:3 ~ foo[8787]::MyStruct[0]),
            is_generic: false,
        },
        items: [
            Item {
                source: Span {
                    filename: Real(
                        "/home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs",
                    ),
                    cnum: crate0,
                    loline: 11,
                    locol: 4,
                    hiline: 13,
                    hicol: 5,
                    original: /home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs:11:5: 13:6,
                },
                name: Some(
                    "resolves_ok",
                ),
                attrs: Attributes {
                    doc_strings: [
                        SugaredDoc(
                            0,
                            /home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs:8:5: 10:47,
                            "[`resolves_ok`]\n\n[`resolves_ok`]: MyStruct::resolves_ok",
                        ),
                    ],
                    other_attrs: [],
                    cfg: None,
                    span: Some(
                        /home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs:8:5: 8:24,
                    ),
                    links: [],
                    inner_docs: false,
                },
                inner: MethodItem(
                    Method {
                        generics: Generics {
                            params: [],
                            where_predicates: [],
                        },
                        decl: FnDecl {
                            inputs: Arguments {
                                values: [],
                            },
                            output: Return(
                                Generic(
                                    "Self",
                                ),
                            ),
                            c_variadic: false,
                            attrs: Attributes {
                                doc_strings: [],
                                other_attrs: [],
                                cfg: None,
                                span: None,
                                links: [],
                                inner_docs: false,
                            },
                        },
                        header: FnHeader {
                            unsafety: Normal,
                            constness: NotConst,
                            asyncness: NotAsync,
                            abi: Rust,
                        },
                        defaultness: Some(
                            Final,
                        ),
                        all_types: [],
                        ret_types: [],
                    },
                ),
                visibility: Public,
                def_id: DefId(0:6 ~ foo[8787]::{{impl}}[0]::resolves_ok[0]),
                stability: None,
                deprecation: None,
            },
            Item {
                source: Span {
                    filename: Real(
                        "/home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs",
                    ),
                    cnum: crate0,
                    loline: 17,
                    locol: 4,
                    hiline: 19,
                    hicol: 5,
                    original: /home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs:17:5: 19:6,
                },
                name: Some(
                    "resolves_bad",
                ),
                attrs: Attributes {
                    doc_strings: [
                        SugaredDoc(
                            0,
                            /home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs:14:5: 16:45,
                            "[`resolves_bad`]\n\n[`resolves_bad`]: Self::resolves_bad",
                        ),
                    ],
                    other_attrs: [],
                    cfg: None,
                    span: Some(
                        /home/xliiv/workspace/rust/src/test/rustdoc/intra-link-self.rs:14:5: 14:25,
                    ),
                    links: [],
                    inner_docs: false,
                },
                inner: MethodItem(
                    Method {
                        generics: Generics {
                            params: [],
                            where_predicates: [],
                        },
                        decl: FnDecl {
                            inputs: Arguments {
                                values: [],
                            },
                            output: Return(
                                Generic(
                                    "Self",
                                ),
                            ),
                            c_variadic: false,
                            attrs: Attributes {
                                doc_strings: [],
                                other_attrs: [],
                                cfg: None,
                                span: None,
                                links: [],
                                inner_docs: false,
                            },
                        },
                        header: FnHeader {
                            unsafety: Normal,
                            constness: NotConst,
                            asyncness: NotAsync,
                            abi: Rust,
                        },
                        defaultness: Some(
                            Final,
                        ),
                        all_types: [],
                        ret_types: [],
                    },
                ),
                visibility: Public,
                def_id: DefId(0:7 ~ foo[8787]::{{impl}}[0]::resolves_bad[0]),
                stability: None,
                deprecation: None,
            },
        ],

@ghost
Copy link
Author

ghost commented Apr 21, 2020

TODO: check fields too

struct Foo {
     /// This is inside [Self::whatever]
     pub f: u8;
}

thanks to @GuillaumeGomez

@Dylan-DPC-zz
Copy link

@xliiv we do not allow merge commits. can you rebase instead? thanks

@ghost ghost changed the title Allow using Self:: in doc of methods WIP: Allow using Self:: in doc of methods Apr 21, 2020
@ghost
Copy link
Author

ghost commented Apr 21, 2020

@xliiv we do not allow merge commits. can you rebase instead? thanks

@Dylan-DPC
It's still WIP (just updated the title), i'll do it once it's done, ok?
Anyway thanks for catching that.

@Dylan-DPC-zz
Copy link

I understand, but it is easier fixing it now with lesser commits than when you have more commits to rebase :D

@Dylan-DPC-zz Dylan-DPC-zz marked this pull request as draft April 21, 2020 18:22
@Dylan-DPC-zz Dylan-DPC-zz changed the title WIP: Allow using Self:: in doc of methods Allow using Self:: in doc of methods Apr 21, 2020
@rust-highfive
Copy link
Collaborator

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

Click to expand the log.
2020-04-21T18:31:19.5464867Z ========================== Starting Command Output ===========================
2020-04-21T18:31:19.5486278Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/f82118e6-146d-4e97-b131-21053afe8613.sh
2020-04-21T18:31:19.5721522Z 
2020-04-21T18:31:19.5830794Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-21T18:31:19.5850487Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-21T18:31:19.5854026Z Task         : Get sources
2020-04-21T18:31:19.5854303Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-21T18:31:19.5854644Z Version      : 1.0.0
2020-04-21T18:31:19.5854830Z Author       : Microsoft
---
2020-04-21T18:31:20.7509723Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-21T18:31:20.7518358Z ##[command]git config gc.auto 0
2020-04-21T18:31:20.7525019Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-21T18:31:20.7531194Z ##[command]git config --get-all http.proxy
2020-04-21T18:31:20.7542286Z ##[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/71289/merge:refs/remotes/pull/71289/merge
---
2020-04-21T18:34:32.9593812Z  ---> 78ad2f4d4aca
2020-04-21T18:34:32.9594050Z Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
2020-04-21T18:34:32.9599067Z  ---> Using cache
2020-04-21T18:34:32.9600359Z  ---> 4d2dc61c4d00
2020-04-21T18:34:32.9601667Z Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            /scripts/validate-toolstate.sh
2020-04-21T18:34:32.9612077Z  ---> 776b6266a8b7
2020-04-21T18:34:32.9645421Z Successfully built 776b6266a8b7
2020-04-21T18:34:32.9685194Z Successfully tagged rust-ci:latest
2020-04-21T18:34:33.0894924Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-21T18:34:33.0894924Z Built container sha256:776b6266a8b7d63e2d3c2b5a784dbf521184a904fb10bf818c6b5c7e1ab74d4a
2020-04-21T18:34:33.0919010Z Looks like docker image is the same as before, not uploading
2020-04-21T18:34:38.7261485Z [CI_JOB_NAME=mingw-check]
2020-04-21T18:34:38.7601130Z [CI_JOB_NAME=mingw-check]
2020-04-21T18:34:38.7627688Z == clock drift check ==
2020-04-21T18:34:38.7637431Z   local time: Tue Apr 21 18:34:38 UTC 2020
2020-04-21T18:34:38.8355790Z   network time: Tue, 21 Apr 2020 18:34:38 GMT
2020-04-21T18:34:38.8381366Z Starting sccache server...
2020-04-21T18:34:38.9602769Z configure: processing command line
2020-04-21T18:34:38.9603539Z configure: 
2020-04-21T18:34:38.9604744Z configure: rust.parallel-compiler := True
---
2020-04-21T18:38:46.2195284Z     Checking rustc_span v0.0.0 (/checkout/src/librustc_span)
2020-04-21T18:38:51.3180743Z     Checking rustc_errors v0.0.0 (/checkout/src/librustc_errors)
2020-04-21T18:38:52.6799003Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-21T18:38:52.6800304Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-21T18:38:52.8975584Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-21T18:38:53.8225859Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-21T18:38:53.8620659Z     Checking rustc_session v0.0.0 (/checkout/src/librustc_session)
2020-04-21T18:38:55.6543618Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-21T18:38:56.1908523Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
---
2020-04-21T18:41:02.6634228Z configure: build.cargo-native-static := True
2020-04-21T18:41:02.6634683Z configure: rust.codegen-units-std := 1
2020-04-21T18:41:02.6635299Z configure: rust.verify-llvm-ir  := True
2020-04-21T18:41:02.6635958Z configure: rust.debug-assertions := True
2020-04-21T18:41:02.6636534Z configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
2020-04-21T18:41:02.6637072Z configure: writing `config.toml` in current directory
2020-04-21T18:41:02.6637298Z configure: 
2020-04-21T18:41:02.6637687Z configure: run `python /checkout/x.py --help`
2020-04-21T18:41:02.6638107Z configure: 
---
2020-04-21T18:42:46.6056141Z Hugepagesize:       2048 kB
2020-04-21T18:42:46.6056367Z DirectMap4k:      112576 kB
2020-04-21T18:42:46.6056574Z DirectMap2M:     3033088 kB
2020-04-21T18:42:46.6056782Z DirectMap1G:     6291456 kB
2020-04-21T18:42:46.6075478Z + python3 ../x.py test src/tools/expand-yaml-anchors
2020-04-21T18:42:48.1225108Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-21T18:42:48.1225108Z Ensuring the YAML anchors in the GitHub Actions config were expanded
2020-04-21T18:42:48.1231756Z Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
2020-04-21T18:42:48.3994996Z    Compiling unicode-xid v0.2.0
2020-04-21T18:42:48.5424144Z    Compiling syn v1.0.11
2020-04-21T18:42:49.4789622Z    Compiling linked-hash-map v0.5.2
2020-04-21T18:42:49.4935127Z    Compiling lazy_static v1.4.0
2020-04-21T18:42:49.4935127Z    Compiling lazy_static v1.4.0
2020-04-21T18:42:49.7331264Z    Compiling yaml-rust v0.4.3
2020-04-21T18:42:54.4650472Z    Compiling quote v1.0.2
2020-04-21T18:43:10.8055899Z    Compiling thiserror-impl v1.0.5
2020-04-21T18:43:16.0717502Z    Compiling thiserror v1.0.5
2020-04-21T18:43:16.1360986Z    Compiling yaml-merge-keys v0.4.0
2020-04-21T18:43:17.4516452Z    Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
2020-04-21T18:43:19.2877463Z Build completed successfully in 0:00:32
2020-04-21T18:43:19.2982964Z + python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
2020-04-21T18:43:19.6118901Z     Finished dev [unoptimized] target(s) in 0.21s
2020-04-21T18:43:20.8734002Z Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
2020-04-21T18:45:42.2266443Z     Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-21T18:45:42.3185616Z     Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-21T18:45:42.5413693Z     Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-21T18:45:42.7034224Z     Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-21T18:45:43.2311733Z     Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-21T18:45:45.7864971Z     Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-21T18:45:46.3254269Z     Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-21T18:45:48.8096053Z     Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-21T18:45:49.3185602Z     Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-21T18:49:54.7124891Z    Compiling cargo_metadata v0.9.1
2020-04-21T18:49:59.7232111Z    Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
2020-04-21T18:50:11.3003168Z     Finished release [optimized] target(s) in 27.62s
2020-04-21T18:50:11.3108181Z tidy check
2020-04-21T18:50:11.9933228Z tidy error: /checkout/src/librustdoc/passes/collect_intra_doc_links.rs:486: TODO is deprecated; use FIXME
2020-04-21T18:50:11.9933816Z tidy error: /checkout/src/librustdoc/passes/collect_intra_doc_links.rs:492: TODO is deprecated; use FIXME
2020-04-21T18:50:11.9977168Z tidy error: /checkout/src/librustdoc/clean/types.rs:420: TODO is deprecated; use FIXME
2020-04-21T18:50:12.6098674Z tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:3: TODO is deprecated; use FIXME
2020-04-21T18:50:12.6099472Z tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:33: TODO is deprecated; use FIXME
2020-04-21T18:50:12.6100140Z tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:44: TODO is deprecated; use FIXME
2020-04-21T18:50:15.1094364Z some tidy checks failed
2020-04-21T18:50:15.1098927Z Found 491 error codes
2020-04-21T18:50:15.1099467Z Found 0 error codes with no tests
2020-04-21T18:50:15.1099787Z Done!
2020-04-21T18:50:15.1099787Z Done!
2020-04-21T18:50:15.1100108Z 
2020-04-21T18:50:15.1100343Z 
2020-04-21T18:50:15.1102004Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"
2020-04-21T18:50:15.1103049Z 
2020-04-21T18:50:15.1103257Z 
2020-04-21T18:50:15.1105952Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
2020-04-21T18:50:15.1106488Z Build completed unsuccessfully in 0:00:32
2020-04-21T18:50:15.1106488Z Build completed unsuccessfully in 0:00:32
2020-04-21T18:50:15.1216337Z == clock drift check ==
2020-04-21T18:50:15.1246088Z   local time: Tue Apr 21 18:50:15 UTC 2020
2020-04-21T18:50:15.3881210Z   network time: Tue, 21 Apr 2020 18:50:15 GMT
2020-04-21T18:50:16.9135013Z 
2020-04-21T18:50:16.9135013Z 
2020-04-21T18:50:16.9262779Z ##[error]Bash exited with code '1'.
2020-04-21T18:50:16.9282725Z ##[section]Finishing: Run build
2020-04-21T18:50:16.9338278Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-21T18:50:16.9343528Z Task         : Get sources
2020-04-21T18:50:16.9343870Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-21T18:50:16.9344172Z Version      : 1.0.0
2020-04-21T18:50:16.9344382Z Author       : Microsoft
2020-04-21T18:50:16.9344382Z Author       : Microsoft
2020-04-21T18:50:16.9344732Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-21T18:50:16.9345116Z ==============================================================================
2020-04-21T18:50:17.2971704Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-21T18:50:17.3020386Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71289/merge to s
2020-04-21T18:50:17.3144884Z Cleaning up task key
2020-04-21T18:50:17.3146406Z Start cleaning up orphan processes.
2020-04-21T18:50:17.3487355Z Terminate orphan process: pid (4971) (python)
2020-04-21T18:50:17.3531818Z ##[section]Finishing: Finalize Job

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

@rust-highfive
Copy link
Collaborator

The job mingw-check 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.
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /home/vsts/work/_temp/584e5434-ffb1-4969-a3c0-2b567adf7cad.sh

##[section]Finishing: Disable git automatic line ending conversion
##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
---
##[command]git remote add origin https://github.com/rust-lang/rust
##[command]git config gc.auto 0
##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
##[command]git config --get-all http.proxy
##[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/71289/merge:refs/remotes/pull/71289/merge
---
 ---> f7353ccad5b1
Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
 ---> Using cache
 ---> ed38efbaa060
Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            /scripts/validate-toolstate.sh
 ---> c5008ef7ae8e
Successfully built c5008ef7ae8e
Successfully tagged rust-ci:latest
Built container sha256:c5008ef7ae8e94d7ef502e3cef26e61208e14ebdb36913f3a8bb86291bd6430b
Built container sha256:c5008ef7ae8e94d7ef502e3cef26e61208e14ebdb36913f3a8bb86291bd6430b
Looks like docker image is the same as before, not uploading
[CI_JOB_NAME=mingw-check]
[CI_JOB_NAME=mingw-check]
== clock drift check ==
  local time: Thu Apr 30 21:46:46 UTC 2020
  network time: Thu, 30 Apr 2020 21:46:46 GMT
Starting sccache server...
configure: processing command line
configure: 
configure: rust.parallel-compiler := True
---
    Checking unicode-width v0.1.6
    Checking getopts v0.2.21
    Checking test v0.0.0 (/checkout/src/libtest)
    Finished release [optimized] target(s) in 23.01s
{"reason":"build-finished","success":true}
    Checking cfg-if v0.1.10
   Compiling libc v0.2.69
   Compiling semver-parser v0.7.0
    Checking lazy_static v1.4.0
---
    Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
    Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
    Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
    Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
    Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
    Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
    Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
    Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
    Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
    Checking rustc_plugin_impl v0.0.0 (/checkout/src/librustc_plugin_impl)
    Checking rustc_privacy v0.0.0 (/checkout/src/librustc_privacy)
    Checking rustc-main v0.0.0 (/checkout/src/rustc)
    Finished release [optimized] target(s) in 2m 04s
{"reason":"build-finished","success":true}
    Checking cfg-if v0.1.10
   Compiling libc v0.2.69
   Compiling semver-parser v0.7.0
   Compiling proc-macro2 v0.4.30
---
   Compiling serde_derive v1.0.81
    Checking serde_json v1.0.40
    Checking rustdoc v0.0.0 (/checkout/src/librustdoc)
    Checking rustdoc-tool v0.0.0 (/checkout/src/tools/rustdoc)
    Finished release [optimized] target(s) in 47.81s{"reason":"build-finished","success":true}
Build completed successfully in 0:04:42
configure: processing command line
configure: 
configure: rust.channel         := nightly
---
configure: rust.dist-src        := False
configure: build.locked-deps    := True
configure: build.submodules     := False
configure: build.cargo-native-static := True
configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
configure: writing `config.toml` in current directory
configure: 
configure: run `python /checkout/x.py --help`
configure: 
---
Hugepagesize:       2048 kB
DirectMap4k:      124864 kB
DirectMap2M:     4069376 kB
DirectMap1G:     5242880 kB
+ python3 ../x.py test src/tools/expand-yaml-anchors
Ensuring the YAML anchors in the GitHub Actions config were expanded
Ensuring the YAML anchors in the GitHub Actions config were expanded
Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
   Compiling unicode-xid v0.2.0
   Compiling syn v1.0.11
   Compiling linked-hash-map v0.5.2
   Compiling lazy_static v1.4.0
   Compiling lazy_static v1.4.0
   Compiling yaml-rust v0.4.3
   Compiling quote v1.0.2
   Compiling thiserror-impl v1.0.5
   Compiling thiserror v1.0.5
   Compiling yaml-merge-keys v0.4.0
   Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
    Finished release [optimized] target(s) in 22.32s
{"reason":"build-finished","success":true}
+ python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
    Finished dev [unoptimized] target(s) in 0.17s
Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
Checking std artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
    Checking unicode-width v0.1.6
    Checking getopts v0.2.21
    Checking test v0.0.0 (/checkout/src/libtest)
    Finished release [optimized] target(s) in 22.29s
{"reason":"build-finished","success":true}
    Checking cfg-if v0.1.10
   Compiling semver-parser v0.7.0
   Compiling winapi-i686-pc-windows-gnu v0.4.0
   Compiling winapi v0.3.8
---
    Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
    Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
    Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
    Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
    Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
    Checking rustc_attr v0.0.0 (/checkout/src/librustc_attr)
    Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
    Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
    Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
    Checking rustc_mir v0.0.0 (/checkout/src/librustc_mir)
    Checking rustc_plugin_impl v0.0.0 (/checkout/src/librustc_plugin_impl)
    Checking rustc_privacy v0.0.0 (/checkout/src/librustc_privacy)
    Checking rustc-main v0.0.0 (/checkout/src/rustc)
{"reason":"build-finished","success":true}
Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
    Checking cfg-if v0.1.10
   Compiling semver-parser v0.7.0
   Compiling proc-macro2 v0.4.30
---
    Checking serde_json v1.0.40
    Checking rustdoc v0.0.0 (/checkout/src/librustdoc)
    Checking rustdoc-tool v0.0.0 (/checkout/src/tools/rustdoc)
    Finished release [optimized] target(s) in 49.67s
{"reason":"build-finished","success":true}
+ python3 ../x.py build --stage 0 src/tools/build-manifest
    Finished dev [unoptimized] target(s) in 0.16s
Building stage0 tool build-manifest (x86_64-unknown-linux-gnu)
   Compiling proc-macro2 v0.4.30
---
   Compiling serde_derive v1.0.81
   Compiling toml v0.5.3
   Compiling serde_json v1.0.40
   Compiling build-manifest v0.1.0 (/checkout/src/tools/build-manifest)
{"reason":"build-finished","success":true}
Build completed successfully in 0:00:46
+ python3 ../x.py test --stage 0 src/tools/compiletest
    Finished dev [unoptimized] target(s) in 0.16s
   Compiling memchr v2.3.2
---
   Compiling semver v0.9.0
   Compiling cargo_metadata v0.9.1
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished release [optimized] target(s) in 20.14s
{"reason":"build-finished","success":true}
tidy check
tidy error: /checkout/src/librustdoc/passes/collect_intra_doc_links.rs:486: TODO is deprecated; use FIXME
tidy error: /checkout/src/librustdoc/passes/collect_intra_doc_links.rs:490: TODO is deprecated; use FIXME
tidy error: /checkout/src/librustdoc/clean/types.rs:78: TODO is deprecated; use FIXME
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:31: TODO is deprecated; use FIXME
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:40: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:74: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:100: TODO is deprecated; use FIXME
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:102: line longer than 100 chars
some tidy checks failed
Found 492 error codes
Found 0 error codes with no tests
Done!
Done!


command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
Build completed unsuccessfully in 0:00:29
Build completed unsuccessfully in 0:00:29
== clock drift check ==
  local time: Thu Apr 30 21:58:17 UTC 2020
  network time: Thu, 30 Apr 2020 21:58:17 GMT


##[error]Bash exited with code '1'.
##[section]Finishing: Run build
##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Cleaning any cached credential from repository: rust-lang/rust (GitHub)
##[section]Finishing: Checkout rust-lang/rust@refs/pull/71289/merge to s
Cleaning up task key
Start cleaning up orphan processes.
Terminate orphan process: pid (3243) (python)
##[section]Finishing: Finalize Job

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

@ghost ghost changed the title Allow using Self:: in doc of methods Allow using Self:: in doc May 5, 2020
@rust-highfive
Copy link
Collaborator

The job mingw-check 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.
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /home/vsts/work/_temp/6f368626-d078-49b6-86aa-a91f858f8dc6.sh

##[section]Finishing: Disable git automatic line ending conversion
##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
---
##[command]git remote add origin https://github.com/rust-lang/rust
##[command]git config gc.auto 0
##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
##[command]git config --get-all http.proxy
##[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/71289/merge:refs/remotes/pull/71289/merge
---
 ---> f7353ccad5b1
Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
 ---> Using cache
 ---> ed38efbaa060
Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            /scripts/validate-toolstate.sh
 ---> c5008ef7ae8e
Successfully built c5008ef7ae8e
Successfully tagged rust-ci:latest
Built container sha256:c5008ef7ae8e94d7ef502e3cef26e61208e14ebdb36913f3a8bb86291bd6430b
---
    Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
    Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
    Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
    Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
    Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
    Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
    Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
    Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
    Checking rustc_ast_passes v0.0.0 (/checkout/src/librustc_ast_passes)
---

warning: unused variable: `kind`
   --> src/librustdoc/passes/collect_intra_doc_links.rs:513:53
    |
513 | ...                   Node::Item(HirItem {kind, ..}) => {
    |                                           ^^^^ help: try ignoring the field: `kind: _`
    = note: `#[warn(unused_variables)]` on by default

warning: 3 warnings emitted

---
configure: llvm.ccache          := sccache
configure: build.cargo-native-static := True
configure: rust.codegen-units-std := 1
configure: rust.verify-llvm-ir  := True
configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
configure: writing `config.toml` in current directory
configure: 
configure: run `python /checkout/x.py --help`
configure: 
---
Hugepagesize:       2048 kB
DirectMap4k:      151488 kB
DirectMap2M:     4042752 kB
DirectMap1G:     5242880 kB
+ python3 ../x.py test src/tools/expand-yaml-anchors
Ensuring the YAML anchors in the GitHub Actions config were expanded
Ensuring the YAML anchors in the GitHub Actions config were expanded
Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
   Compiling unicode-xid v0.2.0
   Compiling syn v1.0.11
   Compiling linked-hash-map v0.5.2
   Compiling lazy_static v1.4.0
   Compiling lazy_static v1.4.0
   Compiling yaml-rust v0.4.3
   Compiling quote v1.0.2
   Compiling thiserror-impl v1.0.5
   Compiling thiserror v1.0.5
   Compiling yaml-merge-keys v0.4.0
   Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
Build completed successfully in 0:00:22
+ python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
    Finished dev [unoptimized] target(s) in 0.16s
Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
    Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
    Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
    Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
    Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
    Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
    Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
    Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
    Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
    Checking rustc_ast_passes v0.0.0 (/checkout/src/librustc_ast_passes)
---

warning: unused variable: `kind`
   --> src/librustdoc/passes/collect_intra_doc_links.rs:513:53
    |
513 | ...                   Node::Item(HirItem {kind, ..}) => {
    |                                           ^^^^ help: try ignoring the field: `kind: _`
    = note: `#[warn(unused_variables)]` on by default

warning: 3 warnings emitted

---
   Compiling cargo_metadata v0.9.1
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished release [optimized] target(s) in 19.39s
tidy check
tidy error: /checkout/src/librustdoc/passes/collect_intra_doc_links.rs:486: TODO is deprecated; use FIXME
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:31: TODO is deprecated; use FIXME
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:40: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:74: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:100: TODO is deprecated; use FIXME
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:102: line longer than 100 chars
Found 492 error codes
Found 0 error codes with no tests
Done!
some tidy checks failed
some tidy checks failed


command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
Build completed unsuccessfully in 0:00:27
Build completed unsuccessfully in 0:00:27
== clock drift check ==
  local time: Tue May  5 11:23:48 UTC 2020
  network time: Tue, 05 May 2020 11:23:48 GMT
== end clock drift check ==

##[error]Bash exited with code '1'.
##[section]Finishing: Run build
##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Cleaning any cached credential from repository: rust-lang/rust (GitHub)
##[section]Finishing: Checkout rust-lang/rust@refs/pull/71289/merge to s
Cleaning up task key
Start cleaning up orphan processes.
Terminate orphan process: pid (3898) (python)
##[section]Finishing: Finalize Job

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

@ghost
Copy link
Author

ghost commented May 14, 2020

Blocked by #72173

@ghost ghost marked this pull request as ready for review May 14, 2020 14:25
@rust-highfive
Copy link
Collaborator

The job mingw-check 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.
##[section]Starting: Linux mingw-check
##[section]Starting: Initialize job
Agent name: 'Azure Pipelines 3'
Agent machine name: 'fv-az619'
Current agent version: '2.168.2'
##[group]Operating System
16.04.6
LTS
LTS
##[endgroup]
##[group]Virtual Environment
Environment: ubuntu-16.04
Version: 20200430.2
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu16/20200430.2/images/linux/Ubuntu1604-README.md
##[endgroup]
Agent running as: 'vsts'
Prepare build directory.
Set build variables.
Download all required tasks.
Download all required tasks.
Downloading task: Bash (3.163.2)
Checking job knob settings.
   Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY} 
   Knob: AgentPerflog = /home/vsts/perflog Source: ${VSTS_AGENT_PERFLOG} 
Start tracking orphan processes.
##[section]Finishing: Initialize job
##[section]Starting: Configure Job Name
==============================================================================
---
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /home/vsts/work/_temp/f5bcd836-59b5-4c95-b0ad-644cc46717d6.sh

##[section]Finishing: Disable git automatic line ending conversion
##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
---
##[command]git remote add origin https://github.com/rust-lang/rust
##[command]git config gc.auto 0
##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
##[command]git config --get-all http.proxy
##[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/71289/merge:refs/remotes/pull/71289/merge
---
 ---> 3adb0605cc65
Step 6/7 : ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
 ---> Using cache
 ---> 28dbc326cb7f
Step 7/7 : ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors &&            python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu &&            python3 ../x.py build --stage 0 src/tools/build-manifest &&            python3 ../x.py test --stage 0 src/tools/compiletest &&            python3 ../x.py test src/tools/tidy &&            python3 ../x.py doc --stage 0 src/libstd &&            /scripts/validate-toolstate.sh
 ---> 537a01811900
Successfully built 537a01811900
Successfully tagged rust-ci:latest
Built container sha256:537a018119009dc218456238dec90b5530050db1e2a1e166550c218003f6159d
---
    Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
    Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
    Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
    Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
    Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
    Checking chalk-rust-ir v0.10.0
    Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
    Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
    Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
configure: rust.verify-llvm-ir  := True
configure: dist.missing-tools   := True
configure: build.submodules     := False
configure: llvm.assertions      := True
configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
configure: writing `config.toml` in current directory
configure: 
configure: run `python /checkout/x.py --help`
configure: 
---
Hugepagesize:       2048 kB
DirectMap4k:      112576 kB
DirectMap2M:     3033088 kB
DirectMap1G:     6291456 kB
+ python3 ../x.py test src/tools/expand-yaml-anchors
Ensuring the YAML anchors in the GitHub Actions config were expanded
Ensuring the YAML anchors in the GitHub Actions config were expanded
Building stage0 tool expand-yaml-anchors (x86_64-unknown-linux-gnu)
   Compiling unicode-xid v0.2.0
   Compiling syn v1.0.11
   Compiling linked-hash-map v0.5.2
   Compiling lazy_static v1.4.0
   Compiling lazy_static v1.4.0
   Compiling yaml-rust v0.4.3
   Compiling quote v1.0.2
   Compiling thiserror-impl v1.0.5
   Compiling thiserror v1.0.5
   Compiling yaml-merge-keys v0.4.0
   Compiling expand-yaml-anchors v0.1.0 (/checkout/src/tools/expand-yaml-anchors)
Build completed successfully in 0:00:30
+ python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu
    Finished dev [unoptimized] target(s) in 0.21s
Checking rustdoc artifacts (x86_64-unknown-linux-gnu -> i686-pc-windows-gnu)
---
    Checking rustc_feature v0.0.0 (/checkout/src/librustc_feature)
    Checking fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
    Checking rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
    Checking rustc_hir v0.0.0 (/checkout/src/librustc_hir)
    Checking rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
    Checking chalk-rust-ir v0.10.0
    Checking rustc_parse v0.0.0 (/checkout/src/librustc_parse)
    Checking rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
    Checking rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
   Compiling cargo_metadata v0.9.1
   Compiling tidy v0.1.0 (/checkout/src/tools/tidy)
    Finished release [optimized] target(s) in 26.18s
tidy check
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:32: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:66: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:93: line longer than 100 chars
tidy error: /checkout/src/test/rustdoc/intra-link-self.rs:100: line longer than 100 chars
some tidy checks failed
Found 492 error codes
Found 0 error codes with no tests
Done!
Done!


command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy
Build completed unsuccessfully in 0:00:35
Build completed unsuccessfully in 0:00:35
== clock drift check ==
  local time: Thu May 14 15:05:17 UTC 2020
  network time: Thu, 14 May 2020 15:05:17 GMT
== end clock drift check ==

##[error]Bash exited with code '1'.
##[section]Finishing: Run build
##[section]Starting: Checkout rust-lang/rust@refs/pull/71289/merge to s
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Cleaning any cached credential from repository: rust-lang/rust (GitHub)
##[section]Finishing: Checkout rust-lang/rust@refs/pull/71289/merge to s
Cleaning up task key
Start cleaning up orphan processes.
Terminate orphan process: pid (4337) (python)
##[section]Finishing: Finalize Job

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

@GuillaumeGomez
Copy link
Member

Please ping me once #72173 is merged (and please rebase at that time so the CI can pass too!) so I can review with everything ready. :)

@ghost
Copy link
Author

ghost commented May 15, 2020

Please ping me once #72173 is merged (and please rebase at that time so the CI can pass too!) so I can review with everything ready. :)

@GuillaumeGomez done and ready for review :)

Copy link
Member

@GuillaumeGomez GuillaumeGomez left a comment

Choose a reason for hiding this comment

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

Looks all good to me! Just the newly added feature that seems weird.

@GuillaumeGomez
Copy link
Member

My question has been answered, therefore we can move forward. Thanks a lot for implementing it!

@bors: r+

@bors
Copy link
Contributor

bors commented May 22, 2020

📌 Commit 94cf2c69dba94a74b0847749595f522a8a73e95b has been approved by GuillaumeGomez

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 22, 2020
@RalfJung
Copy link
Member

@bors rollup

@ghost
Copy link
Author

ghost commented May 22, 2020

Just the newly added feature that seems weird.

Also it could be replaced with
#71289 (comment)

@GuillaumeGomez
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented May 22, 2020

📌 Commit fc0675b has been approved by GuillaumeGomez

bors added a commit to rust-lang-ci/rust that referenced this pull request May 23, 2020
Rollup of 7 pull requests

Successful merges:

 - rust-lang#71289 (Allow using `Self::` in doc)
 - rust-lang#72375 (Improve E0599 explanation)
 - rust-lang#72385 (Add some teams to prioritization exclude_labels)
 - rust-lang#72395 (Allow rust-highfive to label issues it creates.)
 - rust-lang#72453 (Add flag to open docs:  x.py doc --open)
 - rust-lang#72459 (Add core::future::IntoFuture)
 - rust-lang#72461 (Clean up E0600 explanation)

Failed merges:

r? @ghost
@bors bors merged commit dd78839 into rust-lang:master May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve intra-doc-links on Self for method
8 participants