Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cow::is_borrowed and Cow::is_owned #65144

Merged
merged 1 commit into from Oct 24, 2019

Conversation

@clarfon
Copy link
Contributor

clarfon commented Oct 5, 2019

Implements #65143.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Oct 5, 2019

r? @TimNN

(rust_highfive has picked a reviewer for you, use r? to override)

@clarfon clarfon force-pushed the clarfon:moo branch 2 times, most recently from f3cace4 to 2b767e4 Oct 5, 2019
@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Oct 6, 2019

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

Click to expand the log.
2019-10-06T00:33:31.2282905Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-06T00:33:31.2473514Z ##[command]git config gc.auto 0
2019-10-06T00:33:31.2562829Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-06T00:33:31.2620722Z ##[command]git config --get-all http.proxy
2019-10-06T00:33:31.2768461Z ##[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/65144/merge:refs/remotes/pull/65144/merge
---
2019-10-06T01:33:36.4265364Z .................................................................................................... 1500/9104
2019-10-06T01:33:43.1074537Z .................................................................................................... 1600/9104
2019-10-06T01:33:51.9619148Z .................................................................................................... 1700/9104
2019-10-06T01:34:01.0618481Z .......i...............i............................................................................ 1800/9104
2019-10-06T01:34:08.0720700Z ..................................................................................................ii 1900/9104
2019-10-06T01:34:23.7950031Z iii................................................................................................. 2000/9104
2019-10-06T01:34:32.3942185Z .................................................................................................... 2200/9104
2019-10-06T01:34:34.9116551Z .................................................................................................... 2300/9104
2019-10-06T01:34:40.9033884Z .................................................................................................... 2400/9104
2019-10-06T01:34:46.2088307Z .................................................................................................... 2500/9104
---
2019-10-06T01:37:35.0289565Z .......................................................................................i............ 4700/9104
2019-10-06T01:37:42.5119629Z ...i................................................................................................ 4800/9104
2019-10-06T01:37:52.7875171Z .................................................................................................... 4900/9104
2019-10-06T01:37:58.3294195Z .................................................................................................... 5000/9104
2019-10-06T01:38:10.0470435Z ................................................................................ii.ii............... 5100/9104
2019-10-06T01:38:19.2620072Z .................................................................................................... 5300/9104
2019-10-06T01:38:28.9313218Z .................................................................................................... 5400/9104
2019-10-06T01:38:35.7658156Z ...............................................i.................................................... 5500/9104
2019-10-06T01:38:42.7710582Z .................................................................................................... 5600/9104
2019-10-06T01:38:42.7710582Z .................................................................................................... 5600/9104
2019-10-06T01:38:53.3836277Z .................................................................................................... 5700/9104
2019-10-06T01:39:00.6740314Z ...........................................ii...i..ii...........i................................... 5800/9104
2019-10-06T01:39:26.2131900Z .................................................................................................... 6000/9104
2019-10-06T01:39:34.9581164Z .................................................................................................... 6100/9104
2019-10-06T01:39:34.9581164Z .................................................................................................... 6100/9104
2019-10-06T01:39:47.3633558Z .................................................i..ii.............................................. 6200/9104
2019-10-06T01:40:10.3853354Z .................................................................................................... 6400/9104
2019-10-06T01:40:12.6147557Z .........i.......................................................................................... 6500/9104
2019-10-06T01:40:14.7360826Z .................................................................................i.................. 6600/9104
2019-10-06T01:40:17.3119975Z .................................................................................................... 6700/9104
---
2019-10-06T01:44:45.1529432Z  finished in 5.588
2019-10-06T01:44:45.1668389Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:44:45.3258705Z 
2019-10-06T01:44:45.3259121Z running 150 tests
2019-10-06T01:44:48.6388513Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-10-06T01:44:50.6553879Z ..iiii..............i.........iii.i.......ii......
2019-10-06T01:44:50.6554534Z 
2019-10-06T01:44:50.6560141Z  finished in 5.488
2019-10-06T01:44:50.6779118Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:44:50.8565711Z 
---
2019-10-06T01:44:53.0053182Z  finished in 2.327
2019-10-06T01:44:53.0229298Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:44:53.1874358Z 
2019-10-06T01:44:53.1874659Z running 9 tests
2019-10-06T01:44:53.1876757Z iiiiiiiii
2019-10-06T01:44:53.1877238Z 
2019-10-06T01:44:53.1877299Z  finished in 0.164
2019-10-06T01:44:53.2065332Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:44:53.3779350Z 
---
2019-10-06T01:45:11.6060080Z  finished in 18.399
2019-10-06T01:45:11.6249098Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:45:11.7840912Z 
2019-10-06T01:45:11.7841233Z running 123 tests
2019-10-06T01:45:35.6097913Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-06T01:45:40.2016923Z i.i.i......iii.i.....ii
2019-10-06T01:45:40.2017548Z 
2019-10-06T01:45:40.2064277Z  finished in 28.577
2019-10-06T01:45:40.2064870Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:45:40.2065182Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-06T01:57:19.4488135Z .................................................................................................... 400/461
2019-10-06T01:57:27.5191424Z .............................................................
2019-10-06T01:57:27.5192332Z failures:
2019-10-06T01:57:27.5192541Z 
2019-10-06T01:57:27.5194353Z ---- borrow.rs - borrow::Cow::is_borrowed (line 214) stdout ----
2019-10-06T01:57:27.5195017Z error[E0658]: use of unstable library feature 'cow_is_borrowed'
2019-10-06T01:57:27.5195534Z  --> borrow.rs:218:13
2019-10-06T01:57:27.5195807Z   |
2019-10-06T01:57:27.5196024Z 7 | assert!(cow.is_borrowed());
2019-10-06T01:57:27.5196777Z   |
2019-10-06T01:57:27.5196777Z   |
2019-10-06T01:57:27.5197623Z   = note: for more information, see ***/issues/65143
2019-10-06T01:57:27.5197941Z   = help: add `#![feature(cow_is_borrowed)]` to the crate attributes to enable
2019-10-06T01:57:27.5198871Z error[E0599]: no method named `is_borrowed` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T01:57:27.5199353Z   --> borrow.rs:221:15
2019-10-06T01:57:27.5199606Z    |
2019-10-06T01:57:27.5199606Z    |
2019-10-06T01:57:27.5199826Z 10 | assert!(!bull.is_borrowed());
2019-10-06T01:57:27.5200509Z    |
2019-10-06T01:57:27.5200509Z    |
2019-10-06T01:57:27.5200727Z    = note: bull is a function, perhaps you wish to call it
2019-10-06T01:57:27.5201098Z error: aborting due to 2 previous errors
2019-10-06T01:57:27.5201269Z 
2019-10-06T01:57:27.5201488Z Some errors have detailed explanations: E0599, E0658.
2019-10-06T01:57:27.5201932Z For more information about an error, try `rustc --explain E0599`.
2019-10-06T01:57:27.5201932Z For more information about an error, try `rustc --explain E0599`.
2019-10-06T01:57:27.5202381Z Couldn't compile the test.
2019-10-06T01:57:27.5202855Z ---- borrow.rs - borrow::Cow::is_owned (line 235) stdout ----
2019-10-06T01:57:27.5203115Z error[E0282]: type annotations needed
2019-10-06T01:57:27.5204088Z  --> borrow.rs:239:13
2019-10-06T01:57:27.5204413Z   |
2019-10-06T01:57:27.5204632Z 7 | assert!(cow.is_owned());
2019-10-06T01:57:27.5205080Z   |
2019-10-06T01:57:27.5205289Z   = note: type must be known at this point
2019-10-06T01:57:27.5205505Z 
2019-10-06T01:57:27.5206013Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T01:57:27.5206013Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T01:57:27.5206483Z  --> borrow.rs:239:13
2019-10-06T01:57:27.5206768Z   |
2019-10-06T01:57:27.5207185Z 7 | assert!(cow.is_owned());
2019-10-06T01:57:27.5207871Z   |
2019-10-06T01:57:27.5207871Z   |
2019-10-06T01:57:27.5208086Z   = note: cow is a function, perhaps you wish to call it
2019-10-06T01:57:27.5208739Z error[E0599]: no variant or associated item named `Borrow` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T01:57:27.5209184Z  --> borrow.rs:241:21
2019-10-06T01:57:27.5209418Z   |
2019-10-06T01:57:27.5209418Z   |
2019-10-06T01:57:27.5209634Z 9 | let mut bull = Cow::Borrow("...moo?".to_string());
2019-10-06T01:57:27.5210523Z   |                     |
2019-10-06T01:57:27.5211006Z   |                     variant or associated item not found in `std::borrow::Cow<'_, _>`
2019-10-06T01:57:27.5211181Z   |                     help: there is a variant with a similar name: `Borrowed`
2019-10-06T01:57:27.5211292Z 
---
2019-10-06T01:57:27.5323123Z == clock drift check ==
2019-10-06T01:57:27.5335361Z   local time: Sun Oct  6 01:57:27 UTC 2019
2019-10-06T01:57:27.6886607Z   network time: Sun, 06 Oct 2019 01:57:27 GMT
2019-10-06T01:57:27.6887854Z == end clock drift check ==
2019-10-06T01:57:28.3110339Z ##[error]Bash exited with code '1'.
2019-10-06T01:57:28.3153544Z ##[section]Starting: Checkout
2019-10-06T01:57:28.3155821Z ==============================================================================
2019-10-06T01:57:28.3155879Z Task         : Get sources
2019-10-06T01:57:28.3155947Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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

