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

Move treat err as bug tests to ui #71531

Merged
merged 4 commits into from
Feb 8, 2021

Conversation

spastorino
Copy link
Member

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

The main doubt I have about this PR is if we should run it with RUST_BACKTRACE=1 or not.
The problem with doing that is the full path that is there as I've commented, unsure if there's a way to avoid that and also that changing a bit where we emit the error will make this test to fail. The second problem is also what usually happens but at least adding a backtrace allows us to properly test that this is pointing more or less to the right spot.

@spastorino spastorino changed the title Move treat err as bug tests to ui [WIP] Move treat err as bug tests to ui Apr 24, 2020
@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch from 3f8aab3 to 7b9aea4 Compare April 24, 2020 21:00
@spastorino spastorino changed the title [WIP] Move treat err as bug tests to ui Move treat err as bug tests to ui Apr 24, 2020
@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-24T21:00:38.1310623Z ========================== Starting Command Output ===========================
2020-04-24T21:00:38.1313011Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/176453ac-3c65-422f-a561-e356b850901b.sh
2020-04-24T21:00:38.1313258Z 
2020-04-24T21:00:38.1317492Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-24T21:00:38.1338129Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71531/merge to s
2020-04-24T21:00:38.1341259Z Task         : Get sources
2020-04-24T21:00:38.1341535Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-24T21:00:38.1341804Z Version      : 1.0.0
2020-04-24T21:00:38.1342006Z Author       : Microsoft
---
2020-04-24T21:00:39.1254590Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-24T21:00:39.1259803Z ##[command]git config gc.auto 0
2020-04-24T21:00:39.1263367Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-24T21:00:39.1266594Z ##[command]git config --get-all http.proxy
2020-04-24T21:00:39.1272721Z ##[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/71531/merge:refs/remotes/pull/71531/merge
---
2020-04-24T21:03:17.5171404Z  ---> cb2676f08729
2020-04-24T21:03:17.5172180Z 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-24T21:03:17.5172747Z  ---> Using cache
2020-04-24T21:03:17.5173056Z  ---> df25ce111862
2020-04-24T21:03:17.5173964Z 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-24T21:03:17.5174939Z  ---> 599b9ac96b27
2020-04-24T21:03:17.5175155Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-24T21:03:17.5175746Z  ---> Using cache
2020-04-24T21:03:17.5176057Z  ---> 091087e35a36
---
2020-04-24T21:03:17.5528154Z Looks like docker image is the same as before, not uploading
2020-04-24T21:03:25.4663514Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-24T21:03:25.4944497Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-24T21:03:25.4972269Z == clock drift check ==
2020-04-24T21:03:25.4980011Z   local time: Fri Apr 24 21:03:25 UTC 2020
2020-04-24T21:03:25.7895999Z   network time: Fri, 24 Apr 2020 21:03:25 GMT
2020-04-24T21:03:25.7921255Z Starting sccache server...
2020-04-24T21:03:25.8755369Z configure: processing command line
2020-04-24T21:03:25.8755683Z configure: 
2020-04-24T21:03:25.8756550Z configure: rust.dist-src        := False
---
2020-04-24T21:08:27.7919150Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-24T21:08:29.1522223Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-24T21:08:30.6561636Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-24T21:08:32.1475708Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-24T21:08:40.1460083Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-24T21:08:43.0807410Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-24T21:08:47.2824454Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-24T21:08:51.2503427Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-24T21:08:59.5654214Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-24T21:29:46.5151791Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-24T21:29:47.9915840Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-24T21:29:49.7004737Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-24T21:29:49.9055300Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-24T21:29:59.7214251Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-24T21:30:01.6451286Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-24T21:30:06.1643799Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-24T21:30:10.3336246Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-24T21:30:20.0288168Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-24T21:50:31.1002405Z .................................................................................................... 1700/9922
2020-04-24T21:50:34.2473628Z .................................................................................................... 1800/9922
2020-04-24T21:50:40.2694593Z .................................................................................................... 1900/9922
2020-04-24T21:50:46.1909830Z ......i............................................................................................. 2000/9922
2020-04-24T21:50:50.7284423Z ................................................................................................iiii 2100/9922
2020-04-24T21:51:00.7636311Z i................................................................................................... 2200/9922
2020-04-24T21:51:06.8341632Z .................................................................................................... 2400/9922
2020-04-24T21:51:08.5422446Z .................................................................................................... 2500/9922
2020-04-24T21:51:12.7369263Z .................................................................................................... 2600/9922
2020-04-24T21:51:25.6007522Z .................................................................................................... 2700/9922
---
2020-04-24T21:53:21.9286007Z .................................................................................................... 5100/9922
2020-04-24T21:53:27.1959017Z .................................................................................................... 5200/9922
2020-04-24T21:53:30.6222815Z ...................i................................................................................ 5300/9922
2020-04-24T21:53:37.6458583Z .........i.......................................................................................... 5400/9922
2020-04-24T21:53:41.6132292Z .........ii.ii........i...i......................................................................... 5500/9922
2020-04-24T21:53:47.2040941Z ........................................................i........................................... 5700/9922
2020-04-24T21:53:53.4652599Z .........................................................................................ii......... 5800/9922
2020-04-24T21:53:58.4549876Z ............................i....................................................................... 5900/9922
2020-04-24T21:54:02.4396925Z .................................................................................................... 6000/9922
2020-04-24T21:54:02.4396925Z .................................................................................................... 6000/9922
2020-04-24T21:54:09.9443672Z .................................................................................................... 6100/9922
2020-04-24T21:54:17.3779445Z ......................ii...i..ii...........i........................................................ 6200/9922
2020-04-24T21:54:28.5489766Z .................................................................................................... 6400/9922
2020-04-24T21:54:31.0193781Z .................................................................................................... 6500/9922
2020-04-24T21:54:31.0193781Z .................................................................................................... 6500/9922
2020-04-24T21:54:35.8962618Z ....................................................i..ii........................................... 6600/9922
2020-04-24T21:54:53.8536771Z .................................................................................................... 6800/9922
2020-04-24T21:54:55.9284618Z .....................................................i.............................................. 6900/9922
2020-04-24T21:54:57.4291146Z .................................................................................................... 7000/9922
2020-04-24T21:54:58.9265368Z ...............................................................................................i.... 7100/9922
---
2020-04-24T21:56:08.1353835Z .................................................................................................... 7900/9922
2020-04-24T21:56:11.9943520Z .................................................................................................... 8000/9922
2020-04-24T21:56:16.7310541Z ..............................................................i..................................... 8100/9922
2020-04-24T21:56:24.0501684Z .................................................................................................... 8200/9922
2020-04-24T21:56:28.1143990Z ...........iiiiii.iiiii.i........................................................................... 8300/9922
2020-04-24T21:56:37.9075030Z .................................................................................................... 8500/9922
2020-04-24T21:56:42.3279840Z .................................................................................................... 8600/9922
2020-04-24T21:56:52.8005792Z .................................................................................................... 8700/9922
2020-04-24T21:56:57.5898087Z .................................................................................................... 8800/9922
---
2020-04-24T21:58:10.2711120Z ..........................i......................................................................... 9900/9922
2020-04-24T21:58:16.3193466Z ......................
2020-04-24T21:58:16.3193923Z failures:
2020-04-24T21:58:16.3229134Z 
2020-04-24T21:58:16.3229805Z ---- [ui] ui/treat-err-as-bug/err.rs stdout ----
2020-04-24T21:58:16.3230045Z 
2020-04-24T21:58:16.3230165Z 6 
2020-04-24T21:58:16.3230165Z 6 
2020-04-24T21:58:16.3230546Z 7 thread 'rustc' panicked at 'aborting due to `-Z treat-err-as-bug=1`', src/librustc_errors/lib.rs:930:13
2020-04-24T21:58:16.3231048Z -    0: backtrace::backtrace::libunwind::trace
2020-04-24T21:58:16.3231374Z -              at src/backtrace/libunwind.rs:86
2020-04-24T21:58:16.3231683Z -    1: backtrace::backtrace::trace_unsynchronized
2020-04-24T21:58:16.3231987Z -              at src/backtrace/mod.rs:66
---
2020-04-24T21:58:16.3235796Z -              at src/libstd/sys_common/backtrace.rs:49
2020-04-24T21:58:16.3236133Z -    8: std::panicking::default_hook::{{closure}}
2020-04-24T21:58:16.3236441Z -              at src/libstd/panicking.rs:198
2020-04-24T21:58:16.3236724Z -    9: std::panicking::default_hook
2020-04-24T21:58:16.3237031Z -              at src/libstd/panicking.rs:218
2020-04-24T21:58:16.3237382Z -   10: <alloc::boxed::Box<F> as core::ops::function::Fn<A>>::call
2020-04-24T21:58:16.3237717Z -              at ./src/liballoc/boxed.rs:1022
2020-04-24T21:58:16.3238008Z -   11: rustc_driver::report_ice
2020-04-24T21:58:16.3238297Z -              at src/librustc_driver/lib.rs:1157
2020-04-24T21:58:16.3238599Z -   12: std::panicking::rust_panic_with_hook
2020-04-24T21:58:16.3238911Z -              at src/libstd/panicking.rs:515
2020-04-24T21:58:16.3239193Z -   13: std::panicking::begin_panic
2020-04-24T21:58:16.3239483Z -              at ./src/libstd/panicking.rs:438
2020-04-24T21:58:16.3239824Z -   14: rustc_errors::HandlerInner::panic_if_treat_err_as_bug
2020-04-24T21:58:16.3240146Z -              at src/librustc_errors/lib.rs:930
2020-04-24T21:58:16.3240458Z -   15: rustc_errors::HandlerInner::bump_err_count
2020-04-24T21:58:16.3240782Z -              at src/librustc_errors/lib.rs:916
2020-04-24T21:58:16.3241095Z -   16: rustc_errors::HandlerInner::emit_diagnostic
2020-04-24T21:58:16.3241405Z -              at src/librustc_errors/lib.rs:761
2020-04-24T21:58:16.3241725Z -   17: rustc_errors::Handler::emit_diagnostic
2020-04-24T21:58:16.3242027Z -              at src/librustc_errors/lib.rs:695
2020-04-24T21:58:16.3242369Z -   18: rustc_errors::diagnostic_builder::DiagnosticBuilder::emit
2020-04-24T21:58:16.3242901Z -              at src/librustc_errors/diagnostic_builder.rs:100
2020-04-24T21:58:16.3243306Z -   19: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error::{{closure}}
2020-04-24T21:58:16.3243693Z -              at src/librustc_middle/mir/interpret/error.rs:83
2020-04-24T21:58:16.3244106Z -   20: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic::{{closure}}
2020-04-24T21:58:16.3244557Z -              at src/librustc_middle/mir/interpret/error.rs:165
2020-04-24T21:58:16.3244944Z -   21: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic
2020-04-24T21:58:16.3245324Z -              at src/librustc_middle/mir/interpret/error.rs:194
2020-04-24T21:58:16.3245694Z -   22: rustc_middle::mir::interpret::error::ConstEvalErr::struct_error
2020-04-24T21:58:16.3246057Z -              at src/librustc_middle/mir/interpret/error.rs:79
2020-04-24T21:58:16.3246445Z -   23: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error
2020-04-24T21:58:16.3246815Z -              at src/librustc_middle/mir/interpret/error.rs:83
2020-04-24T21:58:16.3247206Z -   24: rustc_mir::const_eval::eval_queries::const_eval_raw_provider::{{closure}}
2020-04-24T21:58:16.3247603Z -              at src/librustc_mir/const_eval/eval_queries.rs:319
2020-04-24T21:58:16.3247922Z -   25: core::result::Result<T,E>::map_err
2020-04-24T21:58:16.3248221Z -              at ./src/libcore/result.rs:612
2020-04-24T21:58:16.3248580Z -   26: rustc_mir::const_eval::eval_queries::const_eval_raw_provider
2020-04-24T21:58:16.3248948Z -              at src/librustc_mir/const_eval/eval_queries.rs:309
2020-04-24T21:58:16.3249547Z -   27: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_raw>::compute
2020-04-24T21:58:16.3250082Z -              at ./src/librustc_middle/ty/query/plumbing.rs:362
2020-04-24T21:58:16.3250454Z -   28: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-24T21:58:16.3250830Z -              at ./src/librustc_query_system/dep_graph/graph.rs:303
2020-04-24T21:58:16.3251215Z -   29: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3251582Z -              at ./src/librustc_query_system/dep_graph/graph.rs:200
2020-04-24T21:58:16.3251993Z -   30: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-24T21:58:16.3252408Z -              at ./src/librustc_query_system/query/plumbing.rs:593
2020-04-24T21:58:16.3252973Z -   31: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-24T21:58:16.3253477Z -              at ./src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3253839Z -   32: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-24T21:58:16.3254189Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3254529Z -   33: rustc_middle::ty::context::tls::set_tlv
2020-04-24T21:58:16.3254857Z -              at ./src/librustc_middle/ty/context.rs:1682
2020-04-24T21:58:16.3255186Z -   34: rustc_middle::ty::context::tls::enter_context
2020-04-24T21:58:16.3255531Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3256060Z -   35: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-24T21:58:16.3256535Z -              at ./src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3256924Z -   36: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-24T21:58:16.3257284Z -              at ./src/librustc_middle/ty/context.rs:1786
2020-04-24T21:58:16.3257636Z -   37: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-24T21:58:16.3258000Z -              at ./src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3258333Z -   38: rustc_middle::ty::context::tls::with_context_opt
2020-04-24T21:58:16.3258717Z -              at ./src/librustc_middle/ty/context.rs:1759
2020-04-24T21:58:16.3259063Z -   39: rustc_middle::ty::context::tls::with_context
2020-04-24T21:58:16.3259395Z -              at ./src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3259736Z -   40: rustc_middle::ty::context::tls::with_related_context
2020-04-24T21:58:16.3260091Z -              at ./src/librustc_middle/ty/context.rs:1783
2020-04-24T21:58:16.3260628Z -   41: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-24T21:58:16.3261094Z -              at ./src/librustc_middle/ty/query/plumbing.rs:60
2020-04-24T21:58:16.3261498Z -   42: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-24T21:58:16.3261878Z -              at ./src/librustc_query_system/query/plumbing.rs:583
2020-04-24T21:58:16.3262230Z -   43: rustc_query_system::query::plumbing::with_diagnostics
2020-04-24T21:58:16.3262607Z -              at ./src/librustc_query_system/query/plumbing.rs:293
2020-04-24T21:58:16.3262965Z -   44: rustc_query_system::query::plumbing::force_query_with_job
2020-04-24T21:58:16.3263324Z -              at ./src/librustc_query_system/query/plumbing.rs:582
2020-04-24T21:58:16.3263693Z -   45: rustc_query_system::query::plumbing::try_execute_query
2020-04-24T21:58:16.3264049Z -              at ./src/librustc_query_system/query/plumbing.rs:410
2020-04-24T21:58:16.3264416Z -   46: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-24T21:58:16.3264798Z -              at ./src/librustc_query_system/query/plumbing.rs:627
2020-04-24T21:58:16.3265270Z -   47: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-24T21:58:16.3265716Z -              at ./src/librustc_query_system/query/caches.rs:91
2020-04-24T21:58:16.3266063Z -   48: rustc_query_system::query::plumbing::try_get_cached
2020-04-24T21:58:16.3266420Z -              at ./src/librustc_query_system/query/plumbing.rs:368
2020-04-24T21:58:16.3266775Z -   49: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3267125Z -              at ./src/librustc_query_system/query/plumbing.rs:619
2020-04-24T21:58:16.3267471Z -   50: rustc_middle::ty::query::TyCtxtAt::const_eval_raw
2020-04-24T21:58:16.3267832Z -              at ./src/librustc_middle/ty/query/plumbing.rs:467
2020-04-24T21:58:16.3272665Z -   51: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::const_eval_raw
2020-04-24T21:58:16.3273490Z -              at ./src/librustc_middle/ty/query/plumbing.rs:430
2020-04-24T21:58:16.3274061Z -   52: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-24T21:58:16.3274822Z -              at src/librustc_mir/const_eval/eval_queries.rs:254
2020-04-24T21:58:16.3275736Z -   53: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-24T21:58:16.3276535Z -              at ./src/librustc_middle/ty/query/plumbing.rs:362
2020-04-24T21:58:16.3277075Z -   54: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-24T21:58:16.3277615Z -              at ./src/librustc_query_system/dep_graph/graph.rs:303
2020-04-24T21:58:16.3278166Z -   55: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3278701Z -              at ./src/librustc_query_system/dep_graph/graph.rs:200
2020-04-24T21:58:16.3279296Z -   56: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-24T21:58:16.3279888Z -              at ./src/librustc_query_system/query/plumbing.rs:593
2020-04-24T21:58:16.3280698Z -   57: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-24T21:58:16.3281405Z -              at ./src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3282105Z -   58: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-24T21:58:16.3282615Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3283081Z -   59: rustc_middle::ty::context::tls::set_tlv
2020-04-24T21:58:16.3283668Z -              at ./src/librustc_middle/ty/context.rs:1682
2020-04-24T21:58:16.3284181Z -   60: rustc_middle::ty::context::tls::enter_context
2020-04-24T21:58:16.3284705Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3285257Z -   61: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-24T21:58:16.3285731Z -              at ./src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3286119Z -   62: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-24T21:58:16.3286479Z -              at ./src/librustc_middle/ty/context.rs:1786
2020-04-24T21:58:16.3286836Z -   63: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-24T21:58:16.3287199Z -              at ./src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3287534Z -   64: rustc_middle::ty::context::tls::with_context_opt
2020-04-24T21:58:16.3287867Z -              at ./src/librustc_middle/ty/context.rs:1759
2020-04-24T21:58:16.3288209Z -   65: rustc_middle::ty::context::tls::with_context
2020-04-24T21:58:16.3288543Z -              at ./src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3288886Z -   66: rustc_middle::ty::context::tls::with_related_context
2020-04-24T21:58:16.3289240Z -              at ./src/librustc_middle/ty/context.rs:1783
2020-04-24T21:58:16.3289740Z -   67: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-24T21:58:16.3290198Z -              at ./src/librustc_middle/ty/query/plumbing.rs:60
2020-04-24T21:58:16.3295707Z -   68: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-24T21:58:16.3296269Z -              at ./src/librustc_query_system/query/plumbing.rs:583
2020-04-24T21:58:16.3296630Z -   69: rustc_query_system::query::plumbing::with_diagnostics
2020-04-24T21:58:16.3297008Z -              at ./src/librustc_query_system/query/plumbing.rs:293
2020-04-24T21:58:16.3297370Z -   70: rustc_query_system::query::plumbing::force_query_with_job
2020-04-24T21:58:16.3297735Z -              at ./src/librustc_query_system/query/plumbing.rs:582
2020-04-24T21:58:16.3298109Z -   71: rustc_query_system::query::plumbing::try_execute_query
2020-04-24T21:58:16.3298466Z -              at ./src/librustc_query_system/query/plumbing.rs:410
2020-04-24T21:58:16.3298831Z -   72: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-24T21:58:16.3309427Z -              at ./src/librustc_query_system/query/plumbing.rs:627
2020-04-24T21:58:16.3310001Z -   73: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-24T21:58:16.3310527Z -              at ./src/librustc_query_system/query/caches.rs:91
2020-04-24T21:58:16.3310953Z -   74: rustc_query_system::query::plumbing::try_get_cached
2020-04-24T21:58:16.3311369Z -              at ./src/librustc_query_system/query/plumbing.rs:368
2020-04-24T21:58:16.3311768Z -   75: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3312304Z -              at ./src/librustc_query_system/query/plumbing.rs:619
2020-04-24T21:58:16.3312665Z -   76: rustc_middle::ty::query::TyCtxtAt::const_eval_validated
2020-04-24T21:58:16.3313020Z -              at ./src/librustc_middle/ty/query/plumbing.rs:467
2020-04-24T21:58:16.3313455Z -   77: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::const_eval_validated
2020-04-24T21:58:16.3313852Z -              at ./src/librustc_middle/ty/query/plumbing.rs:430
2020-04-24T21:58:16.3314223Z -   78: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-24T21:58:16.3314607Z -              at src/librustc_mir/const_eval/eval_queries.rs:231
2020-04-24T21:58:16.3315359Z -   79: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-24T21:58:16.3315899Z -              at src/librustc_middle/ty/query/plumbing.rs:362
2020-04-24T21:58:16.3316271Z -   80: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-24T21:58:16.3316702Z -              at ./src/librustc_query_system/dep_graph/graph.rs:303
2020-04-24T21:58:16.3317098Z -   81: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3317467Z -              at ./src/librustc_query_system/dep_graph/graph.rs:200
2020-04-24T21:58:16.3317876Z -   82: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-24T21:58:16.3318287Z -              at ./src/librustc_query_system/query/plumbing.rs:593
2020-04-24T21:58:16.3318849Z -   83: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-24T21:58:16.3319341Z -              at src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3319714Z -   84: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-24T21:58:16.3320061Z -              at src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3320382Z -   85: rustc_middle::ty::context::tls::set_tlv
2020-04-24T21:58:16.3320724Z -              at src/librustc_middle/ty/context.rs:1682
2020-04-24T21:58:16.3321051Z -   86: rustc_middle::ty::context::tls::enter_context
2020-04-24T21:58:16.3321381Z -              at src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3321921Z -   87: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-24T21:58:16.3322389Z -              at src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3322765Z -   88: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-24T21:58:16.3323139Z -              at src/librustc_middle/ty/context.rs:1786
2020-04-24T21:58:16.3323490Z -   89: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-24T21:58:16.3323834Z -              at src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3324184Z -   90: rustc_middle::ty::context::tls::with_context_opt
2020-04-24T21:58:16.3324518Z -              at src/librustc_middle/ty/context.rs:1759
2020-04-24T21:58:16.3324843Z -   91: rustc_middle::ty::context::tls::with_context
2020-04-24T21:58:16.3325188Z -              at src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3325525Z -   92: rustc_middle::ty::context::tls::with_related_context
2020-04-24T21:58:16.3325860Z -              at src/librustc_middle/ty/context.rs:1783
2020-04-24T21:58:16.3326372Z -   93: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-24T21:58:16.3326830Z -              at src/librustc_middle/ty/query/plumbing.rs:60
2020-04-24T21:58:16.3327228Z -   94: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-24T21:58:16.3327611Z -              at ./src/librustc_query_system/query/plumbing.rs:583
2020-04-24T21:58:16.3327962Z -   95: rustc_query_system::query::plumbing::with_diagnostics
2020-04-24T21:58:16.3328335Z -              at ./src/librustc_query_system/query/plumbing.rs:293
2020-04-24T21:58:16.3328695Z -   96: rustc_query_system::query::plumbing::force_query_with_job
2020-04-24T21:58:16.3329052Z -              at ./src/librustc_query_system/query/plumbing.rs:582
2020-04-24T21:58:16.3329417Z -   97: rustc_query_system::query::plumbing::try_execute_query
2020-04-24T21:58:16.3329772Z -              at ./src/librustc_query_system/query/plumbing.rs:410
2020-04-24T21:58:16.3330138Z -   98: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-24T21:58:16.3330570Z -              at ./src/librustc_query_system/query/plumbing.rs:627
2020-04-24T21:58:16.3331040Z -   99: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-24T21:58:16.3331469Z -              at ./src/librustc_query_system/query/caches.rs:91
2020-04-24T21:58:16.3331830Z -  100: rustc_query_system::query::plumbing::try_get_cached
2020-04-24T21:58:16.3332221Z -              at ./src/librustc_query_system/query/plumbing.rs:368
2020-04-24T21:58:16.3332573Z -  101: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3332936Z -              at ./src/librustc_query_system/query/plumbing.rs:619
2020-04-24T21:58:16.3333291Z -  102: rustc_middle::ty::query::TyCtxtAt::const_eval_validated
2020-04-24T21:58:16.3333639Z -              at src/librustc_middle/ty/query/plumbing.rs:467
2020-04-24T21:58:16.3334066Z -  103: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::const_eval_validated
2020-04-24T21:58:16.3334462Z -              at src/librustc_middle/ty/query/plumbing.rs:430
2020-04-24T21:58:16.3334902Z -  104: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_global_id
2020-04-24T21:58:16.3335330Z -              at src/librustc_middle/mir/interpret/queries.rs:74
2020-04-24T21:58:16.3335764Z -  105: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_poly
2020-04-24T21:58:16.3336177Z -              at src/librustc_middle/mir/interpret/queries.rs:22
2020-04-24T21:58:16.3336613Z -  106: <rustc_lint::builtin::UnusedBrokenConst as rustc_lint::passes::LateLintPass>::check_item
2020-04-24T21:58:16.3336987Z -              at src/librustc_lint/builtin.rs:0
2020-04-24T21:58:16.3337390Z -  107: <rustc_lint::BuiltinCombinedLateLintPass as rustc_lint::passes::LateLintPass>::check_item
2020-04-24T21:58:16.3337780Z -              at src/librustc_lint/passes.rs:113
2020-04-24T21:58:16.3338233Z -  108: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_item::{{closure}}::{{closure}}
2020-04-24T21:58:16.3338658Z -              at ./src/librustc_lint/late.rs:42
2020-04-24T21:58:16.3338997Z -  109: rustc_lint::late::LateContextAndPass<T>::with_param_env
2020-04-24T21:58:16.3339323Z -              at ./src/librustc_lint/late.rs:73
2020-04-24T21:58:16.3339761Z -  110: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_item::{{closure}}
2020-04-24T21:58:16.3340155Z -              at ./src/librustc_lint/late.rs:131
2020-04-24T21:58:16.3340495Z -  111: rustc_lint::late::LateContextAndPass<T>::with_lint_attrs
2020-04-24T21:58:16.3340837Z -              at ./src/librustc_lint/late.rs:61
2020-04-24T21:58:16.3341240Z -  112: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_item
2020-04-24T21:58:16.3341612Z -              at ./src/librustc_lint/late.rs:130
2020-04-24T21:58:16.3341952Z -  113: rustc_hir::intravisit::Visitor::visit_nested_item
2020-04-24T21:58:16.3342308Z -              at ./<::rustc_ast::visit::walk_list macros>:2
2020-04-24T21:58:16.3342623Z -  114: rustc_hir::intravisit::walk_mod
2020-04-24T21:58:16.3343124Z -              at ./src/librustc_hir/intravisit.rs:479
2020-04-24T21:58:16.3343469Z -  115: rustc_lint::late::LateContextAndPass<T>::process_mod
2020-04-24T21:58:16.3343901Z -              at ./src/librustc_lint/late.rs:79
2020-04-24T21:58:16.3344324Z -  116: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_mod
2020-04-24T21:58:16.3344700Z -              at ./src/librustc_lint/late.rs:236
2020-04-24T21:58:16.3344997Z -  117: rustc_hir::intravisit::walk_crate
2020-04-24T21:58:16.3345322Z -              at ./src/librustc_hir/intravisit.rs:465
2020-04-24T21:58:16.3345764Z -  118: rustc_lint::late::late_lint_pass_crate::{{closure}}
2020-04-24T21:58:16.3346092Z -              at ./src/librustc_lint/late.rs:427
2020-04-24T21:58:16.3346449Z -  119: rustc_lint::late::LateContextAndPass<T>::with_lint_attrs
2020-04-24T21:58:16.3346834Z -              at ./src/librustc_lint/late.rs:61
2020-04-24T21:58:16.3347138Z -  120: rustc_lint::late::late_lint_pass_crate
2020-04-24T21:58:16.3347458Z -              at ./src/librustc_lint/late.rs:422
2020-04-24T21:58:16.3347756Z -  121: rustc_lint::late::late_lint_crate
2020-04-24T21:58:16.3348056Z -              at ./src/librustc_lint/late.rs:441
2020-04-24T21:58:16.3350301Z -  122: rustc_lint::late::check_crate::{{closure}}::{{closure}}
2020-04-24T21:58:16.3350829Z -              at ./src/librustc_lint/late.rs:471
2020-04-24T21:58:16.3351250Z -  123: rustc_data_structures::profiling::VerboseTimingGuard::run
2020-04-24T21:58:16.3351673Z -              at ./src/librustc_data_structures/profiling.rs:573
2020-04-24T21:58:16.3352363Z -  124: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3352771Z -              at ./src/librustc_session/utils.rs:9
2020-04-24T21:58:16.3353157Z -  125: rustc_lint::late::check_crate::{{closure}}
2020-04-24T21:58:16.3353521Z -              at ./src/librustc_lint/late.rs:469
2020-04-24T21:58:16.3353876Z -  126: rustc_data_structures::sync::join
2020-04-24T21:58:16.3354267Z -              at ./src/librustc_data_structures/sync.rs:160
2020-04-24T21:58:16.3354620Z -  127: rustc_lint::late::check_crate
2020-04-24T21:58:16.3354966Z -              at ./src/librustc_lint/late.rs:467
2020-04-24T21:58:16.3355425Z -  128: rustc_interface::passes::analysis::{{closure}}::{{closure}}::{{closure}}::{{closure}}
2020-04-24T21:58:16.3355885Z -              at src/librustc_interface/passes.rs:880
2020-04-24T21:58:16.3356292Z -  129: rustc_data_structures::profiling::VerboseTimingGuard::run
2020-04-24T21:58:16.3356727Z -              at ./src/librustc_data_structures/profiling.rs:573
2020-04-24T21:58:16.3357170Z -  130: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3357747Z -              at ./src/librustc_session/utils.rs:9
2020-04-24T21:58:16.3358269Z -  131: rustc_interface::passes::analysis::{{closure}}::{{closure}}::{{closure}}
2020-04-24T21:58:16.3358760Z -              at src/librustc_interface/passes.rs:879
2020-04-24T21:58:16.3359180Z -  132: core::ops::function::FnOnce::call_once
2020-04-24T21:58:16.3359616Z -              at ./src/libcore/ops/function.rs:232
2020-04-24T21:58:16.3360138Z -  133: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-24T21:58:16.3360614Z -              at ./src/libstd/panic.rs:318
2020-04-24T21:58:16.3361014Z -  134: std::panicking::try::do_call
2020-04-24T21:58:16.3361410Z -              at ./src/libstd/panicking.rs:331
2020-04-24T21:58:16.3361790Z -  135: std::panicking::try::do_try
2020-04-24T21:58:16.3362176Z -              at src/libstd/panicking.rs:298
2020-04-24T21:58:16.3362551Z -  136: std::panicking::try
2020-04-24T21:58:16.3362928Z -              at ./src/libstd/panicking.rs:274
2020-04-24T21:58:16.3363382Z -  137: std::panic::catch_unwind
2020-04-24T21:58:16.3363723Z -              at ./src/libstd/panic.rs:394
2020-04-24T21:58:16.3364124Z -  138: rustc_interface::passes::analysis::{{closure}}::{{closure}}
2020-04-24T21:58:16.3364524Z -              at src/librustc_interface/passes.rs:866
2020-04-24T21:58:16.3364906Z -  139: core::ops::function::FnOnce::call_once
2020-04-24T21:58:16.3365271Z -              at ./src/libcore/ops/function.rs:232
2020-04-24T21:58:16.3365725Z -  140: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-24T21:58:16.3372915Z -              at ./src/libstd/panic.rs:318
2020-04-24T21:58:16.3373234Z -  141: std::panicking::try::do_call
2020-04-24T21:58:16.3373538Z -              at ./src/libstd/panicking.rs:331
2020-04-24T21:58:16.3374070Z -  142: std::panicking::try::do_try
2020-04-24T21:58:16.3374413Z -              at src/libstd/panicking.rs:298
2020-04-24T21:58:16.3374725Z -  143: std::panicking::try
2020-04-24T21:58:16.3375074Z -              at ./src/libstd/panicking.rs:274
2020-04-24T21:58:16.3375397Z -  144: std::panic::catch_unwind
2020-04-24T21:58:16.3375721Z -              at ./src/libstd/panic.rs:394
2020-04-24T21:58:16.3376495Z -  145: rustc_interface::passes::analysis::{{closure}}
2020-04-24T21:58:16.3376891Z -              at src/librustc_interface/passes.rs:862
2020-04-24T21:58:16.3377624Z -  146: rustc_data_structures::profiling::VerboseTimingGuard::run
2020-04-24T21:58:16.3378528Z -              at ./src/librustc_data_structures/profiling.rs:573
2020-04-24T21:58:16.3379210Z -  147: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3379633Z -              at ./src/librustc_session/utils.rs:9
2020-04-24T21:58:16.3380001Z -  148: rustc_interface::passes::analysis
2020-04-24T21:58:16.3380748Z -              at src/librustc_interface/passes.rs:861
2020-04-24T21:58:16.3381421Z -  149: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
2020-04-24T21:58:16.3382035Z -              at ./src/librustc_middle/ty/query/plumbing.rs:362
2020-04-24T21:58:16.3382641Z -  150: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-24T21:58:16.3383144Z -              at ./src/librustc_query_system/dep_graph/graph.rs:303
2020-04-24T21:58:16.3383934Z -  151: rustc_query_system::dep_graph::graph::DepGraph<K>::with_eval_always_task
2020-04-24T21:58:16.3384453Z -              at ./src/librustc_query_system/dep_graph/graph.rs:336
2020-04-24T21:58:16.3385006Z -  152: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-24T21:58:16.3385554Z -              at ./src/librustc_query_system/query/plumbing.rs:585
2020-04-24T21:58:16.3386300Z -  153: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-24T21:58:16.3387078Z -              at ./src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3387670Z -  154: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-24T21:58:16.3388154Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3388862Z -  155: rustc_middle::ty::context::tls::set_tlv
2020-04-24T21:58:16.3389302Z -              at ./src/librustc_middle/ty/context.rs:1682
2020-04-24T21:58:16.3389740Z -  156: rustc_middle::ty::context::tls::enter_context
2020-04-24T21:58:16.3390200Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3390904Z -  157: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-24T21:58:16.3391535Z -              at ./src/librustc_middle/ty/query/plumbing.rs:71
2020-04-24T21:58:16.3392048Z -  158: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-24T21:58:16.3392528Z -              at ./src/librustc_middle/ty/context.rs:1786
2020-04-24T21:58:16.3392996Z -  159: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-24T21:58:16.3393476Z -              at ./src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3393930Z -  160: rustc_middle::ty::context::tls::with_context_opt
2020-04-24T21:58:16.3394375Z -              at ./src/librustc_middle/ty/context.rs:1759
2020-04-24T21:58:16.3395057Z -  161: rustc_middle::ty::context::tls::with_context
2020-04-24T21:58:16.3395443Z -              at ./src/librustc_middle/ty/context.rs:1770
2020-04-24T21:58:16.3395840Z -  162: rustc_middle::ty::context::tls::with_related_context
2020-04-24T21:58:16.3396254Z -              at ./src/librustc_middle/ty/context.rs:1783
2020-04-24T21:58:16.3396934Z -  163: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-24T21:58:16.3397477Z -              at ./src/librustc_middle/ty/query/plumbing.rs:60
2020-04-24T21:58:16.3397941Z -  164: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-24T21:58:16.3398383Z -              at ./src/librustc_query_system/query/plumbing.rs:583
2020-04-24T21:58:16.3399016Z -  165: rustc_query_system::query::plumbing::with_diagnostics
2020-04-24T21:58:16.3399390Z -              at ./src/librustc_query_system/query/plumbing.rs:293
2020-04-24T21:58:16.3399922Z -  166: rustc_query_system::query::plumbing::force_query_with_job
2020-04-24T21:58:16.3400338Z -              at ./src/librustc_query_system/query/plumbing.rs:582
2020-04-24T21:58:16.3400940Z -  167: rustc_query_system::query::plumbing::try_execute_query
2020-04-24T21:58:16.3401369Z -              at ./src/librustc_query_system/query/plumbing.rs:410
2020-04-24T21:58:16.3401791Z -  168: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-24T21:58:16.3402232Z -              at ./src/librustc_query_system/query/plumbing.rs:627
2020-04-24T21:58:16.3402778Z -  169: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-24T21:58:16.3403391Z -              at ./src/librustc_query_system/query/caches.rs:91
2020-04-24T21:58:16.3403818Z -  170: rustc_query_system::query::plumbing::try_get_cached
2020-04-24T21:58:16.3404228Z -              at ./src/librustc_query_system/query/plumbing.rs:368
2020-04-24T21:58:16.3404622Z -  171: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3405141Z -              at ./src/librustc_query_system/query/plumbing.rs:619
2020-04-24T21:58:16.3405547Z -  172: rustc_middle::ty::query::TyCtxtAt::analysis
2020-04-24T21:58:16.3405946Z -              at ./src/librustc_middle/ty/query/plumbing.rs:467
2020-04-24T21:58:16.3406426Z -  173: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::analysis
2020-04-24T21:58:16.3406872Z -              at ./src/librustc_middle/ty/query/plumbing.rs:430
2020-04-24T21:58:16.3407531Z -  174: rustc_driver::run_compiler::{{closure}}::{{closure}}::{{closure}}
2020-04-24T21:58:16.3408113Z -              at src/librustc_driver/lib.rs:383
2020-04-24T21:58:16.3408568Z -  175: rustc_middle::ty::context::tls::enter_global::{{closure}}
2020-04-24T21:58:16.3409053Z -              at ./src/librustc_middle/ty/context.rs:1721
2020-04-24T21:58:16.3409530Z -  176: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-24T21:58:16.3409995Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3410433Z -  177: rustc_middle::ty::context::tls::set_tlv
2020-04-24T21:58:16.3410867Z -              at ./src/librustc_middle/ty/context.rs:1682
2020-04-24T21:58:16.3411307Z -  178: rustc_middle::ty::context::tls::enter_context
2020-04-24T21:58:16.3411996Z -              at ./src/librustc_middle/ty/context.rs:1698
2020-04-24T21:58:16.3412379Z -  179: rustc_middle::ty::context::tls::enter_global
2020-04-24T21:58:16.3412762Z -              at ./src/librustc_middle/ty/context.rs:1721
2020-04-24T21:58:16.3413157Z -  180: rustc_interface::passes::QueryContext::enter
2020-04-24T21:58:16.3413538Z -              at ./src/librustc_interface/passes.rs:709
2020-04-24T21:58:16.3413933Z -  181: rustc_driver::run_compiler::{{closure}}::{{closure}}
2020-04-24T21:58:16.3414331Z -              at src/librustc_driver/lib.rs:383
2020-04-24T21:58:16.3414781Z -  182: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter
2020-04-24T21:58:16.3415335Z -              at ./src/librustc_interface/queries.rs:385
2020-04-24T21:58:16.3415718Z -  183: rustc_driver::run_compiler::{{closure}}
2020-04-24T21:58:16.3416074Z -              at src/librustc_driver/lib.rs:283
2020-04-24T21:58:16.3416478Z -  184: rustc_interface::interface::run_compiler_in_existing_thread_pool
2020-04-24T21:58:16.3416901Z -              at ./src/librustc_interface/interface.rs:199
2020-04-24T21:58:16.3417304Z -  185: rustc_interface::interface::run_compiler::{{closure}}
2020-04-24T21:58:16.3417702Z -              at ./src/librustc_interface/interface.rs:213
2020-04-24T21:58:16.3418180Z -  186: rustc_interface::util::spawn_thread_pool::{{closure}}::{{closure}}::{{closure}}
2020-04-24T21:58:16.3418611Z -              at ./src/librustc_interface/util.rs:152
2020-04-24T21:58:16.3419139Z -  187: scoped_tls::ScopedKey<T>::set
2020-04-24T21:58:16.3419468Z -              at src/lib.rs:137
2020-04-24T21:58:16.3419874Z -  188: rustc_interface::util::spawn_thread_pool::{{closure}}::{{closure}}
2020-04-24T21:58:16.3420286Z -              at ./src/librustc_interface/util.rs:148
2020-04-24T21:58:16.3420645Z -  189: scoped_tls::ScopedKey<T>::set
2020-04-24T21:58:16.3420961Z -              at src/lib.rs:137
2020-04-24T21:58:16.3421355Z -  190: rustc_ast::attr::with_globals::{{closure}}
2020-04-24T21:58:16.3421853Z -              at ./src/librustc_ast/attr/mod.rs:44
2020-04-24T21:58:16.3422210Z -  191: scoped_tls::ScopedKey<T>::set
2020-04-24T21:58:16.3422524Z -              at src/lib.rs:137
2020-04-24T21:58:16.3422837Z -  192: rustc_ast::attr::with_globals
2020-04-24T21:58:16.3423202Z -              at ./src/librustc_ast/attr/mod.rs:44
2020-04-24T21:58:16.3423593Z -  193: rustc_interface::util::spawn_thread_pool::{{closure}}
2020-04-24T21:58:16.3423982Z -              at ./src/librustc_interface/util.rs:147
2020-04-24T21:58:16.3424391Z -  194: rustc_interface::util::scoped_thread::{{closure}}
2020-04-24T21:58:16.3424774Z -              at ./src/librustc_interface/util.rs:122
2020-04-24T21:58:16.3425356Z +    1: core::fmt::write
2020-04-24T21:58:16.3425533Z +    2: std::io::Write::write_fmt
2020-04-24T21:58:16.3425747Z +    3: std::panicking::default_hook::{{closure}}
2020-04-24T21:58:16.3425978Z +    4: std::panicking::default_hook
2020-04-24T21:58:16.3425978Z +    4: std::panicking::default_hook
2020-04-24T21:58:16.3426479Z +    5: rustc_driver::report_ice
2020-04-24T21:58:16.3427375Z +    6: std::panicking::rust_panic_with_hook
2020-04-24T21:58:16.3427644Z +    7: std::panicking::begin_panic
2020-04-24T21:58:16.3428169Z +    8: rustc_errors::HandlerInner::emit_diagnostic
2020-04-24T21:58:16.3429013Z +    9: rustc_errors::Handler::emit_diagnostic
2020-04-24T21:58:16.3429347Z +   10: rustc_errors::diagnostic_builder::DiagnosticBuilder::emit
2020-04-24T21:58:16.3429891Z +   11: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic::{{closure}}
2020-04-24T21:58:16.3430302Z +   12: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error
2020-04-24T21:58:16.3430685Z +   13: rustc_mir::const_eval::eval_queries::const_eval_raw_provider
2020-04-24T21:58:16.3431273Z +   14: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_raw>::compute
2020-04-24T21:58:16.3431979Z +   15: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3432337Z +   16: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3432677Z +   17: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-24T21:58:16.3433284Z +   18: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-24T21:58:16.3434025Z +   19: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3434368Z +   20: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3434724Z +   21: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-24T21:58:16.3435332Z +   22: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-24T21:58:16.3435934Z +   23: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3436398Z +   24: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3436804Z +   25: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_poly
2020-04-24T21:58:16.3437288Z +   26: <rustc_lint::builtin::UnusedBrokenConst as rustc_lint::passes::LateLintPass>::check_item
2020-04-24T21:58:16.3437771Z +   27: <rustc_lint::BuiltinCombinedLateLintPass as rustc_lint::passes::LateLintPass>::check_item
2020-04-24T21:58:16.3438379Z +   28: rustc_hir::intravisit::Visitor::visit_nested_item
2020-04-24T21:58:16.3438670Z +   29: rustc_hir::intravisit::walk_mod
2020-04-24T21:58:16.3439048Z +   30: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_mod
2020-04-24T21:58:16.3439410Z +   31: rustc_hir::intravisit::walk_crate
2020-04-24T21:58:16.3439901Z +   32: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3440229Z +   33: rustc_data_structures::sync::join
2020-04-24T21:58:16.3440558Z +   34: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-24T21:58:16.3440861Z +   35: std::panicking::try
2020-04-24T21:58:16.3441293Z +   36: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-24T21:58:16.3441558Z +   37: std::panicking::try
2020-04-24T21:58:16.3441804Z +   38: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3442268Z +   39: rustc_interface::passes::analysis
2020-04-24T21:58:16.3442884Z +   40: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
2020-04-24T21:58:16.3443512Z +   41: rustc_query_system::dep_graph::graph::DepGraph<K>::with_eval_always_task
2020-04-24T21:58:16.3443802Z +   42: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3444050Z +   43: rustc_middle::ty::context::tls::enter_global
2020-04-24T21:58:16.3444331Z +   44: rustc_interface::interface::run_compiler_in_existing_thread_pool
2020-04-24T21:58:16.3444576Z +   45: scoped_tls::ScopedKey<T>::set
2020-04-24T21:58:16.3444883Z +   46: rustc_ast::attr::with_globals
2020-04-24T21:58:16.3445358Z 400 
2020-04-24T21:58:16.3445526Z 401 error: internal compiler error: unexpected panic
2020-04-24T21:58:16.3445679Z 
2020-04-24T21:58:16.3445790Z 404 
2020-04-24T21:58:16.3445790Z 404 
2020-04-24T21:58:16.3446441Z 405 note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-24T21:58:16.3447117Z - note: rustc 1.44.0-dev running on x86_64-unknown-linux-gnu
2020-04-24T21:58:16.3447561Z + note: rustc 1.44.0-nightly (2a82c0c9e 2020-04-24) running on x86_64-unknown-linux-gnu
2020-04-24T21:58:16.3447764Z 408 
2020-04-24T21:58:16.3447764Z 408 
2020-04-24T21:58:16.3448298Z 409 note: compiler flags: -Z threads=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z treat-err-as-bug -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-24T21:58:16.3448671Z 
2020-04-24T21:58:16.3448857Z 
2020-04-24T21:58:16.3449012Z The actual stderr differed from the expected stderr.
2020-04-24T21:58:16.3449012Z The actual stderr differed from the expected stderr.
2020-04-24T21:58:16.3449484Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/err.stderr
2020-04-24T21:58:16.3449946Z To update references, rerun the tests and pass the `--bless` flag
2020-04-24T21:58:16.3450375Z To only update this specific test, also pass `--test-args treat-err-as-bug/err.rs`
2020-04-24T21:58:16.3450685Z error: 1 errors occurred comparing output.
2020-04-24T21:58:16.3450880Z status: exit code: 101
2020-04-24T21:58:16.3450880Z status: exit code: 101
2020-04-24T21:58:16.3452414Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/treat-err-as-bug/err.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Ztreat-err-as-bug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/auxiliary"
2020-04-24T21:58:16.3453653Z ------------------------------------------
2020-04-24T21:58:16.3453780Z 
2020-04-24T21:58:16.3454070Z ------------------------------------------
2020-04-24T21:58:16.3454221Z stderr:
2020-04-24T21:58:16.3454221Z stderr:
2020-04-24T21:58:16.3454500Z ------------------------------------------
2020-04-24T21:58:16.3454722Z error[E0080]: could not evaluate static initializer
2020-04-24T21:58:16.3455211Z   --> /checkout/src/test/ui/treat-err-as-bug/err.rs:11:21
2020-04-24T21:58:16.3455426Z    |
2020-04-24T21:58:16.3455728Z LL | pub static C: u32 = 0 - 1;
2020-04-24T21:58:16.3456091Z 
2020-04-24T21:58:16.3456091Z 
2020-04-24T21:58:16.3456506Z thread 'rustc' panicked at 'aborting due to `-Z treat-err-as-bug=1`', src/librustc_errors/lib.rs:930:13
2020-04-24T21:58:16.3457101Z    0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
2020-04-24T21:58:16.3457379Z    1: core::fmt::write
2020-04-24T21:58:16.3457555Z    2: std::io::Write::write_fmt
2020-04-24T21:58:16.3457761Z    3: std::panicking::default_hook::{{closure}}
2020-04-24T21:58:16.3457761Z    3: std::panicking::default_hook::{{closure}}
2020-04-24T21:58:16.3457986Z    4: std::panicking::default_hook
2020-04-24T21:58:16.3458169Z    5: rustc_driver::report_ice
2020-04-24T21:58:16.3458359Z    6: std::panicking::rust_panic_with_hook
2020-04-24T21:58:16.3458555Z    7: std::panicking::begin_panic
2020-04-24T21:58:16.3458784Z    8: rustc_errors::HandlerInner::emit_diagnostic
2020-04-24T21:58:16.3459009Z    9: rustc_errors::Handler::emit_diagnostic
2020-04-24T21:58:16.3459258Z   10: rustc_errors::diagnostic_builder::DiagnosticBuilder::emit
2020-04-24T21:58:16.3459587Z   11: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic::{{closure}}
2020-04-24T21:58:16.3459913Z   12: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error
2020-04-24T21:58:16.3460203Z   13: rustc_mir::const_eval::eval_queries::const_eval_raw_provider
2020-04-24T21:58:16.3460689Z   14: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_raw>::compute
2020-04-24T21:58:16.3461274Z   15: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3461562Z   16: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3461832Z   17: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-24T21:58:16.3462319Z   18: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-24T21:58:16.3462816Z   19: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3463178Z   20: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3463447Z   21: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-24T21:58:16.3464022Z   22: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-24T21:58:16.3464522Z   23: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-24T21:58:16.3464787Z   24: rustc_query_system::query::plumbing::get_query
2020-04-24T21:58:16.3465109Z   25: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_poly
2020-04-24T21:58:16.3465513Z   26: <rustc_lint::builtin::UnusedBrokenConst as rustc_lint::passes::LateLintPass>::check_item
2020-04-24T21:58:16.3465989Z   27: <rustc_lint::BuiltinCombinedLateLintPass as rustc_lint::passes::LateLintPass>::check_item
2020-04-24T21:58:16.3466306Z   28: rustc_hir::intravisit::Visitor::visit_nested_item
2020-04-24T21:58:16.3466545Z   29: rustc_hir::intravisit::walk_mod
2020-04-24T21:58:16.3466830Z   30: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_mod
2020-04-24T21:58:16.3467118Z   31: rustc_hir::intravisit::walk_crate
2020-04-24T21:58:16.3467444Z   32: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3467703Z   33: rustc_data_structures::sync::join
2020-04-24T21:58:16.3467985Z   34: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-24T21:58:16.3468392Z   35: std::panicking::try
2020-04-24T21:58:16.3468654Z   36: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-24T21:58:16.3469335Z   38: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-24T21:58:16.3469592Z   39: rustc_interface::passes::analysis
2020-04-24T21:58:16.3469592Z   39: rustc_interface::passes::analysis
2020-04-24T21:58:16.3470013Z   40: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
2020-04-24T21:58:16.3470506Z   41: rustc_query_system::dep_graph::graph::DepGraph<K>::with_eval_always_task

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)

