Created attachment 1451375 [details] rust-toolset-7-rust-1.26.2-3.el7 rebuild log on rhel-7.5 s390x Description of problem: Some testcases from 'run-pass' dir that were running successfully on rust-toolset-7-rust-1.25.0-2.el7 (from DevTools-2018.2 release) are now failing on latest rust-toolset-7-rust-1.26.2-3.el7 in s390x: test [run-pass] run-pass/dynamic-drop.rs ... FAILED test [run-pass] run-pass/impl-trait/example-calendar.rs ... FAILED test [run-pass] run-pass/nll/get_default.rs ... FAILED test [run-pass] run-pass/nll/process_or_insert_default.rs ... FAILED All 4 regression failures present similar internal compiler error message: (...) thread 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:335:21 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. stack backtrace: 0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 1: std::sys_common::backtrace::print at libstd/sys_common/backtrace.rs:71 at libstd/sys_common/backtrace.rs:59 2: std::panicking::default_hook::{{closure}} at libstd/panicking.rs:207 3: std::panicking::default_hook at libstd/panicking.rs:223 4: core::ops::function::Fn::call at librustc/util/common.rs:51 at ./src/libcore/ops/function.rs:73 5: std::panicking::rust_panic_with_hook at libstd/panicking.rs:403 6: std::panicking::begin_panic_fmt at libstd/panicking.rs:349 7: rust_begin_unwind at libstd/panicking.rs:325 8: core::panicking::panic_fmt at libcore/panicking.rs:72 9: core::panicking::panic at libcore/panicking.rs:51 10: rustc_mir::borrow_check::nll::region_infer::values::RegionValues::add at ./src/libcore/macros.rs:20 at librustc_mir/borrow_check/nll/region_infer/values.rs:265 at librustc_mir/borrow_check/nll/region_infer/values.rs:242 11: rustc_mir::borrow_check::nll::region_infer::RegionInferenceContext::new at librustc_mir/borrow_check/nll/region_infer/mod.rs:328 at librustc_mir/borrow_check/nll/region_infer/mod.rs:285 12: rustc_mir::borrow_check::nll::compute_regions at librustc_mir/borrow_check/nll/mod.rs:96 13: rustc_mir::borrow_check::do_mir_borrowck at librustc_mir/borrow_check/mod.rs:193 14: <std::thread::local::LocalKey<T>>::with at librustc_mir/borrow_check/mod.rs:78 at ./src/librustc/infer/mod.rs:441 at ./src/librustc/ty/context.rs:1719 at ./src/libstd/thread/local.rs:290 at ./src/libstd/thread/local.rs:244 15: rustc::ty::context::GlobalCtxt::enter_local at ./src/librustc/ty/context.rs:1716 at ./src/librustc/ty/context.rs:1509 16: rustc_mir::borrow_check::mir_borrowck at ./src/librustc/infer/mod.rs:441 at librustc_mir/borrow_check/mod.rs:76 17: rustc::dep_graph::graph::DepGraph::with_task_impl at librustc/ty/maps/plumbing.rs:396 at librustc/dep_graph/graph.rs:294 18: rustc_errors::Handler::track_diagnostics at librustc/dep_graph/graph.rs:200 at librustc/ty/maps/plumbing.rs:514 at ./src/librustc_errors/lib.rs:639 19: rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::cycle_check at librustc/ty/maps/plumbing.rs:507 at librustc/ty/maps/plumbing.rs:121 20: rustc::ty::maps::<impl rustc::ty::maps::queries::mir_borrowck<'tcx>>::force at librustc/ty/maps/plumbing.rs:506 21: rustc::ty::maps::<impl rustc::ty::maps::queries::mir_borrowck<'tcx>>::try_get at librustc/ty/maps/plumbing.rs:314 at librustc/ty/maps/plumbing.rs:548 22: rustc::ty::maps::TyCtxtAt::mir_borrowck at librustc/ty/maps/plumbing.rs:587 23: rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::mir_borrowck at librustc/ty/maps/plumbing.rs:580 24: rustc_driver::driver::phase_3_run_analysis_passes::{{closure}}::{{closure}} at librustc_driver/driver.rs:1071 25: <std::thread::local::LocalKey<T>>::with at librustc_driver/driver.rs:1069 at ./src/librustc/ty/context.rs:1719 at ./src/libstd/thread/local.rs:290 at ./src/libstd/thread/local.rs:244 26: <std::thread::local::LocalKey<T>>::with at ./src/librustc/ty/context.rs:1716 at ./src/librustc/ty/context.rs:1703 at ./src/libstd/thread/local.rs:290 at ./src/libstd/thread/local.rs:244 27: rustc::ty::context::TyCtxt::create_and_enter at ./src/librustc/ty/context.rs:1700 at ./src/librustc/ty/context.rs:1240 28: rustc_driver::driver::compile_input at librustc_driver/driver.rs:1009 at librustc_driver/driver.rs:216 29: rustc_driver::run_compiler_impl at librustc_driver/lib.rs:540 30: syntax::with_globals at librustc_driver/lib.rs:457 at ./src/vendor/scoped-tls/src/lib.rs:155 at ./src/libsyntax/lib.rs:100 at ./src/vendor/scoped-tls/src/lib.rs:155 at ./src/libsyntax/lib.rs:99 error: internal compiler error: unexpected panic (...) The full rpmbuild log is attached. I'm re-running the testsuite with 'RUST_BACKTRACE=full' in order to check if further info is provided. Version-Release number of selected component (if applicable): rust-toolset-7-rust-1.26.2-3.el7.s390x How reproducible: 100% Steps to Reproduce: 1. rpmbuild --rebuild ./rust-toolset-7-rust-1.26.2-3.el7.src.rpm Additional info: Reproducible on both rhel-7.5 and rhel-alt-7.5: Linux ibm-z-05.rhts.eng.bos.redhat.com 3.10.0-862.el7.s390x #1 SMP Wed Mar 21 18:16:24 EDT 2018 s390x s390x s390x GNU/Linux Linux ibm-z-03.rhts.eng.bos.redhat.com 4.14.0-49.el7a.s390x #1 SMP Wed Mar 14 09:57:45 EDT 2018 s390x s390x s390x GNU/Linux
Created attachment 1452838 [details] rust-toolset-7-rust-1.26.2-3.el7 rebuild log on rhel-7.5 s390x with RUST_BACKTRACE=full
NLL is not stable, so there's no user impact here yet.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:3584