@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Oct 6, 2019

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

Click to expand the log.
2019-10-06T00:33:32.7788485Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-06T00:33:32.8097676Z ##[command]git config gc.auto 0
2019-10-06T00:33:32.8180362Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-06T00:33:32.8241102Z ##[command]git config --get-all http.proxy
2019-10-06T00:33:32.8407093Z ##[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/65144/merge:refs/remotes/pull/65144/merge
---
2019-10-06T01:35:26.1979670Z .................................................................................................... 1500/9104
2019-10-06T01:35:33.4911177Z .................................................................................................... 1600/9104
2019-10-06T01:35:42.6903967Z .................................................................................................... 1700/9104
2019-10-06T01:35:52.1667198Z .......i...............i............................................................................ 1800/9104
2019-10-06T01:35:59.8415364Z ..................................................................................................ii 1900/9104
2019-10-06T01:36:16.8885280Z iii................................................................................................. 2000/9104
2019-10-06T01:36:26.2056796Z .................................................................................................... 2200/9104
2019-10-06T01:36:28.9994155Z .................................................................................................... 2300/9104
2019-10-06T01:36:35.7230312Z .................................................................................................... 2400/9104
2019-10-06T01:36:41.5532791Z .................................................................................................... 2500/9104
---
2019-10-06T01:39:43.1648192Z .......................................................................................i............ 4700/9104
2019-10-06T01:39:51.2088856Z ...i................................................................................................ 4800/9104
2019-10-06T01:40:01.8784675Z .................................................................................................... 4900/9104
2019-10-06T01:40:07.5386888Z .................................................................................................... 5000/9104
2019-10-06T01:40:19.9780026Z ................................................................................ii.ii............... 5100/9104
2019-10-06T01:40:29.9585469Z .................................................................................................... 5300/9104
2019-10-06T01:40:40.3552941Z .................................................................................................... 5400/9104
2019-10-06T01:40:47.5044056Z ..............................................i..................................................... 5500/9104
2019-10-06T01:40:54.8615266Z .................................................................................................... 5600/9104
2019-10-06T01:40:54.8615266Z .................................................................................................... 5600/9104
2019-10-06T01:41:05.9861857Z .................................................................................................... 5700/9104
2019-10-06T01:41:14.0698294Z ...........................................ii...i..ii...........i................................... 5800/9104
2019-10-06T01:41:40.8697938Z .................................................................................................... 6000/9104
2019-10-06T01:41:50.3550737Z .................................................................................................... 6100/9104
2019-10-06T01:41:50.3550737Z .................................................................................................... 6100/9104
2019-10-06T01:42:02.0349382Z .................................................i..ii.............................................. 6200/9104
2019-10-06T01:42:26.7377733Z .................................................................................................... 6400/9104
2019-10-06T01:42:29.0099570Z .........i.......................................................................................... 6500/9104
2019-10-06T01:42:31.3582683Z .................................................................................i.................. 6600/9104
2019-10-06T01:42:34.1866645Z .................................................................................................... 6700/9104
---
2019-10-06T01:47:19.8560616Z  finished in 5.652
2019-10-06T01:47:19.8748444Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:47:20.0349932Z 
2019-10-06T01:47:20.0350040Z running 150 tests
2019-10-06T01:47:23.3070552Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-10-06T01:47:25.3366432Z ..iiii..............i.........iii.i.......ii......
2019-10-06T01:47:25.3368988Z 
2019-10-06T01:47:25.3376348Z  finished in 5.462
2019-10-06T01:47:25.3560659Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:47:26.3357364Z 
---
2019-10-06T01:47:27.6918504Z  finished in 2.335
2019-10-06T01:47:27.7125919Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:47:27.8779586Z 
2019-10-06T01:47:27.8779843Z running 9 tests
2019-10-06T01:47:27.8780651Z iiiiiiiii
2019-10-06T01:47:27.8780898Z 
2019-10-06T01:47:27.8786916Z  finished in 0.166
2019-10-06T01:47:27.8976372Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:47:28.8366697Z 
---
2019-10-06T01:47:46.9457002Z  finished in 19.048
2019-10-06T01:47:46.9666970Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:47:47.1426425Z 
2019-10-06T01:47:47.1426877Z running 123 tests
2019-10-06T01:48:13.0683541Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-06T01:48:18.0644039Z i.i.i......iii.i.....ii
2019-10-06T01:48:18.0645502Z 
2019-10-06T01:48:18.0649166Z  finished in 31.098
2019-10-06T01:48:18.0658753Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T01:48:18.0661642Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-06T02:00:16.5419895Z .................................................................................................... 400/461
2019-10-06T02:00:24.8730264Z .............................................................
2019-10-06T02:00:24.8731298Z failures:
2019-10-06T02:00:24.8735089Z 
2019-10-06T02:00:24.8736664Z ---- borrow.rs - borrow::Cow::is_borrowed (line 214) stdout ----
2019-10-06T02:00:24.8737459Z error[E0658]: use of unstable library feature 'cow_is_borrowed'
2019-10-06T02:00:24.8738433Z  --> borrow.rs:218:13
2019-10-06T02:00:24.8739027Z   |
2019-10-06T02:00:24.8739618Z 7 | assert!(cow.is_borrowed());
2019-10-06T02:00:24.8740509Z   |
2019-10-06T02:00:24.8740509Z   |
2019-10-06T02:00:24.8741192Z   = note: for more information, see ***/issues/65143
2019-10-06T02:00:24.8741696Z   = help: add `#![feature(cow_is_borrowed)]` to the crate attributes to enable
2019-10-06T02:00:24.8742968Z error[E0599]: no method named `is_borrowed` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T02:00:24.8743544Z   --> borrow.rs:221:15
2019-10-06T02:00:24.8743848Z    |
2019-10-06T02:00:24.8743848Z    |
2019-10-06T02:00:24.8744112Z 10 | assert!(!bull.is_borrowed());
2019-10-06T02:00:24.8745904Z    |
2019-10-06T02:00:24.8745904Z    |
2019-10-06T02:00:24.8746527Z    = note: bull is a function, perhaps you wish to call it
2019-10-06T02:00:24.8746925Z error: aborting due to 2 previous errors
2019-10-06T02:00:24.8747292Z 
2019-10-06T02:00:24.8747554Z Some errors have detailed explanations: E0599, E0658.
2019-10-06T02:00:24.8748115Z For more information about an error, try `rustc --explain E0599`.
2019-10-06T02:00:24.8748115Z For more information about an error, try `rustc --explain E0599`.
2019-10-06T02:00:24.8748891Z Couldn't compile the test.
2019-10-06T02:00:24.8749392Z ---- borrow.rs - borrow::Cow::is_owned (line 235) stdout ----
2019-10-06T02:00:24.8749665Z error[E0282]: type annotations needed
2019-10-06T02:00:24.8750091Z  --> borrow.rs:239:13
2019-10-06T02:00:24.8750364Z   |
2019-10-06T02:00:24.8750575Z 7 | assert!(cow.is_owned());
2019-10-06T02:00:24.8751169Z   |
2019-10-06T02:00:24.8751368Z   = note: type must be known at this point
2019-10-06T02:00:24.8751929Z 
2019-10-06T02:00:24.8752992Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T02:00:24.8752992Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T02:00:24.8753526Z  --> borrow.rs:239:13
2019-10-06T02:00:24.8753842Z   |
2019-10-06T02:00:24.8754100Z 7 | assert!(cow.is_owned());
2019-10-06T02:00:24.8754934Z   |
2019-10-06T02:00:24.8754934Z   |
2019-10-06T02:00:24.8755196Z   = note: cow is a function, perhaps you wish to call it
2019-10-06T02:00:24.8756470Z error[E0599]: no variant or associated item named `Borrow` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T02:00:24.8756882Z  --> borrow.rs:241:21
2019-10-06T02:00:24.8757114Z   |
2019-10-06T02:00:24.8757114Z   |
2019-10-06T02:00:24.8757325Z 9 | let mut bull = Cow::Borrow("...moo?".to_string());
2019-10-06T02:00:24.8757688Z   |                     |
2019-10-06T02:00:24.8758112Z   |                     variant or associated item not found in `std::borrow::Cow<'_, _>`
2019-10-06T02:00:24.8758361Z   |                     help: there is a variant with a similar name: `Borrowed`
2019-10-06T02:00:24.8758532Z 
---
2019-10-06T02:00:24.8864661Z == clock drift check ==
2019-10-06T02:00:24.8877978Z   local time: Sun Oct  6 02:00:24 UTC 2019
2019-10-06T02:00:25.0259594Z   network time: Sun, 06 Oct 2019 02:00:25 GMT
2019-10-06T02:00:25.0264813Z == end clock drift check ==
2019-10-06T02:00:25.5869889Z ##[error]Bash exited with code '1'.
2019-10-06T02:00:25.5907474Z ##[section]Starting: Checkout
2019-10-06T02:00:25.5909103Z ==============================================================================
2019-10-06T02:00:25.5909148Z Task         : Get sources
2019-10-06T02:00:25.5909209Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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