@spastorino
Copy link
Member Author

I'm not sure how to make or ui test not care about stderr files, or the right flags to generate the same stacktrace everywhere or a way to run compile-tests that allow 101 exit codes. cc @oli-obk

@oli-obk
Copy link
Contributor

oli-obk commented Apr 25, 2020

The main doubt I have about this PR is if we should run it with RUST_BACKTRACE=1 or not.
The problem with doing that is the full path that is there as I've commented, unsure if there's a way to avoid that and also that changing a bit where we emit the error will make this test to fail. The second problem is also what usually happens but at least adding a backtrace allows us to properly test that this is pointing more or less to the right spot.

We should not run it with backtrace, as that will break the test with every tiny change to rustc. While we could probably mitigate that with stderr normalization patterns, it would still just be noise to all PRs that cause a change to the backtrace.

@spastorino
Copy link
Member Author

We should not run it with backtrace, as that will break the test with every tiny change to rustc. While we could probably mitigate that with stderr normalization patterns, it would still just be noise to all PRs that cause a change to the backtrace.

@oli-obk yes, it is not great to run with backtrace in my opinion but on the other hand, how do you test that this is stopping in the right place?. What I wanted was something that runs with backtraces on but filter those out and just search for ...

 // error-pattern: rustc_mir::const_eval::eval_queries::const_eval_raw_provider 

