Closed
Bug 1643745
Opened 4 years ago
Closed 4 years ago
June 5 indexer warning (glean analysis failure)
Categories
(Webtools :: Searchfox, defect)
Webtools
Searchfox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kats, Unassigned)
References
Details
The email warned that the glean build failed. Here's the relevant excerpt from the log:
+ cargo +nightly check --all --target-dir=/mnt/index-scratch/glean/objdir
Downloading crates ...
(snip)
thread 'rustc' panicked at 'index 18446744073709551615 out of range for slice of length 0', src/librustc_save_analysis/dump_visitor.rs:213:21
stack backtrace:
0: 0x7fa6814e68e5 - backtrace::backtrace::libunwind::trace::hdbb9dcedd5b14342
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
1: 0x7fa6814e68e5 - backtrace::backtrace::trace_unsynchronized::h5cb0c657a8aaefe5
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
2: 0x7fa6814e68e5 - std::sys_common::backtrace::_print_fmt::hf3d2b27f4a1fea46
at src/libstd/sys_common/backtrace.rs:78
3: 0x7fa6814e68e5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hffe95416249239d3
at src/libstd/sys_common/backtrace.rs:59
4: 0x7fa681523e9c - core::fmt::write::hdf236390fbd68d3d
at src/libcore/fmt/mod.rs:1076
5: 0x7fa6814d9093 - std::io::Write::write_fmt::h707372d99b8d3ce8
at src/libstd/io/mod.rs:1537
6: 0x7fa6814eb900 - std::sys_common::backtrace::_print::h97ba20d63ea7ee1f
at src/libstd/sys_common/backtrace.rs:62
7: 0x7fa6814eb900 - std::sys_common::backtrace::print::hcec5aeaa0e8a40b0
at src/libstd/sys_common/backtrace.rs:49
8: 0x7fa6814eb900 - std::panicking::default_hook::{{closure}}::h8ce2bb1b48eaabb3
at src/libstd/panicking.rs:198
9: 0x7fa6814eb64c - std::panicking::default_hook::hfd893b6e71292289
at src/libstd/panicking.rs:218
10: 0x7fa681bfae13 - rustc_driver::report_ice::h33035c23c2a2abf3
11: 0x7fa6814ebfac - std::panicking::rust_panic_with_hook::h71be6e32cc7c55db
at src/libstd/panicking.rs:490
12: 0x7fa6814ebb8b - rust_begin_unwind
at src/libstd/panicking.rs:388
13: 0x7fa681520a41 - core::panicking::panic_fmt::hd101a87121fa411f
at src/libcore/panicking.rs:101
14: 0x7fa681525e32 - core::slice::slice_index_len_fail::hb5cd3744b833ae5f
at src/libcore/slice/mod.rs:2751
15: 0x7fa681d0529f - rustc_save_analysis::dump_visitor::DumpVisitor::process_path::he5740622b66129c1
16: 0x7fa681d0a401 - <rustc_save_analysis::dump_visitor::DumpVisitor as rustc_hir::intravisit::Visitor>::visit_item::h52a7b688fd99e79f
17: 0x7fa681d06f11 - rustc_save_analysis::dump_visitor::DumpVisitor::process_crate::h98273bd5cb13693f
18: 0x7fa681bd720a - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::he2f7ad7f79b69458
19: 0x7fa681c73189 - rustc_session::utils::<impl rustc_session::session::Session>::time::hcef5d2e064d53f9f
20: 0x7fa681be7c5a - rustc_middle::ty::context::tls::enter_global::h13104a1d9589ac96
21: 0x7fa681c08f28 - rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter::hb67dc99907225910
22: 0x7fa681c72163 - rustc_span::with_source_map::h03cf73a37b0e569f
23: 0x7fa681c0b0e8 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h32891cdd002262b1
24: 0x7fa681be59dd - scoped_tls::ScopedKey<T>::set::hdffe1e0e5fcf8041
25: 0x7fa681c0bdb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hbc1b962a56f96b05
26: 0x7fa681bd918e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5a64e0a1b67fbf90
27: 0x7fa6814fb80a - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hf1df77fdbbc91b60
at /rustc/47c3158c3d797f75f0f7b2b2a977179668919dab/src/liballoc/boxed.rs:1076
28: 0x7fa6814fb80a - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h0fb79cf50c369e84
at /rustc/47c3158c3d797f75f0f7b2b2a977179668919dab/src/liballoc/boxed.rs:1076
29: 0x7fa6814fb80a - std::sys::unix::thread::Thread::new::thread_start::h5839aae79966bc57
at src/libstd/sys/unix/thread.rs:87
30: 0x7fa6812606db - start_thread
at /build/glibc-OTsEL5/glibc-2.27/nptl/pthread_create.c:463
31: 0x7fa680b7d88f - __clone
32: 0x0 - <unknown>
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.45.0-nightly (47c3158c3 2020-06-04) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z save-analysis -C embed-bitcode=no -C debuginfo=2 --crate-type lib
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
error: could not compile `num-traits`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
thread 'rustc' panicked at 'index 18446744073709551615 out of range for slice of length 0', src/librustc_save_analysis/dump_visitor.rs:213:21
stack backtrace:
0: 0x7fa3f8a568e5 - backtrace::backtrace::libunwind::trace::hdbb9dcedd5b14342
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
1: 0x7fa3f8a568e5 - backtrace::backtrace::trace_unsynchronized::h5cb0c657a8aaefe5
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
2: 0x7fa3f8a568e5 - std::sys_common::backtrace::_print_fmt::hf3d2b27f4a1fea46
at src/libstd/sys_common/backtrace.rs:78
3: 0x7fa3f8a568e5 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hffe95416249239d3
at src/libstd/sys_common/backtrace.rs:59
4: 0x7fa3f8a93e9c - core::fmt::write::hdf236390fbd68d3d
at src/libcore/fmt/mod.rs:1076
5: 0x7fa3f8a49093 - std::io::Write::write_fmt::h707372d99b8d3ce8
at src/libstd/io/mod.rs:1537
6: 0x7fa3f8a5b900 - std::sys_common::backtrace::_print::h97ba20d63ea7ee1f
at src/libstd/sys_common/backtrace.rs:62
7: 0x7fa3f8a5b900 - std::sys_common::backtrace::print::hcec5aeaa0e8a40b0
at src/libstd/sys_common/backtrace.rs:49
8: 0x7fa3f8a5b900 - std::panicking::default_hook::{{closure}}::h8ce2bb1b48eaabb3
at src/libstd/panicking.rs:198
9: 0x7fa3f8a5b64c - std::panicking::default_hook::hfd893b6e71292289
at src/libstd/panicking.rs:218
10: 0x7fa3f916ae13 - rustc_driver::report_ice::h33035c23c2a2abf3
11: 0x7fa3f8a5bfac - std::panicking::rust_panic_with_hook::h71be6e32cc7c55db
at src/libstd/panicking.rs:490
12: 0x7fa3f8a5bb8b - rust_begin_unwind
at src/libstd/panicking.rs:388
13: 0x7fa3f8a90a41 - core::panicking::panic_fmt::hd101a87121fa411f
at src/libcore/panicking.rs:101
14: 0x7fa3f8a95e32 - core::slice::slice_index_len_fail::hb5cd3744b833ae5f
at src/libcore/slice/mod.rs:2751
15: 0x7fa3f927529f - rustc_save_analysis::dump_visitor::DumpVisitor::process_path::he5740622b66129c1
16: 0x7fa3f927a401 - <rustc_save_analysis::dump_visitor::DumpVisitor as rustc_hir::intravisit::Visitor>::visit_item::h52a7b688fd99e79f
17: 0x7fa3f9276f11 - rustc_save_analysis::dump_visitor::DumpVisitor::process_crate::h98273bd5cb13693f
18: 0x7fa3f914720a - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps::he2f7ad7f79b69458
19: 0x7fa3f91e3189 - rustc_session::utils::<impl rustc_session::session::Session>::time::hcef5d2e064d53f9f
20: 0x7fa3f9157c5a - rustc_middle::ty::context::tls::enter_global::h13104a1d9589ac96
21: 0x7fa3f9178f28 - rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter::hb67dc99907225910
22: 0x7fa3f91e2163 - rustc_span::with_source_map::h03cf73a37b0e569f
23: 0x7fa3f917b0e8 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h32891cdd002262b1
24: 0x7fa3f91559dd - scoped_tls::ScopedKey<T>::set::hdffe1e0e5fcf8041
25: 0x7fa3f917bdb6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hbc1b962a56f96b05
26: 0x7fa3f914918e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5a64e0a1b67fbf90
27: 0x7fa3f8a6b80a - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hf1df77fdbbc91b60
at /rustc/47c3158c3d797f75f0f7b2b2a977179668919dab/src/liballoc/boxed.rs:1076
28: 0x7fa3f8a6b80a - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h0fb79cf50c369e84
at /rustc/47c3158c3d797f75f0f7b2b2a977179668919dab/src/liballoc/boxed.rs:1076
29: 0x7fa3f8a6b80a - std::sys::unix::thread::Thread::new::thread_start::h5839aae79966bc57
at src/libstd/sys/unix/thread.rs:87
30: 0x7fa3f87d06db - start_thread
at /build/glibc-OTsEL5/glibc-2.27/nptl/pthread_create.c:463
31: 0x7fa3f80ed88f - __clone
32: 0x0 - <unknown>
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.45.0-nightly (47c3158c3 2020-06-04) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z save-analysis -C embed-bitcode=no -C debuginfo=2 --crate-type lib
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
error: build failed
Reporter | ||
Updated•4 years ago
|
Summary: June 5 indexer warning → June 5 indexer warning (glean analysis failure)
Reporter | ||
Comment 1•4 years ago
|
||
Filed upstream.
See Also: → https://github.com/rust-lang/rust/issues/73041
Reporter | ||
Comment 2•4 years ago
|
||
Supposedly fixed upstream, so the next nightly rustc shouldn't have this problem.
Reporter | ||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•