@clarfon clarfon force-pushed the clarfon:moo branch from 2b767e4 to c4faf77 Oct 6, 2019
@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Oct 6, 2019

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

Click to expand the log.
2019-10-06T04:07:52.5265142Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-06T04:07:52.5446906Z ##[command]git config gc.auto 0
2019-10-06T04:07:52.5522577Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-06T04:07:52.5577249Z ##[command]git config --get-all http.proxy
2019-10-06T04:07:52.5745486Z ##[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/65144/merge:refs/remotes/pull/65144/merge
---
2019-10-06T05:11:14.5699755Z .................................................................................................... 1500/9104
2019-10-06T05:11:21.7400695Z .................................................................................................... 1600/9104
2019-10-06T05:11:31.0746203Z .................................................................................................... 1700/9104
2019-10-06T05:11:40.7690723Z .......i...............i............................................................................ 1800/9104
2019-10-06T05:11:48.2796156Z ..................................................................................................ii 1900/9104
2019-10-06T05:12:05.1645949Z iii................................................................................................. 2000/9104
2019-10-06T05:12:14.0639652Z .................................................................................................... 2200/9104
2019-10-06T05:12:16.7672923Z .................................................................................................... 2300/9104
2019-10-06T05:12:23.1948431Z .................................................................................................... 2400/9104
2019-10-06T05:12:28.9074261Z .................................................................................................... 2500/9104
---
2019-10-06T05:15:31.1430641Z .......................................................................................i............ 4700/9104
2019-10-06T05:15:39.3133279Z ...i................................................................................................ 4800/9104
2019-10-06T05:15:50.4515056Z .................................................................................................... 4900/9104
2019-10-06T05:15:56.2824306Z .................................................................................................... 5000/9104
2019-10-06T05:16:08.9014216Z ................................................................................ii.ii............... 5100/9104
2019-10-06T05:16:18.6252382Z .................................................................................................... 5300/9104
2019-10-06T05:16:28.8504915Z .................................................................................................... 5400/9104
2019-10-06T05:16:36.0107111Z ..............................................i..................................................... 5500/9104
2019-10-06T05:16:43.1832156Z .................................................................................................... 5600/9104
2019-10-06T05:16:43.1832156Z .................................................................................................... 5600/9104
2019-10-06T05:16:54.1231568Z .................................................................................................... 5700/9104
2019-10-06T05:17:02.2351369Z ...........................................ii...i..ii...........i................................... 5800/9104
2019-10-06T05:17:28.7491128Z .................................................................................................... 6000/9104
2019-10-06T05:17:38.1562699Z .................................................................................................... 6100/9104
2019-10-06T05:17:38.1562699Z .................................................................................................... 6100/9104
2019-10-06T05:17:51.0287350Z .................................................i..ii.............................................. 6200/9104
2019-10-06T05:18:15.9414444Z .................................................................................................... 6400/9104
2019-10-06T05:18:18.1355318Z .........i.......................................................................................... 6500/9104
2019-10-06T05:18:20.4035779Z .................................................................................i.................. 6600/9104
2019-10-06T05:18:23.2102202Z .................................................................................................... 6700/9104
---
2019-10-06T05:23:08.2245601Z  finished in 5.695
2019-10-06T05:23:08.2455230Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T05:23:08.4176122Z 
2019-10-06T05:23:08.4177026Z running 150 tests
2019-10-06T05:23:11.7245930Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-10-06T05:23:13.8424332Z ..iiii..............i.........iii.i.......ii......
2019-10-06T05:23:13.8424897Z 
2019-10-06T05:23:13.8424955Z  finished in 5.597
2019-10-06T05:23:13.8610125Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T05:23:14.0340462Z 
---
2019-10-06T05:23:16.1896782Z  finished in 2.328
2019-10-06T05:23:16.2092827Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T05:23:16.3758303Z 
2019-10-06T05:23:16.3758636Z running 9 tests
2019-10-06T05:23:16.3759557Z iiiiiiiii
2019-10-06T05:23:16.3760192Z 
2019-10-06T05:23:16.3760266Z  finished in 0.166
2019-10-06T05:23:16.3949477Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T05:23:16.5679932Z 
---
2019-10-06T05:23:35.6197422Z  finished in 19.225
2019-10-06T05:23:35.6403211Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T05:23:35.8154825Z 
2019-10-06T05:23:35.8155548Z running 123 tests
2019-10-06T05:24:01.4705042Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-06T05:24:06.3341735Z i.i.i......iii.i.....ii
2019-10-06T05:24:06.3345376Z 
2019-10-06T05:24:06.3345807Z  finished in 30.694
2019-10-06T05:24:06.3353074Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-06T05:24:06.3353782Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-06T05:36:23.2689705Z ---- borrow.rs - borrow::Cow::is_owned (line 236) stdout ----
2019-10-06T05:36:23.2689756Z error[E0282]: type annotations needed
2019-10-06T05:36:23.2689970Z  --> borrow.rs:241:13
2019-10-06T05:36:23.2690014Z   |
2019-10-06T05:36:23.2690054Z 8 | assert!(cow.is_owned());
2019-10-06T05:36:23.2690159Z   |
2019-10-06T05:36:23.2690199Z   = note: type must be known at this point
2019-10-06T05:36:23.2690227Z 
2019-10-06T05:36:23.2690497Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T05:36:23.2690497Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T05:36:23.2690693Z  --> borrow.rs:241:13
2019-10-06T05:36:23.2690738Z   |
2019-10-06T05:36:23.2690794Z 8 | assert!(cow.is_owned());
2019-10-06T05:36:23.2691058Z   |
2019-10-06T05:36:23.2691058Z   |
2019-10-06T05:36:23.2691117Z   = note: cow is a function, perhaps you wish to call it
2019-10-06T05:36:23.2691804Z error[E0599]: no variant or associated item named `Borrow` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T05:36:23.2692176Z   --> borrow.rs:243:21
2019-10-06T05:36:23.2692241Z    |
2019-10-06T05:36:23.2692241Z    |
2019-10-06T05:36:23.2692448Z 10 | let mut bull = Cow::Borrow("...moo?".to_string());
2019-10-06T05:36:23.2692552Z    |                     |
2019-10-06T05:36:23.2692795Z    |                     variant or associated item not found in `std::borrow::Cow<'_, _>`
2019-10-06T05:36:23.2692851Z    |                     help: there is a variant with a similar name: `Borrowed`
2019-10-06T05:36:23.2692882Z 
---
2019-10-06T05:36:23.2694303Z ---- borrow.rs - borrow::Cow::is_borrowed (line 214) stdout ----
2019-10-06T05:36:23.2694356Z error[E0282]: type annotations needed
2019-10-06T05:36:23.2694578Z   --> borrow.rs:222:15
2019-10-06T05:36:23.2694625Z    |
2019-10-06T05:36:23.2694675Z 11 | assert!(!bull.is_borrowed());
2019-10-06T05:36:23.2694789Z    |
2019-10-06T05:36:23.2694835Z    = note: type must be known at this point
2019-10-06T05:36:23.2694867Z 
2019-10-06T05:36:23.2695168Z error[E0599]: no method named `is_borrowed` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T05:36:23.2695168Z error[E0599]: no method named `is_borrowed` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-06T05:36:23.2695377Z   --> borrow.rs:222:15
2019-10-06T05:36:23.2695424Z    |
2019-10-06T05:36:23.2695488Z 11 | assert!(!bull.is_borrowed());
2019-10-06T05:36:23.2695790Z    |
2019-10-06T05:36:23.2695790Z    |
2019-10-06T05:36:23.2695864Z    = note: bull is a function, perhaps you wish to call it
2019-10-06T05:36:23.2695951Z error: aborting due to 2 previous errors
2019-10-06T05:36:23.2695981Z 
2019-10-06T05:36:23.2696043Z Some errors have detailed explanations: E0282, E0599.
2019-10-06T05:36:23.2696299Z For more information about an error, try `rustc --explain E0282`.
---
2019-10-06T05:36:23.2826693Z == clock drift check ==
2019-10-06T05:36:23.2845016Z   local time: Sun Oct  6 05:36:23 UTC 2019
2019-10-06T05:36:23.6806165Z   network time: Sun, 06 Oct 2019 05:36:23 GMT
2019-10-06T05:36:23.6809548Z == end clock drift check ==
2019-10-06T05:36:24.2570915Z ##[error]Bash exited with code '1'.
2019-10-06T05:36:24.2640833Z ##[section]Starting: Checkout
2019-10-06T05:36:24.2644421Z ==============================================================================
2019-10-06T05:36:24.2644481Z Task         : Get sources
2019-10-06T05:36:24.2644551Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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