or something like that. that breaks if const_eval_raw_provider is renamed, or moved or the code that fires this is moved but I think it's a good trade off to be able to properly test this. Anyway, doesn't seem to be a way to do what I want to do.
I'd like a way to test that doesn't require the full stderr file and just scans the output as I'm doing with error-pattern, that seems to be compile-fail but it doesn't work because exit status is 101.

Thoughts?

@oli-obk
Copy link
Contributor

oli-obk commented Apr 26, 2020

I'm not sure if stderr normalization can do this, but if you can remove entire lines, you can remove all the at ... lines and all lines that do not contain const_eval_raw_provider, then you can normalize away the stack frame number infront of const_eval_raw_provider If stderr normalization can't do this, we could add a special normalization thing for backtraces to compiletest

@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch from 7b9aea4 to 8ea5ae4 Compare April 27, 2020 00:53
@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-27T00:54:06.0793558Z ========================== Starting Command Output ===========================
2020-04-27T00:54:06.0795707Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/8dcff27c-e038-4a88-b856-65c765425864.sh
2020-04-27T00:54:06.0795941Z 
2020-04-27T00:54:06.0799290Z ##[section]Finishing: Disable git automatic line ending conversion
2020-04-27T00:54:06.0834125Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71531/merge to s
2020-04-27T00:54:06.0837138Z Task         : Get sources
2020-04-27T00:54:06.0837413Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-27T00:54:06.0837680Z Version      : 1.0.0
2020-04-27T00:54:06.0837881Z Author       : Microsoft
---
2020-04-27T00:54:07.0753830Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-04-27T00:54:07.0766146Z ##[command]git config gc.auto 0
2020-04-27T00:54:07.0771562Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-04-27T00:54:07.0779098Z ##[command]git config --get-all http.proxy
2020-04-27T00:54:07.0785723Z ##[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/71531/merge:refs/remotes/pull/71531/merge
---
2020-04-27T00:56:11.5937572Z  ---> cb2676f08729
2020-04-27T00:56:11.5938721Z 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-27T00:56:11.5961923Z  ---> Using cache
2020-04-27T00:56:11.5962766Z  ---> df25ce111862
2020-04-27T00:56:11.5964379Z 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-27T00:56:11.5966555Z  ---> 599b9ac96b27
2020-04-27T00:56:11.5974927Z Step 7/8 : ENV NO_DEBUG_ASSERTIONS=1
2020-04-27T00:56:11.5975842Z  ---> Using cache
2020-04-27T00:56:11.5976617Z  ---> 091087e35a36
---
2020-04-27T00:56:11.6346456Z Looks like docker image is the same as before, not uploading
2020-04-27T00:56:19.5670562Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-27T00:56:19.5913368Z [CI_JOB_NAME=x86_64-gnu-llvm-8]
2020-04-27T00:56:19.5941100Z == clock drift check ==
2020-04-27T00:56:19.5949994Z   local time: Mon Apr 27 00:56:19 UTC 2020
2020-04-27T00:56:19.7559589Z   network time: Mon, 27 Apr 2020 00:56:19 GMT
2020-04-27T00:56:19.7586233Z Starting sccache server...
2020-04-27T00:56:19.8367731Z configure: processing command line
2020-04-27T00:56:19.8368427Z configure: 
2020-04-27T00:56:19.8369661Z configure: rust.dist-src        := False
---
2020-04-27T00:58:49.3394731Z    Compiling unicode-width v0.1.6
2020-04-27T00:58:49.4414618Z    Compiling getopts v0.2.21
2020-04-27T00:58:59.4069889Z    Compiling test v0.0.0 (/checkout/src/libtest)
2020-04-27T00:59:07.6098141Z     Finished release [optimized] target(s) in 1m 00s
2020-04-27T00:59:07.6099399Z {"reason":"build-finished","success":true}
2020-04-27T00:59:07.6342051Z Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-27T00:59:08.2167935Z    Compiling cfg-if v0.1.10
2020-04-27T00:59:08.2168444Z    Compiling libc v0.2.69
2020-04-27T00:59:08.2646089Z    Compiling semver-parser v0.7.0
---
2020-04-27T01:01:33.3686382Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-27T01:01:34.7383302Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-27T01:01:36.2396542Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-27T01:01:36.7233446Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-27T01:01:46.2851700Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-27T01:01:47.9370579Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-27T01:01:52.2619908Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-27T01:01:56.2177046Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-27T01:02:06.2802031Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-27T01:17:06.8695784Z    Compiling rustc_plugin_impl v0.0.0 (/checkout/src/librustc_plugin_impl)
2020-04-27T01:17:14.2644209Z    Compiling rustc_privacy v0.0.0 (/checkout/src/librustc_privacy)
2020-04-27T01:19:43.8237910Z    Compiling rustc-main v0.0.0 (/checkout/src/rustc)
2020-04-27T01:19:44.5031833Z     Finished release [optimized] target(s) in 20m 36s
2020-04-27T01:19:44.5033045Z {"reason":"build-finished","success":true}
2020-04-27T01:19:44.5581663Z Assembling stage1 compiler (x86_64-unknown-linux-gnu)
2020-04-27T01:19:44.5595661Z Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-27T01:19:44.8615290Z    Compiling cc v1.0.50
2020-04-27T01:19:44.8616721Z    Compiling core v0.0.0 (/checkout/src/libcore)
---
2020-04-27T01:20:31.7090503Z    Compiling unicode-width v0.1.6
2020-04-27T01:20:31.8027879Z    Compiling getopts v0.2.21
2020-04-27T01:20:43.7560857Z    Compiling test v0.0.0 (/checkout/src/libtest)
2020-04-27T01:20:53.0426533Z     Finished release [optimized] target(s) in 1m 08s
2020-04-27T01:20:53.0430845Z {"reason":"build-finished","success":true}
2020-04-27T01:20:53.0570973Z Building stage1 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-27T01:20:53.6551707Z    Compiling cfg-if v0.1.10
2020-04-27T01:20:53.6553545Z    Compiling libc v0.2.69
2020-04-27T01:20:53.7061590Z    Compiling semver-parser v0.7.0
---
2020-04-27T01:23:35.2839558Z    Compiling rustc_feature v0.0.0 (/checkout/src/librustc_feature)
2020-04-27T01:23:36.8394111Z    Compiling fmt_macros v0.0.0 (/checkout/src/libfmt_macros)
2020-04-27T01:23:38.6466894Z    Compiling rustc_ast_pretty v0.0.0 (/checkout/src/librustc_ast_pretty)
2020-04-27T01:23:38.9929621Z    Compiling rustc_hir v0.0.0 (/checkout/src/librustc_hir)
2020-04-27T01:23:49.1137042Z    Compiling rustc_query_system v0.0.0 (/checkout/src/librustc_query_system)
2020-04-27T01:23:51.1331801Z    Compiling rustc_hir_pretty v0.0.0 (/checkout/src/librustc_hir_pretty)
2020-04-27T01:23:55.5997542Z    Compiling rustc_attr v0.0.0 (/checkout/src/librustc_attr)
2020-04-27T01:23:59.8839666Z    Compiling rustc_parse v0.0.0 (/checkout/src/librustc_parse)
2020-04-27T01:24:09.9773630Z    Compiling rustc_ast_lowering v0.0.0 (/checkout/src/librustc_ast_lowering)
---
2020-04-27T01:37:56.4679985Z    Compiling rustc_ty v0.0.0 (/checkout/src/librustc_ty)
2020-04-27T01:39:13.6531562Z    Compiling rustc_privacy v0.0.0 (/checkout/src/librustc_privacy)
2020-04-27T01:39:44.7425464Z    Compiling rustc_plugin_impl v0.0.0 (/checkout/src/librustc_plugin_impl)
2020-04-27T01:42:43.7968242Z    Compiling rustc-main v0.0.0 (/checkout/src/rustc)
2020-04-27T01:42:44.4373771Z {"reason":"build-finished","success":true}
2020-04-27T01:42:44.4848330Z Copying stage1 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
2020-04-27T01:42:44.4888583Z Assembling stage2 compiler (x86_64-unknown-linux-gnu)
2020-04-27T01:42:44.4902924Z Uplifting stage1 std (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-27T01:42:44.4903881Z Copying stage2 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
---
2020-04-27T01:43:25.3456208Z    Compiling serde_derive v1.0.81
2020-04-27T01:43:52.3659727Z    Compiling serde_json v1.0.40
2020-04-27T01:43:53.7581459Z    Compiling rustfix v0.5.0
2020-04-27T01:43:56.8298648Z    Compiling compiletest v0.0.0 (/checkout/src/tools/compiletest)
2020-04-27T01:44:10.5466438Z {"reason":"build-finished","success":true}
2020-04-27T01:44:10.5865560Z Check compiletest suite=ui mode=ui (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
2020-04-27T01:44:13.4879354Z 
2020-04-27T01:44:13.4880262Z running 9927 tests
2020-04-27T01:44:27.1158557Z .................................................................................................... 100/9927
---
2020-04-27T01:46:17.3538018Z .................................................................................................... 1700/9927
2020-04-27T01:46:22.0585764Z .................................................................................................... 1800/9927
2020-04-27T01:46:30.2092780Z .................................................................................................... 1900/9927
2020-04-27T01:46:38.9093989Z ........i........................................................................................... 2000/9927
2020-04-27T01:46:45.5821875Z ..................................................................................................ii 2100/9927
2020-04-27T01:46:59.4694062Z iii................................................................................................. 2200/9927
2020-04-27T01:47:08.3130037Z .................................................................................................... 2400/9927
2020-04-27T01:47:10.7078081Z .................................................................................................... 2500/9927
2020-04-27T01:47:16.4496530Z .................................................................................................... 2600/9927
2020-04-27T01:47:35.0864931Z .................................................................................................... 2700/9927
---
2020-04-27T01:50:14.1917350Z .................................................................................................... 5100/9927
2020-04-27T01:50:21.2314405Z .................................................................................................... 5200/9927
2020-04-27T01:50:25.8993248Z .....................i.............................................................................. 5300/9927
2020-04-27T01:50:35.4625512Z ............i....................................................................................... 5400/9927
2020-04-27T01:50:40.8873211Z ............ii.ii........i...i...................................................................... 5500/9927
2020-04-27T01:50:48.5222184Z ...........................................................i........................................ 5700/9927
2020-04-27T01:50:56.9653718Z ............................................................................................ii...... 5800/9927
2020-04-27T01:51:03.4219084Z ...............................i.................................................................... 5900/9927
2020-04-27T01:51:08.8791551Z .................................................................................................... 6000/9927
2020-04-27T01:51:08.8791551Z .................................................................................................... 6000/9927
2020-04-27T01:51:18.8019744Z .................................................................................................... 6100/9927
2020-04-27T01:51:28.6674322Z .........................ii...i..ii...........i..................................................... 6200/9927
2020-04-27T01:51:44.5231880Z .................................................................................................... 6400/9927
2020-04-27T01:51:49.4009377Z .................................................................................................... 6500/9927
2020-04-27T01:51:49.4009377Z .................................................................................................... 6500/9927
2020-04-27T01:51:56.0081600Z .......................................................i..ii........................................ 6600/9927
2020-04-27T01:52:20.1087149Z .................................................................................................... 6800/9927
2020-04-27T01:52:23.8721273Z ........................................................i........................................... 6900/9927
2020-04-27T01:52:25.9416703Z .................................................................................................... 7000/9927
2020-04-27T01:52:28.0744721Z ..................................................................................................i. 7100/9927
---
2020-04-27T01:54:03.4943042Z .................................................................................................... 7900/9927
2020-04-27T01:54:08.9152172Z .................................................................................................... 8000/9927
2020-04-27T01:54:15.2104633Z ..................................................................i................................. 8100/9927
2020-04-27T01:54:25.0187479Z .................................................................................................... 8200/9927
2020-04-27T01:54:30.2600073Z ...............iiiiii.iiiii.i....................................................................... 8300/9927
2020-04-27T01:54:43.6049586Z .................................................................................................... 8500/9927
2020-04-27T01:54:49.2941898Z .................................................................................................... 8600/9927
2020-04-27T01:55:03.3640379Z .................................................................................................... 8700/9927
2020-04-27T01:55:09.9540806Z .................................................................................................... 8800/9927
---
2020-04-27T01:56:44.6818824Z ...............................i.................................................................... 9900/9927
2020-04-27T01:56:54.0869486Z ...........................
2020-04-27T01:56:54.0870773Z failures:
2020-04-27T01:56:54.0917560Z 
2020-04-27T01:56:54.0918326Z ---- [ui] ui/treat-err-as-bug/err.rs stdout ----
2020-04-27T01:56:54.0918673Z 
2020-04-27T01:56:54.0918799Z 6 
2020-04-27T01:56:54.0918799Z 6 
2020-04-27T01:56:54.0919335Z 7 thread 'rustc' panicked at 'aborting due to `-Z treat-err-as-bug=1`', src/librustc_errors/lib.rs:930:13
2020-04-27T01:56:54.0920066Z -    0: backtrace::backtrace::libunwind::trace
2020-04-27T01:56:54.0920551Z -    1: backtrace::backtrace::trace_unsynchronized
2020-04-27T01:56:54.0921011Z -    2: std::sys_common::backtrace::_print_fmt
2020-04-27T01:56:54.0921876Z -    3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
2020-04-27T01:56:54.0921876Z -    3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
2020-04-27T01:56:54.0922705Z -    4: core::fmt::write
2020-04-27T01:56:54.0923113Z -    5: std::io::Write::write_fmt
2020-04-27T01:56:54.0923535Z -    6: std::sys_common::backtrace::_print
2020-04-27T01:56:54.0923989Z -    7: std::sys_common::backtrace::print
2020-04-27T01:56:54.0924445Z -    8: std::panicking::default_hook::{{closure}}
2020-04-27T01:56:54.0924876Z -    9: std::panicking::default_hook
2020-04-27T01:56:54.0925434Z -   10: <alloc::boxed::Box<F> as core::ops::function::Fn<A>>::call
2020-04-27T01:56:54.0925894Z -   11: rustc_driver::report_ice
2020-04-27T01:56:54.0926310Z -   12: std::panicking::rust_panic_with_hook
2020-04-27T01:56:54.0926743Z -   13: std::panicking::begin_panic
2020-04-27T01:56:54.0927210Z -   14: rustc_errors::HandlerInner::panic_if_treat_err_as_bug
2020-04-27T01:56:54.0927691Z -   15: rustc_errors::HandlerInner::bump_err_count
2020-04-27T01:56:54.0928177Z -   16: rustc_errors::HandlerInner::emit_diagnostic
2020-04-27T01:56:54.0928630Z -   17: rustc_errors::Handler::emit_diagnostic
2020-04-27T01:56:54.0929361Z -   18: rustc_errors::diagnostic_builder::DiagnosticBuilder::emit
2020-04-27T01:56:54.0929984Z -   19: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error::{{closure}}
2020-04-27T01:56:54.0930709Z -   20: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic::{{closure}}
2020-04-27T01:56:54.0931328Z -   21: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic
2020-04-27T01:56:54.0931918Z -   22: rustc_middle::mir::interpret::error::ConstEvalErr::struct_error
2020-04-27T01:56:54.0932492Z -   23: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error
2020-04-27T01:56:54.0933100Z -   24: rustc_mir::const_eval::eval_queries::const_eval_raw_provider::{{closure}}
2020-04-27T01:56:54.0933834Z -   25: core::result::Result<T,E>::map_err
2020-04-27T01:56:54.0934339Z -   26: rustc_mir::const_eval::eval_queries::const_eval_raw_provider
2020-04-27T01:56:54.0935226Z -   27: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_raw>::compute
2020-04-27T01:56:54.0936042Z -   28: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-27T01:56:54.0936609Z -   29: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.0937245Z -   30: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-27T01:56:54.0938128Z -   31: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-27T01:56:54.0938864Z -   32: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-27T01:56:54.0939377Z -   33: rustc_middle::ty::context::tls::set_tlv
2020-04-27T01:56:54.0939853Z -   34: rustc_middle::ty::context::tls::enter_context
2020-04-27T01:56:54.0940627Z -   35: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-27T01:56:54.0941380Z -   36: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-27T01:56:54.0941938Z -   37: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-27T01:56:54.0942458Z -   38: rustc_middle::ty::context::tls::with_context_opt
2020-04-27T01:56:54.0942965Z -   39: rustc_middle::ty::context::tls::with_context
2020-04-27T01:56:54.0943466Z -   40: rustc_middle::ty::context::tls::with_related_context
2020-04-27T01:56:54.0944206Z -   41: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-27T01:56:54.0944949Z -   42: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-27T01:56:54.0947269Z -   43: rustc_query_system::query::plumbing::with_diagnostics
2020-04-27T01:56:54.0949142Z -   44: rustc_query_system::query::plumbing::force_query_with_job
2020-04-27T01:56:54.0949707Z -   45: rustc_query_system::query::plumbing::try_execute_query
2020-04-27T01:56:54.0950258Z -   46: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-27T01:56:54.0950980Z -   47: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-27T01:56:54.0952145Z -   48: rustc_query_system::query::plumbing::try_get_cached
2020-04-27T01:56:54.0952678Z -   49: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.0953192Z -   50: rustc_middle::ty::query::TyCtxtAt::const_eval_raw
2020-04-27T01:56:54.0953786Z -   51: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::const_eval_raw
2020-04-27T01:56:54.0954389Z -   52: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-27T01:56:54.0955319Z -   53: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-27T01:56:54.0956275Z -   54: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-27T01:56:54.0956838Z -   55: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.0957474Z -   56: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-27T01:56:54.0958415Z -   57: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-27T01:56:54.0959168Z -   58: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-27T01:56:54.0959682Z -   59: rustc_middle::ty::context::tls::set_tlv
2020-04-27T01:56:54.0960161Z -   60: rustc_middle::ty::context::tls::enter_context
2020-04-27T01:56:54.0960932Z -   61: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-27T01:56:54.0961684Z -   62: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-27T01:56:54.0962250Z -   63: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-27T01:56:54.0962784Z -   64: rustc_middle::ty::context::tls::with_context_opt
2020-04-27T01:56:54.0963269Z -   65: rustc_middle::ty::context::tls::with_context
2020-04-27T01:56:54.0963771Z -   66: rustc_middle::ty::context::tls::with_related_context
2020-04-27T01:56:54.0967874Z -   67: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-27T01:56:54.0968649Z -   68: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-27T01:56:54.0969207Z -   69: rustc_query_system::query::plumbing::with_diagnostics
2020-04-27T01:56:54.0969750Z -   70: rustc_query_system::query::plumbing::force_query_with_job
2020-04-27T01:56:54.0970276Z -   71: rustc_query_system::query::plumbing::try_execute_query
2020-04-27T01:56:54.0970812Z -   72: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-27T01:56:54.0971547Z -   73: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-27T01:56:54.0978153Z -   74: rustc_query_system::query::plumbing::try_get_cached
2020-04-27T01:56:54.0978690Z -   75: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.0979258Z -   76: rustc_middle::ty::query::TyCtxtAt::const_eval_validated
2020-04-27T01:56:54.0979884Z -   77: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::const_eval_validated
2020-04-27T01:56:54.0982956Z -   78: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-27T01:56:54.0985233Z -   79: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-27T01:56:54.0986066Z -   80: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-27T01:56:54.0986639Z -   81: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.0987296Z -   82: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-27T01:56:54.0988181Z -   83: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-27T01:56:54.0988938Z -   84: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-27T01:56:54.0989480Z -   85: rustc_middle::ty::context::tls::set_tlv
2020-04-27T01:56:54.0989966Z -   86: rustc_middle::ty::context::tls::enter_context
2020-04-27T01:56:54.0990760Z -   87: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-27T01:56:54.0991504Z -   88: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-27T01:56:54.0992069Z -   89: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-27T01:56:54.0992809Z -   90: rustc_middle::ty::context::tls::with_context_opt
2020-04-27T01:56:54.0993301Z -   91: rustc_middle::ty::context::tls::with_context
2020-04-27T01:56:54.0993810Z -   92: rustc_middle::ty::context::tls::with_related_context
2020-04-27T01:56:54.0994647Z -   93: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-27T01:56:54.0995391Z -   94: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-27T01:56:54.0995944Z -   95: rustc_query_system::query::plumbing::with_diagnostics
2020-04-27T01:56:54.0996482Z -   96: rustc_query_system::query::plumbing::force_query_with_job
2020-04-27T01:56:54.0997002Z -   97: rustc_query_system::query::plumbing::try_execute_query
2020-04-27T01:56:54.0997542Z -   98: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-27T01:56:54.0998271Z -   99: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-27T01:56:54.0998913Z -  100: rustc_query_system::query::plumbing::try_get_cached
2020-04-27T01:56:54.0999413Z -  101: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.0999948Z -  102: rustc_middle::ty::query::TyCtxtAt::const_eval_validated
2020-04-27T01:56:54.1000572Z -  103: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::const_eval_validated
2020-04-27T01:56:54.1001314Z -  104: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_global_id
2020-04-27T01:56:54.1002049Z -  105: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_poly
2020-04-27T01:56:54.1002750Z -  106: <rustc_lint::builtin::UnusedBrokenConst as rustc_lint::passes::LateLintPass>::check_item
2020-04-27T01:56:54.1003452Z -  107: <rustc_lint::BuiltinCombinedLateLintPass as rustc_lint::passes::LateLintPass>::check_item
2020-04-27T01:56:54.1004214Z -  108: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_item::{{closure}}::{{closure}}
2020-04-27T01:56:54.1004866Z -  109: rustc_lint::late::LateContextAndPass<T>::with_param_env
2020-04-27T01:56:54.1005543Z -  110: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_item::{{closure}}
2020-04-27T01:56:54.1006169Z -  111: rustc_lint::late::LateContextAndPass<T>::with_lint_attrs
2020-04-27T01:56:54.1006795Z -  112: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_item
2020-04-27T01:56:54.1007391Z -  113: rustc_hir::intravisit::Visitor::visit_nested_item
2020-04-27T01:56:54.1007850Z -  114: rustc_hir::intravisit::walk_mod
2020-04-27T01:56:54.1008334Z -  115: rustc_lint::late::LateContextAndPass<T>::process_mod
2020-04-27T01:56:54.1008965Z -  116: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_mod
2020-04-27T01:56:54.1009501Z -  117: rustc_hir::intravisit::walk_crate
2020-04-27T01:56:54.1009980Z -  118: rustc_lint::late::late_lint_pass_crate::{{closure}}
2020-04-27T01:56:54.1010532Z -  119: rustc_lint::late::LateContextAndPass<T>::with_lint_attrs
2020-04-27T01:56:54.1011011Z -  120: rustc_lint::late::late_lint_pass_crate
2020-04-27T01:56:54.1011449Z -  121: rustc_lint::late::late_lint_crate
2020-04-27T01:56:54.1011967Z -  122: rustc_lint::late::check_crate::{{closure}}::{{closure}}
2020-04-27T01:56:54.1012512Z -  123: rustc_data_structures::profiling::VerboseTimingGuard::run
2020-04-27T01:56:54.1013095Z -  124: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1013994Z -  125: rustc_lint::late::check_crate::{{closure}}
2020-04-27T01:56:54.1014446Z -  126: rustc_data_structures::sync::join
2020-04-27T01:56:54.1014871Z -  127: rustc_lint::late::check_crate
2020-04-27T01:56:54.1015457Z -  128: rustc_interface::passes::analysis::{{closure}}::{{closure}}::{{closure}}::{{closure}}
2020-04-27T01:56:54.1016058Z -  129: rustc_data_structures::profiling::VerboseTimingGuard::run
2020-04-27T01:56:54.1016633Z -  130: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1017349Z -  131: rustc_interface::passes::analysis::{{closure}}::{{closure}}::{{closure}}
2020-04-27T01:56:54.1017875Z -  132: core::ops::function::FnOnce::call_once
2020-04-27T01:56:54.1018508Z -  133: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-27T01:56:54.1019051Z -  134: std::panicking::try::do_call
2020-04-27T01:56:54.1019458Z -  135: std::panicking::try::do_try
2020-04-27T01:56:54.1019842Z -  136: std::panicking::try
2020-04-27T01:56:54.1020238Z -  137: std::panic::catch_unwind
2020-04-27T01:56:54.1020721Z -  138: rustc_interface::passes::analysis::{{closure}}::{{closure}}
2020-04-27T01:56:54.1021217Z -  139: core::ops::function::FnOnce::call_once
2020-04-27T01:56:54.1021811Z -  140: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
2020-04-27T01:56:54.1022318Z -  141: std::panicking::try::do_call
2020-04-27T01:56:54.1022727Z -  142: std::panicking::try::do_try
2020-04-27T01:56:54.1023136Z -  143: std::panicking::try
2020-04-27T01:56:54.1023513Z -  144: std::panic::catch_unwind
2020-04-27T01:56:54.1023964Z -  145: rustc_interface::passes::analysis::{{closure}}
2020-04-27T01:56:54.1024505Z -  146: rustc_data_structures::profiling::VerboseTimingGuard::run
2020-04-27T01:56:54.1025079Z -  147: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1025576Z -  148: rustc_interface::passes::analysis
2020-04-27T01:56:54.1026680Z -  149: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
2020-04-27T01:56:54.1027641Z -  150: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
2020-04-27T01:56:54.1028243Z -  151: rustc_query_system::dep_graph::graph::DepGraph<K>::with_eval_always_task
2020-04-27T01:56:54.1028905Z -  152: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}::{{closure}}
2020-04-27T01:56:54.1029944Z -  153: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}::{{closure}}
2020-04-27T01:56:54.1030685Z -  154: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-27T01:56:54.1031193Z -  155: rustc_middle::ty::context::tls::set_tlv
2020-04-27T01:56:54.1031669Z -  156: rustc_middle::ty::context::tls::enter_context
2020-04-27T01:56:54.1032618Z -  157: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query::{{closure}}
2020-04-27T01:56:54.1034761Z -  158: rustc_middle::ty::context::tls::with_related_context::{{closure}}
2020-04-27T01:56:54.1035390Z -  159: rustc_middle::ty::context::tls::with_context::{{closure}}
2020-04-27T01:56:54.1036626Z -  160: rustc_middle::ty::context::tls::with_context_opt
2020-04-27T01:56:54.1037192Z -  161: rustc_middle::ty::context::tls::with_context
2020-04-27T01:56:54.1037718Z -  162: rustc_middle::ty::context::tls::with_related_context
2020-04-27T01:56:54.1038482Z -  163: rustc_middle::ty::query::plumbing::<impl rustc_query_system::query::QueryContext for rustc_middle::ty::context::TyCtxt>::start_query
2020-04-27T01:56:54.1039219Z -  164: rustc_query_system::query::plumbing::force_query_with_job::{{closure}}
2020-04-27T01:56:54.1039773Z -  165: rustc_query_system::query::plumbing::with_diagnostics
2020-04-27T01:56:54.1040327Z -  166: rustc_query_system::query::plumbing::force_query_with_job
2020-04-27T01:56:54.1040854Z -  167: rustc_query_system::query::plumbing::try_execute_query
2020-04-27T01:56:54.1041396Z -  168: rustc_query_system::query::plumbing::get_query::{{closure}}
2020-04-27T01:56:54.1042124Z -  169: <rustc_query_system::query::caches::DefaultCache<K,V> as rustc_query_system::query::caches::QueryCache>::lookup
2020-04-27T01:56:54.1042917Z -  170: rustc_query_system::query::plumbing::try_get_cached
2020-04-27T01:56:54.1043426Z -  171: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1044239Z -  172: rustc_middle::ty::query::TyCtxtAt::analysis
2020-04-27T01:56:54.1044821Z -  173: rustc_middle::ty::query::<impl rustc_middle::ty::context::TyCtxt>::analysis
2020-04-27T01:56:54.1045576Z -  174: rustc_driver::run_compiler::{{closure}}::{{closure}}::{{closure}}
2020-04-27T01:56:54.1046341Z -  175: rustc_middle::ty::context::tls::enter_global::{{closure}}
2020-04-27T01:56:54.1046945Z -  176: rustc_middle::ty::context::tls::enter_context::{{closure}}
2020-04-27T01:56:54.1047653Z -  177: rustc_middle::ty::context::tls::set_tlv
2020-04-27T01:56:54.1048990Z -  178: rustc_middle::ty::context::tls::enter_context
2020-04-27T01:56:54.1049485Z -  179: rustc_middle::ty::context::tls::enter_global
2020-04-27T01:56:54.1049977Z -  180: rustc_interface::passes::QueryContext::enter
2020-04-27T01:56:54.1050509Z -  181: rustc_driver::run_compiler::{{closure}}::{{closure}}
2020-04-27T01:56:54.1051107Z -  182: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter
2020-04-27T01:56:54.1051652Z -  183: rustc_driver::run_compiler::{{closure}}
2020-04-27T01:56:54.1052190Z -  184: rustc_interface::interface::run_compiler_in_existing_thread_pool
2020-04-27T01:56:54.1052724Z -  185: rustc_interface::interface::run_compiler::{{closure}}
2020-04-27T01:56:54.1054719Z -  186: rustc_interface::util::spawn_thread_pool::{{closure}}::{{closure}}::{{closure}}
2020-04-27T01:56:54.1055354Z -  187: scoped_tls::ScopedKey<T>::set
2020-04-27T01:56:54.1055877Z -  188: rustc_interface::util::spawn_thread_pool::{{closure}}::{{closure}}
2020-04-27T01:56:54.1056367Z -  189: scoped_tls::ScopedKey<T>::set
2020-04-27T01:56:54.1056835Z -  190: rustc_ast::attr::with_globals::{{closure}}
2020-04-27T01:56:54.1057276Z -  191: scoped_tls::ScopedKey<T>::set
2020-04-27T01:56:54.1057688Z -  192: rustc_ast::attr::with_globals
2020-04-27T01:56:54.1058179Z -  193: rustc_interface::util::spawn_thread_pool::{{closure}}
2020-04-27T01:56:54.1058690Z -  194: rustc_interface::util::scoped_thread::{{closure}}
2020-04-27T01:56:54.1059436Z +    1: core::fmt::write
2020-04-27T01:56:54.1059653Z +    2: std::io::Write::write_fmt
2020-04-27T01:56:54.1059918Z +    3: std::panicking::default_hook::{{closure}}
2020-04-27T01:56:54.1060203Z +    4: std::panicking::default_hook
2020-04-27T01:56:54.1060203Z +    4: std::panicking::default_hook
2020-04-27T01:56:54.1060437Z +    5: rustc_driver::report_ice
2020-04-27T01:56:54.1060680Z +    6: std::panicking::rust_panic_with_hook
2020-04-27T01:56:54.1060945Z +    7: std::panicking::begin_panic
2020-04-27T01:56:54.1061210Z +    8: rustc_errors::HandlerInner::emit_diagnostic
2020-04-27T01:56:54.1061493Z +    9: rustc_errors::Handler::emit_diagnostic
2020-04-27T01:56:54.1061825Z +   10: rustc_errors::diagnostic_builder::DiagnosticBuilder::emit
2020-04-27T01:56:54.1062219Z +   11: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic::{{closure}}
2020-04-27T01:56:54.1062626Z +   12: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error
2020-04-27T01:56:54.1063014Z +   13: rustc_mir::const_eval::eval_queries::const_eval_raw_provider
2020-04-27T01:56:54.1063609Z +   14: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_raw>::compute
2020-04-27T01:56:54.1064198Z +   15: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.1064944Z +   16: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1065289Z +   17: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-27T01:56:54.1065918Z +   18: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-27T01:56:54.1066522Z +   19: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.1066857Z +   20: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1067336Z +   21: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-27T01:56:54.1068387Z +   22: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-27T01:56:54.1068999Z +   23: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.1069358Z +   24: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1069764Z +   25: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_poly
2020-04-27T01:56:54.1070249Z +   26: <rustc_lint::builtin::UnusedBrokenConst as rustc_lint::passes::LateLintPass>::check_item
2020-04-27T01:56:54.1070716Z +   27: <rustc_lint::BuiltinCombinedLateLintPass as rustc_lint::passes::LateLintPass>::check_item
2020-04-27T01:56:54.1071095Z +   28: rustc_hir::intravisit::Visitor::visit_nested_item
2020-04-27T01:56:54.1071386Z +   29: rustc_hir::intravisit::walk_mod
2020-04-27T01:56:54.1071764Z +   30: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_mod
2020-04-27T01:56:54.1072122Z +   31: rustc_hir::intravisit::walk_crate
2020-04-27T01:56:54.1072452Z +   32: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1072798Z +   33: rustc_data_structures::sync::join
2020-04-27T01:56:54.1073126Z +   34: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1073434Z +   35: std::panic::catch_unwind
2020-04-27T01:56:54.1073763Z +   36: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1074088Z +   37: rustc_interface::passes::analysis
2020-04-27T01:56:54.1074620Z +   38: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
2020-04-27T01:56:54.1075241Z +   39: rustc_query_system::dep_graph::graph::DepGraph<K>::with_eval_always_task
2020-04-27T01:56:54.1075601Z +   40: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1075926Z +   41: rustc_middle::ty::context::tls::enter_global
2020-04-27T01:56:54.1076257Z +   42: rustc_interface::interface::run_compiler_in_existing_thread_pool
2020-04-27T01:56:54.1076561Z +   43: scoped_tls::ScopedKey<T>::set
2020-04-27T01:56:54.1076824Z +   44: rustc_ast::attr::with_globals
2020-04-27T01:56:54.1077750Z 205 
2020-04-27T01:56:54.1078201Z 206 error: internal compiler error: unexpected panic
2020-04-27T01:56:54.1078389Z 
2020-04-27T01:56:54.1078503Z 209 
2020-04-27T01:56:54.1078503Z 209 
2020-04-27T01:56:54.1079337Z 210 note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-27T01:56:54.1080036Z - note: rustc 1.44.0-dev running on x86_64-unknown-linux-gnu
2020-04-27T01:56:54.1080895Z + note: rustc 1.45.0-nightly (bf1be065e 2020-04-27) running on x86_64-unknown-linux-gnu
2020-04-27T01:56:54.1081502Z 213 
2020-04-27T01:56:54.1081502Z 213 
2020-04-27T01:56:54.1082182Z 214 note: compiler flags: -Z threads=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z treat-err-as-bug -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-27T01:56:54.1082663Z 
2020-04-27T01:56:54.1082752Z 
2020-04-27T01:56:54.1082939Z The actual stderr differed from the expected stderr.
2020-04-27T01:56:54.1082939Z The actual stderr differed from the expected stderr.
2020-04-27T01:56:54.1083530Z Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/err.stderr
2020-04-27T01:56:54.1085051Z To update references, rerun the tests and pass the `--bless` flag
2020-04-27T01:56:54.1085654Z To only update this specific test, also pass `--test-args treat-err-as-bug/err.rs`
2020-04-27T01:56:54.1086058Z error: 1 errors occurred comparing output.
2020-04-27T01:56:54.1086276Z status: exit code: 101
2020-04-27T01:56:54.1086276Z status: exit code: 101
2020-04-27T01:56:54.1088811Z command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/treat-err-as-bug/err.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Ztreat-err-as-bug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/auxiliary"
2020-04-27T01:56:54.1091124Z ------------------------------------------
2020-04-27T01:56:54.1091284Z 
2020-04-27T01:56:54.1091635Z ------------------------------------------
2020-04-27T01:56:54.1091822Z stderr:
2020-04-27T01:56:54.1091822Z stderr:
2020-04-27T01:56:54.1092190Z ------------------------------------------
2020-04-27T01:56:54.1092985Z error[E0080]: could not evaluate static initializer
2020-04-27T01:56:54.1093711Z   --> /checkout/src/test/ui/treat-err-as-bug/err.rs:10:21
2020-04-27T01:56:54.1093942Z    |
2020-04-27T01:56:54.1094576Z LL | pub static C: u32 = 0 - 1;
2020-04-27T01:56:54.1095558Z 
2020-04-27T01:56:54.1095558Z 
2020-04-27T01:56:54.1096132Z thread 'rustc' panicked at 'aborting due to `-Z treat-err-as-bug=1`', src/librustc_errors/lib.rs:930:13
2020-04-27T01:56:54.1096770Z    0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
2020-04-27T01:56:54.1097093Z    1: core::fmt::write
2020-04-27T01:56:54.1097301Z    2: std::io::Write::write_fmt
2020-04-27T01:56:54.1097570Z    3: std::panicking::default_hook::{{closure}}
2020-04-27T01:56:54.1097570Z    3: std::panicking::default_hook::{{closure}}
2020-04-27T01:56:54.1098145Z    4: std::panicking::default_hook
2020-04-27T01:56:54.1098371Z    5: rustc_driver::report_ice
2020-04-27T01:56:54.1098620Z    6: std::panicking::rust_panic_with_hook
2020-04-27T01:56:54.1098864Z    7: std::panicking::begin_panic
2020-04-27T01:56:54.1099129Z    8: rustc_errors::HandlerInner::emit_diagnostic
2020-04-27T01:56:54.1099411Z    9: rustc_errors::Handler::emit_diagnostic
2020-04-27T01:56:54.1099724Z   10: rustc_errors::diagnostic_builder::DiagnosticBuilder::emit
2020-04-27T01:56:54.1100101Z   11: rustc_middle::mir::interpret::error::ConstEvalErr::struct_generic::{{closure}}
2020-04-27T01:56:54.1100515Z   12: rustc_middle::mir::interpret::error::ConstEvalErr::report_as_error
2020-04-27T01:56:54.1100880Z   13: rustc_mir::const_eval::eval_queries::const_eval_raw_provider
2020-04-27T01:56:54.1101461Z   14: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_raw>::compute
2020-04-27T01:56:54.1102063Z   15: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.1102392Z   16: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1102723Z   17: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-27T01:56:54.1103344Z   18: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-27T01:56:54.1103944Z   19: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.1104287Z   20: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1104619Z   21: rustc_mir::const_eval::eval_queries::const_eval_validated_provider
2020-04-27T01:56:54.1105215Z   22: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::const_eval_validated>::compute
2020-04-27T01:56:54.1105822Z   23: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task
2020-04-27T01:56:54.1106142Z   24: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1106538Z   25: rustc_middle::mir::interpret::queries::<impl rustc_middle::ty::context::TyCtxt>::const_eval_poly
2020-04-27T01:56:54.1108146Z   26: <rustc_lint::builtin::UnusedBrokenConst as rustc_lint::passes::LateLintPass>::check_item
2020-04-27T01:56:54.1108628Z   27: <rustc_lint::BuiltinCombinedLateLintPass as rustc_lint::passes::LateLintPass>::check_item
2020-04-27T01:56:54.1109128Z   28: rustc_hir::intravisit::Visitor::visit_nested_item
2020-04-27T01:56:54.1109432Z   29: rustc_hir::intravisit::walk_mod
2020-04-27T01:56:54.1109785Z   30: <rustc_lint::late::LateContextAndPass<T> as rustc_hir::intravisit::Visitor>::visit_mod
2020-04-27T01:56:54.1110138Z   31: rustc_hir::intravisit::walk_crate
2020-04-27T01:56:54.1110472Z   32: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1110792Z   33: rustc_data_structures::sync::join
2020-04-27T01:56:54.1111111Z   34: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1111910Z   36: rustc_session::utils::<impl rustc_session::session::Session>::time
2020-04-27T01:56:54.1112236Z   37: rustc_interface::passes::analysis
2020-04-27T01:56:54.1112236Z   37: rustc_interface::passes::analysis
2020-04-27T01:56:54.1112781Z   38: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
2020-04-27T01:56:54.1113375Z   39: rustc_query_system::dep_graph::graph::DepGraph<K>::with_eval_always_task
2020-04-27T01:56:54.1113722Z   40: rustc_query_system::query::plumbing::get_query
2020-04-27T01:56:54.1114037Z   41: rustc_middle::ty::context::tls::enter_global
2020-04-27T01:56:54.1114648Z   43: scoped_tls::ScopedKey<T>::set
2020-04-27T01:56:54.1114903Z   44: rustc_ast::attr::with_globals
2020-04-27T01:56:54.1115203Z note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2020-04-27T01:56:54.1115425Z 
2020-04-27T01:56:54.1115425Z 
2020-04-27T01:56:54.1115632Z error: internal compiler error: unexpected panic
2020-04-27T01:56:54.1115812Z 
2020-04-27T01:56:54.1116409Z note: the compiler unexpectedly panicked. this is a bug.
2020-04-27T01:56:54.1116587Z 
2020-04-27T01:56:54.1117403Z note: we would appreciate a bug report: ***/blob/master/CONTRIBUTING.md#bug-reports
2020-04-27T01:56:54.1118156Z note: rustc 1.45.0-nightly (bf1be065e 2020-04-27) running on x86_64-unknown-linux-gnu
2020-04-27T01:56:54.1118406Z 
2020-04-27T01:56:54.1118406Z 
2020-04-27T01:56:54.1119070Z note: compiler flags: -Z threads=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z unstable-options -Z treat-err-as-bug -C prefer-dynamic -C rpath -C debuginfo=0
2020-04-27T01:56:54.1119597Z query stack during panic:
2020-04-27T01:56:54.1119597Z query stack during panic:
2020-04-27T01:56:54.1120013Z #0 [const_eval_raw] const-evaluating `C`
2020-04-27T01:56:54.1120468Z #1 [const_eval_validated] const-evaluating + checking `C`
2020-04-27T01:56:54.1120951Z #2 [const_eval_validated] const-evaluating + checking `C`
2020-04-27T01:56:54.1121258Z #3 [analysis] running analysis passes on this crate
2020-04-27T01:56:54.1121606Z 
2020-04-27T01:56:54.1121969Z ------------------------------------------
2020-04-27T01:56:54.1122134Z 
2020-04-27T01:56:54.1122230Z 
2020-04-27T01:56:54.1122230Z 
2020-04-27T01:56:54.1122324Z 
2020-04-27T01:56:54.1122455Z failures:
2020-04-27T01:56:54.1122825Z     [ui] ui/treat-err-as-bug/err.rs
2020-04-27T01:56:54.1123441Z test result: FAILED. 9865 passed; 1 failed; 61 ignored; 0 measured; 0 filtered out
2020-04-27T01:56:54.1123673Z 
2020-04-27T01:56:54.1124218Z thread 'main' panicked at 'Some tests failed', src/tools/compiletest/src/main.rs:348:22
2020-04-27T01:56:54.1124580Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-04-27T01:56:54.1124580Z note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2020-04-27T01:56:54.1124786Z 
2020-04-27T01:56:54.1124889Z 
2020-04-27T01:56:54.1128362Z 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-8/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" "8.0.0" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
2020-04-27T01:56:54.1130694Z 
2020-04-27T01:56:54.1130786Z 
2020-04-27T01:56:54.1131269Z failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test --exclude src/tools/tidy
2020-04-27T01:56:54.1131615Z Build completed unsuccessfully in 0:58:48
2020-04-27T01:56:54.1131615Z Build completed unsuccessfully in 0:58:48
2020-04-27T01:56:54.1131837Z == clock drift check ==
2020-04-27T01:56:54.1132059Z   local time: Mon Apr 27 01:56:54 UTC 2020
2020-04-27T01:56:54.3928482Z   network time: Mon, 27 Apr 2020 01:56:54 GMT
2020-04-27T01:56:54.7528088Z 
2020-04-27T01:56:54.7528088Z 
2020-04-27T01:56:54.7598125Z ##[error]Bash exited with code '1'.
2020-04-27T01:56:54.7616069Z ##[section]Finishing: Run build
2020-04-27T01:56:54.7661416Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/71531/merge to s
2020-04-27T01:56:54.7666266Z Task         : Get sources
2020-04-27T01:56:54.7666585Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-04-27T01:56:54.7666864Z Version      : 1.0.0
2020-04-27T01:56:54.7667064Z Author       : Microsoft
2020-04-27T01:56:54.7667064Z Author       : Microsoft
2020-04-27T01:56:54.7667406Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-04-27T01:56:54.7667757Z ==============================================================================
2020-04-27T01:56:55.0982314Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-04-27T01:56:55.1023334Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/71531/merge to s
2020-04-27T01:56:55.1113383Z Cleaning up task key
2020-04-27T01:56:55.1114615Z Start cleaning up orphan processes.
2020-04-27T01:56:55.1289621Z Terminate orphan process: pid (3846) (python)
2020-04-27T01:56:55.1456024Z ##[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)

