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 test for issue #53275 #70195

Merged
merged 2 commits into from
Mar 23, 2020
Merged

Add test for issue #53275 #70195

merged 2 commits into from
Mar 23, 2020

Conversation

rylev
Copy link
Member

@rylev rylev commented Mar 20, 2020

Fixes #53275

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 20, 2020
@rylev
Copy link
Member Author

rylev commented Mar 20, 2020

r? @Centril

@Centril
Copy link
Contributor

Centril commented Mar 20, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Mar 20, 2020

📌 Commit f1188f7 has been approved by Centril

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

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

Click to expand the log.
2020-03-20T17:40:47.4027968Z ========================== Starting Command Output ===========================
2020-03-20T17:40:47.4033650Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/d907e533-f3b3-458d-ae9d-98cd6cf1e5c7.sh
2020-03-20T17:40:47.4033942Z 
2020-03-20T17:40:47.4038284Z ##[section]Finishing: Disable git automatic line ending conversion
2020-03-20T17:40:47.4057692Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70195/merge to s
2020-03-20T17:40:47.4060966Z Task         : Get sources
2020-03-20T17:40:47.4061256Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-03-20T17:40:47.4061554Z Version      : 1.0.0
2020-03-20T17:40:47.4061747Z Author       : Microsoft
---
2020-03-20T17:40:48.3919756Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-03-20T17:40:48.3925035Z ##[command]git config gc.auto 0
2020-03-20T17:40:48.3928633Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-03-20T17:40:48.3931960Z ##[command]git config --get-all http.proxy
2020-03-20T17:40:48.3938263Z ##[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/70195/merge:refs/remotes/pull/70195/merge
---
2020-03-20T18:43:01.7934751Z .................................................................................................... 1700/9804
2020-03-20T18:43:06.2497363Z .................................................................................................... 1800/9804
2020-03-20T18:43:18.0546220Z ..........................................................................i......................... 1900/9804
2020-03-20T18:43:24.8625328Z .................................................................................................... 2000/9804
2020-03-20T18:43:33.2929013Z ................................................................iiiii............................... 2100/9804
2020-03-20T18:43:51.8548743Z .................................................................................................... 2300/9804
2020-03-20T18:43:54.2127917Z .................................................................................................... 2400/9804
2020-03-20T18:43:57.2391555Z .................................................................................................... 2500/9804
2020-03-20T18:44:18.4927713Z .................................................................................................... 2600/9804
---
2020-03-20T18:47:07.5048973Z .....................................i...............i.............................................. 5000/9804
2020-03-20T18:47:17.0504125Z ................................................................F................................... 5100/9804
2020-03-20T18:47:23.9214799Z .................................................................................i.................. 5200/9804
2020-03-20T18:47:29.8361203Z .................................................................................................... 5300/9804
2020-03-20T18:47:40.8585412Z ..............................................................ii.ii........i...i.................... 5400/9804
2020-03-20T18:47:49.7482927Z .i.................................................................................................. 5600/9804
2020-03-20T18:47:59.8119655Z ......i............................................................................................. 5700/9804
2020-03-20T18:48:06.4880839Z .........................................................i.......................................... 5800/9804
2020-03-20T18:48:13.6094467Z .................................................................................................... 5900/9804
2020-03-20T18:48:13.6094467Z .................................................................................................... 5900/9804
2020-03-20T18:48:22.2365800Z .................................................................................................... 6000/9804
2020-03-20T18:48:30.7310640Z ...................................................ii...i..ii...........i........................... 6100/9804
2020-03-20T18:48:51.9879326Z .................................................................................................... 6300/9804
2020-03-20T18:48:59.2602205Z .................................................................................................... 6400/9804
2020-03-20T18:48:59.2602205Z .................................................................................................... 6400/9804
2020-03-20T18:49:07.3171950Z .................................................................................i..ii.............. 6500/9804
2020-03-20T18:49:31.3911499Z .....................................................................test [ui] ui/mpsc_stress.rs has been running for over 60 seconds
2020-03-20T18:49:43.5768484Z .................................................................................................... 6700/9804
2020-03-20T18:49:53.5672142Z ................................................................................i................... 6800/9804
2020-03-20T18:49:55.7797079Z .................................................................................................... 6900/9804
2020-03-20T18:49:58.0154696Z .................................................................................................... 7000/9804
---
2020-03-20T18:51:47.7417101Z .................................................................................................... 7800/9804
2020-03-20T18:51:53.4993149Z .................................................................................................... 7900/9804
2020-03-20T18:51:59.9249213Z ...................................................................i................................ 8000/9804
2020-03-20T18:52:10.9054174Z .................................................................................................... 8100/9804
2020-03-20T18:52:16.4812366Z ................iiiiiiiiii.i........................................................................ 8200/9804
2020-03-20T18:52:31.6136081Z .................................................................................................... 8400/9804
2020-03-20T18:52:38.5233763Z .................................................................................................... 8500/9804
2020-03-20T18:52:54.9407516Z .................................................................................................... 8600/9804
2020-03-20T18:53:02.4909244Z .................................................................................................... 8700/9804
---
2020-03-20T18:55:03.9324194Z ---- [ui] ui/issues/issue-53275.rs stdout ----
2020-03-20T18:55:03.9324602Z 
2020-03-20T18:55:03.9325199Z error: test compilation failed although it shouldn't!
2020-03-20T18:55:03.9325621Z status: exit code: 1
2020-03-20T18:55:03.9327654Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/issues/issue-53275.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-53275/a" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/issues/issue-53275/auxiliary"
2020-03-20T18:55:03.9329520Z ------------------------------------------
2020-03-20T18:55:03.9329853Z 
2020-03-20T18:55:03.9330408Z ------------------------------------------
2020-03-20T18:55:03.9330769Z stderr:
2020-03-20T18:55:03.9330769Z stderr:
2020-03-20T18:55:03.9331294Z ------------------------------------------
2020-03-20T18:55:03.9331736Z error: this operation will panic at runtime
2020-03-20T18:55:03.9332389Z   --> /checkout/src/test/ui/issues/issue-53275.rs:7:7
2020-03-20T18:55:03.9333121Z    |
2020-03-20T18:55:03.9333425Z LL |     S([][0]);
2020-03-20T18:55:03.9334222Z    |
2020-03-20T18:55:03.9334572Z    = note: `#[deny(unconditional_panic)]` on by default
2020-03-20T18:55:03.9334883Z 
2020-03-20T18:55:03.9336227Z error: aborting due to previous error
---
2020-03-20T18:55:03.9341407Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-03-20T18:55:03.9341989Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-03-20T18:55:03.9362837Z 
2020-03-20T18:55:03.9363169Z 
2020-03-20T18:55:03.9367341Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/ui" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-7/bin/FileCheck" "--nodejs" "/usr/bin/node" "--host-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Cdebuginfo=0 -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "7.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-03-20T18:55:03.9370887Z 
2020-03-20T18:55:03.9371099Z 
2020-03-20T18:55:03.9421215Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-03-20T18:55:03.9421659Z Build completed unsuccessfully in 1:10:12
2020-03-20T18:55:03.9421659Z Build completed unsuccessfully in 1:10:12
2020-03-20T18:55:03.9430369Z == clock drift check ==
2020-03-20T18:55:03.9453173Z   local time: Fri Mar 20 18:55:03 UTC 2020
2020-03-20T18:55:04.2413339Z   network time: Fri, 20 Mar 2020 18:55:04 GMT
2020-03-20T18:55:04.2417627Z == end clock drift check ==
2020-03-20T18:55:04.6496732Z 
2020-03-20T18:55:04.6562608Z ##[error]Bash exited with code '1'.
2020-03-20T18:55:04.6579913Z ##[section]Finishing: Run build
2020-03-20T18:55:04.6644150Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/70195/merge to s
2020-03-20T18:55:04.6650374Z Task         : Get sources
2020-03-20T18:55:04.6650783Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-03-20T18:55:04.6651144Z Version      : 1.0.0
2020-03-20T18:55:04.6651421Z Author       : Microsoft
2020-03-20T18:55:04.6651421Z Author       : Microsoft
2020-03-20T18:55:04.6651842Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-03-20T18:55:04.6652303Z ==============================================================================
2020-03-20T18:55:05.0205235Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-03-20T18:55:05.0252175Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/70195/merge to s
2020-03-20T18:55:05.0338561Z Cleaning up task key
2020-03-20T18:55:05.0339925Z Start cleaning up orphan processes.
2020-03-20T18:55:05.0557307Z Terminate orphan process: pid (3390) (python)
2020-03-20T18:55:05.0749454Z ##[section]Finishing: Finalize Job

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

@Centril
Copy link
Contributor

Centril commented Mar 20, 2020

@bors r-

@bors bors 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-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 20, 2020
@Centril
Copy link
Contributor

Centril commented Mar 23, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Mar 23, 2020

📌 Commit 821eef5 has been approved by Centril

@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 Mar 23, 2020
Centril added a commit to Centril/rust that referenced this pull request Mar 23, 2020
This was referenced Mar 23, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 23, 2020
Rollup of 9 pull requests

Successful merges:

 - rust-lang#68700 (Add Wake trait for safe construction of Wakers.)
 - rust-lang#69494 (Stabilize --crate-version option in rustdoc)
 - rust-lang#70080 (rustc_mir: remove extra space when pretty-printing MIR.)
 - rust-lang#70195 (Add test for issue rust-lang#53275)
 - rust-lang#70199 (Revised span-to-lines conversion to produce an empty vec on DUMMY_SP.)
 - rust-lang#70299 (add err_machine_stop macro)
 - rust-lang#70300 (Reword unused variable warning)
 - rust-lang#70315 (Rename remaining occurences of Void to Opaque.)
 - rust-lang#70318 (Split long derive lists into two derive attributes.)

Failed merges:

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