@clarfon clarfon force-pushed the clarfon:moo branch from c4faf77 to 8717eae Oct 7, 2019
@rust-highfive

This comment was marked as outdated.

Copy link
Collaborator

rust-highfive commented Oct 7, 2019

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

Click to expand the log.
2019-10-07T01:18:21.8943794Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-07T01:18:21.9156232Z ##[command]git config gc.auto 0
2019-10-07T01:18:21.9218504Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-07T01:18:21.9270515Z ##[command]git config --get-all http.proxy
2019-10-07T01:18:22.6036399Z ##[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/65144/merge:refs/remotes/pull/65144/merge
---
2019-10-07T02:21:32.6853103Z .................................................................................................... 1600/9111
2019-10-07T02:21:42.0383833Z .................................................................................................... 1700/9111
2019-10-07T02:21:52.2387072Z .........i...............i.......................................................................... 1800/9111
2019-10-07T02:21:59.9845417Z .................................................................................................... 1900/9111
2019-10-07T02:22:16.8876300Z iiiii............................................................................................... 2000/9111
2019-10-07T02:22:26.4759973Z .................................................................................................... 2200/9111
2019-10-07T02:22:29.2450857Z .................................................................................................... 2300/9111
2019-10-07T02:22:35.7210938Z .................................................................................................... 2400/9111
2019-10-07T02:22:41.6000600Z .................................................................................................... 2500/9111
---
2019-10-07T02:25:43.3779891Z .........................................................................................i.......... 4700/9111
2019-10-07T02:25:51.4690150Z .....i.............................................................................................. 4800/9111
2019-10-07T02:26:02.8894034Z .................................................................................................... 4900/9111
2019-10-07T02:26:08.5941142Z .................................................................................................... 5000/9111
2019-10-07T02:26:21.3494960Z ...................................................................................ii.ii............ 5100/9111
2019-10-07T02:26:31.3588188Z .................................................................................................... 5300/9111
2019-10-07T02:26:42.0726223Z .................................................................................................... 5400/9111
2019-10-07T02:26:49.1253860Z .................................................i.................................................. 5500/9111
2019-10-07T02:26:56.4255351Z .................................................................................................... 5600/9111
2019-10-07T02:26:56.4255351Z .................................................................................................... 5600/9111
2019-10-07T02:27:07.2510436Z .................................................................................................... 5700/9111
2019-10-07T02:27:15.9472710Z ..............................................ii...i..ii...........i................................ 5800/9111
2019-10-07T02:27:42.8028640Z .................................................................................................... 6000/9111
2019-10-07T02:27:52.7882440Z .................................................................................................... 6100/9111
2019-10-07T02:27:52.7882440Z .................................................................................................... 6100/9111
2019-10-07T02:28:05.1762259Z ....................................................i..ii........................................... 6200/9111
2019-10-07T02:28:33.8052804Z .................................................................................................... 6400/9111
2019-10-07T02:28:36.0478061Z ............i....................................................................................... 6500/9111
2019-10-07T02:28:38.4030930Z .....................................................................................i.............. 6600/9111
2019-10-07T02:28:41.3019244Z .................................................................................................... 6700/9111
---
2019-10-07T02:33:33.1382893Z  finished in 5.861
2019-10-07T02:33:33.1587282Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-07T02:33:33.3318953Z 
2019-10-07T02:33:33.3319482Z running 150 tests
2019-10-07T02:33:36.8035976Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-10-07T02:33:38.9091150Z ..iiii..............i.........iii.i.......ii......
2019-10-07T02:33:38.9095601Z 
2019-10-07T02:33:38.9097896Z  finished in 5.751
2019-10-07T02:33:38.9326193Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-07T02:33:39.1052220Z 
---
2019-10-07T02:33:41.2972447Z  finished in 2.365
2019-10-07T02:33:41.3175536Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-07T02:33:41.4838138Z 
2019-10-07T02:33:41.4840027Z running 9 tests
2019-10-07T02:33:41.4841398Z iiiiiiiii
2019-10-07T02:33:41.4841819Z 
2019-10-07T02:33:41.4851468Z  finished in 0.166
2019-10-07T02:33:41.5045664Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-07T02:33:41.7022739Z 
---
2019-10-07T02:34:01.0325573Z  finished in 19.528
2019-10-07T02:34:01.0545005Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-07T02:34:01.2266334Z 
2019-10-07T02:34:01.2267294Z running 123 tests
2019-10-07T02:34:27.4171558Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-07T02:34:32.5254902Z i.i.i......iii.i.....ii
2019-10-07T02:34:32.5260089Z 
2019-10-07T02:34:32.5267016Z  finished in 31.472
2019-10-07T02:34:32.5277326Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-07T02:34:32.5278230Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-07T02:47:21.8715654Z ---- borrow.rs - borrow::Cow::is_borrowed (line 214) stdout ----
2019-10-07T02:47:21.8715733Z error: variable does not need to be mutable
2019-10-07T02:47:21.8715964Z  --> borrow.rs:218:5
2019-10-07T02:47:21.8716009Z   |
2019-10-07T02:47:21.8716071Z 7 | let mut cow = Cow::Borrowed("moo");
2019-10-07T02:47:21.8716535Z   |     |
2019-10-07T02:47:21.8716576Z   |     help: remove this `mut`
2019-10-07T02:47:21.8716632Z   |
2019-10-07T02:47:21.8716671Z note: lint level defined here
2019-10-07T02:47:21.8716671Z note: lint level defined here
2019-10-07T02:47:21.8716868Z  --> borrow.rs:213:9
2019-10-07T02:47:21.8716926Z   |
2019-10-07T02:47:21.8716964Z 2 | #![deny(warnings)]
2019-10-07T02:47:21.8717003Z   |         ^^^^^^^^
2019-10-07T02:47:21.8717065Z   = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]`
2019-10-07T02:47:21.8717345Z error: variable does not need to be mutable
2019-10-07T02:47:21.8717602Z   --> borrow.rs:221:5
2019-10-07T02:47:21.8717664Z    |
2019-10-07T02:47:21.8717664Z    |
2019-10-07T02:47:21.8717889Z 10 | let mut bull: Cow<'_, str> = Cow::Owned("...moo?".to_string());
2019-10-07T02:47:21.8718123Z    |     |
2019-10-07T02:47:21.8718165Z    |     help: remove this `mut`
2019-10-07T02:47:21.8718193Z 
2019-10-07T02:47:21.8718232Z error: aborting due to 2 previous errors
2019-10-07T02:47:21.8718232Z error: aborting due to 2 previous errors
2019-10-07T02:47:21.8718257Z 
2019-10-07T02:47:21.8718454Z Couldn't compile the test.
2019-10-07T02:47:21.8718676Z ---- borrow.rs - borrow::Cow::is_owned (line 236) stdout ----
2019-10-07T02:47:21.8718722Z error[E0308]: mismatched types
2019-10-07T02:47:21.8718933Z   --> borrow.rs:243:30
2019-10-07T02:47:21.8718973Z    |
2019-10-07T02:47:21.8719015Z 10 | let mut bull = Cow::Borrowed("...moo?".to_string());
2019-10-07T02:47:21.8719140Z    |
2019-10-07T02:47:21.8719184Z    = note: expected type `&_`
2019-10-07T02:47:21.8720122Z               found type `std::string::String`
2019-10-07T02:47:21.8720161Z 
2019-10-07T02:47:21.8720161Z 
2019-10-07T02:47:21.8720519Z error[E0599]: no method named `is_owned` found for type `std::borrow::Cow<'_, _>` in the current scope
2019-10-07T02:47:21.8720711Z   --> borrow.rs:244:15
2019-10-07T02:47:21.8720788Z    |
2019-10-07T02:47:21.8720826Z 11 | assert!(!bull.is_owned());
2019-10-07T02:47:21.8721123Z    |
2019-10-07T02:47:21.8721123Z    |
2019-10-07T02:47:21.8721164Z    = note: bull is a function, perhaps you wish to call it
2019-10-07T02:47:21.8721410Z error: aborting due to 2 previous errors
2019-10-07T02:47:21.8721455Z 
2019-10-07T02:47:21.8721496Z Some errors have detailed explanations: E0308, E0599.
2019-10-07T02:47:21.8721764Z For more information about an error, try `rustc --explain E0308`.
---
2019-10-07T02:47:21.8884531Z == clock drift check ==
2019-10-07T02:47:21.8907097Z   local time: Mon Oct  7 02:47:21 UTC 2019
2019-10-07T02:47:22.1731775Z   network time: Mon, 07 Oct 2019 02:47:22 GMT
2019-10-07T02:47:22.1734052Z == end clock drift check ==
2019-10-07T02:47:22.8590527Z ##[error]Bash exited with code '1'.
2019-10-07T02:47:22.8645647Z ##[section]Starting: Checkout
2019-10-07T02:47:22.8647774Z ==============================================================================
2019-10-07T02:47:22.8647860Z Task         : Get sources
2019-10-07T02:47:22.8647913Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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

