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

Remove support for self-opening #71537

Merged
merged 1 commit into from
Apr 26, 2020
Merged

Conversation

Mark-Simulacrum
Copy link
Member

@Mark-Simulacrum Mark-Simulacrum commented Apr 24, 2020

This was only used for linkage test cases, which is already covered by
the run-make-fulldeps/symbol-visibility test -- which fairly extensively makes
sure we're correctly exporting the right symbols at the right visibility (for
various Rust crate types).

This fixes #10379 and resolves #10356 by removing the test case (and underlying support in the compiler). AFAICT, the better way to test visibility is via nm, like the symbol visibility test. It seems like that's sufficient; I suspect that given that we don't use this we should just drop it (android is tier 2 anyway). But happy to hear otherwise.

@rust-highfive
Copy link
Collaborator

r? @davidtwco

(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 Apr 24, 2020
@Mark-Simulacrum
Copy link
Member Author

cc @alexcrichton -- curious if you have thoughts on this

@rust-highfive

This comment has been minimized.

Copy link
Member

@davidtwco davidtwco left a comment

Choose a reason for hiding this comment

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

r=me if you're happy with this

@rust-highfive
Copy link
Collaborator

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-04-25T13:30:01.4341229Z ========================== Starting Command Output ===========================
2020-04-25T13:30:01.4343553Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/5f989a87-fa5d-44a0-86e5-090cfecff666.sh
2020-04-25T13:30:01.4343796Z 
2020-04-25T13:30:01.4347390Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-25T13:30:01.4365186Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71537/merge to s
2020-04-25T13:30:01.4368047Z Task         : Get sources
2020-04-25T13:30:01.4368303Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-25T13:30:01.4368556Z Version      : 1.0.0
2020-04-25T13:30:01.4368729Z Author       : Microsoft
---
2020-04-25T13:30:02.4305002Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-25T13:30:02.4311944Z ##[command]git config gc.auto 0
2020-04-25T13:30:02.4316467Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-25T13:30:02.4320943Z ##[command]git config --get-all http.proxy
2020-04-25T13:30:02.4327711Z ##[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/71537/merge:refs/remotes/pull/71537/merge
---
2020-04-25T13:33:10.6037211Z  ---> cb2676f08729
2020-04-25T13:33:10.6044433Z Step 5/8 : ENV RUST_CONFIGURE_ARGS       --build=x86_64-unknown-linux-gnu       --llvm-root=/usr/lib/llvm-8       --enable-llvm-link-shared       --set rust.thin-lto-import-instr-limit=10
2020-04-25T13:33:10.6045545Z  ---> Using cache
2020-04-25T13:33:10.6045946Z  ---> df25ce111862
2020-04-25T13:33:10.6050638Z Step 6/8 : ENV SCRIPT python2.7 ../x.py test --exclude src/tools/tidy &&            python2.7 ../x.py test src/test/mir-opt --pass=build                                   --target=armv5te-unknown-linux-gnueabi &&            python2.7 ../x.py test src/tools/tidy
2020-04-25T13:33:10.6052151Z  ---> 599b9ac96b27
2020-04-25T13:33:10.6052393Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-25T13:33:10.6061348Z  ---> Using cache
2020-04-25T13:33:10.6061800Z  ---> 091087e35a36
---
2020-04-25T13:33:10.6978957Z Looks like docker image is the same as before, not uploading
2020-04-25T13:33:18.6400238Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-25T13:33:18.6643369Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-25T13:33:18.6673023Z == clock drift check ==
2020-04-25T13:33:18.6680659Z   local time: Sat Apr 25 13:33:18 UTC 2020
2020-04-25T13:33:18.9597509Z   network time: Sat, 25 Apr 2020 13:33:18 GMT
2020-04-25T13:33:18.9622073Z Starting sccache server...
2020-04-25T13:33:19.0465820Z configure: processing command line
2020-04-25T13:33:19.0466168Z configure: 
2020-04-25T13:33:19.0467180Z configure: rust.dist-src        := False
---
2020-04-25T13:38:03.7624477Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-25T13:38:05.0749912Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-25T13:38:06.4962994Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-25T13:38:07.5475858Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-25T13:38:15.5354118Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-25T13:38:17.5756695Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-25T13:38:21.5178819Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-25T13:38:25.1942433Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-25T13:38:34.0862872Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-25T13:58:37.4020860Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-25T13:58:38.8446749Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-25T13:58:40.5092340Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-25T13:58:40.8130833Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-25T13:58:50.2573484Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-25T13:58:52.1161764Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-25T13:58:56.3498945Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-25T13:59:00.3106685Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-25T13:59:09.9103006Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-25T14:19:57.7794201Z .................................................................................................... 1700/9922
2020-04-25T14:20:01.5944197Z .................................................................................................... 1800/9922
2020-04-25T14:20:09.1440561Z .................................................................................................... 1900/9922
2020-04-25T14:20:16.8250115Z ......i............................................................................................. 2000/9922
2020-04-25T14:20:22.7898488Z ................................................................................................iiii 2100/9922
2020-04-25T14:20:35.3601518Z i................................................................................................... 2200/9922
2020-04-25T14:20:43.2427302Z .................................................................................................... 2400/9922
2020-04-25T14:20:45.4059514Z .................................................................................................... 2500/9922
2020-04-25T14:20:50.8909554Z .................................................................................................... 2600/9922
2020-04-25T14:21:07.2915118Z .................................................................................................... 2700/9922
---
2020-04-25T14:23:32.5949407Z .................................................................................................... 5100/9922
2020-04-25T14:23:39.0642380Z .................................................................................................... 5200/9922
2020-04-25T14:23:43.3656942Z ...................i................................................................................ 5300/9922
2020-04-25T14:23:52.1765610Z ..........i......................................................................................... 5400/9922
2020-04-25T14:23:57.1501831Z ..........ii.ii........i...i........................................................................ 5500/9922
2020-04-25T14:24:04.0836712Z .........................................................i.......................................... 5700/9922
2020-04-25T14:24:11.9922197Z ..........................................................................................ii........ 5800/9922
2020-04-25T14:24:18.1230621Z .............................i...................................................................... 5900/9922
2020-04-25T14:24:23.1906860Z .................................................................................................... 6000/9922
2020-04-25T14:24:23.1906860Z .................................................................................................... 6000/9922
2020-04-25T14:24:32.6153997Z .................................................................................................... 6100/9922
2020-04-25T14:24:41.9882332Z .......................ii...i..ii...........i....................................................... 6200/9922
2020-04-25T14:24:55.3491422Z .................................................................................................... 6400/9922
2020-04-25T14:24:58.4650483Z .................................................................................................... 6500/9922
2020-04-25T14:24:58.4650483Z .................................................................................................... 6500/9922
2020-04-25T14:25:04.2852550Z .....................................................i..ii.......................................... 6600/9922
2020-04-25T14:25:26.8031092Z .................................................................................................... 6800/9922
2020-04-25T14:25:29.3671183Z ......................................................i............................................. 6900/9922
2020-04-25T14:25:31.1790193Z .................................................................................................... 7000/9922
2020-04-25T14:25:33.0403021Z ................................................................................................i... 7100/9922
---
2020-04-25T14:27:00.0839745Z .................................................................................................... 7900/9922
2020-04-25T14:27:04.9116388Z .................................................................................................... 8000/9922
2020-04-25T14:27:10.8279695Z ...............................................................i.................................... 8100/9922
2020-04-25T14:27:20.4031076Z .................................................................................................... 8200/9922
2020-04-25T14:27:25.3985842Z ............iiiiii.iiiii.i.......................................................................... 8300/9922
2020-04-25T14:27:38.1858713Z .................................................................................................... 8500/9922
2020-04-25T14:27:43.8776504Z .................................................................................................... 8600/9922
2020-04-25T14:27:57.2982925Z .................................................................................................... 8700/9922
2020-04-25T14:28:03.6252732Z .................................................................................................... 8800/9922
---
2020-04-25T14:30:08.7716072Z Suite("src/test/codegen") not skipped for "bootstrap::test::Codegen" -- not in ["src/tools/tidy"]
2020-04-25T14:30:08.7904512Z Check compiletest suite=codegen mode=codegen (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-25T14:30:08.9945265Z 
2020-04-25T14:30:08.9945606Z running 186 tests
2020-04-25T14:30:11.9262039Z iiii......i.............ii.i..........i.............................i..i..................i....i.... 100/186
2020-04-25T14:30:14.3590054Z ........i.i.i...iii..iiiiiiiiiiiiiiii.......................iii...............ii......
2020-04-25T14:30:14.3596036Z 
2020-04-25T14:30:14.3596340Z  finished in 5.568
2020-04-25T14:30:14.3616183Z Suite("src/test/codegen-units") not skipped for "bootstrap::test::CodegenUnits" -- not in ["src/tools/tidy"]
2020-04-25T14:30:14.3795968Z Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-25T14:30:16.5487794Z Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
2020-04-25T14:30:16.5685654Z Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-25T14:30:16.7182760Z 
2020-04-25T14:30:16.7183330Z running 9 tests
2020-04-25T14:30:16.7184427Z iiiiiiiii
2020-04-25T14:30:16.7186876Z 
2020-04-25T14:30:16.7187165Z  finished in 0.150
2020-04-25T14:30:16.7194254Z Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
2020-04-25T14:30:16.7388210Z Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-25T14:30:36.2992121Z Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
2020-04-25T14:30:36.3202174Z Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-25T14:30:36.4956051Z 
2020-04-25T14:30:36.4956552Z running 115 tests
2020-04-25T14:30:50.8805639Z iiiii..i.....i..i...i..i.i.i..i..i..ii....i.i....ii..........iiii.........i.....i..i.......ii.i.ii.. 100/115
2020-04-25T14:30:52.6193426Z ...iiii.....ii.
2020-04-25T14:30:52.6197506Z 
2020-04-25T14:30:52.6199552Z  finished in 16.299
2020-04-25T14:30:52.6216433Z Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
2020-04-25T14:30:52.6219998Z Uplifting stage1 rustc (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
2020-04-25T14:41:26.6040798Z warning: 2 warnings emitted
2020-04-25T14:41:26.6041065Z 
2020-04-25T14:41:26.6096202Z 
2020-04-25T14:41:26.6096631Z running 2499 tests
2020-04-25T14:41:34.6357607Z ......iiiii......................................................................................... 100/2499
2020-04-25T14:41:42.5477861Z ......................................................................................ii............ 200/2499
2020-04-25T14:42:00.7188215Z ......................i............................................................................. 400/2499
2020-04-25T14:42:09.5773885Z ............................................................................i..i..................ii 500/2499
2020-04-25T14:42:16.4831557Z ii.................................................................................................. 600/2499
2020-04-25T14:42:24.5829787Z .................................................................................................... 700/2499
---
2020-04-25T14:45:44.6221279Z .................................................thread '<unnamed>' panicked at 'explicit panic', src/libstd/io/stdio.rs:888:13
2020-04-25T14:45:45.4777853Z . 300/764
2020-04-25T14:45:45.4778240Z .................................................................................................... 400/764
2020-04-25T14:45:46.8026905Z .................................................................................................... 500/764
2020-04-25T14:45:46.8324677Z ......................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2741:22
2020-04-25T14:45:46.8339413Z ....thread 'thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2766:17
2020-04-25T14:45:46.8354456Z .<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs.:2778.:..21..
2020-04-25T14:45:47.0444273Z ..........................................thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1997:22
2020-04-25T14:45:47.0469107Z ....thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', src/libstd/sync/mpsc/mod.rs:2022:17
2020-04-25T14:45:47.0480325Z .thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:2034:21
2020-04-25T14:45:47.0501628Z ......thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', src/libstd/sync/mpsc/mod.rs:1916:13
---
2020-04-25T14:45:58.0775685Z 
2020-04-25T14:45:58.0776386Z running 1020 tests
2020-04-25T14:46:12.9130354Z i................................................................................................... 100/1020
2020-04-25T14:46:21.9625171Z .................................................................................................... 200/1020
2020-04-25T14:46:28.6317119Z ...................iii......i......i...i......i..................................................... 300/1020
2020-04-25T14:46:32.8183157Z .................................................................................................... 400/1020
2020-04-25T14:46:38.5832570Z ....................................................i....i......................................ii.. 500/1020
2020-04-25T14:46:49.6755460Z .................................................................................................... 700/1020
2020-04-25T14:46:49.6755460Z .................................................................................................... 700/1020
2020-04-25T14:46:55.8566414Z ..............................................iiii.................................................. 800/1020
2020-04-25T14:47:07.8018717Z .................................................................................................... 900/1020
2020-04-25T14:47:13.2323867Z ....................................................................iiii............................ 1000/1020
2020-04-25T14:47:14.3830741Z test result: ok. 1000 passed; 0 failed; 20 ignored; 0 measured; 0 filtered out
2020-04-25T14:47:14.3830970Z 
2020-04-25T14:47:14.3944002Z  finished in 142.509
2020-04-25T14:47:14.3951584Z Set({"src/libterm"}) not skipped for "bootstrap::test::Crate" -- not in ["src/tools/tidy"]
---
2020-04-25T14:49:03.9509942Z 
2020-04-25T14:49:03.9510344Z To learn more, run the command again with --verbose.
2020-04-25T14:49:03.9529440Z 
2020-04-25T14:49:03.9529753Z 
2020-04-25T14:49:03.9530980Z command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "2" "--release" "--locked" "--color" "always" "--features" " llvm" "--manifest-path" "/checkout/src/rustc/Cargo.toml" "-p" "rustc_metadata" "--" "--quiet"
2020-04-25T14:49:03.9531925Z 
2020-04-25T14:49:03.9532036Z 
2020-04-25T14:49:03.9541178Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-25T14:49:03.9542035Z Build completed unsuccessfully in 1:14:16
2020-04-25T14:49:03.9542035Z Build completed unsuccessfully in 1:14:16
2020-04-25T14:49:03.9594650Z == clock drift check ==
2020-04-25T14:49:03.9613948Z   local time: Sat Apr 25 14:49:03 UTC 2020
2020-04-25T14:49:04.5116710Z   network time: Sat, 25 Apr 2020 14:49:04 GMT
2020-04-25T14:49:05.1781599Z 
2020-04-25T14:49:05.1781599Z 
2020-04-25T14:49:05.1860130Z ##[error]Bash exited with code '1'.
2020-04-25T14:49:05.1874001Z ##[section]Finishing: Run build
2020-04-25T14:49:05.1924441Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71537/merge to s
2020-04-25T14:49:05.1929056Z Task         : Get sources
2020-04-25T14:49:05.1929345Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-25T14:49:05.1929618Z Version      : 1.0.0
2020-04-25T14:49:05.1929809Z Author       : Microsoft
2020-04-25T14:49:05.1929809Z Author       : Microsoft
2020-04-25T14:49:05.1930105Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-25T14:49:05.1930459Z ==============================================================================
2020-04-25T14:49:06.0438900Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-25T14:49:06.0457945Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71537/merge to s
2020-04-25T14:49:06.0555373Z Cleaning up task key
2020-04-25T14:49:06.0556597Z Start cleaning up orphan processes.
2020-04-25T14:49:06.0724219Z Terminate orphan process: pid (5237) (python)
2020-04-25T14:49:06.0978904Z ##[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)

This was only used for linkage test cases, which is already covered by
the run-make-fulldeps/symbol-visibility test -- which fairly extensively makes
sure we're correctly exporting the right symbols at the right visibility (for
various Rust crate types).
@Mark-Simulacrum
Copy link
Member Author

@bors r=davidtwco

Going to go ahead and approve this, as I feel that this is the right move, but if folks feel otherwise I would not be opposed to a revert.

@bors
Copy link
Contributor

bors commented Apr 25, 2020

📌 Commit 97983af has been approved by davidtwco

@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 Apr 25, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 26, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#71421 (Add a function to turn Box<T> into Box<[T]>)
 - rust-lang#71537 (Remove support for self-opening)
 - rust-lang#71551 (Minor refactoring around IndexVec usage in generator transformation)
 - rust-lang#71569 ([miri] Throw UB if target size and data size don't match)
 - rust-lang#71576 (check that `AsRef` and `AsMut` are inlined)

Failed merges:

 - rust-lang#71558 (Cleanup and document `-Z tls-model` )

r? @ghost
@bors bors merged commit 4199ef1 into rust-lang:master Apr 26, 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
4 participants