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

Rollup of 9 pull requests #63112

Closed
wants to merge 24 commits into from
Closed

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Jul 29, 2019

Successful merges:

Failed merges:

r? @ghost

phil-opp and others added 24 commits June 19, 2019 18:46
The `align_offset` method returns an `usize`, so using `add` makes more sense than using `offset`, which takes an `isize`.
Fixes rust-lang#52632

Existential types (soon to be 'impl trait' aliases) can either be
delcared at a top-level crate/module scope, or within another item such
as an fn. Previously, we were handling the second case incorrectly when
recursively searching for defining usages - we would check children of
the item, but not the item itself. This lead to us missing closures
that consituted a defining use of the existential type, as their opaque
type instantiations are stored in the TypeckTables of their parent
function.

This commit ensures that we explicitly visit the defining item itself,
not just its children.
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
In testing 4-core machines on Azure the `realpath_works_tricky` test in
the standard library is failing with "The directory name is invalid". In
attempting to debug this test I was able to reproduce the failure
locally on my machine, and after inspecing the test it I believe is
exploiting Unix-specific behavior that seems to only sometimes work on
Windows. Specifically the test basically executes:

    mkdir -p a/b
    mkdir -p a/d
    touch a/f
    ln -s a/b/c ../d/e
    ln -s a/d/e ../f

and then asserts that `canonicalize("a/b/c")` and
`canonicalize("a/d/e")` are equivalent to `a/f`. On Windows however the
first symlink is a "directory symlink" and the second is a file symlink.
In both cases, though, they're pointing to files. This means that for
whatever reason locally and on the 4-core environment the call to
`canonicalize` is failing. On Azure today it seems to be passing, and
I'm not entirely sure why. I'm sort of presuming that there's some sort
of internals going on here where there's some global Windows setting
which makes symlinks behavior more unix-like and ignore the directory
hint.

In any case this should keep the test working and also fixes the test
locally for me.
Remove mentions of removed `offset_to` method from `align_offset` docs

The `offset_to` method was deleted in rust-lang#52814.

The replacement for the removed method is `wrapping_offset_from`. However, neither method takes an `usize` as argument, so I don't think that it makes sense to mention them.
Remove derives `Encodable`/`Decodable` and unstabilize attribute `#[bench]`

`Encodable` and `Decodable` were deprecated before 1.0 and emitted an unsuppressable warning all this time.
`#[bench]` is a part of the custom test framework feature and cannot be used meaningfully on stable, only as `cfg(false)`.

Crater results can be found in rust-lang#62507 (comment) and below.

This PR also reroutes the tracking issue for `feature(test)` from rust-lang#27812 (compiler internals) to rust-lang#50297 (custom test frameworks).

Closes rust-lang#62048
…ead, r=estebank

Syntax: Recover on `for ( $pat in $expr ) $block`

Fixes rust-lang#62724 by adding some recovery:

```
error: unexpected closing `)`
  --> $DIR/recover-for-loop-parens-around-head.rs:10:23
   |
LL |     for ( elem in vec ) {
   |         --------------^
   |         |
   |         opening `(`
   |         help: remove parenthesis in `for` loop: `elem in vec`
```

The last 2 commits are drive-by cleanups.

r? @estebank
…hton

Impl Debug for Chars

Closes rust-lang#62947, making `Debug` more consistent with the struct's output and purpose

Let me know any feedback!
…r=cramertj

Properly check the defining scope of existential types

Fixes rust-lang#52632

Existential types (soon to be 'impl trait' aliases) can either be
delcared at a top-level crate/module scope, or within another item such
as an fn. Previously, we were handling the second case incorrectly when
recursively searching for defining usages - we would check children of
the item, but not the item itself. This lead to us missing closures
that consituted a defining use of the existential type, as their opaque
type instantiations are stored in the TypeckTables of their parent
function.

This commit ensures that we explicitly visit the defining item itself,
not just its children.
vxworks: Remove Linux-specific comments.

It looks like the VxWorks fork inadvertently left in some Linux-specific workaround comments in `libstd`, these can be removed. Came up when looking into rust-lang#62516

CC:  @BaoshanPang
…t, r=sfackler

std: Fix a failing `fs` test on Windows

In testing 4-core machines on Azure the `realpath_works_tricky` test in
the standard library is failing with "The directory name is invalid". In
attempting to debug this test I was able to reproduce the failure
locally on my machine, and after inspecing the test it I believe is
exploiting Unix-specific behavior that seems to only sometimes work on
Windows. Specifically the test basically executes:

    mkdir -p a/b
    mkdir -p a/d
    touch a/f
    ln -s a/b/c ../d/e
    ln -s a/d/e ../f

and then asserts that `canonicalize("a/b/c")` and
`canonicalize("a/d/e")` are equivalent to `a/f`. On Windows however the
first symlink is a "directory symlink" and the second is a file symlink.
In both cases, though, they're pointing to files. This means that for
whatever reason locally and on the 4-core environment the call to
`canonicalize` is failing. On Azure today it seems to be passing, and
I'm not entirely sure why. I'm sort of presuming that there's some sort
of internals going on here where there's some global Windows setting
which makes symlinks behavior more unix-like and ignore the directory
hint.

In any case this should keep the test working and also fixes the test
locally for me. It's also worth pointing out that this test was made Windows compatible in rust-lang#31360, a pretty ancient PR at this point.
@Centril
Copy link
Contributor Author

Centril commented Jul 29, 2019

@bors r+ rollup=never p=9

@bors
Copy link
Contributor

bors commented Jul 29, 2019

📌 Commit 2c54921 has been approved by Centril

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jul 29, 2019
@bors
Copy link
Contributor

bors commented Jul 29, 2019

⌛ Testing commit 2c54921 with merge db5aca697174797cdedea7935a90917d38affcfd...

@bors
Copy link
Contributor

bors commented Jul 29, 2019

💔 Test failed - checks-azure

@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-aux of your PR failed (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-07-29T21:38:52.1867088Z do so (now or later) by using -b with the checkout command again. Example:
2019-07-29T21:38:52.1867139Z 
2019-07-29T21:38:52.1867356Z   git checkout -b <new-branch-name>
2019-07-29T21:38:52.1867393Z 
2019-07-29T21:38:52.1867637Z HEAD is now at db5aca697 Auto merge of #63112 - Centril:rollup-kjgv7ak, r=Centril
2019-07-29T21:38:52.2105356Z ##[section]Starting: Collect CPU-usage statistics in the background
2019-07-29T21:38:52.2108149Z ==============================================================================
2019-07-29T21:38:52.2108226Z Task         : Bash
2019-07-29T21:38:52.2108944Z Description  : Run a Bash script on macOS, Linux, or Windows
---
2019-07-29T23:39:05.2675366Z test workspaces::ws_warn_unused ... ok
2019-07-29T23:39:05.2682222Z 
2019-07-29T23:39:05.2682373Z failures:
2019-07-29T23:39:05.2682413Z 
2019-07-29T23:39:05.2683160Z ---- bench::bench_bench_implicit stdout ----
2019-07-29T23:39:05.2683544Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench --benches`
2019-07-29T23:39:05.2683861Z thread 'bench::bench_bench_implicit' panicked at '
2019-07-29T23:39:05.2683942Z Expected: execs
2019-07-29T23:39:05.2684025Z     but: exited with exit code: 101
2019-07-29T23:39:05.2684248Z --- stdout
2019-07-29T23:39:05.2684513Z --- stderr
2019-07-29T23:39:05.2684513Z --- stderr
2019-07-29T23:39:05.2684885Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t126/foo)
2019-07-29T23:39:05.2685421Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2685712Z   |
2019-07-29T23:39:05.2685712Z   |
2019-07-29T23:39:05.2685789Z 5 |             #[bench] fn run1(_ben: &mut test::Bencher) { }
2019-07-29T23:39:05.2686092Z   |
2019-07-29T23:39:05.2686340Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2686340Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2686608Z   = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2686715Z error: aborting due to previous error
2019-07-29T23:39:05.2686751Z 
2019-07-29T23:39:05.2687141Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2687220Z error: Could not compile `foo`.
2019-07-29T23:39:05.2687220Z error: Could not compile `foo`.
2019-07-29T23:39:05.2687277Z warning: build failed, waiting for other jobs to finish...
2019-07-29T23:39:05.2687356Z error: build failed
2019-07-29T23:39:05.2687571Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2687656Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
2019-07-29T23:39:05.2687697Z 
2019-07-29T23:39:05.2687896Z ---- bench::bench_dylib stdout ----
2019-07-29T23:39:05.2688157Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench -v`
2019-07-29T23:39:05.2688601Z thread 'bench::bench_dylib' panicked at '
2019-07-29T23:39:05.2688657Z Expected: execs
2019-07-29T23:39:05.2688724Z     but: exited with exit code: 101
2019-07-29T23:39:05.2688896Z --- stdout
2019-07-29T23:39:05.2689105Z --- stderr
2019-07-29T23:39:05.2689105Z --- stderr
2019-07-29T23:39:05.2689390Z    Compiling bar v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/bar)
2019-07-29T23:39:05.2690063Z      Running `rustc --crate-name bar bar/src/lib.rs --color never --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=4f8d0978b3215d2f --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps`
2019-07-29T23:39:05.2690483Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo)
2019-07-29T23:39:05.2691190Z      Running `rustc --crate-name foo src/lib.rs --color never --crate-type dylib --emit=dep-info,link -C opt-level=3 -C metadata=4ee8a8298a9c578d --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps --extern bar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps/libbar.so`
2019-07-29T23:39:05.2692794Z      Running `rustc --crate-name foo src/lib.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=76646e16f6a2657e -C extra-filename=-76646e16f6a2657e --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps --extern bar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps/libbar.so`
2019-07-29T23:39:05.2693356Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2693700Z   |
2019-07-29T23:39:05.2693700Z   |
2019-07-29T23:39:05.2693760Z 9 |             #[bench]
2019-07-29T23:39:05.2693904Z   |
2019-07-29T23:39:05.2694222Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2694222Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2694318Z   = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2694448Z error: aborting due to previous error
2019-07-29T23:39:05.2694508Z 
2019-07-29T23:39:05.2694785Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2694892Z error: Could not compile `foo`.
2019-07-29T23:39:05.2694892Z error: Could not compile `foo`.
2019-07-29T23:39:05.2694936Z 
2019-07-29T23:39:05.2694994Z Caused by:
2019-07-29T23:39:05.2696176Z   process didn't exit successfully: `rustc --crate-name foo src/lib.rs --color never --crate-type dylib --emit=dep-info,link -C opt-level=3 -C metadata=4ee8a8298a9c578d --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps --extern bar=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t128/foo/target/release/deps/libbar.so` (exit code: 1)
2019-07-29T23:39:05.2696437Z error: build failed
2019-07-29T23:39:05.2696670Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2696808Z 
2019-07-29T23:39:05.2696808Z 
2019-07-29T23:39:05.2697048Z ---- bench::bench_with_deep_lib_dep stdout ----
2019-07-29T23:39:05.2697313Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench`
2019-07-29T23:39:05.2697553Z thread 'bench::bench_with_deep_lib_dep' panicked at '
2019-07-29T23:39:05.2697614Z Expected: execs
2019-07-29T23:39:05.2697680Z     but: exited with exit code: 101
2019-07-29T23:39:05.2697849Z --- stdout
2019-07-29T23:39:05.2698060Z --- stderr
2019-07-29T23:39:05.2698060Z --- stderr
2019-07-29T23:39:05.2698405Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t133/foo)
2019-07-29T23:39:05.2698721Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2699020Z  --> /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t133/foo/src/lib.rs:8:15
2019-07-29T23:39:05.2699092Z   |
2019-07-29T23:39:05.2699166Z 8 |             #[bench]
2019-07-29T23:39:05.2699285Z   |
2019-07-29T23:39:05.2699547Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2699547Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2699641Z   = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2699747Z error: aborting due to previous error
2019-07-29T23:39:05.2699784Z 
2019-07-29T23:39:05.2700017Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2700100Z error: Could not compile `foo`.
2019-07-29T23:39:05.2700100Z error: Could not compile `foo`.
2019-07-29T23:39:05.2700135Z 
2019-07-29T23:39:05.2700372Z To learn more, run the command again with --verbose.
2019-07-29T23:39:05.2700609Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2700668Z 
2019-07-29T23:39:05.2700869Z ---- bench::bench_with_examples stdout ----
2019-07-29T23:39:05.2701162Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench -v`
2019-07-29T23:39:05.2701409Z thread 'bench::bench_with_examples' panicked at '
2019-07-29T23:39:05.2701485Z Expected: execs
2019-07-29T23:39:05.2701719Z     but: exited with exit code: 101
2019-07-29T23:39:05.2702330Z --- stdout
2019-07-29T23:39:05.2702585Z --- stderr
2019-07-29T23:39:05.2702585Z --- stderr
2019-07-29T23:39:05.2702948Z    Compiling foo v6.6.6 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo)
2019-07-29T23:39:05.2703740Z      Running `rustc --crate-name foo src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=b952d6eb35de49af -C extra-filename=-b952d6eb35de49af --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo/target/release/deps`
2019-07-29T23:39:05.2704602Z      Running `rustc --crate-name foo src/lib.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=d9b3f2cf2ad0014b -C extra-filename=-d9b3f2cf2ad0014b --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo/target/release/deps`
2019-07-29T23:39:05.2705071Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2705435Z    |
2019-07-29T23:39:05.2705435Z    |
2019-07-29T23:39:05.2705662Z 14 |             #[bench]
2019-07-29T23:39:05.2705780Z    |
2019-07-29T23:39:05.2706210Z    = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2706210Z    = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2706285Z    = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2706487Z error: aborting due to previous error
2019-07-29T23:39:05.2706522Z 
2019-07-29T23:39:05.2706784Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2706847Z error: Could not compile `foo`.
2019-07-29T23:39:05.2706847Z error: Could not compile `foo`.
2019-07-29T23:39:05.2706879Z 
2019-07-29T23:39:05.2706940Z Caused by:
2019-07-29T23:39:05.2707620Z   process didn't exit successfully: `rustc --crate-name foo src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=b952d6eb35de49af -C extra-filename=-b952d6eb35de49af --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo/target/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t134/foo/target/release/deps` (exit code: 1)
2019-07-29T23:39:05.2707870Z error: build failed
2019-07-29T23:39:05.2708110Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2708177Z 
2019-07-29T23:39:05.2708177Z 
2019-07-29T23:39:05.2708369Z ---- bench::bench_with_lib_dep stdout ----
2019-07-29T23:39:05.2708644Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench`
2019-07-29T23:39:05.2708863Z thread 'bench::bench_with_lib_dep' panicked at '
2019-07-29T23:39:05.2708940Z Expected: execs
2019-07-29T23:39:05.2708988Z     but: exited with exit code: 101
2019-07-29T23:39:05.2709174Z --- stdout
2019-07-29T23:39:05.2709383Z --- stderr
2019-07-29T23:39:05.2709383Z --- stderr
2019-07-29T23:39:05.2709654Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t135/foo)
2019-07-29T23:39:05.2709955Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2710218Z    |
2019-07-29T23:39:05.2710218Z    |
2019-07-29T23:39:05.2710272Z 14 |             #[bench] fn lib_bench(_b: &mut test::Bencher) {}
2019-07-29T23:39:05.2711447Z    |
2019-07-29T23:39:05.2712361Z    = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2712361Z    = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2712463Z    = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2712598Z error: aborting due to previous error
2019-07-29T23:39:05.2712640Z 
2019-07-29T23:39:05.2713056Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2713154Z error: Could not compile `foo`.
2019-07-29T23:39:05.2713154Z error: Could not compile `foo`.
2019-07-29T23:39:05.2713241Z warning: build failed, waiting for other jobs to finish...
2019-07-29T23:39:05.2713331Z error: build failed
2019-07-29T23:39:05.2713604Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2713655Z 
2019-07-29T23:39:05.2714645Z ---- bench::external_bench_explicit stdout ----
2019-07-29T23:39:05.2715063Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench`
2019-07-29T23:39:05.2715394Z thread 'bench::external_bench_explicit' panicked at '
2019-07-29T23:39:05.2715470Z Expected: execs
2019-07-29T23:39:05.2715558Z     but: exited with exit code: 101
2019-07-29T23:39:05.2715918Z --- stdout
2019-07-29T23:39:05.2716135Z --- stderr
2019-07-29T23:39:05.2716135Z --- stderr
2019-07-29T23:39:05.2716426Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t141/foo)
2019-07-29T23:39:05.2716713Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2716995Z   |
2019-07-29T23:39:05.2716995Z   |
2019-07-29T23:39:05.2717061Z 7 |             #[bench]
2019-07-29T23:39:05.2717177Z   |
2019-07-29T23:39:05.2717413Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2717413Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2717507Z   = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2717748Z error: aborting due to previous error
2019-07-29T23:39:05.2717782Z 
2019-07-29T23:39:05.2718037Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2718118Z error: Could not compile `foo`.
2019-07-29T23:39:05.2718118Z error: Could not compile `foo`.
2019-07-29T23:39:05.2718177Z warning: build failed, waiting for other jobs to finish...
2019-07-29T23:39:05.2718250Z error: build failed
2019-07-29T23:39:05.2718477Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2718518Z 
2019-07-29T23:39:05.2718788Z ---- bench::external_bench_implicit stdout ----
2019-07-29T23:39:05.2719110Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench`
2019-07-29T23:39:05.2719335Z thread 'bench::external_bench_implicit' panicked at '
2019-07-29T23:39:05.2719411Z Expected: execs
2019-07-29T23:39:05.2719460Z     but: exited with exit code: 101
2019-07-29T23:39:05.2719663Z --- stdout
2019-07-29T23:39:05.2719877Z --- stderr
2019-07-29T23:39:05.2719877Z --- stderr
2019-07-29T23:39:05.2720147Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t142/foo)
2019-07-29T23:39:05.2720444Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2720715Z   |
2019-07-29T23:39:05.2720715Z   |
2019-07-29T23:39:05.2720761Z 8 |             #[bench]
2019-07-29T23:39:05.2720875Z   |
2019-07-29T23:39:05.2721129Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2721129Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2721204Z   = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2721309Z error: aborting due to previous error
2019-07-29T23:39:05.2721343Z 
2019-07-29T23:39:05.2722250Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2722351Z error: Could not compile `foo`.
2019-07-29T23:39:05.2722351Z error: Could not compile `foo`.
2019-07-29T23:39:05.2722474Z warning: build failed, waiting for other jobs to finish...
2019-07-29T23:39:05.2722547Z error: build failed
2019-07-29T23:39:05.2722875Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2724467Z 
2019-07-29T23:39:05.2724835Z ---- bench::lib_bin_same_name stdout ----
2019-07-29T23:39:05.2725173Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench`
2019-07-29T23:39:05.2725615Z thread 'bench::lib_bin_same_name' panicked at '
2019-07-29T23:39:05.2725686Z Expected: execs
2019-07-29T23:39:05.2725915Z     but: exited with exit code: 101
2019-07-29T23:39:05.2727635Z --- stdout
2019-07-29T23:39:05.2727937Z --- stderr
2019-07-29T23:39:05.2727937Z --- stderr
2019-07-29T23:39:05.2728505Z    Compiling foo v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t145/foo)
2019-07-29T23:39:05.2735015Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2735656Z   |
2019-07-29T23:39:05.2735656Z   |
2019-07-29T23:39:05.2735741Z 5 |             #[bench] fn lib_bench(_b: &mut test::Bencher) {}
2019-07-29T23:39:05.2735887Z   |
2019-07-29T23:39:05.2736166Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2736166Z   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2739136Z   = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2739295Z error: aborting due to previous error
2019-07-29T23:39:05.2739338Z 
2019-07-29T23:39:05.2739708Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2739978Z error: Could not compile `foo`.
2019-07-29T23:39:05.2739978Z error: Could not compile `foo`.
2019-07-29T23:39:05.2740053Z warning: build failed, waiting for other jobs to finish...
2019-07-29T23:39:05.2740145Z error: build failed
2019-07-29T23:39:05.2740637Z ', src/tools/cargo/tests/testsuite/support/mod.rs:837:13
2019-07-29T23:39:05.2740708Z 
2019-07-29T23:39:05.2740957Z ---- bench::lib_with_standard_name stdout ----
2019-07-29T23:39:05.2741309Z running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/release/cargo bench`
2019-07-29T23:39:05.2742552Z thread 'bench::lib_with_standard_name' panicked at '
2019-07-29T23:39:05.2742656Z Expected: execs
2019-07-29T23:39:05.2742720Z     but: exited with exit code: 101
2019-07-29T23:39:05.2742959Z --- stdout
2019-07-29T23:39:05.2743222Z --- stderr
2019-07-29T23:39:05.2743704Z    Compiling syntax v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t146/foo)
2019-07-29T23:39:05.2743704Z    Compiling syntax v0.0.1 (/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/x86_64-unknown-linux-gnu/cit/t146/foo)
2019-07-29T23:39:05.2746190Z error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
2019-07-29T23:39:05.2746868Z    |
2019-07-29T23:39:05.2746868Z    |
2019-07-29T23:39:05.2746941Z 11 |             #[bench]
2019-07-29T23:39:05.2747398Z    |
2019-07-29T23:39:05.2747866Z    = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2747866Z    = note: for more information, see https://github.com/rust-lang/rust/issues/50297
2019-07-29T23:39:05.2747955Z    = help: add `#![feature(test)]` to the crate attributes to enable
2019-07-29T23:39:05.2748341Z error: aborting due to previous error
2019-07-29T23:39:05.2748379Z 
2019-07-29T23:39:05.2748826Z For more information about this error, try `rustc --explain E0658`.
2019-07-29T23:39:05.2748902Z error: Could not compile `syntax`.
---
2019-07-29T23:39:05.2752998Z 
2019-07-29T23:39:05.2753314Z error: test failed, to rerun pass '--test testsuite'
2019-07-29T23:39:05.2757557Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test src/test/run-fail/pretty src/test/run-pass-valgrind/pretty src/tools/cargo src/tools/cargotest
2019-07-29T23:39:05.2757708Z Build completed unsuccessfully in 1:55:19
2019-07-29T23:39:05.2816422Z Makefile:50: recipe for target 'check-aux' failed
2019-07-29T23:39:05.2819622Z make: *** [check-aux] Error 1
2019-07-29T23:39:10.2462391Z ##[error]Bash exited with code '2'.
2019-07-29T23:39:10.2508012Z ##[section]Starting: Upload CPU usage statistics
2019-07-29T23:39:10.2516064Z ==============================================================================
2019-07-29T23:39:10.2516166Z Task         : Bash
2019-07-29T23:39:10.2516397Z Description  : Run a Bash script on macOS, Linux, or Windows

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

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 29, 2019
@Centril Centril closed this Jul 29, 2019
@Centril Centril deleted the rollup-kjgv7ak branch July 29, 2019 23:44
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.