@hellow554

This comment has been minimized.

Copy link
Contributor

hellow554 commented Oct 7, 2019

You can run the tests locally i.e. with ./x.py test --stage 1 so you don't have to wait for azure to report the errors to you

/// #![feature(cow_is_borrowed)]
/// use std::borrow::Cow;
///
/// let mut cow = Cow::Borrowed("moo");

This comment has been minimized.

Copy link
@hellow554

hellow554 Oct 7, 2019

Contributor

let cow = Cow::Borrowed("moo");

/// let mut cow = Cow::Borrowed("moo");
/// assert!(cow.is_borrowed());
///
/// let mut bull: Cow<'_, str> = Cow::Owned("...moo?".to_string());

This comment has been minimized.

Copy link
@hellow554

hellow554 Oct 7, 2019

Contributor

let bull: Cow<str> = Cow::Owned("...moo?".to_string());

match *self {
Borrowed(_) => false,
Owned(_) => true,
}
Comment on lines 248 to 251

This comment has been minimized.

Copy link
@hellow554

hellow554 Oct 7, 2019

Contributor

Why not: !self.is_borrowed()? (see is_some/is_none, is_ok/is_err)

/// #![feature(cow_is_borrowed)]
/// use std::borrow::Cow;
///
/// let mut cow: Cow<'_, str> = Cow::Owned("moo".to_string());

This comment has been minimized.

Copy link
@hellow554

hellow554 Oct 7, 2019

Contributor

let cow: Cow<str> = Cow::Owned("moo".to_string());

/// let mut cow: Cow<'_, str> = Cow::Owned("moo".to_string());
/// assert!(cow.is_owned());
///
/// let mut bull = Cow::Borrowed("...moo?".to_string());

This comment has been minimized.

Copy link
@hellow554

hellow554 Oct 7, 2019

Contributor

let bull = Cow::Borrowed("...moo?");

same as above, but if you want to use a String instead do:

let bull: Cow<str> = Cow::Borrowed("...moo?".to_string());

@clarfon

This comment has been minimized.

Copy link
Contributor Author

clarfon commented Oct 8, 2019

You can run the tests locally i.e. with ./x.py test --stage 1 so you don't have to wait for azure to report the errors to you

That would make too much sense

@clarfon clarfon force-pushed the clarfon:moo branch from c6454b6 to 5c8973d Oct 8, 2019
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Oct 9, 2019

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

