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

Stable point release (1.26.1) #51045

Merged
merged 10 commits into from
May 25, 2018

Conversation

Mark-Simulacrum
Copy link
Member

This includes all items on the wishlist, plus #50694, which backported cleanly.

The target date is May 29th, Tuesday next week.

cc @rust-lang/compiler @oli-obk @eddyb -- I backported #50812, but it wasn't a clean patch so review would be appreciated.

alexcrichton and others added 6 commits May 24, 2018 14:22
This commit updates our manifest generation for rustup to filter out any
components/extensions which are actually missing. This is intended to help
mitigate rust-lang#49462 by making the manifests reflect reality, that many targets now
are missing a `rust-docs` component rather than requiring it exists.
Fixes rust-lang#50595.

This bug currently affects stable. Why I think we can go for hard error:

- It will in stable for at most one cycle and there is no legitimate
reason to abuse it, nor any known uses in the wild.

- It only affects `bin` crates (which have a `main`), so there is
little practical difference between a hard error or a deny lint, both
are a one line fix.

The fix was to just unshadow a variable. Thanks @nikomatsakis for the
mentoring!

r? @nikomatsakis
Fix rust-lang#50811

Make sure the float comparison output is consistent with the expected behavior when NaN is involved.

----

Note: This PR is a **BREAKING CHANGE**. If you have used `>` or `>=` to compare floats, and make the result as the length of a fixed array type, like:

```rust
use std::f64::NAN;
let x: [u8; (NAN > NAN) as usize] = [1];
```

then the code will no longer compile. Previously, all float comparison involving NaN will just return "Greater", i.e. `NAN > NAN` would wrongly return `true` during const evaluation. If you need to retain the old behavior (why), you may replace `a > b` with `a != a || b != b || a > b`.
A high impact bug because a lot of common traits use a `Self`
substitution by default. Should be backported to beta.

There was a check for this which wasn't catching all cases, it was made
more robust.

Fixes rust-lang#49376
Fixes rust-lang#50626

r? @petrochenkov
@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

@rust-highfive
Copy link
Collaborator

warning Warning warning

  • Pull requests are usually filed against the master branch for this repo, but this one is against stable. Please double check that you specified the right target!
  • These commits modify submodules.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 24, 2018
@rust-highfive
Copy link
Collaborator

