Skip to content

Conversation

@jwhite927
Copy link
Contributor

@jwhite927 jwhite927 commented Feb 6, 2020

Reference issue #61137
To incorporate a long error description for E0637, I have made the necessary modification to error_codes.rs and added error_codes/E0637.md, and blessed the relevant .stderror files. , however when I build rustc stage 1, I am unable to make $ rustc --explain E0637 work even though rustc appears to be able to call up the long error explanations for other errors. I wanted to guarantee this would work before moving on the blessing the various ui tests that have been affected. @GuillaumeGomez Do you know the most likely reason(s) why this would be the case?
Update: $ rustc --explain E0637 works now.

@rust-highfive
Copy link
Contributor

Some changes occurred in diagnostic error codes

cc @GuillaumeGomez

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @petrochenkov (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 6, 2020
@Dylan-DPC-zz
Copy link

@rust-highfive
Copy link
Contributor

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

Click to expand the log.
2020-02-06T22:00:43.0241734Z ========================== Starting Command Output =========================== 2020-02-06T22:00:43.0244088Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/e008cd75-a38d-4b26-9723-3ef98d2e9247.sh 2020-02-06T22:00:43.0244238Z 2020-02-06T22:00:43.0247512Z ##[section]Finishing: Disable git automatic line ending conversion 2020-02-06T22:00:43.0253305Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-06T22:00:43.0254921Z Task : Get sources 2020-02-06T22:00:43.0254998Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-06T22:00:43.0255033Z Version : 1.0.0 2020-02-06T22:00:43.0255067Z Author : Microsoft --- 2020-02-06T22:00:43.9946393Z ##[command]git remote add origin https://github.com/rust-lang/rust 2020-02-06T22:00:44.0024124Z ##[command]git config gc.auto 0 2020-02-06T22:00:44.0089903Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader 2020-02-06T22:00:44.0140275Z ##[command]git config --get-all http.proxy 2020-02-06T22:00:44.0303479Z ##[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/68908/merge:refs/remotes/pull/68908/merge --- 2020-02-06T22:06:54.4916986Z Compiling serde_json v1.0.40 2020-02-06T22:06:56.0445209Z Compiling tidy v0.1.0 (/checkout/src/tools/tidy) 2020-02-06T22:07:05.0677321Z Finished release [optimized] target(s) in 1m 22s 2020-02-06T22:07:05.0768558Z tidy check 2020-02-06T22:07:05.5124082Z tidy error: /checkout/src/librustc_error_codes/error_codes/E0637.md:3: trailing whitespace 2020-02-06T22:07:05.5124304Z tidy error: /checkout/src/librustc_error_codes/error_codes/E0637.md: leading newline 2020-02-06T22:07:05.5124472Z tidy error: /checkout/src/librustc_error_codes/error_codes/E0637.md: too many trailing newlines (2) 2020-02-06T22:07:07.5615899Z some tidy checks failed 2020-02-06T22:07:07.5621034Z Found 487 error codes 2020-02-06T22:07:07.5621462Z Found 0 error codes with no tests 2020-02-06T22:07:07.5621618Z Done! 2020-02-06T22:07:07.5621618Z Done! 2020-02-06T22:07:07.5621844Z 2020-02-06T22:07:07.5621964Z 2020-02-06T22:07:07.5623011Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" 2020-02-06T22:07:07.5623362Z 2020-02-06T22:07:07.5623478Z 2020-02-06T22:07:07.5630618Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy 2020-02-06T22:07:07.5630710Z Build completed unsuccessfully in 0:01:31 2020-02-06T22:07:07.5630710Z Build completed unsuccessfully in 0:01:31 2020-02-06T22:07:07.5686004Z == clock drift check == 2020-02-06T22:07:07.5696231Z local time: Thu Feb 6 22:07:07 UTC 2020 2020-02-06T22:07:07.7303875Z network time: Thu, 06 Feb 2020 22:07:07 GMT 2020-02-06T22:07:07.7309503Z == end clock drift check == 2020-02-06T22:07:08.4716778Z 2020-02-06T22:07:08.4806296Z ##[error]Bash exited with code '1'. 2020-02-06T22:07:08.4817756Z ##[section]Finishing: Run build 2020-02-06T22:07:08.4831796Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-06T22:07:08.4833565Z Task : Get sources 2020-02-06T22:07:08.4833615Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-06T22:07:08.4833665Z Version : 1.0.0 2020-02-06T22:07:08.4833723Z Author : Microsoft 2020-02-06T22:07:08.4833723Z Author : Microsoft 2020-02-06T22:07:08.4833775Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2020-02-06T22:07:08.4833843Z ============================================================================== 2020-02-06T22:07:08.8715531Z Cleaning any cached credential from repository: rust-lang/rust (GitHub) 2020-02-06T22:07:08.8763732Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-06T22:07:08.8868461Z Cleaning up task key 2020-02-06T22:07:08.8869511Z Start cleaning up orphan processes. 2020-02-06T22:07:08.8965857Z Terminate orphan process: pid (4155) (python) 2020-02-06T22:07:08.9144204Z ##[section]Finishing: Finalize Job 

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

@rust-highfive
Copy link
Contributor

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

Click to expand the log.
2020-02-06T22:29:08.6749743Z ========================== Starting Command Output =========================== 2020-02-06T22:29:08.6753243Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/61e668a9-b1f2-444c-bef8-235e07cbaf3c.sh 2020-02-06T22:29:08.6753347Z 2020-02-06T22:29:08.6756041Z ##[section]Finishing: Disable git automatic line ending conversion 2020-02-06T22:29:08.6762130Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-06T22:29:08.6763731Z Task : Get sources 2020-02-06T22:29:08.6763804Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-06T22:29:08.6763836Z Version : 1.0.0 2020-02-06T22:29:08.6763867Z Author : Microsoft --- 2020-02-06T22:29:09.5810139Z ##[command]git remote add origin https://github.com/rust-lang/rust 2020-02-06T22:29:09.5891864Z ##[command]git config gc.auto 0 2020-02-06T22:29:09.5962683Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader 2020-02-06T22:29:09.6040770Z ##[command]git config --get-all http.proxy 2020-02-06T22:29:09.6180069Z ##[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/68908/merge:refs/remotes/pull/68908/merge --- 2020-02-06T23:27:03.0698915Z .................................................................................................... 1700/9595 2020-02-06T23:27:07.8321579Z .................................................................................................... 1800/9595 2020-02-06T23:27:20.1747241Z .............................i...................................................................... 1900/9595 2020-02-06T23:27:27.1961870Z .................................................................................................... 2000/9595 2020-02-06T23:27:41.1888754Z ...................iiiii............................................................................ 2100/9595 2020-02-06T23:27:50.7933210Z .................................................................................................... 2300/9595 2020-02-06T23:27:53.1921428Z .................................................................................................... 2400/9595 2020-02-06T23:27:57.8417384Z .................F.................................................................................. 2500/9595 2020-02-06T23:28:18.3158867Z .................................................................................................... 2600/9595 --- 2020-02-06T23:30:55.1414051Z ..............................................................i...............i..................... 4900/9595 2020-02-06T23:31:02.4817761Z .................................................................................................... 5000/9595 2020-02-06T23:31:10.7189504Z .................................................................................................... 5100/9595 2020-02-06T23:31:15.2129519Z .....i.............................................................................................. 5200/9595 2020-02-06T23:31:25.9500287Z ...............................................................................ii.ii........i...i... 5300/9595 2020-02-06T23:31:34.1173757Z .................i.................................................................................. 5500/9595 2020-02-06T23:31:43.1674990Z .................................................................................................... 5600/9595 2020-02-06T23:31:49.6740828Z ..................................................................i................................. 5700/9595 2020-02-06T23:31:56.6963867Z .................................................................................................... 5800/9595 2020-02-06T23:31:56.6963867Z .................................................................................................... 5800/9595 2020-02-06T23:32:03.7534565Z .................................................................................................... 5900/9595 2020-02-06T23:32:13.1257966Z .........................................................ii...i..ii...........i..................... 6000/9595 2020-02-06T23:32:34.3853975Z .................................................................................................... 6200/9595 2020-02-06T23:32:41.9765701Z .................................................................................................... 6300/9595 2020-02-06T23:32:41.9765701Z .................................................................................................... 6300/9595 2020-02-06T23:32:49.4714775Z .....................................................................................i..ii.......... 6400/9595 2020-02-06T23:33:12.8679256Z .................................................................................................... 6600/9595 2020-02-06T23:33:22.2090003Z ........................................................................i........................... 6700/9595 2020-02-06T23:33:24.5852089Z .................................................................................................... 6800/9595 2020-02-06T23:33:26.7444452Z ...............................................................................i.................... 6900/9595 --- 2020-02-06T23:35:05.1302082Z .................................................................................................... 7600/9595 2020-02-06T23:35:09.8314824Z .................................................................................................... 7700/9595 2020-02-06T23:35:16.7324815Z .................................................................................................... 7800/9595 2020-02-06T23:35:24.6540206Z .................................................................................................... 7900/9595 2020-02-06T23:35:32.1828725Z ..........................................iiiiiii.i................................................. 8000/9595 2020-02-06T23:35:46.5194627Z .................................................................................................... 8200/9595 2020-02-06T23:35:52.5223795Z .................................................................................................... 8300/9595 2020-02-06T23:36:07.2637189Z .................................................................................................... 8400/9595 2020-02-06T23:36:14.3541717Z .................................................................................................... 8500/9595 2020-02-06T23:36:14.3541717Z .................................................................................................... 8500/9595 2020-02-06T23:36:22.0271940Z .................................................................................................... 8600/9595 2020-02-06T23:36:58.7848635Z .................................................................................................... 8700/9595 2020-02-06T23:37:07.2741734Z .................................................................................................... 8800/9595 2020-02-06T23:37:13.7100111Z .................................................................................................... 8900/9595 2020-02-06T23:37:19.9693060Z .................................................................................................... 9000/9595 2020-02-06T23:37:25.1431966Z .................................................................................................... 9100/9595 2020-02-06T23:37:32.2453134Z .................................................................................................... 9200/9595 2020-02-06T23:37:39.6733494Z ................F..F.FFFFFFFFFF..................................................................... 9300/9595 2020-02-06T23:37:54.6416033Z ...................................................................................................i 9500/9595 2020-02-06T23:38:09.1959759Z ............................................................................................... 2020-02-06T23:38:09.1960738Z failures: 2020-02-06T23:38:09.1995133Z --- 2020-02-06T23:38:09.1997304Z 41 2020-02-06T23:38:09.1997424Z 2020-02-06T23:38:09.1997543Z 2020-02-06T23:38:09.1997704Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.1998188Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/const-generics/const-param-elided-lifetime/const-param-elided-lifetime.stderr 2020-02-06T23:38:09.1998675Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.1999164Z To only update this specific test, also pass `--test-args const-generics/const-param-elided-lifetime.rs` 2020-02-06T23:38:09.1999508Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.1999649Z status: exit code: 1 2020-02-06T23:38:09.1999649Z status: exit code: 1 2020-02-06T23:38:09.2000648Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/const-generics/const-param-elided-lifetime" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/const-generics/const-param-elided-lifetime/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2001318Z ------------------------------------------ 2020-02-06T23:38:09.2001491Z 2020-02-06T23:38:09.2001971Z ------------------------------------------ 2020-02-06T23:38:09.2002291Z stderr: 2020-02-06T23:38:09.2002291Z stderr: 2020-02-06T23:38:09.2002647Z ------------------------------------------ 2020-02-06T23:38:09.2002835Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2003262Z --> /checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs:9:19 2020-02-06T23:38:09.2003453Z | 2020-02-06T23:38:09.2003591Z LL | struct A<const N: &u8>; 2020-02-06T23:38:09.2003876Z 2020-02-06T23:38:09.2004016Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2004441Z --> /checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs:13:15 2020-02-06T23:38:09.2004623Z | 2020-02-06T23:38:09.2004623Z | 2020-02-06T23:38:09.2004793Z LL | impl<const N: &u8> A<N> { //~ ERROR `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2005094Z 2020-02-06T23:38:09.2005252Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2005686Z --> /checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs:14:21 2020-02-06T23:38:09.2005871Z | 2020-02-06T23:38:09.2005871Z | 2020-02-06T23:38:09.2006043Z LL | fn foo<const M: &u8>(&self) {} 2020-02-06T23:38:09.2006307Z 2020-02-06T23:38:09.2006467Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2006975Z --> /checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs:18:15 2020-02-06T23:38:09.2007149Z | 2020-02-06T23:38:09.2007149Z | 2020-02-06T23:38:09.2007301Z LL | impl<const N: &u8> B for A<N> {} 2020-02-06T23:38:09.2092652Z 2020-02-06T23:38:09.2092922Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2093497Z --> /checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs:21:17 2020-02-06T23:38:09.2093551Z | 2020-02-06T23:38:09.2093551Z | 2020-02-06T23:38:09.2093595Z LL | fn bar<const N: &u8>() {} 2020-02-06T23:38:09.2093689Z 2020-02-06T23:38:09.2093738Z warning: the feature `const_generics` is incomplete and may cause the compiler to crash 2020-02-06T23:38:09.2094021Z --> /checkout/src/test/ui/const-generics/const-param-elided-lifetime.rs:6:12 2020-02-06T23:38:09.2094085Z | --- 2020-02-06T23:38:09.2095756Z 21 2020-02-06T23:38:09.2095782Z 2020-02-06T23:38:09.2095807Z 2020-02-06T23:38:09.2095868Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2096470Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0637/E0637.stderr 2020-02-06T23:38:09.2096799Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2097126Z To only update this specific test, also pass `--test-args error-codes/E0637.rs` 2020-02-06T23:38:09.2097212Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.2097258Z status: exit code: 1 2020-02-06T23:38:09.2097258Z status: exit code: 1 2020-02-06T23:38:09.2098090Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/error-codes/E0637.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0637" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/error-codes/E0637/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2098476Z ------------------------------------------ 2020-02-06T23:38:09.2098514Z 2020-02-06T23:38:09.2098763Z ------------------------------------------ 2020-02-06T23:38:09.2098826Z stderr: 2020-02-06T23:38:09.2098826Z stderr: 2020-02-06T23:38:09.2099068Z ------------------------------------------ 2020-02-06T23:38:09.2099308Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2099579Z --> /checkout/src/test/ui/error-codes/E0637.rs:1:16 2020-02-06T23:38:09.2099629Z | 2020-02-06T23:38:09.2099888Z LL | struct Foo<'a: '_>(&'a u8); //~ ERROR cannot be used here 2020-02-06T23:38:09.2100164Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2100439Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2100698Z --> /checkout/src/test/ui/error-codes/E0637.rs:2:12 2020-02-06T23:38:09.2100759Z | 2020-02-06T23:38:09.2100759Z | 2020-02-06T23:38:09.2101022Z LL | fn foo<'a: '_>(_: &'a u8) {} //~ ERROR cannot be used here 2020-02-06T23:38:09.2101276Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2101825Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2102349Z --> /checkout/src/test/ui/error-codes/E0637.rs:5:10 2020-02-06T23:38:09.2102422Z | 2020-02-06T23:38:09.2102422Z | 2020-02-06T23:38:09.2102687Z LL | impl<'a: '_> Bar<'a> { //~ ERROR cannot be used here 2020-02-06T23:38:09.2102937Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2103035Z error: aborting due to 3 previous errors 2020-02-06T23:38:09.2103066Z 2020-02-06T23:38:09.2103334Z For more information about this error, try `rustc --explain E0637`. 2020-02-06T23:38:09.2103371Z --- 2020-02-06T23:38:09.2104942Z 2020-02-06T23:38:09.2104968Z 2020-02-06T23:38:09.2105028Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2106706Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed/issue-65285-incorrect-explicit-lifetime-name-needed.stderr 2020-02-06T23:38:09.2107112Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2107489Z To only update this specific test, also pass `--test-args generics/issue-65285-incorrect-explicit-lifetime-name-needed.rs` 2020-02-06T23:38:09.2107601Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.2107663Z status: exit code: 1 2020-02-06T23:38:09.2107663Z status: exit code: 1 2020-02-06T23:38:09.2113123Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2113657Z ------------------------------------------ 2020-02-06T23:38:09.2113715Z 2020-02-06T23:38:09.2113987Z ------------------------------------------ 2020-02-06T23:38:09.2114036Z stderr: 2020-02-06T23:38:09.2114036Z stderr: 2020-02-06T23:38:09.2114259Z ------------------------------------------ 2020-02-06T23:38:09.2114328Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2114620Z --> /checkout/src/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed.rs:5:37 2020-02-06T23:38:09.2114676Z | 2020-02-06T23:38:09.2114737Z LL | fn should_error<T>() where T : Into<&u32> {} 2020-02-06T23:38:09.2114822Z 2020-02-06T23:38:09.2114880Z error[E0106]: missing lifetime specifier 2020-02-06T23:38:09.2115166Z --> /checkout/src/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed.rs:9:19 2020-02-06T23:38:09.2115217Z | 2020-02-06T23:38:09.2115217Z | 2020-02-06T23:38:09.2115454Z LL | fn foo<'b, L: X<&'b Nested<K>>>(); 2020-02-06T23:38:09.2115742Z 2020-02-06T23:38:09.2115791Z error[E0106]: missing lifetime specifier 2020-02-06T23:38:09.2116135Z --> /checkout/src/test/ui/generics/issue-65285-incorrect-explicit-lifetime-name-needed.rs:13:15 2020-02-06T23:38:09.2116187Z | 2020-02-06T23:38:09.2116187Z | 2020-02-06T23:38:09.2116411Z LL | fn bar<'b, L: X<&'b Nested<i32>>>(){} 2020-02-06T23:38:09.2116510Z 2020-02-06T23:38:09.2116725Z error: aborting due to 3 previous errors 2020-02-06T23:38:09.2116757Z 2020-02-06T23:38:09.2116817Z Some errors have detailed explanations: E0106, E0637. --- 2020-02-06T23:38:09.2118230Z 39 2020-02-06T23:38:09.2118257Z 2020-02-06T23:38:09.2118282Z 2020-02-06T23:38:09.2118341Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2118646Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/in-binder/in-binder.stderr 2020-02-06T23:38:09.2118901Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2119222Z To only update this specific test, also pass `--test-args underscore-lifetime/in-binder.rs` 2020-02-06T23:38:09.2119309Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.2119384Z status: exit code: 1 2020-02-06T23:38:09.2119384Z status: exit code: 1 2020-02-06T23:38:09.2120238Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/in-binder.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/in-binder" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/in-binder/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2120746Z ------------------------------------------ 2020-02-06T23:38:09.2120786Z 2020-02-06T23:38:09.2121055Z ------------------------------------------ 2020-02-06T23:38:09.2121105Z stderr: 2020-02-06T23:38:09.2121105Z stderr: 2020-02-06T23:38:09.2121348Z ------------------------------------------ 2020-02-06T23:38:09.2121609Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2121903Z --> /checkout/src/test/ui/underscore-lifetime/in-binder.rs:9:6 2020-02-06T23:38:09.2121956Z | 2020-02-06T23:38:09.2122190Z LL | impl<'_> IceCube<'_> {} 2020-02-06T23:38:09.2122649Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2122945Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2123232Z --> /checkout/src/test/ui/underscore-lifetime/in-binder.rs:12:15 2020-02-06T23:38:09.2123284Z | 2020-02-06T23:38:09.2123505Z LL | struct Struct<'_> { --- 2020-02-06T23:38:09.2130805Z 2020-02-06T23:38:09.2130832Z 2020-02-06T23:38:09.2130892Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2131261Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/underscore-lifetime-binders/underscore-lifetime-binders.stderr 2020-02-06T23:38:09.2131843Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2132197Z To only update this specific test, also pass `--test-args underscore-lifetime/underscore-lifetime-binders.rs` 2020-02-06T23:38:09.2132324Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.2132387Z status: exit code: 1 2020-02-06T23:38:09.2132387Z status: exit code: 1 2020-02-06T23:38:09.2133444Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/underscore-lifetime-binders.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/underscore-lifetime-binders" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/underscore-lifetime-binders/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2133833Z ------------------------------------------ 2020-02-06T23:38:09.2133871Z 2020-02-06T23:38:09.2134136Z ------------------------------------------ 2020-02-06T23:38:09.2134186Z stderr: --- 2020-02-06T23:38:09.2135836Z 2020-02-06T23:38:09.2136099Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2136408Z --> /checkout/src/test/ui/underscore-lifetime/underscore-lifetime-binders.rs:10:25 2020-02-06T23:38:09.2136573Z | 2020-02-06T23:38:09.2136825Z LL | fn meh() -> Box<dyn for<'_> Meh<'_>> //~ ERROR cannot be used here 2020-02-06T23:38:09.2137082Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2137159Z error[E0106]: missing lifetime specifier 2020-02-06T23:38:09.2137426Z --> /checkout/src/test/ui/underscore-lifetime/underscore-lifetime-binders.rs:2:17 2020-02-06T23:38:09.2137475Z | 2020-02-06T23:38:09.2137475Z | 2020-02-06T23:38:09.2137713Z LL | struct Baz<'a>(&'_ &'a u8); //~ ERROR missing lifetime specifier 2020-02-06T23:38:09.2137970Z | ^^ help: consider using the named lifetime: `'a` 2020-02-06T23:38:09.2138066Z error[E0106]: missing lifetime specifier 2020-02-06T23:38:09.2138326Z --> /checkout/src/test/ui/underscore-lifetime/underscore-lifetime-binders.rs:10:33 2020-02-06T23:38:09.2138386Z | 2020-02-06T23:38:09.2138386Z | 2020-02-06T23:38:09.2138623Z LL | fn meh() -> Box<dyn for<'_> Meh<'_>> //~ ERROR cannot be used here 2020-02-06T23:38:09.2138889Z | ^^ help: consider giving it a 'static lifetime: `'static` 2020-02-06T23:38:09.2139236Z = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from 2020-02-06T23:38:09.2139277Z 2020-02-06T23:38:09.2139337Z error[E0106]: missing lifetime specifier 2020-02-06T23:38:09.2139598Z --> /checkout/src/test/ui/underscore-lifetime/underscore-lifetime-binders.rs:16:35 2020-02-06T23:38:09.2139598Z --> /checkout/src/test/ui/underscore-lifetime/underscore-lifetime-binders.rs:16:35 2020-02-06T23:38:09.2139646Z | 2020-02-06T23:38:09.2139902Z LL | fn foo2(_: &'_ u8, y: &'_ u8) -> &'_ u8 { y } //~ ERROR missing lifetime specifier 2020-02-06T23:38:09.2140236Z | 2020-02-06T23:38:09.2140547Z = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from argument 1 or `y` 2020-02-06T23:38:09.2140622Z help: consider introducing a named lifetime parameter 2020-02-06T23:38:09.2140783Z | 2020-02-06T23:38:09.2140783Z | 2020-02-06T23:38:09.2141053Z LL | fn foo2<'a>(_: &'a u8, y: &'a u8) -> &'a u8 { y } //~ ERROR missing lifetime specifier 2020-02-06T23:38:09.2141153Z 2020-02-06T23:38:09.2141195Z error: aborting due to 5 previous errors 2020-02-06T23:38:09.2141224Z 2020-02-06T23:38:09.2141282Z Some errors have detailed explanations: E0106, E0637. --- 2020-02-06T23:38:09.2142685Z 2020-02-06T23:38:09.2142724Z 2020-02-06T23:38:09.2142768Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2143334Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/underscore-outlives-bounds/underscore-outlives-bounds.stderr 2020-02-06T23:38:09.2143619Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2143918Z To only update this specific test, also pass `--test-args underscore-lifetime/underscore-outlives-bounds.rs` 2020-02-06T23:38:09.2144176Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.2144227Z status: exit code: 1 2020-02-06T23:38:09.2144227Z status: exit code: 1 2020-02-06T23:38:09.2145130Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/underscore-outlives-bounds.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/underscore-outlives-bounds" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/underscore-outlives-bounds/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2145473Z ------------------------------------------ 2020-02-06T23:38:09.2145533Z 2020-02-06T23:38:09.2145773Z ------------------------------------------ 2020-02-06T23:38:09.2145821Z stderr: 2020-02-06T23:38:09.2145821Z stderr: 2020-02-06T23:38:09.2146042Z ------------------------------------------ 2020-02-06T23:38:09.2146280Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2146544Z --> /checkout/src/test/ui/underscore-lifetime/underscore-outlives-bounds.rs:7:10 2020-02-06T23:38:09.2146594Z | 2020-02-06T23:38:09.2146863Z LL | impl<'b: '_> Foo<'b> for i32 {} //~ ERROR `'_` cannot be used here 2020-02-06T23:38:09.2147096Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2147188Z error: aborting due to previous error 2020-02-06T23:38:09.2147217Z 2020-02-06T23:38:09.2147465Z For more information about this error, try `rustc --explain E0637`. 2020-02-06T23:38:09.2147500Z --- 2020-02-06T23:38:09.2148608Z 9 2020-02-06T23:38:09.2148635Z 2020-02-06T23:38:09.2148674Z 2020-02-06T23:38:09.2148718Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2149098Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rust2015/where-clause-inherent-impl-ampersand.rust2015.stderr 2020-02-06T23:38:09.2149375Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2149784Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-inherent-impl-ampersand.rs` 2020-02-06T23:38:09.2149898Z error in revision `rust2015`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2149942Z status: exit code: 1 2020-02-06T23:38:09.2149942Z status: exit code: 1 2020-02-06T23:38:09.2150846Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2015" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rust2015" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rust2015/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2151307Z ------------------------------------------ 2020-02-06T23:38:09.2151357Z 2020-02-06T23:38:09.2151642Z ------------------------------------------ 2020-02-06T23:38:09.2151696Z stderr: 2020-02-06T23:38:09.2151696Z stderr: 2020-02-06T23:38:09.2151952Z ------------------------------------------ 2020-02-06T23:38:09.2152004Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2152276Z --> /checkout/src/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rs:13:17 2020-02-06T23:38:09.2152348Z | 2020-02-06T23:38:09.2152391Z LL | T: WithType<&u32> 2020-02-06T23:38:09.2152483Z 2020-02-06T23:38:09.2152526Z error: aborting due to previous error 2020-02-06T23:38:09.2152671Z 2020-02-06T23:38:09.2152921Z For more information about this error, try `rustc --explain E0637`. --- 2020-02-06T23:38:09.2154308Z 9 2020-02-06T23:38:09.2154348Z 2020-02-06T23:38:09.2154373Z 2020-02-06T23:38:09.2154418Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2154796Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rust2018/where-clause-inherent-impl-ampersand.rust2018.stderr 2020-02-06T23:38:09.2155074Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2155400Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-inherent-impl-ampersand.rs` 2020-02-06T23:38:09.2155524Z error in revision `rust2018`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2155571Z status: exit code: 1 2020-02-06T23:38:09.2155571Z status: exit code: 1 2020-02-06T23:38:09.2156561Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2018" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rust2018" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rust2018/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2156948Z ------------------------------------------ 2020-02-06T23:38:09.2156984Z 2020-02-06T23:38:09.2157231Z ------------------------------------------ 2020-02-06T23:38:09.2157296Z stderr: 2020-02-06T23:38:09.2157296Z stderr: 2020-02-06T23:38:09.2157535Z ------------------------------------------ 2020-02-06T23:38:09.2157590Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2157907Z --> /checkout/src/test/ui/underscore-lifetime/where-clause-inherent-impl-ampersand.rs:13:17 2020-02-06T23:38:09.2157964Z | 2020-02-06T23:38:09.2158009Z LL | T: WithType<&u32> 2020-02-06T23:38:09.2158105Z 2020-02-06T23:38:09.2158148Z error: aborting due to previous error 2020-02-06T23:38:09.2158177Z 2020-02-06T23:38:09.2158463Z For more information about this error, try `rustc --explain E0637`. --- 2020-02-06T23:38:09.2160166Z 9 2020-02-06T23:38:09.2160194Z 2020-02-06T23:38:09.2160221Z 2020-02-06T23:38:09.2160267Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2160687Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rust2015/where-clause-inherent-impl-underscore.rust2015.stderr 2020-02-06T23:38:09.2160973Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2161344Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-inherent-impl-underscore.rs` 2020-02-06T23:38:09.2161434Z error in revision `rust2015`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2161496Z status: exit code: 1 2020-02-06T23:38:09.2161496Z status: exit code: 1 2020-02-06T23:38:09.2162470Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2015" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rust2015" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rust2015/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2163064Z ------------------------------------------ 2020-02-06T23:38:09.2163102Z 2020-02-06T23:38:09.2163365Z ------------------------------------------ 2020-02-06T23:38:09.2163415Z stderr: --- 2020-02-06T23:38:09.2166384Z 9 2020-02-06T23:38:09.2166411Z 2020-02-06T23:38:09.2166437Z 2020-02-06T23:38:09.2166499Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2166906Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rust2018/where-clause-inherent-impl-underscore.rust2018.stderr 2020-02-06T23:38:09.2167187Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2167741Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-inherent-impl-underscore.rs` 2020-02-06T23:38:09.2167838Z error in revision `rust2018`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2167903Z status: exit code: 1 2020-02-06T23:38:09.2167903Z status: exit code: 1 2020-02-06T23:38:09.2168926Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2018" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rust2018" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-inherent-impl-underscore.rust2018/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2169311Z ------------------------------------------ 2020-02-06T23:38:09.2169347Z 2020-02-06T23:38:09.2169825Z ------------------------------------------ 2020-02-06T23:38:09.2169877Z stderr: --- 2020-02-06T23:38:09.2173012Z 9 2020-02-06T23:38:09.2173039Z 2020-02-06T23:38:09.2173066Z 2020-02-06T23:38:09.2173127Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2173519Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-region.rust2015/where-clause-trait-impl-region.rust2015.stderr 2020-02-06T23:38:09.2173835Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2174167Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-trait-impl-region.rs` 2020-02-06T23:38:09.2174258Z error in revision `rust2015`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2174321Z status: exit code: 1 2020-02-06T23:38:09.2174321Z status: exit code: 1 2020-02-06T23:38:09.2175467Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-trait-impl-region.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2015" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-region.rust2015" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-region.rust2015/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2175911Z ------------------------------------------ 2020-02-06T23:38:09.2175962Z 2020-02-06T23:38:09.2176183Z ------------------------------------------ 2020-02-06T23:38:09.2176229Z stderr: 2020-02-06T23:38:09.2176229Z stderr: 2020-02-06T23:38:09.2176440Z ------------------------------------------ 2020-02-06T23:38:09.2176508Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2176776Z --> /checkout/src/test/ui/underscore-lifetime/where-clause-trait-impl-region.rs:11:17 2020-02-06T23:38:09.2176840Z | 2020-02-06T23:38:09.2176883Z LL | T: WithType<&u32> 2020-02-06T23:38:09.2176957Z 2020-02-06T23:38:09.2177012Z error: aborting due to previous error 2020-02-06T23:38:09.2177039Z 2020-02-06T23:38:09.2177281Z For more information about this error, try `rustc --explain E0637`. --- 2020-02-06T23:38:09.2178388Z 9 2020-02-06T23:38:09.2178414Z 2020-02-06T23:38:09.2178453Z 2020-02-06T23:38:09.2178496Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2178853Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-region.rust2018/where-clause-trait-impl-region.rust2018.stderr 2020-02-06T23:38:09.2179143Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2179455Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-trait-impl-region.rs` 2020-02-06T23:38:09.2179557Z error in revision `rust2018`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2179603Z status: exit code: 1 2020-02-06T23:38:09.2179603Z status: exit code: 1 2020-02-06T23:38:09.2180541Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-trait-impl-region.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2018" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-region.rust2018" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-region.rust2018/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2181015Z ------------------------------------------ 2020-02-06T23:38:09.2181064Z 2020-02-06T23:38:09.2181288Z ------------------------------------------ 2020-02-06T23:38:09.2181506Z stderr: 2020-02-06T23:38:09.2181506Z stderr: 2020-02-06T23:38:09.2181792Z ------------------------------------------ 2020-02-06T23:38:09.2181846Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-06T23:38:09.2182168Z --> /checkout/src/test/ui/underscore-lifetime/where-clause-trait-impl-region.rs:11:17 2020-02-06T23:38:09.2182240Z | 2020-02-06T23:38:09.2182282Z LL | T: WithType<&u32> 2020-02-06T23:38:09.2182359Z 2020-02-06T23:38:09.2182416Z error: aborting due to previous error 2020-02-06T23:38:09.2182445Z 2020-02-06T23:38:09.2182841Z For more information about this error, try `rustc --explain E0637`. --- 2020-02-06T23:38:09.2184070Z 9 2020-02-06T23:38:09.2184111Z 2020-02-06T23:38:09.2184136Z 2020-02-06T23:38:09.2184180Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2184663Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rust2015/where-clause-trait-impl-underscore.rust2015.stderr 2020-02-06T23:38:09.2185080Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2185411Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-trait-impl-underscore.rs` 2020-02-06T23:38:09.2185516Z error in revision `rust2015`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2185564Z status: exit code: 1 2020-02-06T23:38:09.2185564Z status: exit code: 1 2020-02-06T23:38:09.2186528Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2015" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rust2015" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rust2015/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2186918Z ------------------------------------------ 2020-02-06T23:38:09.2186956Z 2020-02-06T23:38:09.2187200Z ------------------------------------------ 2020-02-06T23:38:09.2187249Z stderr: --- 2020-02-06T23:38:09.2190199Z 9 2020-02-06T23:38:09.2190238Z 2020-02-06T23:38:09.2190262Z 2020-02-06T23:38:09.2190304Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2190666Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rust2018/where-clause-trait-impl-underscore.rust2018.stderr 2020-02-06T23:38:09.2191408Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2191811Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clause-trait-impl-underscore.rs` 2020-02-06T23:38:09.2191916Z error in revision `rust2018`: 1 errors occurred comparing output. 2020-02-06T23:38:09.2191962Z status: exit code: 1 2020-02-06T23:38:09.2191962Z status: exit code: 1 2020-02-06T23:38:09.2192932Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--cfg" "rust2018" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rust2018" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2018" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clause-trait-impl-underscore.rust2018/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2193289Z ------------------------------------------ 2020-02-06T23:38:09.2193324Z 2020-02-06T23:38:09.2193543Z ------------------------------------------ 2020-02-06T23:38:09.2193605Z stderr: --- 2020-02-06T23:38:09.2197342Z 2020-02-06T23:38:09.2197367Z 2020-02-06T23:38:09.2197412Z The actual stderr differed from the expected stderr. 2020-02-06T23:38:09.2197744Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clauses/where-clauses.stderr 2020-02-06T23:38:09.2198034Z To update references, rerun the tests and pass the `--bless` flag 2020-02-06T23:38:09.2198534Z To only update this specific test, also pass `--test-args underscore-lifetime/where-clauses.rs` 2020-02-06T23:38:09.2198638Z error: 1 errors occurred comparing output. 2020-02-06T23:38:09.2198681Z status: exit code: 1 2020-02-06T23:38:09.2198681Z status: exit code: 1 2020-02-06T23:38:09.2199525Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/underscore-lifetime/where-clauses.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clauses" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/underscore-lifetime/where-clauses/auxiliary" "-A" "unused" 2020-02-06T23:38:09.2200111Z ------------------------------------------ 2020-02-06T23:38:09.2200153Z 2020-02-06T23:38:09.2200408Z ------------------------------------------ 2020-02-06T23:38:09.2200455Z stderr: 2020-02-06T23:38:09.2200455Z stderr: 2020-02-06T23:38:09.2200693Z ------------------------------------------ 2020-02-06T23:38:09.2200913Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2201163Z --> /checkout/src/test/ui/underscore-lifetime/where-clauses.rs:3:10 2020-02-06T23:38:09.2201231Z | 2020-02-06T23:38:09.2201489Z LL | impl<'b: '_> Foo<'b> for i32 {} //~ ERROR `'_` cannot be used here 2020-02-06T23:38:09.2201722Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2201989Z error[E0637]: `'_` cannot be used here 2020-02-06T23:38:09.2202240Z --> /checkout/src/test/ui/underscore-lifetime/where-clauses.rs:5:9 2020-02-06T23:38:09.2202302Z | 2020-02-06T23:38:09.2202302Z | 2020-02-06T23:38:09.2202558Z LL | impl<T: '_> Foo<'static> for Vec<T> {} //~ ERROR `'_` cannot be used here 2020-02-06T23:38:09.2202813Z | ^^ `'_` is a reserved lifetime name 2020-02-06T23:38:09.2202905Z error: aborting due to 2 previous errors 2020-02-06T23:38:09.2202933Z 2020-02-06T23:38:09.2203186Z For more information about this error, try `rustc --explain E0637`. 2020-02-06T23:38:09.2203221Z --- 2020-02-06T23:38:09.2208520Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22 2020-02-06T23:38:09.2208594Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace 2020-02-06T23:38:09.2208625Z 2020-02-06T23:38:09.2208649Z 2020-02-06T23:38:09.2210203Z 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" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/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-7/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always" 2020-02-06T23:38:09.2210475Z 2020-02-06T23:38:09.2210503Z 2020-02-06T23:38:09.2210561Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test 2020-02-06T23:38:09.2210608Z Build completed unsuccessfully in 1:02:48 2020-02-06T23:38:09.2210608Z Build completed unsuccessfully in 1:02:48 2020-02-06T23:38:09.2210659Z == clock drift check == 2020-02-06T23:38:09.7323228Z local time: Thu Feb 6 23:38:09 UTC 2020 2020-02-06T23:38:09.7323444Z network time: Thu, 06 Feb 2020 23:38:09 GMT 2020-02-06T23:38:09.7323539Z == end clock drift check == 2020-02-06T23:38:09.9605513Z 2020-02-06T23:38:09.9705152Z ##[error]Bash exited with code '1'. 2020-02-06T23:38:09.9717448Z ##[section]Finishing: Run build 2020-02-06T23:38:09.9741471Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-06T23:38:09.9743440Z Task : Get sources 2020-02-06T23:38:09.9743505Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-06T23:38:09.9743551Z Version : 1.0.0 2020-02-06T23:38:09.9743592Z Author : Microsoft 2020-02-06T23:38:09.9743592Z Author : Microsoft 2020-02-06T23:38:09.9743655Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2020-02-06T23:38:09.9743717Z ============================================================================== 2020-02-06T23:38:10.3856881Z Cleaning any cached credential from repository: rust-lang/rust (GitHub) 2020-02-06T23:38:10.3896185Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-06T23:38:10.4005005Z Cleaning up task key 2020-02-06T23:38:10.4005788Z Start cleaning up orphan processes. 2020-02-06T23:38:10.4112405Z Terminate orphan process: pid (4519) (python) 2020-02-06T23:38:10.4358297Z ##[section]Finishing: Finalize Job 

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

@rust-highfive
Copy link
Contributor

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

Click to expand the log.
2020-02-08T05:06:09.2615966Z ========================== Starting Command Output =========================== 2020-02-08T05:06:09.2633806Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/a3a33976-acc8-4801-925e-8acc7f793914.sh 2020-02-08T05:06:09.7742108Z 2020-02-08T05:06:09.7801648Z ##[section]Finishing: Disable git automatic line ending conversion 2020-02-08T05:06:09.7811163Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T05:06:09.7812924Z Task : Get sources 2020-02-08T05:06:09.7813004Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T05:06:09.7813146Z Version : 1.0.0 2020-02-08T05:06:09.7813175Z Author : Microsoft --- 2020-02-08T05:06:16.7416562Z ##[command]git remote add origin https://github.com/rust-lang/rust 2020-02-08T05:06:16.7983433Z ##[command]git config gc.auto 0 2020-02-08T05:06:16.8057383Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader 2020-02-08T05:06:16.8116922Z ##[command]git config --get-all http.proxy 2020-02-08T05:06:16.8250808Z ##[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/68908/merge:refs/remotes/pull/68908/merge --- 2020-02-08T05:13:05.8808578Z Found 0 error codes with no tests 2020-02-08T05:13:05.8808619Z Done! 2020-02-08T05:13:05.8818426Z 2020-02-08T05:13:05.8818491Z 2020-02-08T05:13:05.8819528Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout/src" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "--no-vendor" 2020-02-08T05:13:05.8819642Z 2020-02-08T05:13:05.8819687Z 2020-02-08T05:13:05.8825693Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/tools/tidy 2020-02-08T05:13:05.8825764Z Build completed unsuccessfully in 0:01:35 2020-02-08T05:13:05.8825764Z Build completed unsuccessfully in 0:01:35 2020-02-08T05:13:05.8874351Z == clock drift check == 2020-02-08T05:13:05.8905739Z local time: Sat Feb 8 05:13:05 UTC 2020 2020-02-08T05:13:06.1785688Z network time: Sat, 08 Feb 2020 05:13:06 GMT 2020-02-08T05:13:06.1789098Z == end clock drift check == 2020-02-08T05:13:07.0359661Z 2020-02-08T05:13:07.0453109Z ##[error]Bash exited with code '1'. 2020-02-08T05:13:07.0463665Z ##[section]Finishing: Run build 2020-02-08T05:13:07.0476435Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T05:13:07.0478088Z Task : Get sources 2020-02-08T05:13:07.0478127Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T05:13:07.0478168Z Version : 1.0.0 2020-02-08T05:13:07.0478233Z Author : Microsoft 2020-02-08T05:13:07.0478233Z Author : Microsoft 2020-02-08T05:13:07.0478271Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2020-02-08T05:13:07.0478313Z ============================================================================== 2020-02-08T05:13:07.4339805Z Cleaning any cached credential from repository: rust-lang/rust (GitHub) 2020-02-08T05:13:07.4377852Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T05:13:07.4504131Z Cleaning up task key 2020-02-08T05:13:07.4504912Z Start cleaning up orphan processes. 2020-02-08T05:13:07.4625866Z Terminate orphan process: pid (3837) (python) 2020-02-08T05:13:07.5130681Z ##[section]Finishing: Finalize Job 

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

@rust-highfive
Copy link
Contributor

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

Click to expand the log.
2020-02-08T05:22:40.9208188Z ========================== Starting Command Output =========================== 2020-02-08T05:22:40.9209779Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/1c0e5c33-ce8b-4b05-a21a-13bb1bcdaf5c.sh 2020-02-08T05:22:40.9209828Z 2020-02-08T05:22:40.9212695Z ##[section]Finishing: Disable git automatic line ending conversion 2020-02-08T05:22:40.9218104Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T05:22:40.9219560Z Task : Get sources 2020-02-08T05:22:40.9219588Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T05:22:40.9219616Z Version : 1.0.0 2020-02-08T05:22:40.9219642Z Author : Microsoft --- 2020-02-08T05:22:41.8225390Z ##[command]git remote add origin https://github.com/rust-lang/rust 2020-02-08T05:22:41.8311049Z ##[command]git config gc.auto 0 2020-02-08T05:22:41.8396329Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader 2020-02-08T05:22:41.8446232Z ##[command]git config --get-all http.proxy 2020-02-08T05:22:41.8603317Z ##[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/68908/merge:refs/remotes/pull/68908/merge --- 2020-02-08T06:20:42.0764973Z .................................................................................................... 1700/9609 2020-02-08T06:20:46.7388696Z .................................................................................................... 1800/9609 2020-02-08T06:20:58.0001143Z ...............................i.................................................................... 1900/9609 2020-02-08T06:21:05.3308467Z .................................................................................................... 2000/9609 2020-02-08T06:21:18.8027081Z .....................iiiii.......................................................................... 2100/9609 2020-02-08T06:21:28.1618853Z .................................................................................................... 2300/9609 2020-02-08T06:21:30.4982942Z .................................................................................................... 2400/9609 2020-02-08T06:21:35.0166086Z .................................................................................................... 2500/9609 2020-02-08T06:21:54.9984398Z .................................................................................................... 2600/9609 --- 2020-02-08T06:24:24.7601023Z .........................................................................i...............i.......... 4900/9609 2020-02-08T06:24:31.9317129Z .................................................................................................... 5000/9609 2020-02-08T06:24:40.0336387Z .................................................................................................... 5100/9609 2020-02-08T06:24:44.6962179Z ................i................................................................................... 5200/9609 2020-02-08T06:24:55.4067821Z ..........................................................................................ii.ii..... 5300/9609 2020-02-08T06:24:59.6073657Z ...i...i............................................................................................ 5400/9609 2020-02-08T06:25:11.7791151Z .................................................................................................... 5600/9609 2020-02-08T06:25:24.8902601Z ..............................................................................i..................... 5700/9609 2020-02-08T06:25:33.7202808Z .................................................................................................... 5800/9609 2020-02-08T06:25:40.9278309Z .................................................................................................... 5900/9609 2020-02-08T06:25:40.9278309Z .................................................................................................... 5900/9609 2020-02-08T06:25:53.5524962Z .....................................................................ii...i...ii..........i......... 6000/9609 2020-02-08T06:26:17.6135103Z .................................................................................................... 6200/9609 2020-02-08T06:26:25.5084954Z .................................................................................................... 6300/9609 2020-02-08T06:26:33.7705225Z .................................................................................................i.. 6400/9609 2020-02-08T06:26:54.8097063Z ii.................................................................................................. 6500/9609 --- 2020-02-08T06:28:59.5575922Z .................................................................................................... 7600/9609 2020-02-08T06:29:04.4497126Z .................................................................................................... 7700/9609 2020-02-08T06:29:09.5404139Z .................................................................................................... 7800/9609 2020-02-08T06:29:18.5541787Z .................................................................................................... 7900/9609 2020-02-08T06:29:27.1540007Z .......................................................iiiiiii.i.................................... 8000/9609 2020-02-08T06:29:41.5042445Z ..i................................................................................................. 8200/9609 2020-02-08T06:29:46.5895598Z .................................................................................................... 8300/9609 2020-02-08T06:30:01.3192174Z .................................................................................................... 8400/9609 2020-02-08T06:30:09.2031486Z .................................................................................................... 8500/9609 --- 2020-02-08T06:32:26.6212165Z finished in 6.845 2020-02-08T06:32:26.6413516Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T06:32:26.8536571Z 2020-02-08T06:32:26.8536731Z running 175 tests 2020-02-08T06:32:29.6316153Z iiii......i...........ii..iiii...i....i...........i............i..i..................i....i......... 100/175 2020-02-08T06:32:31.8394797Z ...i.i.i...iii..iiiiiiiiiiiii.......................iii............ii...... 2020-02-08T06:32:31.8395861Z 2020-02-08T06:32:31.8401185Z finished in 5.198 2020-02-08T06:32:31.8572792Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T06:32:32.0059383Z --- 2020-02-08T06:32:33.9864645Z finished in 2.129 2020-02-08T06:32:34.0046361Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T06:32:34.1513950Z 2020-02-08T06:32:34.1514234Z running 9 tests 2020-02-08T06:32:34.1515179Z iiiiiiiii 2020-02-08T06:32:34.1515724Z 2020-02-08T06:32:34.1515769Z finished in 0.146 2020-02-08T06:32:34.1682807Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T06:32:34.3534737Z --- 2020-02-08T06:32:53.1418856Z finished in 18.973 2020-02-08T06:32:53.1621681Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T06:32:53.3513645Z 2020-02-08T06:32:53.3513907Z running 116 tests 2020-02-08T06:33:05.9838880Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii..........i.....i..i.......ii.i.ii. 100/116 2020-02-08T06:33:07.7439477Z ....iiii.....ii. 2020-02-08T06:33:07.7443119Z 2020-02-08T06:33:07.7443181Z finished in 14.582 2020-02-08T06:33:07.7447283Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T06:33:07.7447579Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) --- 2020-02-08T06:45:59.2774938Z 2020-02-08T06:45:59.2775834Z Doc-tests core 2020-02-08T06:46:03.8944444Z 2020-02-08T06:46:03.8945937Z running 2471 tests 2020-02-08T06:46:12.5787047Z ......iiiii......................................................................................... 100/2471 2020-02-08T06:46:21.2547337Z ..................................................................................ii................ 200/2471 2020-02-08T06:46:41.4014180Z .................i.................................................................................. 400/2471 2020-02-08T06:46:41.4014180Z .................i.................................................................................. 400/2471 2020-02-08T06:46:50.6438026Z ......................................................................i..i..................iiii.... 500/2471 2020-02-08T06:47:06.4163400Z .................................................................................................... 700/2471 2020-02-08T06:47:14.6794941Z .................................................................................................... 800/2471 2020-02-08T06:47:22.8375756Z .................................................................................................... 900/2471 2020-02-08T06:47:31.0530356Z .................................................................................................... 1000/2471 --- 2020-02-08T06:50:51.4318401Z .................................................................................................... 500/760 2020-02-08T06:50:51.4534719Z .................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2741:22 2020-02-08T06:50:51.4553691Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2778:21 2020-02-08T06:50:51.4557660Z thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2766:17 2020-02-08T06:50:51.4589650Z .......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2645:13 2020-02-08T06:50:51.7689689Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1997:22 2020-02-08T06:50:51.7721007Z ......thread '.<unnamed>.' panicked at '.called `Result::unwrap()` on an `Err` value: RecvError.', src/libstd/sync/mpsc/mod.rs:2034:21 2020-02-08T06:50:51.7735204Z ..thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1916:13 2020-02-08T06:50:53.8115964Z ...................thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:633:13 2020-02-08T06:50:53.8123043Z ..thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:587:13 2020-02-08T06:50:53.8131811Z ...thread '<unnamed>' panicked at 'test panic in inner thread to poison mutex', src/libstd/sync/mutex.rs:563:13 2020-02-08T06:50:53.8143112Z thread '<unnamed>' panicked at 'explicit panic', src/libstd/sync/mutex.rs:694:..13 --- 2020-02-08T06:51:02.7548713Z 2020-02-08T06:51:02.7549315Z running 1009 tests 2020-02-08T06:51:20.3740156Z i................................................................................................... 100/1009 2020-02-08T06:51:30.0633835Z .................................................................................................... 200/1009 2020-02-08T06:51:36.8184095Z ..................iii......i......i...i......i...................................................... 300/1009 2020-02-08T06:51:41.6817139Z .................................................................................................... 400/1009 2020-02-08T06:51:48.1930114Z ............................................i..i.....................................ii............. 500/1009 2020-02-08T06:52:00.3159185Z .................................................................................................... 700/1009 2020-02-08T06:52:00.3159185Z .................................................................................................... 700/1009 2020-02-08T06:52:06.7870521Z ...................................iiii............................................................. 800/1009 2020-02-08T06:52:20.2242580Z .................................................................................................... 900/1009 2020-02-08T06:52:26.7189448Z .........................................................iiii....................................... 1000/1009 2020-02-08T06:52:27.1042285Z test result: ok. 989 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out 2020-02-08T06:52:27.1042633Z 2020-02-08T06:52:27.1153218Z finished in 165.187 2020-02-08T06:52:27.1164444Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) --- 2020-02-08T07:11:39.6604030Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12134) stdout ---- 2020-02-08T07:11:39.6604294Z error[E0637]: `'_` cannot be used here 2020-02-08T07:11:39.6604532Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12135:8 2020-02-08T07:11:39.6604576Z | 2020-02-08T07:11:39.6604777Z 3 | fn foo<'_>(str1: &'_ str, str2: &'_ str) -> &'_ str {} 2020-02-08T07:11:39.6604964Z | ^^ `'_` is a reserved lifetime name 2020-02-08T07:11:39.6605044Z error[E0106]: missing lifetime specifier 2020-02-08T07:11:39.6605261Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12135:46 2020-02-08T07:11:39.6605311Z | 2020-02-08T07:11:39.6605311Z | 2020-02-08T07:11:39.6605508Z 3 | fn foo<'_>(str1: &'_ str, str2: &'_ str) -> &'_ str {} 2020-02-08T07:11:39.6605781Z | 2020-02-08T07:11:39.6606061Z = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `str1` or `str2` 2020-02-08T07:11:39.6606118Z help: consider introducing a named lifetime parameter 2020-02-08T07:11:39.6606168Z | 2020-02-08T07:11:39.6606168Z | 2020-02-08T07:11:39.6606373Z 3 | fn foo<'a, '_>(str1: &'a str, str2: &'a str) -> &'a str {} 2020-02-08T07:11:39.6606444Z 2020-02-08T07:11:39.6606493Z error: aborting due to 2 previous errors 2020-02-08T07:11:39.6606517Z 2020-02-08T07:11:39.6606555Z Some errors have detailed explanations: E0106, E0637. 2020-02-08T07:11:39.6606555Z Some errors have detailed explanations: E0106, E0637. 2020-02-08T07:11:39.6606764Z For more information about an error, try `rustc --explain E0106`. 2020-02-08T07:11:39.6606947Z Couldn't compile the test. 2020-02-08T07:11:39.6607208Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12151) stdout ---- 2020-02-08T07:11:39.6607256Z error: unexpected closing delimiter: `}` 2020-02-08T07:11:39.6607489Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12168:1 2020-02-08T07:11:39.6607538Z | 2020-02-08T07:11:39.6607575Z 16 | fn bar<const N: &u8>() {} 2020-02-08T07:11:39.6607811Z | -- this block is empty, you might have not meant to close it 2020-02-08T07:11:39.6607889Z 19 | } 2020-02-08T07:11:39.6607936Z | ^ unexpected closing delimiter 2020-02-08T07:11:39.6607962Z 2020-02-08T07:11:39.6607998Z error: aborting due to previous error 2020-02-08T07:11:39.6607998Z error: aborting due to previous error 2020-02-08T07:11:39.6608022Z 2020-02-08T07:11:39.6608203Z Couldn't compile the test. 2020-02-08T07:11:39.6608466Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12146) stdout ---- 2020-02-08T07:11:39.6608513Z error: expected identifier, found `<` 2020-02-08T07:11:39.6608736Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12147:4 2020-02-08T07:11:39.6608777Z | 2020-02-08T07:11:39.6608979Z 3 | fn <'a>(str1: &'a str, str2: &'a str) -> &'a str {} 2020-02-08T07:11:39.6609065Z 2020-02-08T07:11:39.6609102Z error: aborting due to previous error 2020-02-08T07:11:39.6609126Z 2020-02-08T07:11:39.6609296Z Couldn't compile the test. 2020-02-08T07:11:39.6609296Z Couldn't compile the test. 2020-02-08T07:11:39.6609572Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12176) stdout ---- 2020-02-08T07:11:39.6609620Z error: unexpected closing delimiter: `}` 2020-02-08T07:11:39.6609836Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12189:1 2020-02-08T07:11:39.6609889Z | 2020-02-08T07:11:39.6610066Z 13 | fn bar<const N: &'a u8>() {} 2020-02-08T07:11:39.6610291Z | -- this block is empty, you might have not meant to close it 2020-02-08T07:11:39.6610378Z 15 | } 2020-02-08T07:11:39.6610414Z | ^ unexpected closing delimiter 2020-02-08T07:11:39.6610439Z 2020-02-08T07:11:39.6610555Z error: aborting due to previous error --- 2020-02-08T07:11:39.6613816Z local time: Sat Feb 8 07:11:39 UTC 2020 2020-02-08T07:11:40.1858986Z network time: Sat, 08 Feb 2020 07:11:40 GMT 2020-02-08T07:11:40.1859196Z == end clock drift check == 2020-02-08T07:11:40.7204250Z 2020-02-08T07:11:40.7307249Z ##[error]Bash exited with code '1'. 2020-02-08T07:11:40.7321649Z ##[section]Finishing: Run build 2020-02-08T07:11:40.7358696Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T07:11:40.7360489Z Task : Get sources 2020-02-08T07:11:40.7360529Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T07:11:40.7360603Z Version : 1.0.0 2020-02-08T07:11:40.7360638Z Author : Microsoft 2020-02-08T07:11:40.7360638Z Author : Microsoft 2020-02-08T07:11:40.7360677Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2020-02-08T07:11:40.7360736Z ============================================================================== 2020-02-08T07:11:41.1453562Z Cleaning any cached credential from repository: rust-lang/rust (GitHub) 2020-02-08T07:11:41.1495560Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T07:11:41.1602495Z Cleaning up task key 2020-02-08T07:11:41.1603542Z Start cleaning up orphan processes. 2020-02-08T07:11:41.1697659Z Terminate orphan process: pid (3410) (python) 2020-02-08T07:11:41.1961971Z ##[section]Finishing: Finalize Job 

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

@rust-highfive
Copy link
Contributor

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

Click to expand the log.
2020-02-08T11:23:41.2644634Z ========================== Starting Command Output =========================== 2020-02-08T11:23:41.2687521Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/eaa9f3d2-e96b-4b46-ac7f-a735e36a86f0.sh 2020-02-08T11:23:41.2687561Z 2020-02-08T11:23:41.2689997Z ##[section]Finishing: Disable git automatic line ending conversion 2020-02-08T11:23:41.2694214Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T11:23:41.2695504Z Task : Get sources 2020-02-08T11:23:41.2695530Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T11:23:41.2695554Z Version : 1.0.0 2020-02-08T11:23:41.2695577Z Author : Microsoft --- 2020-02-08T11:23:41.9992462Z ##[command]git remote add origin https://github.com/rust-lang/rust 2020-02-08T11:23:42.0062712Z ##[command]git config gc.auto 0 2020-02-08T11:23:42.0140637Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader 2020-02-08T11:23:42.0185849Z ##[command]git config --get-all http.proxy 2020-02-08T11:23:42.0310080Z ##[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/68908/merge:refs/remotes/pull/68908/merge --- 2020-02-08T12:14:17.6448167Z .................................................................................................... 1700/9611 2020-02-08T12:14:21.9842773Z .................................................................................................... 1800/9611 2020-02-08T12:14:32.2958049Z ...............................i.................................................................... 1900/9611 2020-02-08T12:14:38.9654174Z .................................................................................................... 2000/9611 2020-02-08T12:14:51.1053364Z .....................iiiii.......................................................................... 2100/9611 2020-02-08T12:14:59.5094895Z .................................................................................................... 2300/9611 2020-02-08T12:15:01.6771241Z .................................................................................................... 2400/9611 2020-02-08T12:15:05.6714766Z .................................................................................................... 2500/9611 2020-02-08T12:15:24.0425101Z .................................................................................................... 2600/9611 --- 2020-02-08T12:17:46.3179703Z .........................................................................i...............i.......... 4900/9611 2020-02-08T12:17:53.1833017Z .................................................................................................... 5000/9611 2020-02-08T12:18:00.2959050Z .................................................................................................... 5100/9611 2020-02-08T12:18:04.5671643Z ................i................................................................................... 5200/9611 2020-02-08T12:18:13.8991219Z ..........................................................................................ii.ii..... 5300/9611 2020-02-08T12:18:17.6581229Z ...i...i............................................................................................ 5400/9611 2020-02-08T12:18:26.3973107Z .................................................................................................... 5600/9611 2020-02-08T12:18:35.4836294Z ..............................................................................i..................... 5700/9611 2020-02-08T12:18:42.1381412Z .................................................................................................... 5800/9611 2020-02-08T12:18:47.5746978Z .................................................................................................... 5900/9611 2020-02-08T12:18:47.5746978Z .................................................................................................... 5900/9611 2020-02-08T12:18:56.1203536Z .....................................................................ii...i..ii...........i......... 6000/9611 2020-02-08T12:19:14.8293516Z .................................................................................................... 6200/9611 2020-02-08T12:19:21.2502889Z .................................................................................................... 6300/9611 2020-02-08T12:19:28.2527745Z .................................................................................................i.. 6400/9611 2020-02-08T12:19:41.7401390Z ii.................................................................................................. 6500/9611 --- 2020-02-08T12:21:27.2991177Z .................................................................................................... 7600/9611 2020-02-08T12:21:31.5947270Z .................................................................................................... 7700/9611 2020-02-08T12:21:36.1356119Z .................................................................................................... 7800/9611 2020-02-08T12:21:44.3535788Z .................................................................................................... 7900/9611 2020-02-08T12:21:52.1966107Z .......................................................iiiiiii.i.................................... 8000/9611 2020-02-08T12:22:05.4145087Z ..i................................................................................................. 8200/9611 2020-02-08T12:22:10.3562816Z .................................................................................................... 8300/9611 2020-02-08T12:22:23.9694560Z .................................................................................................... 8400/9611 2020-02-08T12:22:31.3980199Z .................................................................................................... 8500/9611 --- 2020-02-08T12:24:36.4554138Z finished in 6.587 2020-02-08T12:24:36.4701159Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T12:24:36.6377772Z 2020-02-08T12:24:36.6378003Z running 175 tests 2020-02-08T12:24:39.2298678Z iiii......i...........ii..iiii...i....i...........i............i..i..................i....i......... 100/175 2020-02-08T12:24:41.2498597Z ...i.i.i...iii..iiiiiiiiiiiii.......................iii............ii...... 2020-02-08T12:24:41.2499615Z 2020-02-08T12:24:41.2504387Z finished in 4.780 2020-02-08T12:24:41.2657368Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T12:24:41.9675448Z --- 2020-02-08T12:24:43.0963597Z finished in 1.830 2020-02-08T12:24:43.1108776Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T12:24:43.2392744Z 2020-02-08T12:24:43.2393464Z running 9 tests 2020-02-08T12:24:43.2394185Z iiiiiiiii 2020-02-08T12:24:43.2394471Z 2020-02-08T12:24:43.2394677Z finished in 0.128 2020-02-08T12:24:43.2585198Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T12:24:43.4371429Z --- 2020-02-08T12:25:00.9645405Z finished in 17.449 2020-02-08T12:25:00.9646246Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T12:25:00.9646456Z 2020-02-08T12:25:00.9646600Z running 116 tests 2020-02-08T12:25:12.3525406Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii..........i.....i..i.......ii.i.ii. 100/116 2020-02-08T12:25:13.9397652Z ....iiii.....ii. 2020-02-08T12:25:13.9404590Z 2020-02-08T12:25:13.9412027Z finished in 13.212 2020-02-08T12:25:13.9418165Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T12:25:13.9418847Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) --- 2020-02-08T12:36:58.2623931Z 2020-02-08T12:36:58.2624648Z Doc-tests core 2020-02-08T12:37:02.3077582Z 2020-02-08T12:37:02.3078301Z running 2471 tests 2020-02-08T12:37:10.1624092Z ......iiiii......................................................................................... 100/2471 2020-02-08T12:37:17.7865585Z ..................................................................................ii................ 200/2471 2020-02-08T12:37:35.7907743Z .................i.................................................................................. 400/2471 2020-02-08T12:37:35.7907743Z .................i.................................................................................. 400/2471 2020-02-08T12:37:44.6073294Z ......................................................................i..i..................iiii.... 500/2471 2020-02-08T12:37:58.8857751Z .................................................................................................... 700/2471 2020-02-08T12:38:06.4976824Z .................................................................................................... 800/2471 2020-02-08T12:38:13.8187017Z .................................................................................................... 900/2471 2020-02-08T12:38:21.1855658Z .................................................................................................... 1000/2471 --- 2020-02-08T12:41:29.9184122Z 2020-02-08T12:41:29.9184337Z running 1009 tests 2020-02-08T12:41:45.7192365Z i................................................................................................... 100/1009 2020-02-08T12:41:54.3190607Z .................................................................................................... 200/1009 2020-02-08T12:42:00.3248922Z ..................iii......i......i...i......i...................................................... 300/1009 2020-02-08T12:42:04.6260750Z .................................................................................................... 400/1009 2020-02-08T12:42:10.3706615Z ............................................i..i.....................................ii............. 500/1009 2020-02-08T12:42:20.9873971Z .................................................................................................... 700/1009 2020-02-08T12:42:20.9873971Z .................................................................................................... 700/1009 2020-02-08T12:42:26.7410307Z ...................................iiii............................................................. 800/1009 2020-02-08T12:42:38.8160082Z .................................................................................................... 900/1009 2020-02-08T12:42:44.9934977Z .........................................................iiii....................................... 1000/1009 2020-02-08T12:42:45.3392496Z test result: ok. 989 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out 2020-02-08T12:42:45.3392552Z 2020-02-08T12:42:45.3507039Z finished in 147.040 2020-02-08T12:42:45.3522025Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) --- 2020-02-08T13:00:08.6520008Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12146) stdout ---- 2020-02-08T13:00:08.6520057Z error: expected identifier, found `<` 2020-02-08T13:00:08.6520423Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12147:4 2020-02-08T13:00:08.6520474Z | 2020-02-08T13:00:08.6520657Z 3 | fn <'a>(str1: &'a str, str2: &'a str) -> &'a str {} 2020-02-08T13:00:08.6520719Z 2020-02-08T13:00:08.6520989Z error: aborting due to previous error 2020-02-08T13:00:08.6521012Z 2020-02-08T13:00:08.6521177Z Couldn't compile the test. 2020-02-08T13:00:08.6521177Z Couldn't compile the test. 2020-02-08T13:00:08.6521437Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12175) stdout ---- 2020-02-08T13:00:08.6521484Z error[E0658]: const generics are unstable 2020-02-08T13:00:08.6521690Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12176:16 2020-02-08T13:00:08.6521730Z | 2020-02-08T13:00:08.6521907Z 3 | struct A<const N: &'a u8>; 2020-02-08T13:00:08.6522058Z | 2020-02-08T13:00:08.6522058Z | 2020-02-08T13:00:08.6522396Z = note: for more information, see ***/issues/44580 2020-02-08T13:00:08.6522445Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T13:00:08.6522519Z error[E0658]: const generics are unstable 2020-02-08T13:00:08.6522740Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12180:12 2020-02-08T13:00:08.6522861Z | 2020-02-08T13:00:08.6522861Z | 2020-02-08T13:00:08.6523242Z 7 | impl<const N: &'a u8> A<N> { 2020-02-08T13:00:08.6523316Z | 2020-02-08T13:00:08.6523316Z | 2020-02-08T13:00:08.6523743Z = note: for more information, see ***/issues/44580 2020-02-08T13:00:08.6523793Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T13:00:08.6523859Z error[E0658]: const generics are unstable 2020-02-08T13:00:08.6524331Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12181:18 2020-02-08T13:00:08.6524370Z | 2020-02-08T13:00:08.6524370Z | 2020-02-08T13:00:08.6524549Z 8 | fn foo<const M: &'a u8>(&self) {} 2020-02-08T13:00:08.6524633Z | 2020-02-08T13:00:08.6524633Z | 2020-02-08T13:00:08.6525036Z = note: for more information, see ***/issues/44580 2020-02-08T13:00:08.6525491Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T13:00:08.6525581Z error[E0658]: const generics are unstable 2020-02-08T13:00:08.6526382Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12184:12 2020-02-08T13:00:08.6526442Z | 2020-02-08T13:00:08.6526442Z | 2020-02-08T13:00:08.6526665Z 11 | impl<const N: &'a u8> B for A<N> {} 2020-02-08T13:00:08.6526770Z | 2020-02-08T13:00:08.6526770Z | 2020-02-08T13:00:08.6527061Z = note: for more information, see ***/issues/44580 2020-02-08T13:00:08.6527135Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T13:00:08.6527214Z error[E0658]: const generics are unstable 2020-02-08T13:00:08.6527494Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12186:14 2020-02-08T13:00:08.6527558Z | 2020-02-08T13:00:08.6527558Z | 2020-02-08T13:00:08.6527769Z 13 | fn bar<const N: &'a u8>() {} 2020-02-08T13:00:08.6527873Z | 2020-02-08T13:00:08.6527873Z | 2020-02-08T13:00:08.6528409Z = note: for more information, see ***/issues/44580 2020-02-08T13:00:08.6528481Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T13:00:08.6528769Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T13:00:08.6529339Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12176:20 2020-02-08T13:00:08.6529378Z | 2020-02-08T13:00:08.6529378Z | 2020-02-08T13:00:08.6529551Z 3 | struct A<const N: &'a u8>; 2020-02-08T13:00:08.6529886Z | - ^^ undeclared lifetime 2020-02-08T13:00:08.6529922Z | | 2020-02-08T13:00:08.6530115Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T13:00:08.6530315Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T13:00:08.6530507Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12180:16 2020-02-08T13:00:08.6530557Z | 2020-02-08T13:00:08.6530557Z | 2020-02-08T13:00:08.6530709Z 7 | impl<const N: &'a u8> A<N> { 2020-02-08T13:00:08.6530871Z | - ^^ undeclared lifetime 2020-02-08T13:00:08.6530924Z | | 2020-02-08T13:00:08.6531101Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T13:00:08.6531288Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T13:00:08.6531490Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12181:22 2020-02-08T13:00:08.6531525Z | 2020-02-08T13:00:08.6531525Z | 2020-02-08T13:00:08.6531682Z 8 | fn foo<const M: &'a u8>(&self) {} 2020-02-08T13:00:08.6531731Z | ^^ undeclared lifetime 2020-02-08T13:00:08.6532035Z help: consider introducing lifetime `'a` here 2020-02-08T13:00:08.6532094Z | 2020-02-08T13:00:08.6532094Z | 2020-02-08T13:00:08.6532278Z 7 | impl<const 'a, N: &'a u8> A<N> { 2020-02-08T13:00:08.6532489Z help: consider introducing lifetime `'a` here 2020-02-08T13:00:08.6532523Z | 2020-02-08T13:00:08.6532523Z | 2020-02-08T13:00:08.6532683Z 8 | fn foo<const 'a, M: &'a u8>(&self) {} 2020-02-08T13:00:08.6532827Z 2020-02-08T13:00:08.6533016Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T13:00:08.6533207Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12184:16 2020-02-08T13:00:08.6533258Z | 2020-02-08T13:00:08.6533258Z | 2020-02-08T13:00:08.6533416Z 11 | impl<const N: &'a u8> B for A<N> {} 2020-02-08T13:00:08.6533576Z | - ^^ undeclared lifetime 2020-02-08T13:00:08.6533610Z | | 2020-02-08T13:00:08.6533800Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T13:00:08.6533997Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T13:00:08.6534204Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12186:18 2020-02-08T13:00:08.6534240Z | 2020-02-08T13:00:08.6534240Z | 2020-02-08T13:00:08.6534393Z 13 | fn bar<const N: &'a u8>() {} 2020-02-08T13:00:08.6534553Z | - ^^ undeclared lifetime 2020-02-08T13:00:08.6534601Z | | 2020-02-08T13:00:08.6534782Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T13:00:08.6534859Z error: aborting due to 10 previous errors 2020-02-08T13:00:08.6534880Z 2020-02-08T13:00:08.6534914Z Some errors have detailed explanations: E0261, E0658. 2020-02-08T13:00:08.6535097Z For more information about an error, try `rustc --explain E0261`. --- 2020-02-08T13:00:08.6536300Z local time: Sat Feb 8 13:00:08 UTC 2020 2020-02-08T13:00:09.6090039Z network time: Sat, 08 Feb 2020 13:00:08 GMT 2020-02-08T13:00:09.6090128Z == end clock drift check == 2020-02-08T13:00:10.3758689Z 2020-02-08T13:00:10.3834455Z ##[error]Bash exited with code '1'. 2020-02-08T13:00:10.3843585Z ##[section]Finishing: Run build 2020-02-08T13:00:10.3861137Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T13:00:10.3862616Z Task : Get sources 2020-02-08T13:00:10.3862669Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T13:00:10.3862719Z Version : 1.0.0 2020-02-08T13:00:10.3862750Z Author : Microsoft 2020-02-08T13:00:10.3862750Z Author : Microsoft 2020-02-08T13:00:10.3862801Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2020-02-08T13:00:10.3862837Z ============================================================================== 2020-02-08T13:00:10.7851897Z Cleaning any cached credential from repository: rust-lang/rust (GitHub) 2020-02-08T13:00:10.7887750Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T13:00:10.7988012Z Cleaning up task key 2020-02-08T13:00:10.7988682Z Start cleaning up orphan processes. 2020-02-08T13:00:10.8086358Z Terminate orphan process: pid (3931) (python) 2020-02-08T13:00:10.8289009Z ##[section]Finishing: Finalize Job 

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

@rust-highfive
Copy link
Contributor

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

Click to expand the log.
2020-02-08T13:16:29.6511020Z ========================== Starting Command Output =========================== 2020-02-08T13:16:29.6512498Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/0e2324c3-b2a6-4a4f-bf72-b779e04b9683.sh 2020-02-08T13:16:29.6512533Z 2020-02-08T13:16:29.6515375Z ##[section]Finishing: Disable git automatic line ending conversion 2020-02-08T13:16:29.6521674Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T13:16:29.6523035Z Task : Get sources 2020-02-08T13:16:29.6523064Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T13:16:29.6523092Z Version : 1.0.0 2020-02-08T13:16:29.6523159Z Author : Microsoft --- 2020-02-08T13:16:32.8880034Z ##[command]git remote add origin https://github.com/rust-lang/rust 2020-02-08T13:16:32.9095248Z ##[command]git config gc.auto 0 2020-02-08T13:16:32.9179545Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader 2020-02-08T13:16:33.6785758Z ##[command]git config --get-all http.proxy 2020-02-08T13:16:33.6796830Z ##[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/68908/merge:refs/remotes/pull/68908/merge --- 2020-02-08T14:15:01.1465107Z .................................................................................................... 1700/9611 2020-02-08T14:15:05.8907385Z .................................................................................................... 1800/9611 2020-02-08T14:15:17.3778670Z ...............................i.................................................................... 1900/9611 2020-02-08T14:15:24.8345961Z .................................................................................................... 2000/9611 2020-02-08T14:15:38.7222653Z .....................iiiii.......................................................................... 2100/9611 2020-02-08T14:15:48.3120835Z .................................................................................................... 2300/9611 2020-02-08T14:15:50.7526566Z .................................................................................................... 2400/9611 2020-02-08T14:15:55.2788310Z .................................................................................................... 2500/9611 2020-02-08T14:16:15.9348883Z .................................................................................................... 2600/9611 --- 2020-02-08T14:18:48.4888054Z .........................................................................i...............i.......... 4900/9611 2020-02-08T14:18:56.0003293Z .................................................................................................... 5000/9611 2020-02-08T14:19:04.0102796Z .................................................................................................... 5100/9611 2020-02-08T14:19:08.5265583Z ................i................................................................................... 5200/9611 2020-02-08T14:19:19.0664535Z ..........................................................................................ii.ii..... 5300/9611 2020-02-08T14:19:23.2445257Z ...i...i............................................................................................ 5400/9611 2020-02-08T14:19:32.8585689Z .................................................................................................... 5600/9611 2020-02-08T14:19:43.1188737Z ..............................................................................i..................... 5700/9611 2020-02-08T14:19:50.3988231Z .................................................................................................... 5800/9611 2020-02-08T14:19:56.4134484Z .................................................................................................... 5900/9611 2020-02-08T14:19:56.4134484Z .................................................................................................... 5900/9611 2020-02-08T14:20:06.2625268Z .....................................................................ii...i..ii...........i......... 6000/9611 2020-02-08T14:20:27.0249831Z .................................................................................................... 6200/9611 2020-02-08T14:20:34.3485649Z .................................................................................................... 6300/9611 2020-02-08T14:20:42.0927374Z .................................................................................................i.. 6400/9611 2020-02-08T14:20:56.4667988Z ii.................................................................................................. 6500/9611 --- 2020-02-08T14:22:57.0001677Z .................................................................................................... 7600/9611 2020-02-08T14:23:01.8683884Z .................................................................................................... 7700/9611 2020-02-08T14:23:06.9422113Z .................................................................................................... 7800/9611 2020-02-08T14:23:15.7297907Z .................................................................................................... 7900/9611 2020-02-08T14:23:24.3556334Z .......................................................iiiiiii.i.................................... 8000/9611 2020-02-08T14:23:38.7294785Z ..i................................................................................................. 8200/9611 2020-02-08T14:23:44.0166832Z .................................................................................................... 8300/9611 2020-02-08T14:23:58.8499407Z .................................................................................................... 8400/9611 2020-02-08T14:24:06.9634824Z .................................................................................................... 8500/9611 --- 2020-02-08T14:26:27.6747110Z finished in 7.104 2020-02-08T14:26:27.6921148Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T14:26:27.8860715Z 2020-02-08T14:26:27.8860889Z running 175 tests 2020-02-08T14:26:30.8262120Z iiii......i...........ii..iiii...i....i...........i............i..i..................i....i......... 100/175 2020-02-08T14:26:33.1070377Z ...i.i.i...iii..iiiiiiiiiiiii.......................iii............ii...... 2020-02-08T14:26:33.1072935Z 2020-02-08T14:26:33.1076227Z finished in 5.415 2020-02-08T14:26:33.1245917Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T14:26:33.2894632Z --- 2020-02-08T14:26:35.1995262Z finished in 2.075 2020-02-08T14:26:35.2182988Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T14:26:35.3681375Z 2020-02-08T14:26:35.3681728Z running 9 tests 2020-02-08T14:26:35.3683884Z iiiiiiiii 2020-02-08T14:26:35.3684743Z 2020-02-08T14:26:35.3686252Z finished in 0.150 2020-02-08T14:26:35.3865268Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T14:26:35.5679933Z --- 2020-02-08T14:26:55.0366369Z finished in 19.650 2020-02-08T14:26:55.0581920Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T14:26:55.2360195Z 2020-02-08T14:26:55.2361049Z running 116 tests 2020-02-08T14:27:07.9480738Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii..........i.....i..i.......ii.i.ii. 100/116 2020-02-08T14:27:09.7370132Z ....iiii.....ii. 2020-02-08T14:27:09.7371476Z 2020-02-08T14:27:09.7417625Z finished in 14.679 2020-02-08T14:27:09.7418405Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) 2020-02-08T14:27:09.7418716Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) --- 2020-02-08T14:40:34.1528109Z 2020-02-08T14:40:34.1528981Z Doc-tests core 2020-02-08T14:40:38.8342915Z 2020-02-08T14:40:38.8343702Z running 2471 tests 2020-02-08T14:40:47.6571520Z ......iiiii......................................................................................... 100/2471 2020-02-08T14:40:56.1930295Z ..................................................................................ii................ 200/2471 2020-02-08T14:41:16.4687601Z .................i.................................................................................. 400/2471 2020-02-08T14:41:16.4687601Z .................i.................................................................................. 400/2471 2020-02-08T14:41:25.4652956Z ......................................................................i..i..................iiii.... 500/2471 2020-02-08T14:41:41.0779137Z .................................................................................................... 700/2471 2020-02-08T14:41:49.3470038Z .................................................................................................... 800/2471 2020-02-08T14:41:57.3924392Z .................................................................................................... 900/2471 2020-02-08T14:42:05.6010324Z .................................................................................................... 1000/2471 --- 2020-02-08T14:45:35.3693314Z 2020-02-08T14:45:35.3693541Z running 1009 tests 2020-02-08T14:45:52.7961482Z i................................................................................................... 100/1009 2020-02-08T14:46:02.2229299Z .................................................................................................... 200/1009 2020-02-08T14:46:08.8058862Z ..................iii......i......i...i......i...................................................... 300/1009 2020-02-08T14:46:13.7076780Z .................................................................................................... 400/1009 2020-02-08T14:46:20.1259157Z ............................................i..i.....................................ii............. 500/1009 2020-02-08T14:46:32.1497193Z .................................................................................................... 700/1009 2020-02-08T14:46:32.1497193Z .................................................................................................... 700/1009 2020-02-08T14:46:38.4288886Z ...................................iiii............................................................. 800/1009 2020-02-08T14:46:51.7339503Z .................................................................................................... 900/1009 2020-02-08T14:46:58.1273585Z .........................................................iiii....................................... 1000/1009 2020-02-08T14:46:58.4758998Z test result: ok. 989 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out 2020-02-08T14:46:58.4759035Z 2020-02-08T14:46:58.4875736Z finished in 163.637 2020-02-08T14:46:58.4889396Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) --- 2020-02-08T15:06:31.1752058Z | 2020-02-08T15:06:31.1752247Z 3 | fn foo<'a>(str1: &'a str, str2: &'a str) -> &'a str {} 2020-02-08T15:06:31.1752471Z | --- ^^^^^^^ expected `&str`, found `()` 2020-02-08T15:06:31.1752510Z | | 2020-02-08T15:06:31.1752553Z | implicitly returns `()` as its body has no tail or `return` expression 2020-02-08T15:06:31.1752621Z error: aborting due to previous error 2020-02-08T15:06:31.1752644Z 2020-02-08T15:06:31.1752873Z For more information about this error, try `rustc --explain E0308`. 2020-02-08T15:06:31.1753072Z Couldn't compile the test. 2020-02-08T15:06:31.1753072Z Couldn't compile the test. 2020-02-08T15:06:31.1753771Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12175) stdout ---- 2020-02-08T15:06:31.1753877Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1754180Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12176:16 2020-02-08T15:06:31.1754232Z | 2020-02-08T15:06:31.1754465Z 3 | struct A<const N: &'a u8>; 2020-02-08T15:06:31.1754569Z | 2020-02-08T15:06:31.1754569Z | 2020-02-08T15:06:31.1754959Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1755030Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1755122Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1755415Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12180:12 2020-02-08T15:06:31.1755485Z | 2020-02-08T15:06:31.1755485Z | 2020-02-08T15:06:31.1755718Z 7 | impl<const N: &'a u8> A<N> { 2020-02-08T15:06:31.1755825Z | 2020-02-08T15:06:31.1755825Z | 2020-02-08T15:06:31.1756130Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1756197Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1756291Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1756580Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12181:18 2020-02-08T15:06:31.1756785Z | 2020-02-08T15:06:31.1756785Z | 2020-02-08T15:06:31.1757151Z 8 | fn foo<const M: &'a u8>(&self) {} 2020-02-08T15:06:31.1757224Z | 2020-02-08T15:06:31.1757224Z | 2020-02-08T15:06:31.1757559Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1757616Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1757688Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1757941Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12184:12 2020-02-08T15:06:31.1757983Z | 2020-02-08T15:06:31.1757983Z | 2020-02-08T15:06:31.1758173Z 11 | impl<const N: &'a u8> B for A<N> {} 2020-02-08T15:06:31.1758317Z | 2020-02-08T15:06:31.1758317Z | 2020-02-08T15:06:31.1758924Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1758969Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1759025Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1759288Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12186:14 2020-02-08T15:06:31.1759327Z | 2020-02-08T15:06:31.1759327Z | 2020-02-08T15:06:31.1759507Z 13 | fn bar<const N: &'a u8>() {} 2020-02-08T15:06:31.1759590Z | 2020-02-08T15:06:31.1759590Z | 2020-02-08T15:06:31.1759816Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1759869Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1760083Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T15:06:31.1760294Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12176:20 2020-02-08T15:06:31.1760353Z | 2020-02-08T15:06:31.1760353Z | 2020-02-08T15:06:31.1760522Z 3 | struct A<const N: &'a u8>; 2020-02-08T15:06:31.1760706Z | - ^^ undeclared lifetime 2020-02-08T15:06:31.1760756Z | | 2020-02-08T15:06:31.1760955Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T15:06:31.1761164Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T15:06:31.1761392Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12180:16 2020-02-08T15:06:31.1761430Z | 2020-02-08T15:06:31.1761430Z | 2020-02-08T15:06:31.1761598Z 7 | impl<const N: &'a u8> A<N> { 2020-02-08T15:06:31.1761794Z | - ^^ undeclared lifetime 2020-02-08T15:06:31.1761831Z | | 2020-02-08T15:06:31.1762027Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T15:06:31.1762251Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T15:06:31.1762468Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12181:22 2020-02-08T15:06:31.1762506Z | 2020-02-08T15:06:31.1762506Z | 2020-02-08T15:06:31.1762695Z 8 | fn foo<const M: &'a u8>(&self) {} 2020-02-08T15:06:31.1762734Z | ^^ undeclared lifetime 2020-02-08T15:06:31.1762951Z help: consider introducing lifetime `'a` here 2020-02-08T15:06:31.1762987Z | 2020-02-08T15:06:31.1762987Z | 2020-02-08T15:06:31.1763669Z 7 | impl<const 'a, N: &'a u8> A<N> { 2020-02-08T15:06:31.1764087Z help: consider introducing lifetime `'a` here 2020-02-08T15:06:31.1764136Z | 2020-02-08T15:06:31.1764136Z | 2020-02-08T15:06:31.1764380Z 8 | fn foo<const 'a, M: &'a u8>(&self) {} 2020-02-08T15:06:31.1764475Z 2020-02-08T15:06:31.1764725Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T15:06:31.1765030Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12184:16 2020-02-08T15:06:31.1765082Z | 2020-02-08T15:06:31.1765082Z | 2020-02-08T15:06:31.1765336Z 11 | impl<const N: &'a u8> B for A<N> {} 2020-02-08T15:06:31.1765581Z | - ^^ undeclared lifetime 2020-02-08T15:06:31.1765642Z | | 2020-02-08T15:06:31.1765914Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T15:06:31.1766215Z error[E0261]: use of undeclared lifetime name `'a` 2020-02-08T15:06:31.1766506Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12186:18 2020-02-08T15:06:31.1766558Z | 2020-02-08T15:06:31.1766558Z | 2020-02-08T15:06:31.1767014Z 13 | fn bar<const N: &'a u8>() {} 2020-02-08T15:06:31.1767250Z | - ^^ undeclared lifetime 2020-02-08T15:06:31.1767291Z | | 2020-02-08T15:06:31.1767510Z | help: consider introducing lifetime `'a` here: `'a,` 2020-02-08T15:06:31.1767591Z error: aborting due to 10 previous errors 2020-02-08T15:06:31.1767615Z 2020-02-08T15:06:31.1767652Z Some errors have detailed explanations: E0261, E0658. 2020-02-08T15:06:31.1768133Z For more information about an error, try `rustc --explain E0261`. 2020-02-08T15:06:31.1768133Z For more information about an error, try `rustc --explain E0261`. 2020-02-08T15:06:31.1768330Z Couldn't compile the test. 2020-02-08T15:06:31.1768997Z ---- /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12151) stdout ---- 2020-02-08T15:06:31.1769069Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1769355Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12152:16 2020-02-08T15:06:31.1769407Z | 2020-02-08T15:06:31.1769467Z 3 | struct A<const N: &u8>; 2020-02-08T15:06:31.1769552Z | 2020-02-08T15:06:31.1769552Z | 2020-02-08T15:06:31.1769883Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1769944Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1770027Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1770319Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12156:12 2020-02-08T15:06:31.1770381Z | 2020-02-08T15:06:31.1770381Z | 2020-02-08T15:06:31.1770423Z 7 | impl<const N: &u8> A<N> { 2020-02-08T15:06:31.1770517Z | 2020-02-08T15:06:31.1770517Z | 2020-02-08T15:06:31.1770824Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1770896Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1770974Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1771285Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12158:18 2020-02-08T15:06:31.1771337Z | 2020-02-08T15:06:31.1771337Z | 2020-02-08T15:06:31.1771381Z 9 | fn foo<const M: &u8>(&self) {} 2020-02-08T15:06:31.1771479Z | 2020-02-08T15:06:31.1771479Z | 2020-02-08T15:06:31.1771781Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1771851Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1771936Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1772375Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12162:12 2020-02-08T15:06:31.1772602Z | 2020-02-08T15:06:31.1772602Z | 2020-02-08T15:06:31.1772639Z 13 | impl<const N: &u8> B for A<N> {} 2020-02-08T15:06:31.1772722Z | 2020-02-08T15:06:31.1772722Z | 2020-02-08T15:06:31.1772979Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1773036Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1773113Z error[E0658]: const generics are unstable 2020-02-08T15:06:31.1773751Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12165:14 2020-02-08T15:06:31.1773821Z | 2020-02-08T15:06:31.1773821Z | 2020-02-08T15:06:31.1773863Z 16 | fn bar<const N: &u8>() {} 2020-02-08T15:06:31.1773947Z | 2020-02-08T15:06:31.1773947Z | 2020-02-08T15:06:31.1774350Z = note: for more information, see ***/issues/44580 2020-02-08T15:06:31.1774424Z = help: add `#![feature(const_generics)]` to the crate attributes to enable 2020-02-08T15:06:31.1774524Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-08T15:06:31.1774849Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12152:19 2020-02-08T15:06:31.1774904Z | 2020-02-08T15:06:31.1774904Z | 2020-02-08T15:06:31.1774962Z 3 | struct A<const N: &u8>; 2020-02-08T15:06:31.1775142Z 2020-02-08T15:06:31.1775201Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-08T15:06:31.1775549Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12156:15 2020-02-08T15:06:31.1775603Z | 2020-02-08T15:06:31.1775603Z | 2020-02-08T15:06:31.1775650Z 7 | impl<const N: &u8> A<N> { 2020-02-08T15:06:31.1775752Z 2020-02-08T15:06:31.1775802Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-08T15:06:31.1776217Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12158:21 2020-02-08T15:06:31.1776292Z | 2020-02-08T15:06:31.1776292Z | 2020-02-08T15:06:31.1776339Z 9 | fn foo<const M: &u8>(&self) {} 2020-02-08T15:06:31.1776423Z 2020-02-08T15:06:31.1776483Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-08T15:06:31.1777100Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12162:15 2020-02-08T15:06:31.1777146Z | 2020-02-08T15:06:31.1777146Z | 2020-02-08T15:06:31.1777194Z 13 | impl<const N: &u8> B for A<N> {} 2020-02-08T15:06:31.1777430Z 2020-02-08T15:06:31.1777479Z error[E0637]: `&` without an explicit lifetime name cannot be used here 2020-02-08T15:06:31.1777729Z --> /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md:12165:17 2020-02-08T15:06:31.1777776Z | 2020-02-08T15:06:31.1777776Z | 2020-02-08T15:06:31.1777808Z 16 | fn bar<const N: &u8>() {} 2020-02-08T15:06:31.1777882Z 2020-02-08T15:06:31.1777916Z error: aborting due to 10 previous errors 2020-02-08T15:06:31.1777938Z 2020-02-08T15:06:31.1777983Z Some errors have detailed explanations: E0637, E0658. 2020-02-08T15:06:31.1777983Z Some errors have detailed explanations: E0637, E0658. 2020-02-08T15:06:31.1778199Z For more information about an error, try `rustc --explain E0637`. 2020-02-08T15:06:31.1778249Z Some expected error codes were not found: ["E0261"] 2020-02-08T15:06:31.1778312Z failures: 2020-02-08T15:06:31.1778564Z /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12146) 2020-02-08T15:06:31.1778831Z /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12151) 2020-02-08T15:06:31.1779090Z /checkout/obj/build/x86_64-unknown-linux-gnu/test/error-index.md - Rust_Compiler_Error_Index::E0637 (line 12175) --- 2020-02-08T15:06:31.1779659Z local time: Sat Feb 8 15:06:31 UTC 2020 2020-02-08T15:06:31.4285050Z network time: Sat, 08 Feb 2020 15:06:31 GMT 2020-02-08T15:06:31.4289856Z == end clock drift check == 2020-02-08T15:06:32.0341762Z 2020-02-08T15:06:32.0440159Z ##[error]Bash exited with code '1'. 2020-02-08T15:06:32.0452130Z ##[section]Finishing: Run build 2020-02-08T15:06:32.0471707Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T15:06:32.0473546Z Task : Get sources 2020-02-08T15:06:32.0473595Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories. 2020-02-08T15:06:32.0473643Z Version : 1.0.0 2020-02-08T15:06:32.0473705Z Author : Microsoft 2020-02-08T15:06:32.0473705Z Author : Microsoft 2020-02-08T15:06:32.0473754Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199) 2020-02-08T15:06:32.0473804Z ============================================================================== 2020-02-08T15:06:32.4597071Z Cleaning any cached credential from repository: rust-lang/rust (GitHub) 2020-02-08T15:06:32.4638845Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/68908/merge to s 2020-02-08T15:06:32.4757078Z Cleaning up task key 2020-02-08T15:06:32.4757892Z Start cleaning up orphan processes. 2020-02-08T15:06:32.4857750Z Terminate orphan process: pid (4625) (python) 2020-02-08T15:06:32.5370848Z ##[section]Finishing: Finalize Job 

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

@jwhite927 jwhite927 marked this pull request as ready for review February 9, 2020 01:38
@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Feb 10, 2020

📌 Commit d705ad2 has been approved by Dylan-DPC

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 10, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Feb 10, 2020
Add long error code explanation message for E0637 Reference issue [rust-lang#61137](rust-lang#61137) To incorporate a long error description for E0637, I have made the necessary modification to error_codes.rs and added error_codes/E0637.md, and blessed the relevant .stderror files. ~~, however when I build rustc stage 1, I am unable to make `$ rustc --explain E0637` work even though rustc appears to be able to call up the long error explanations for other errors. I wanted to guarantee this would work before moving on the blessing the various ui tests that have been affected. @GuillaumeGomez Do you know the most likely reason(s) why this would be the case?~~ Update: `$ rustc --explain E0637` works now.
bors added a commit that referenced this pull request Feb 10, 2020
Rollup of 6 pull requests Successful merges: - #68897 (clean up E0275 explanation) - #68908 (Add long error code explanation message for E0637 ) - #68932 (self-profile: Support arguments for generic_activities.) - #68986 (Make ASCII ctype functions unstably const ) - #69007 (Clean up E0283 explanation) - #69014 (change an instance of span_bug() to struct_span_err() to avoid ICE) Failed merges: r? @ghost
bors added a commit that referenced this pull request Feb 10, 2020
Rollup of 6 pull requests Successful merges: - #68897 (clean up E0275 explanation) - #68908 (Add long error code explanation message for E0637 ) - #68932 (self-profile: Support arguments for generic_activities.) - #68986 (Make ASCII ctype functions unstably const ) - #69007 (Clean up E0283 explanation) - #69014 (change an instance of span_bug() to struct_span_err() to avoid ICE) Failed merges: r? @ghost
@bors bors merged commit d705ad2 into rust-lang:master Feb 11, 2020
@jwhite927 jwhite927 deleted the E0637 branch February 11, 2020 02:15
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.

5 participants