Click to expand the log.
2019-10-08T23:07:15.7294305Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-08T23:07:15.7517100Z ##[command]git config gc.auto 0
2019-10-08T23:07:15.7613414Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-08T23:07:15.7698181Z ##[command]git config --get-all http.proxy
2019-10-08T23:07:15.7871469Z ##[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/65144/merge:refs/remotes/pull/65144/merge
---
2019-10-09T00:12:55.2357537Z .................................................................................................... 1600/9127
2019-10-09T00:13:03.5259004Z .................................................................................................... 1700/9127
2019-10-09T00:13:15.2887012Z ................i...............i................................................................... 1800/9127
2019-10-09T00:13:23.0083890Z .................................................................................................... 1900/9127
2019-10-09T00:13:40.8012726Z .......iiiii........................................................................................ 2000/9127
2019-10-09T00:13:51.3393278Z .................................................................................................... 2200/9127
2019-10-09T00:13:54.1764301Z .................................................................................................... 2300/9127
2019-10-09T00:14:00.3523370Z .................................................................................................... 2400/9127
2019-10-09T00:14:06.9472951Z .................................................................................................... 2500/9127
---
2019-10-09T00:17:12.7218680Z ................................................................................................i... 4700/9127
2019-10-09T00:17:20.5261005Z ............i....................................................................................... 4800/9127
2019-10-09T00:17:32.4309346Z .................................................................................................... 4900/9127
2019-10-09T00:17:38.4900630Z .................................................................................................... 5000/9127
2019-10-09T00:17:51.1908269Z ..........................................................................................ii.ii..... 5100/9127
2019-10-09T00:18:01.7158147Z .................................................................................................... 5300/9127
2019-10-09T00:18:12.0837575Z .................................................................................................... 5400/9127
2019-10-09T00:18:19.7187233Z ........................................................i........................................... 5500/9127
2019-10-09T00:18:27.3442446Z .................................................................................................... 5600/9127
2019-10-09T00:18:27.3442446Z .................................................................................................... 5600/9127
2019-10-09T00:18:36.0557354Z .................................................................................................... 5700/9127
2019-10-09T00:18:47.7983363Z .....................................................ii...i..ii...........i......................... 5800/9127
2019-10-09T00:19:15.2295243Z .................................................................................................... 6000/9127
2019-10-09T00:19:25.0252107Z .................................................................................................... 6100/9127
2019-10-09T00:19:25.0252107Z .................................................................................................... 6100/9127
2019-10-09T00:19:36.2929129Z ...........................................................i..ii.................................... 6200/9127
2019-10-09T00:20:05.6316099Z .................................................................................................... 6400/9127
2019-10-09T00:20:07.8936438Z ...................i................................................................................ 6500/9127
2019-10-09T00:20:10.2725729Z ............................................................................................i....... 6600/9127
2019-10-09T00:20:13.2472168Z .................................................................................................... 6700/9127
---
2019-10-09T00:25:06.8526980Z  finished in 5.816
2019-10-09T00:25:06.8730720Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:25:07.0419510Z 
2019-10-09T00:25:07.0419777Z running 150 tests
2019-10-09T00:25:10.5720998Z i....iii......iii..iiii....i.............................i..i..................i....i.........ii.i.i 100/150
2019-10-09T00:25:12.6907119Z ..iiii..............i.........iii.i.......ii......
2019-10-09T00:25:12.6907585Z 
2019-10-09T00:25:12.6911923Z  finished in 5.818
2019-10-09T00:25:12.7105780Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:25:12.8748287Z 
---
2019-10-09T00:25:15.0601803Z  finished in 2.349
2019-10-09T00:25:15.0785253Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:25:15.2406808Z 
2019-10-09T00:25:15.2407095Z running 9 tests
2019-10-09T00:25:15.2408061Z iiiiiiiii
2019-10-09T00:25:15.2408471Z 
2019-10-09T00:25:15.2414677Z  finished in 0.163
2019-10-09T00:25:15.2627352Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:25:15.4340768Z 
---
2019-10-09T00:25:34.6835357Z  finished in 19.420
2019-10-09T00:25:34.7060890Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:25:34.8684828Z 
2019-10-09T00:25:34.8685621Z running 123 tests
2019-10-09T00:26:01.6469646Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-09T00:26:06.7931908Z i.i.i......iii.i.....ii
2019-10-09T00:26:06.7933997Z 
2019-10-09T00:26:06.7938814Z  finished in 32.088
2019-10-09T00:26:06.7948794Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:26:06.7952277Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-09T00:40:17.7038180Z 
2019-10-09T00:40:17.7039215Z    Doc-tests core
2019-10-09T00:40:23.1798882Z 
2019-10-09T00:40:23.1804273Z running 2405 tests
2019-10-09T00:40:35.5166381Z ......iiiii......................................................................................... 100/2405
2019-10-09T00:40:47.4008865Z ...............................................................................ii................... 200/2405
2019-10-09T00:41:15.6235946Z .i.................................................................................................. 400/2405
2019-10-09T00:41:15.6235946Z .i.................................................................................................. 400/2405
2019-10-09T00:41:27.5185574Z ................................................i..i.................iiii........................... 500/2405
2019-10-09T00:41:50.0817484Z .................................................................................................... 700/2405
2019-10-09T00:42:01.5164029Z .................................................................................................... 800/2405
2019-10-09T00:42:13.2213287Z .................................................................................................... 900/2405
2019-10-09T00:42:24.9196319Z .................................................................................................... 1000/2405
---
2019-10-09T00:46:55.6665811Z ........................ 700/763
2019-10-09T00:46:55.6770539Z ...................................thread '<unnamed>' panicked at 'explicit panic', src/libstd/thread/mod.rs:1532:13
2019-10-09T00:46:56.2855003Z ............thread '<unnamed>' panicked at 'Box<Any>', src/libstd/thread/mod.rs:1664:13
2019-10-09T00:46:56.2865698Z thread '<unnamed>' panicked at 'owned string', src/libstd/thread/mod.rs:1650:13
2019-10-09T00:46:56.2866091Z thread '..<unnamed>' panicked at 'static string', src/libstd/thread/mod.rs:1636:13
2019-10-09T00:46:56.2872915Z .thread '<unnamed>' panicked at 'Box<Any>', src/libstd/thread/mod.rs:1682:13
2019-10-09T00:47:01.7851362Z test result: ok. 763 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
2019-10-09T00:47:01.7851574Z 
2019-10-09T00:47:01.7862426Z      Running build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/env-6be2a9172d78f818
2019-10-09T00:47:01.7896311Z 
---
2019-10-09T00:47:03.1819889Z 
2019-10-09T00:47:03.1841281Z running 992 tests
2019-10-09T00:47:27.6144855Z i................................................................................................... 100/992
2019-10-09T00:47:40.6161665Z .................................................................................................... 200/992
2019-10-09T00:47:49.8386845Z .................iii......i......i...i......i....................................................... 300/992
2019-10-09T00:47:56.2800979Z .................................................................................................... 400/992
2019-10-09T00:48:04.9845433Z ...................................i..i.................................ii.......................... 500/992
2019-10-09T00:48:21.8459125Z .................................................................................................... 700/992
2019-10-09T00:48:21.8459125Z .................................................................................................... 700/992
2019-10-09T00:48:31.1203314Z ..................iiii.............................................................................. 800/992
2019-10-09T00:48:48.0111756Z .................................................................................................... 900/992
2019-10-09T00:48:56.5202745Z ........................................iiii................................................
2019-10-09T00:48:56.5206453Z 
2019-10-09T00:48:56.5330762Z  finished in 216.073
2019-10-09T00:48:56.5351091Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-09T00:48:56.7695819Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-10-09T01:03:39.1013893Z     Checking core v0.0.0 (/checkout/src/libcore)
2019-10-09T01:03:59.3232909Z     Checking rustc-std-workspace-core v1.99.0 (/checkout/src/tools/rustc-std-workspace-core)
2019-10-09T01:03:59.3597194Z     Checking compiler_builtins v0.1.18
2019-10-09T01:04:00.4375605Z  Documenting alloc v0.0.0 (/checkout/src/liballoc)
2019-10-09T01:04:03.1213137Z error: `[to_mut]` cannot be resolved, ignoring it...
2019-10-09T01:04:03.1214265Z    --> src/liballoc/borrow.rs:210:56
2019-10-09T01:04:03.1215410Z     |
2019-10-09T01:04:03.1216143Z 210 |     /// Returns true if the data is borrowed, i.e. if [`to_mut`] would require additional work.
2019-10-09T01:04:03.1217306Z     |
2019-10-09T01:04:03.1218515Z note: lint level defined here
2019-10-09T01:04:03.1219298Z    --> src/liballoc/lib.rs:70:9
2019-10-09T01:04:03.1219764Z     |
2019-10-09T01:04:03.1219764Z     |
2019-10-09T01:04:03.1220358Z 70  | #![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings
2019-10-09T01:04:03.1221832Z     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-10-09T01:04:03.1222045Z 
2019-10-09T01:04:03.1222045Z 
2019-10-09T01:04:03.1222509Z error: `[to_mut]` cannot be resolved, ignoring it...
2019-10-09T01:04:03.1223017Z    --> src/liballoc/borrow.rs:232:53
2019-10-09T01:04:03.1223489Z     |
2019-10-09T01:04:03.1224062Z 232 |     /// Returns true if the data is owned, i.e. if [`to_mut`] would be a no-op.
2019-10-09T01:04:03.1225140Z     |
2019-10-09T01:04:03.1225700Z     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-10-09T01:04:03.1225913Z 
2019-10-09T01:04:03.2671067Z error: aborting due to 2 previous errors
2019-10-09T01:04:03.2671067Z error: aborting due to 2 previous errors
2019-10-09T01:04:03.2672280Z 
2019-10-09T01:04:03.2917499Z error: Could not document `alloc`.
2019-10-09T01:04:03.2918116Z 
2019-10-09T01:04:03.2918453Z Caused by:
2019-10-09T01:04:03.2920028Z   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustdoc --edition=2018 --crate-type lib --crate-name alloc src/liballoc/lib.rs --target x86_64-unknown-linux-gnu -o /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc --cfg 'feature="compiler-builtins-c"' --color always --markdown-css rust.css --markdown-no-toc --generate-redirect-pages --resource-suffix 1.40.0 --index-page /checkout/src/doc/index.md -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-3a009331d0964bed.rmeta --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-67faf12ddd846db2.rmeta` (exit code: 1)
2019-10-09T01:04:03.2934418Z 
2019-10-09T01:04:03.2934418Z 
2019-10-09T01:04:03.2935474Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustdoc" "-Zconfig-profile" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "2" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/checkout/src/libtest/Cargo.toml" "-Z" "unstable-options" "-p" "alloc" "--" "--markdown-css" "rust.css" "--markdown-no-toc" "--generate-redirect-pages" "--resource-suffix" "1.40.0" "--index-page" "/checkout/src/doc/index.md"
2019-10-09T01:04:03.2935658Z 
2019-10-09T01:04:03.2935691Z 
2019-10-09T01:04:03.2939236Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-10-09T01:04:03.2939952Z Build completed unsuccessfully in 1:49:16
2019-10-09T01:04:03.2939952Z Build completed unsuccessfully in 1:49:16
2019-10-09T01:04:03.3002061Z == clock drift check ==
2019-10-09T01:04:03.3041582Z   local time: Wed Oct  9 01:04:03 UTC 2019
2019-10-09T01:04:03.4488724Z   network time: Wed, 09 Oct 2019 01:04:03 GMT
2019-10-09T01:04:03.4489126Z == end clock drift check ==
2019-10-09T01:04:06.1655139Z ##[error]Bash exited with code '1'.
2019-10-09T01:04:06.1698400Z ##[section]Starting: Checkout
2019-10-09T01:04:06.1700944Z ==============================================================================
2019-10-09T01:04:06.1701008Z Task         : Get sources
2019-10-09T01:04:06.1701061Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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

@hellow554

This comment has been minimized.

Copy link
Contributor

hellow554 commented Oct 9, 2019

@clarfon you don't like the suggestion: let cow: Cow<str> = Cow::Owned("moo".to_string());? It's okay, just wanted to make sure, that you skipped it ;)

you need to add #![feature(cow_is_borrowed)] to

#![feature(associated_type_bounds)]

@clarfon

This comment has been minimized.

Copy link
Contributor Author

clarfon commented Oct 11, 2019

Thank you for the comment about the feature flag. I was just convinced that intra-doc links were broken again ><

@clarfon clarfon force-pushed the clarfon:moo branch from 5c8973d to 024f8fb Oct 11, 2019
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Oct 11, 2019

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

Click to expand the log.
2019-10-11T01:37:31.8691866Z ##[command]git remote add origin https://github.com/rust-lang/rust
2019-10-11T01:37:31.8781292Z ##[command]git config gc.auto 0
2019-10-11T01:37:31.8866278Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2019-10-11T01:37:31.8928903Z ##[command]git config --get-all http.proxy
2019-10-11T01:37:31.9079461Z ##[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/65144/merge:refs/remotes/pull/65144/merge
---
2019-10-11T02:40:16.7482987Z .................................................................................................... 1600/9146
2019-10-11T02:40:24.6635592Z .................................................................................................... 1700/9146
2019-10-11T02:40:37.0849153Z .................i...............i.................................................................. 1800/9146
2019-10-11T02:40:44.6967352Z .................................................................................................... 1900/9146
2019-10-11T02:41:00.8123242Z ........iiiii....................................................................................... 2000/9146
2019-10-11T02:41:11.4582519Z .................................................................................................... 2200/9146
2019-10-11T02:41:14.2753097Z .................................................................................................... 2300/9146
2019-10-11T02:41:20.4317874Z .................................................................................................... 2400/9146
2019-10-11T02:41:27.1446367Z .................................................................................................... 2500/9146
---
2019-10-11T02:44:34.6634434Z .................................................................................................... 4700/9146
2019-10-11T02:44:42.4898668Z .i...............i.................................................................................. 4800/9146
2019-10-11T02:44:54.2224919Z .................................................................................................... 4900/9146
2019-10-11T02:45:00.1847671Z .................................................................................................... 5000/9146
2019-10-11T02:45:12.1998076Z ...............................................................................................ii.ii 5100/9146
2019-10-11T02:45:23.4733424Z .................................................................................................... 5300/9146
2019-10-11T02:45:33.8953570Z .................................................................................................... 5400/9146
2019-10-11T02:45:41.1430938Z .............................................................i...................................... 5500/9146
2019-10-11T02:45:48.9501391Z .................................................................................................... 5600/9146
2019-10-11T02:45:48.9501391Z .................................................................................................... 5600/9146
2019-10-11T02:45:56.8210191Z .................................................................................................... 5700/9146
2019-10-11T02:46:07.6655421Z ..........................................................ii...i..ii...........i.................... 5800/9146
2019-10-11T02:46:34.7703631Z .................................................................................................... 6000/9146
2019-10-11T02:46:44.5269053Z .................................................................................................... 6100/9146
2019-10-11T02:46:44.5269053Z .................................................................................................... 6100/9146
2019-10-11T02:46:54.3475928Z ................................................................i..ii............................... 6200/9146
2019-10-11T02:47:25.0387682Z .................................................................................................... 6400/9146
2019-10-11T02:47:27.3413783Z ........................i........................................................................... 6500/9146
2019-10-11T02:47:29.7523384Z .................................................................................................i.. 6600/9146
2019-10-11T02:47:32.7039471Z .................................................................................................... 6700/9146
---
2019-10-11T02:52:27.9974044Z  finished in 5.853
2019-10-11T02:52:28.0172053Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T02:52:28.1888487Z 
2019-10-11T02:52:28.1888941Z running 153 tests
2019-10-11T02:52:31.7276139Z i....iii......iii..iiii....i.............................i..i..................i....i............ii. 100/153
2019-10-11T02:52:33.8514011Z i.i..iiii..............i.........iii.i.......ii......
2019-10-11T02:52:33.8514500Z 
2019-10-11T02:52:33.8514630Z  finished in 5.834
2019-10-11T02:52:33.8713623Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T02:52:34.0344771Z 
---
2019-10-11T02:52:36.3100753Z  finished in 2.438
2019-10-11T02:52:36.3319298Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T02:52:36.5134859Z 
2019-10-11T02:52:36.5135097Z running 9 tests
2019-10-11T02:52:36.5136100Z iiiiiiiii
2019-10-11T02:52:36.5136766Z 
2019-10-11T02:52:36.5136808Z  finished in 0.181
2019-10-11T02:52:36.5351477Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T02:52:36.7085403Z 
---
2019-10-11T02:52:55.9683412Z  finished in 19.433
2019-10-11T02:52:55.9909757Z Check compiletest suite=debuginfo mode=debuginfo-gdb+lldb (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T02:52:56.1656375Z 
2019-10-11T02:52:56.1657810Z running 123 tests
2019-10-11T02:53:22.1390465Z .iiiii...i.....i..i...i..i.i.i..i.ii..i.i.....i..i....ii..........iiii..........i...ii...i.......ii. 100/123
2019-10-11T02:53:27.1587236Z i.i.i......iii.i.....ii
2019-10-11T02:53:27.1590653Z 
2019-10-11T02:53:27.1591906Z  finished in 31.168
2019-10-11T02:53:27.1599335Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T02:53:27.1600563Z Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2019-10-11T03:07:10.1521003Z 
2019-10-11T03:07:10.1531403Z    Doc-tests core
2019-10-11T03:07:15.5054515Z 
2019-10-11T03:07:15.5055700Z running 2405 tests
2019-10-11T03:07:27.9463475Z ......iiiii......................................................................................... 100/2405
2019-10-11T03:07:40.2634134Z ...............................................................................ii................... 200/2405
2019-10-11T03:08:08.5675902Z .i.................................................................................................. 400/2405
2019-10-11T03:08:08.5675902Z .i.................................................................................................. 400/2405
2019-10-11T03:08:20.2667059Z ................................................i..i.................iiii........................... 500/2405
2019-10-11T03:08:42.8986533Z .................................................................................................... 700/2405
2019-10-11T03:08:54.3640707Z .................................................................................................... 800/2405
2019-10-11T03:09:05.8254808Z .................................................................................................... 900/2405
2019-10-11T03:09:17.8137982Z .................................................................................................... 1000/2405
---
2019-10-11T03:13:51.0324333Z 
2019-10-11T03:13:51.0349114Z running 994 tests
2019-10-11T03:14:14.2385235Z i................................................................................................... 100/994
2019-10-11T03:14:27.2063730Z .................................................................................................... 200/994
2019-10-11T03:14:36.6499708Z ...................iii......i......i...i......i..................................................... 300/994
2019-10-11T03:14:42.9359885Z .................................................................................................... 400/994
2019-10-11T03:14:51.5354301Z .....................................i..i.................................ii........................ 500/994
2019-10-11T03:15:08.1760234Z .................................................................................................... 700/994
2019-10-11T03:15:08.1760234Z .................................................................................................... 700/994
2019-10-11T03:15:17.1813486Z ....................iiii............................................................................ 800/994
2019-10-11T03:15:33.6341936Z .................................................................................................... 900/994
2019-10-11T03:15:42.2293564Z ..........................................iiii................................................
2019-10-11T03:15:42.2293727Z 
2019-10-11T03:15:42.2333511Z  finished in 209.734
2019-10-11T03:15:42.2350129Z Testing term stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2019-10-11T03:15:42.4538567Z    Compiling term v0.0.0 (/checkout/src/libterm)
---
2019-10-11T03:30:02.8652593Z     Checking core v0.0.0 (/checkout/src/libcore)
2019-10-11T03:30:22.9377528Z     Checking rustc-std-workspace-core v1.99.0 (/checkout/src/tools/rustc-std-workspace-core)
2019-10-11T03:30:22.9735909Z     Checking compiler_builtins v0.1.18
2019-10-11T03:30:24.0626180Z  Documenting alloc v0.0.0 (/checkout/src/liballoc)
2019-10-11T03:30:26.4846594Z error: `[to_mut]` cannot be resolved, ignoring it...
2019-10-11T03:30:26.4850283Z    --> src/liballoc/borrow.rs:210:56
2019-10-11T03:30:26.4851162Z     |
2019-10-11T03:30:26.4851807Z 210 |     /// Returns true if the data is borrowed, i.e. if [`to_mut`] would require additional work.
2019-10-11T03:30:26.4852848Z     |
2019-10-11T03:30:26.4853305Z note: lint level defined here
2019-10-11T03:30:26.4853939Z    --> src/liballoc/lib.rs:70:9
2019-10-11T03:30:26.4855028Z     |
2019-10-11T03:30:26.4855028Z     |
2019-10-11T03:30:26.4856308Z 70  | #![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings
2019-10-11T03:30:26.4857400Z     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-10-11T03:30:26.4857560Z 
2019-10-11T03:30:26.4857560Z 
2019-10-11T03:30:26.4857973Z error: `[to_mut]` cannot be resolved, ignoring it...
2019-10-11T03:30:26.4858386Z    --> src/liballoc/borrow.rs:232:53
2019-10-11T03:30:26.4859007Z     |
2019-10-11T03:30:26.4859856Z 232 |     /// Returns true if the data is owned, i.e. if [`to_mut`] would be a no-op.
2019-10-11T03:30:26.4860642Z     |
2019-10-11T03:30:26.4861049Z     = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-10-11T03:30:26.4861190Z 
2019-10-11T03:30:26.6326478Z error: aborting due to 2 previous errors
2019-10-11T03:30:26.6326478Z error: aborting due to 2 previous errors
2019-10-11T03:30:26.6326578Z 
2019-10-11T03:30:26.6577825Z error: Could not document `alloc`.
2019-10-11T03:30:26.6577938Z 
2019-10-11T03:30:26.6578051Z Caused by:
2019-10-11T03:30:26.6579270Z   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustdoc --edition=2018 --crate-type lib --crate-name alloc src/liballoc/lib.rs --target x86_64-unknown-linux-gnu -o /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/doc --cfg 'feature="compiler-builtins-c"' --color always --markdown-css rust.css --markdown-no-toc --generate-redirect-pages --resource-suffix 1.40.0 --index-page /checkout/src/doc/index.md -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-3a009331d0964bed.rmeta --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-67faf12ddd846db2.rmeta` (exit code: 1)
2019-10-11T03:30:26.6597163Z 
2019-10-11T03:30:26.6597163Z 
2019-10-11T03:30:26.6598147Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "rustdoc" "-Zconfig-profile" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "2" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/checkout/src/libtest/Cargo.toml" "-Z" "unstable-options" "-p" "alloc" "--" "--markdown-css" "rust.css" "--markdown-no-toc" "--generate-redirect-pages" "--resource-suffix" "1.40.0" "--index-page" "/checkout/src/doc/index.md"
2019-10-11T03:30:26.6598312Z 
2019-10-11T03:30:26.6598343Z 
2019-10-11T03:30:26.6609763Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
2019-10-11T03:30:26.6609827Z Build completed unsuccessfully in 1:46:30
2019-10-11T03:30:26.6609827Z Build completed unsuccessfully in 1:46:30
2019-10-11T03:30:26.6672713Z == clock drift check ==
2019-10-11T03:30:26.6690545Z   local time: Fri Oct 11 03:30:26 UTC 2019
2019-10-11T03:30:26.7689841Z   network time: Fri, 11 Oct 2019 03:30:26 GMT
2019-10-11T03:30:26.7693782Z == end clock drift check ==
2019-10-11T03:30:28.1907343Z ##[error]Bash exited with code '1'.
2019-10-11T03:30:28.1963696Z ##[section]Starting: Checkout
2019-10-11T03:30:28.1965710Z ==============================================================================
2019-10-11T03:30:28.1965783Z Task         : Get sources
2019-10-11T03:30:28.1965827Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.

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