Your PR failed on Travis (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.
[00:08:47]    Compiling proc_macro v0.0.0 (file:///checkout/src/libproc_macro)
[00:09:06]    Compiling syntax_ext v0.0.0 (file:///checkout/src/libsyntax_ext)
[00:16:39]    Compiling rustc_typeck v0.0.0 (file:///checkout/src/librustc_typeck)
[00:16:39]    Compiling rustc_mir v0.0.0 (file:///checkout/src/librustc_mir)
[00:16:55] error[E0369]: binary operation `<` cannot be applied to type `rustc_const_math::ConstFloat`
[00:16:55]    --> librustc_mir/interpret/operator.rs:139:42
[00:16:55]     |
[00:16:55] 139 |                 Lt => PrimVal::from_bool(l < r),
[00:16:55]     |
[00:16:55]     |
[00:16:55]     = note: an implementation of `std::cmp::PartialOrd` might be missing for `rustc_const_math::ConstFloat`
[00:16:55] 
[00:16:55] error[E0369]: binary operation `<=` cannot be applied to type `rustc_const_math::ConstFloat`
[00:16:55]    --> librustc_mir/interpret/operator.rs:140:42
[00:16:55]     |
[00:16:55] 140 |                 Le => PrimVal::from_bool(l <= r),
[00:16:55]     |
[00:16:55]     |
[00:16:55]     = note: an implementation of `std::cmp::PartialOrd` might be missing for `rustc_const_math::ConstFloat`
[00:16:55] 
[00:16:55] error[E0369]: binary operation `>` cannot be applied to type `rustc_const_math::ConstFloat`
[00:16:55]    --> librustc_mir/interpret/operator.rs:141:42
[00:16:55]     |
[00:16:55] 141 |                 Gt => PrimVal::from_bool(l > r),
[00:16:55]     |
[00:16:55]     |
[00:16:55]     = note: an implementation of `std::cmp::PartialOrd` might be missing for `rustc_const_math::ConstFloat`
[00:16:55] 
[00:16:55] error[E0369]: binary operation `>=` cannot be applied to type `rustc_const_math::ConstFloat`
[00:16:55]    --> librustc_mir/interpret/operator.rs:142:42
[00:16:55]     |
[00:16:55] 142 |                 Ge => PrimVal::from_bool(l >= r),
[00:16:55]     |
[00:16:55]     |
[00:16:55]     = note: an implementation of `std::cmp::PartialOrd` might be missing for `rustc_const_math::ConstFloat`
[00:16:56] error: aborting due to 4 previous errors
[00:16:56] 
[00:16:56] error: Could not compile `rustc_mir`.
[00:16:56] 
[00:16:56] 
[00:16:56] Caused by:
[00:16:56]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name rustc_mir librustc_mir/lib.rs --color always --error-format json --crate-type dylib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 -C metadata=ddc62f727eb654f5 -C extra-filename=-ddc62f727eb654f5 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps --extern log=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/liblog-1ccff5f8476ad1eb.rlib --extern rustc_apfloat=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_apfloat-5fcb0dc1f4af3379.rlib --extern log_settings=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/liblog_settings-9d0530102f7c6a89.rlib --extern byteorder=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libbyteorder-02079e25dd5b286e.rlib --extern rustc_errors=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-c9391cb42eb4751e.so --extern graphviz=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libgraphviz-9b9916e05a598b7c.so --extern arena=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libarena-ad409c7ea45bee67.so --extern rustc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-b6e3d7fc0aaef785.so --extern rustc_back=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_back-fc67797f33795c01.so --extern rustc_data_structures=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-140b05c26923af37.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-6b77f29b6ee45775.so --extern serialize=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-6b77f29b6ee45775.rlib --extern syntax_pos=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-2bc35320c19135ba.so --extern bitflags=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libbitflags-7819cc2ed1ba2b19.rlib --extern rustc_const_math=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_const_math-bda1fe2e3d9116aa.so --extern syntax=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax-fbc249743facc3aa.so -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-5891bf0101f32727/out/.libs -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-2911c7b5ca977aa1/out` (exit code: 101)
[00:19:40] error: build failed
[00:19:40] error: build failed
[00:19:40] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "--release" "--locked" "--color" "always" "--features" " jemalloc" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "--message-format" "json"
[00:19:40] expected success, got: exit code: 101
[00:19:40] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1064:9
[00:19:40] travis_fold:end:stage0-rustc

[00:19:40] travis_time:end:stage0-rustc:start=1527196589233628404,finish=1527197418653275030,duration=829419646626


[00:19:40] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build
[00:19:40] Build completed unsuccessfully in 0:14:06
[00:19:40] Makefile:28: recipe for target 'all' failed
[00:19:40] make: *** [all] Error 1

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0aa93a90
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

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)

Lt => PrimVal::from_bool(l.try_cmp(r).unwrap() == Ordering::Less),
Le => PrimVal::from_bool(l.try_cmp(r).unwrap() != Ordering::Greater),
Gt => PrimVal::from_bool(l.try_cmp(r).unwrap() == Ordering::Greater),
Ge => PrimVal::from_bool(l.try_cmp(r).unwrap() != Ordering::Less),
Copy link
Member

Choose a reason for hiding this comment

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

Oof. rustc_const_math::ConstFloat in 1.26 doesn't impl PartialOrd.
We either need to modify the try_cmp method or creates a new method which returns Result<Option<Ordering>, ConstMathErr>.

Copy link
Member Author

@Mark-Simulacrum Mark-Simulacrum May 24, 2018

Choose a reason for hiding this comment

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

How do you feel about 7b58d76? That looks fairly minimal and implements the required change to make the original patch work on stable AFAICT.

@cramertj
Copy link
Member

cramertj commented May 24, 2018

Do we want to hold off on this to try and sneak in a fix to #50950? cc @nikomatsakis

@fenhl
Copy link
Contributor

fenhl commented May 24, 2018

I would like to request inclusion of #49462 if possible, since it makes stable Rust unusable on the Raspberry Pi.

@Mark-Simulacrum
Copy link
Member Author

The fix for #49462 is already included with 4c67e70, I believe.

@est31
Copy link
Member

est31 commented May 25, 2018

Oh nice this even includes release notes for the 1.26.1 release itself. ❤️

@rust-highfive
Copy link
Collaborator

Your PR failed on Travis (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.
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/03/9d/a0b73320e4b9d776b0b68a67c7dbdc4115eb9eceff992d6b56222ba550d3/awscli-1.15.27-py2.py3-none-any.whl (1.3MB)
    0% |▎                               | 10kB 32.8MB/s eta 0:00:01
    1% |▌                               | 20kB 2.0MB/s eta 0:00:01
    2% |▉                               | 30kB 2.3MB/s eta 0:00:01
    3% |█                               | 40kB 2.0MB/s eta 0:00:01
---
    100% |████████████████████████████████| 552kB 1.9MB/s 
Collecting botocore==1.10.27 (from awscli)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading https://files.pythonhosted.org/packages/0a/fc/5dbeb052f4b70346ad3eb1ac291d503c0a28ed7e0f806f7337bbb73e3b76/botocore-1.10.27-py2.py3-none-any.whl (4.2MB)
    0% |                                | 10kB 31.9MB/s eta 0:00:01
    0% |▏                               | 20kB 33.6MB/s eta 0:00:01
    0% |▎                               | 30kB 41.1MB/s eta 0:00:01
    0% |▎                               | 40kB 9.1MB/s eta 0:00:01
---
[00:44:48] ..............................i.....................................................................
[00:45:02] ...............................................................i....................................
[00:45:19] ................................................i...................................................
[00:45:43] ....................................................................................................
[00:46:06] ........................................F...........................................................
[00:46:51] ......i.............................................................................................
[00:47:20] ...i.......................................................................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[00:47:25] .........
[00:47:56] ....................................................................................................
[00:47:56] ....................................................................................................
[00:48:26] .......................................................................ii...........................
[00:49:18] ..................................i....................................................i.ii........test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[00:49:57] ...............................................................................................iiiii
[00:50:25] ii..................................................................................................
[00:50:55] ....................................................................................................
[00:51:19] ....................................................................................................
---
[00:51:37] 
[00:51:37] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:478:22
[00:51:37] 
[00:51:37] 
[00:51:37] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-3.9/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zmiri -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zmiri -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "3.9.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[00:51:37] 
[00:51:37] 
[00:51:37] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:51:37] Build completed unsuccessfully in 0:13:08
[00:51:37] Build completed unsuccessfully in 0:13:08
[00:51:37] make: *** [check] Error 1
[00:51:37] Makefile:58: recipe for target 'check' failed
/build/bootstrap/debug/incremental/bootstrap-2v9vu9lcw5vj2/s-f1cktqcx64-7a0j4a-1f80f2tgi9kxx
102796 ./obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/incremental/core-q44a82dol543
102796 ./obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/incremental/core-q44a82dol543
102792 ./obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/incremental/core-q44a82dol543/s-f1clru1s0d-1x4l8ld-27mgve33e1jja
87728 ./obj/build/x86_64-unknown-linux-gnu/stage1-rustc/x86_64-unknown-linux-gnu/release/incremental
87064 ./obj/build/x86_64-unknown-linux-gnu/stage1
87040 ./obj/build/x86_64-unknown-linux-gnu/stage1/lib
84816 ./obj/build/x86_64-unknown-linux-gnu/stage0-tools/x86_64-unknown-linux-gnu

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)

@nrc
Copy link
Member

nrc commented May 25, 2018

Do we want to hold off on this to try and sneak in a fix to #50950? cc @nikomatsakis

I don't think so - a point release is for emergency bug fixes, and this sounds like a new feature.

@Mark-Simulacrum
Copy link
Member Author

My understanding is that we didn't intend turbofish to be supported with impl Trait in argument position, but in some cases it is -- the PR @nikomatsakis wrote disables that behavior, so it is in fact a bug fix (accidental stabilization).

@alexcrichton
Copy link
Member

Thanks @Mark-Simulacrum for preparing this! r=me once travis is green

@kennytm kennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 25, 2018
@kennytm
Copy link
Member

kennytm commented May 25, 2018

Const-eval of -0.0 == 0.0 returns false wrongly.

[00:51:37] ---- [run-pass] run-pass/issue-50811.rs stdout ----
[00:51:37] 	
[00:51:37] error: test run failed!
[00:51:37] status: exit code: 101
[00:51:37] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass/issue-50811.stage2-x86_64-unknown-linux-gnu"
[00:51:37] stdout:
[00:51:37] ------------------------------------------
[00:51:37] 
[00:51:37] ------------------------------------------
[00:51:37] stderr:
[00:51:37] ------------------------------------------
[00:51:37] thread 'main' panicked at 'assertion failed: `(left == right)`
[00:51:37]   left: `false`,
[00:51:37]  right: `true`: -0.0 == 0.0', /checkout/src/test/run-pass/issue-50811.rs:59:5
[00:51:37] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:51:37] 
[00:51:37] ------------------------------------------
[00:51:37] 
[00:51:37] thread '[run-pass] run-pass/issue-50811.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:2901:9
[00:51:37] note: Run with `RUST_BACKTRACE=1` for a backtrace.
[00:51:37] 
[00:51:37] 
[00:51:37] failures:
[00:51:37]     [run-pass] run-pass/issue-50811.rs

@tatsuya6502
Copy link
Contributor

@fenhl @Mark-Simulacrum

I would like to request inclusion of #49462 if possible, since it makes stable Rust unusable on the Raspberry Pi.

The fix for #49462 is already included with 4c67e70, I believe.

I do not see that commit in any branch.

git remote -v
origin	git@github.com:rust-lang/rust.git (fetch)
origin	git@github.com:rust-lang/rust.git (push)

$ git branch -a --contains 4c67e7069cfdc90047058145e420697c04dd1b3f
error: no such commit 4c67e7069cfdc90047058145e420697c04dd1b3f

I think the right one is 59059f2, which was merged by #49696.

However, the commit does not exist in stable branch, but only master and beta. That is why 1.26.0 has #49462. We need to cherry-pick it into this pull request.

$ git branch -a --contains 59059f2ed                               
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/alex-tmp
  remotes/origin/auto
  remotes/origin/beta
  remotes/origin/master
  remotes/origin/nll-alias-analysis
  remotes/origin/try

@Keruspe
Copy link
Contributor

Keruspe commented May 25, 2018 via email

@eddyb
Copy link
Member

eddyb commented May 25, 2018

@cramertj @nikomatsakis #51051 was merged.

@tatsuya6502
Copy link
Contributor

If you go to the « commits » section you’ll see that it’s the first commit of this PR

Ah, ok. Thanks.

@rust-highfive
Copy link
Collaborator

Your PR failed on Travis (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.
[00:45:55] ..............................i.....................................................................
[00:46:10] ...............................................................i....................................
[00:46:27] ................................................i...................................................
[00:46:52] ....................................................................................................
[00:47:16] .........................................F..........................................................
[00:48:02] ......i.............................................................................................
[00:48:30] ...i......................................................................................test [run-pass] run-pass/mir_heavy_promoted.rs has been running for over 60 seconds
[00:48:36] ..........
[00:49:07] ....................................................................................................
[00:49:07] ....................................................................................................
[00:49:36] .......................................................................ii...........................
[00:50:29] ..................................i....................................................i.ii.......test [run-pass] run-pass/saturating-float-casts.rs has been running for over 60 seconds
[00:51:09] ...............................................................................................iiiii
[00:51:38] ii..................................................................................................
[00:52:08] ....................................................................................................
[00:52:32] ....................................................................................................
---
[00:52:50] ------------------------------------------
[00:52:50] stderr:
[00:52:50] ------------------------------------------
[00:52:50] thread 'main' panicked at 'assertion failed: `(left == right)`
[00:52:50]   left: `false`,
[00:52:50]  right: `true`: -0.0 == 0.0', /checkout/src/test/run-pass/issue-50811.rs:59:5
[00:52:50] 
[00:52:50] ------------------------------------------
[00:52:50] 
[00:52:50] thread '[run-pass] run-pass/issue-50811.rs' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:2901:9
---
[00:52:50] 
[00:52:50] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:478:22
[00:52:50] 
[00:52:50] 
[00:52:50] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/run-pass" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-pass" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "run-pass" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-3.9/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zmiri -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zmiri -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "3.9.1\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[00:52:50] 
[00:52:50] 
[00:52:50] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[00:52:50] Build completed unsuccessfully in 0:13:22
[00:52:50] Build completed unsuccessfully in 0:13:22
[00:52:50] make: *** [check] Error 1
[00:52:50] Makefile:58: recipe for target 'check' failed

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

@Mark-Simulacrum
Copy link
Member Author

@bors r+ p=50

@bors
Copy link
Contributor

bors commented May 25, 2018

📌 Commit b3785a3 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 25, 2018
@Mark-Simulacrum
Copy link
Member Author

er, @bors r=alexcrichton

@bors
Copy link
Contributor

bors commented May 25, 2018

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Contributor

bors commented May 25, 2018

📌 Commit b3785a3 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented May 25, 2018

⌛ Testing commit b3785a3 with merge 827013a...

bors added a commit that referenced this pull request May 25, 2018
Stable point release (1.26.1)

This includes all items on [the wishlist](#50756), plus #50694, which backported cleanly.

The target date is May 29th, Tuesday next week.

cc @rust-lang/compiler @oli-obk @eddyb  -- I backported #50812, but it wasn't a clean patch so review would be appreciated.
@bors
Copy link
Contributor

bors commented May 25, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 827013a to stable...

@pietroalbini
Copy link
Member

@Mark-Simulacrum you might need to merge this manually?

@Mark-Simulacrum Mark-Simulacrum merged this pull request into rust-lang:stable May 25, 2018
@Mark-Simulacrum Mark-Simulacrum deleted the stable-point branch May 25, 2018 23:32
@Mark-Simulacrum
Copy link
Member Author

Note to future visitors: Merging a branch on your own is a bad idea as we only promote stable artifacts if the last commit is by bors (I think) -- instead, we should force(?)-push the bors commit from auto to stable if this happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.