@nikomatsakis
Copy link
Contributor

r? @oli-obk -- I agree with the sentiment that we don't want this test to break constantly =) but the idea of testing backtrace makes sense.

@spastorino
Copy link
Member Author

spastorino commented Apr 28, 2020

@oli-obk @nikomatsakis: @eddyb had a better idea which is to implement what's stated in #70953. After that's implemented, in this PR, we can reuse the new generated output and more properly test by using instead of the backtrace, just the query stack. Besides from the idea being a good one per se, it would make these tests better too :) and we would avoid all these kind of tricks we were mentioning.

So I'd say that this PR is blocked on #70953.

@spastorino spastorino 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 Apr 28, 2020
@bors
Copy link
Contributor

bors commented Apr 28, 2020

☔ The latest upstream changes (presumably #71636) made this pull request unmergeable. Please resolve the merge conflicts.

@joelpalmer joelpalmer 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 7, 2020
@spastorino spastorino added S-blocked Status: Blocked on something else such as an RFC or other implementation work. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 7, 2020
@spastorino
Copy link
Member Author

Just in case to be clear, this is blocked on #70953.

@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch from 8ea5ae4 to fa84a9e Compare July 20, 2020 17:30
@camelid
Copy link
Member

camelid commented Jan 29, 2021

#70953 has been closed due to #77493 being merged, so I think this is no longer blocked! @rustbot label: -S-blocked +S-waiting-on-author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-blocked Status: Blocked on something else such as an RFC or other implementation work. labels Jan 29, 2021
@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch from fa84a9e to 1aa8b04 Compare February 6, 2021 13:29
@spastorino
Copy link
Member Author

This is now ready to review.

@spastorino spastorino added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 6, 2021
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-9 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
.................................................................................................... 11400/11403
...
failures:

---- [ui] ui/treat-err-as-bug/err.rs stdout ----

13 
13 
14 note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
- note: rustc 1.51.0-dev running on x86_64-unknown-linux-gnu
- note: rustc 1.51.0-dev running on x86_64-unknown-linux-gnu
+ note: rustc 1.52.0-nightly (deaf2d73b 2021-02-06) running on x86_64-unknown-linux-gnu
17 
18 note: compiler flags: -Z threads=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z emit-future-incompat-report -Z unstable-options -Z treat-err-as-bug -C prefer-dynamic -C rpath -C debuginfo=0


The actual stderr differed from the expected stderr.
The actual stderr differed from the expected stderr.
Actual stderr saved to /checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/err.stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args treat-err-as-bug/err.rs`
error: 1 errors occurred comparing output.
status: exit code: 101
status: exit code: 101
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui/treat-err-as-bug/err.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zemit-future-incompat-report" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err" "-A" "unused" "-Crpath" "-O" "-Cdebuginfo=0" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Ztreat-err-as-bug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/treat-err-as-bug/err/auxiliary"
------------------------------------------

------------------------------------------
stderr:
stderr:
------------------------------------------
error[E0080]: could not evaluate static initializer
  --> /checkout/src/test/ui/treat-err-as-bug/err.rs:8:21
   |
LL | pub static C: u32 = 0 - 1;
   |                     ^^^^^ attempt to compute `0_u32 - 1_u32`, which would overflow

thread 'rustc' panicked at 'aborting due to `-Z treat-err-as-bug=1`', compiler/rustc_errors/src/lib.rs:990:27

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.
note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.52.0-nightly (deaf2d73b 2021-02-06) running on x86_64-unknown-linux-gnu


note: compiler flags: -Z threads=1 -Z ui-testing -Z deduplicate-diagnostics=no -Z emit-future-incompat-report -Z unstable-options -Z treat-err-as-bug -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [eval_to_allocation_raw] const-evaluating + checking `C`
#1 [eval_to_allocation_raw] const-evaluating + checking `C`
end of query stack
------------------------------------------




failures:
    [ui] ui/treat-err-as-bug/err.rs
Some tests failed in compiletest suite=ui mode=ui host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
test result: FAILED. 11310 passed; 1 failed; 92 ignored; 0 measured; 0 filtered out; finished in 138.23s




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" "--suite" "ui" "--mode" "ui" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-9/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/python3" "--lldb-python" "/usr/bin/python3" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "9.0.0" "--llvm-components" "aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfogsym debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvutils runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target textapi transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86utils xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap --stage 2 test --exclude src/tools/tidy
Build completed unsuccessfully in 0:15:38

@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch 4 times, most recently from e5e9046 to 5a2c4c4 Compare February 6, 2021 19:13
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-9 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Suite("src/test/assembly") not skipped for "bootstrap::test::Assembly" -- not in ["src/tools/tidy"]
Check compiletest suite=assembly mode=assembly (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)

running 29 tests
iiiiiiiiiiiiiiiiiiiiiiiiiiiii

 finished in 0.075 seconds
Suite("src/test/incremental") not skipped for "bootstrap::test::Incremental" -- not in ["src/tools/tidy"]
Check compiletest suite=incremental mode=incremental (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
---
Suite("src/test/debuginfo") not skipped for "bootstrap::test::Debuginfo" -- not in ["src/tools/tidy"]
Check compiletest suite=debuginfo mode=debuginfo (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)

running 116 tests
iiiiiiiiii.i.i..i..i..ii....i.i....ii..........iiii.........i.....i...i.......ii.i.ii.....iiii.....i 100/116
test result: ok. 78 passed; 0 failed; 38 ignored; 0 measured; 0 filtered out; finished in 2.40s

 finished in 2.485 seconds
Suite("src/test/ui-fulldeps") not skipped for "bootstrap::test::UiFullDeps" -- not in ["src/tools/tidy"]
---
   Compiling rustc-demangle v0.1.18
   Compiling rust-demangler v0.0.1 (/checkout/src/tools/rust-demangler)
    Finished release [optimized] target(s) in 2.01s
Check compiletest suite=run-make-fulldeps mode=run-make (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 20, kind: Other, message: "Not a directory" }', src/tools/compiletest/src/header.rs:39:41



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" "--rustdoc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" "--rust-demangler-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/rust-demangler" "--src-base" "/checkout/src/test/run-make-fulldeps" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--suite" "run-make-fulldeps" "--mode" "run-make" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-9/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/python3" "--lldb-python" "/usr/bin/python3" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "9.0.0" "--llvm-components" "aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfogsym debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker lto mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvutils runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target textapi transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86utils xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray" "--system-llvm" "--llvm-bin-dir" "/usr/lib/llvm-9/bin" "--cc" "cc" "--cxx" "c++" "--cflags" "-ffunction-sections -fdata-sections -fPIC -m64" "--ar" "ar" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"


failed to run: /checkout/obj/build/bootstrap/debug/bootstrap --stage 2 test --exclude src/tools/tidy
Build completed unsuccessfully in 0:36:07

@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch 2 times, most recently from 0e0fa06 to 832cf54 Compare February 7, 2021 04:46
@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch from 832cf54 to 96dbe32 Compare February 7, 2021 04:51
@rust-log-analyzer
Copy link
Collaborator

The job mingw-check failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
configure: rust.channel         := nightly
configure: rust.debug-assertions := True
configure: llvm.assertions      := True
configure: dist.missing-tools   := True
configure: build.configure-args := ['--enable-sccache', '--disable-manage-submodu ...
configure: writing `config.toml` in current directory
configure: 
configure: run `python /checkout/x.py --help`
configure: 
---
Checking which error codes lack tests...
Found 436 error codes
Found 0 error codes with no tests
Done!
tidy error: /checkout/src/test/ui/treat-err-as-bug/delay_span_bug.rs: leading newline
some tidy checks failed

command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/tidy" "/checkout" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "/checkout/obj/build"
expected success, got: exit code: 1

@spastorino spastorino force-pushed the move-treat-err-as-bug-tests-to-ui branch from 96dbe32 to 6d9efd1 Compare February 7, 2021 19:14
@oli-obk
Copy link
Contributor

oli-obk commented Feb 8, 2021

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Feb 8, 2021

📌 Commit 6d9efd1 has been approved by oli-obk

@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 Feb 8, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 8, 2021
Rollup of 9 pull requests

Successful merges:

 - rust-lang#71531 (Move treat err as bug tests to ui)
 - rust-lang#81356 (libtest: allow multiple filters)
 - rust-lang#81735 (faster few span methods)
 - rust-lang#81779 (improve error message for disallowed ptr-to-int casts in const eval)
 - rust-lang#81817 (Add option to emit compiler stderr per bitwidth.)
 - rust-lang#81828 (parse_format: treat r" as a literal)
 - rust-lang#81840 (fix formatting of std::iter::Map)
 - rust-lang#81861 (Show MIR bytes separately in -Zmeta-stats output)
 - rust-lang#81865 (Clean up weird Option mapping)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 35ebbe3 into rust-lang:master Feb 8, 2021
@rustbot rustbot added this to the 1.52.0 milestone Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-const-eval Area: Constant evaluation (MIR interpretation) A-testsuite Area: The testsuite used to check the correctness of rustc 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.

10 participants