@ProgrammaticNajel

This comment has been minimized.

Copy link

ProgrammaticNajel commented Oct 18, 2019

Ping from triage. @TimNN can you please review this PR? Thanks.

@clarfon clarfon force-pushed the clarfon:moo branch from 024f8fb to eeb549b Oct 22, 2019
@clarfon

This comment has been minimized.

Copy link
Contributor Author

clarfon commented Oct 22, 2019

Removed the links on to_mut because the rest of the module doesn't seem to use them. Will resolve the warnings.

@hellow554

This comment has been minimized.

Copy link
Contributor

hellow554 commented Oct 23, 2019

@ProgrammaticNajel TimNN seems to be not available. Can you reassign it please?

@lzutao

This comment has been minimized.

Copy link
Contributor

lzutao commented Oct 23, 2019

@sfackler

This comment has been minimized.

Copy link
Member

sfackler commented Oct 23, 2019

@bors r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Oct 23, 2019

📌 Commit eeb549b has been approved by sfackler

Centril added a commit to Centril/rust that referenced this pull request Oct 23, 2019
Add Cow::is_borrowed and Cow::is_owned

Implements rust-lang#65143.
bors added a commit that referenced this pull request Oct 23, 2019
Rollup of 9 pull requests

Successful merges:

 - #65144 (Add Cow::is_borrowed and Cow::is_owned)
 - #65193 (Lockless LintStore)
 - #65583 (rustc_metadata: use a table for super_predicates, fn_sig, impl_trait_ref.)
 - #65641 (Derive `Rustc{En,De}codable` for `TokenStream`.)
 - #65648 (Eliminate `intersect_opt`.)
 - #65657 (Remove `InternedString`)
 - #65666 (Deprecated proc_macro doesn't trigger warning on build library)
 - #65691 (Update E0659 error code long explanation to 2018 edition)
 - #65704 (relax ExactSizeIterator bound on write_bytes)

Failed merges:

 - #65625 (Turn crate store into a resolver output)

r? @ghost
Centril added a commit to Centril/rust that referenced this pull request Oct 23, 2019
Add Cow::is_borrowed and Cow::is_owned

Implements rust-lang#65143.
bors added a commit that referenced this pull request Oct 23, 2019
Rollup of 12 pull requests

Successful merges:

 - #64178 (More Clippy fixes for alloc, core and std)
 - #65144 (Add Cow::is_borrowed and Cow::is_owned)
 - #65193 (Lockless LintStore)
 - #65479 (Add the `matches!( $expr, $pat ) -> bool` macro)
 - #65518 (Avoid ICE when checking `Destination` of `break` inside a closure)
 - #65583 (rustc_metadata: use a table for super_predicates, fn_sig, impl_trait_ref.)
 - #65641 (Derive `Rustc{En,De}codable` for `TokenStream`.)
 - #65648 (Eliminate `intersect_opt`.)
 - #65657 (Remove `InternedString`)
 - #65691 (Update E0659 error code long explanation to 2018 edition)
 - #65696 (Fix an issue with const inference variables sticking around under Chalk + NLL)
 - #65704 (relax ExactSizeIterator bound on write_bytes)

Failed merges:

r? @ghost
bors added a commit that referenced this pull request Oct 24, 2019
Rollup of 12 pull requests

Successful merges:

 - #64178 (More Clippy fixes for alloc, core and std)
 - #65144 (Add Cow::is_borrowed and Cow::is_owned)
 - #65193 (Lockless LintStore)
 - #65479 (Add the `matches!( $expr, $pat ) -> bool` macro)
 - #65518 (Avoid ICE when checking `Destination` of `break` inside a closure)
 - #65583 (rustc_metadata: use a table for super_predicates, fn_sig, impl_trait_ref.)
 - #65641 (Derive `Rustc{En,De}codable` for `TokenStream`.)
 - #65648 (Eliminate `intersect_opt`.)
 - #65657 (Remove `InternedString`)
 - #65691 (Update E0659 error code long explanation to 2018 edition)
 - #65696 (Fix an issue with const inference variables sticking around under Chalk + NLL)
 - #65704 (relax ExactSizeIterator bound on write_bytes)

Failed merges:

r? @ghost
@bors bors merged commit eeb549b into rust-lang:master Oct 24, 2019
4 checks passed
4 checks passed
pr Build #20191022.103 succeeded
Details
pr (Linux mingw-check) Linux mingw-check succeeded
Details
pr (Linux x86_64-gnu-llvm-6.0) Linux x86_64-gnu-llvm-6.0 succeeded
Details
pr (LinuxTools) LinuxTools succeeded
Details
@clarfon clarfon deleted the clarfon:moo branch Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.