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

Compiler panicked could not compile proc-macro2 (lib) #137696

Open
yobra-king opened this issue Feb 27, 2025 · 2 comments
Open

Compiler panicked could not compile proc-macro2 (lib) #137696

yobra-king opened this issue Feb 27, 2025 · 2 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-info Status: The issue lacks details necessary to triage or act on it. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@yobra-king
Copy link

yobra-king commented Feb 27, 2025

guessing_game git:(master) ✗ cargo  build                  Compiling proc-macro2 v1.0.93                              Compiling rand_core v0.6.4                              thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:         range start index 11780400 out of range for slice of length 1343120                                                   stack backtrace:                                              0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950                                                      1: 0xa6eda93a - core::fmt::write::h96d5223573846629        2: 0xa6e981c4 - <unknown>                                  3: 0xa6e9bc64 - <unknown>                                  4: 0xa6eabb02 - <unknown>                                  5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f                                                       6: 0xa4cd736a - <unknown>                                  7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b                                               8: 0xa6e9cb30 - <unknown>                                  9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a                                                        12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5342b9e - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::type_of::type_of
  24: 0xa5fcba9e - <unknown>
  25: 0xa5e4d532 - <unknown>
  26: 0xa5ea9ab8 - <unknown>
  27: 0xa5f3d20c - <unknown>
  28: 0xa52f422a - <unknown>
  29: 0xa5347e60 - <unknown>
  30: 0xa52d59ba - <unknown>
  31: 0xa5fca39a - <unknown>
  32: 0xa5e47200 - <unknown>
  33: 0xa5eb1434 - <unknown>
  34: 0xa5fd2f10 - <unknown>
  35: 0xa52d5724 - <unknown>
  36: 0xa5fc9496 - <unknown>
  37: 0xa5e43cac - <unknown>
  38: 0xa5eab73c - <unknown>
  39: 0xa5fd17d6 - <unknown>
  40: 0xa52f4498 - <unknown>
  41: 0xa5354b6a - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::predicates_of::predicates_of
  42: 0xa5fc685e - <unknown>
  43: 0xa5e3aa36 - <unknown>
  44: 0xa5e9cf1c - <unknown>
  45: 0xa5f3debc - <unknown>
  46: 0xa527468c - <unknown>
  47: 0xa5265a2a - <rustc_hir_analysis[4e2eeb91b83acd3b]::collect::CollectItemTypesVisitor as rustc_hir[41645989f5f1a34d]::intravisit::Visitor>::visit_item
  48: 0xa52c8484 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  49: 0xa5fc813e - <unknown>
  50: 0xa5e3faac - <unknown>
  51: 0xa5f180ae - <unknown>
  52: 0xa6085640 - <unknown>
  53: 0xa52f4a1c - <unknown>
  54: 0xa52dfe60 - <unknown>
  55: 0xa51fa10a - <unknown>
  56: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  57: 0xa5fc8116 - <unknown>
  58: 0xa5e3f8d0 - <unknown>
  59: 0xa5ee6782 - <unknown>
  60: 0xa5f44db4 - <unknown>
  61: 0xa5307766 - <unknown>
  62: 0xa52e0004 - <unknown>
  63: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
  64: 0xa4ef6f66 - <unknown>
  65: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
  66: 0xa5fcbac4 - <unknown>
  67: 0xa5e4d5d6 - <unknown>
  68: 0xa5eb0074 - <unknown>
  69: 0xa5f28c4e - <unknown>
  70: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::Span`
#1 [type_of] computing type of `extra::DelimSpanEnum::Compiler::join`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 1558837 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5342b9e - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::type_of::type_of
  24: 0xa5fcba9e - <unknown>
  25: 0xa5e4d532 - <unknown>
  26: 0xa5ea9ab8 - <unknown>
  27: 0xa5f3d20c - <unknown>
  28: 0xa5d88358 - <unknown>
  29: 0xa5d91b46 - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  30: 0xa5fc80a0 - <unknown>
  31: 0xa5e3f6ec - <unknown>
  32: 0xa5f1a02e - <unknown>
  33: 0xa60834c2 - <unknown>
  34: 0xa5d87790 - <unknown>
  35: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  36: 0xa5fc80a0 - <unknown>
  37: 0xa5e3f6ec - <unknown>
  38: 0xa5f1a02e - <unknown>
  39: 0xa60834c2 - <unknown>
  40: 0xa5d87790 - <unknown>
  41: 0xa5d91e1a - rustc_ty_utils[534bbba8f1359a84]::representability::representability_adt_ty
  42: 0xa5fca64a - <unknown>
  43: 0xa5e47aac - <unknown>
  44: 0xa5ee1888 - <unknown>
  45: 0xa608356e - <unknown>
  46: 0xa5d91d60 - <unknown>
  47: 0xa5fc80a0 - <unknown>
  48: 0xa5e3f6ec - <unknown>
  49: 0xa5f1a02e - <unknown>
  50: 0xa60834c2 - <unknown>
  51: 0xa5d87790 - <unknown>
  52: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  53: 0xa5fc80a0 - <unknown>
  54: 0xa5e3f6ec - <unknown>
  55: 0xa5f1a02e - <unknown>
  56: 0xa60834c2 - <unknown>
  57: 0xa5d87790 - <unknown>
  58: 0xa5d91e1a - rustc_ty_utils[534bbba8f1359a84]::representability::representability_adt_ty
  59: 0xa5fca64a - <unknown>
  60: 0xa5e47aac - <unknown>
  61: 0xa5ee1888 - <unknown>
  62: 0xa608356e - <unknown>
  63: 0xa5d91d60 - <unknown>
  64: 0xa5fc80a0 - <unknown>
  65: 0xa5e3f6ec - <unknown>
  66: 0xa5f1a02e - <unknown>
  67: 0xa60834c2 - <unknown>
  68: 0xa5d87790 - <unknown>
  69: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  70: 0xa5fc80a0 - <unknown>
  71: 0xa5e3f6ec - <unknown>
  72: 0xa5f1a02e - <unknown>
  73: 0xa60834c2 - <unknown>
  74: 0xa5d87790 - <unknown>
  75: 0xa5d94954 - rustc_ty_utils[534bbba8f1359a84]::ty::adt_sized_constraint
  76: 0xa5fc9154 - <unknown>
  77: 0xa5e434c4 - <unknown>
  78: 0xa5ea9ab8 - <unknown>
  79: 0xa5f422d0 - <unknown>
  80: 0xa6a20e58 - <unknown>
  81: 0xa6a14632 - <rustc_middle[640e962d9afbd73e]::ty::adt::AdtDef>::sized_constraint
  82: 0xa64bcf5e - <unknown>
  83: 0xa64c8f54 - <unknown>
  84: 0xa64bb916 - <unknown>
  85: 0xa64cf288 - <unknown>
  86: 0xa64d1798 - <unknown>
  87: 0xa64d107a - <unknown>
  88: 0xa64d0294 - <unknown>
  89: 0xa64d00de - <unknown>
  90: 0xa6375fb0 - <unknown>
  91: 0xa58c395e - rustc_traits[1efa8b4b8aad0d1b]::evaluate_obligation::evaluate_obligation
  92: 0xa5fc8e84 - <unknown>
  93: 0xa5e4260c - <unknown>
  94: 0xa5ec2d96 - <unknown>
  95: 0xa5fdfb76 - <unknown>
  96: 0xa63de478 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  97: 0xa63de672 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  98: 0xa63de13c - <unknown>
  99: 0xa63dd32e - <rustc_trait_selection[d63634893ecc4522]::traits::fulfill::FulfillProcessor as rustc_data_structures[d9e0271ba2677323]::obligation_forest::ObligationProcessor>::process_obligation
 100: 0xa63826f4 - <unknown>
 101: 0xa63cf62a - <unknown>
 102: 0xa64c5f70 - <unknown>
 103: 0xa6361630 - <rustc_trait_selection[d63634893ecc4522]::traits::engine::ObligationCtxt<rustc_trait_selection[d63634893ecc4522]::traits::FulfillmentError>>::assumed_wf_types_and_report_errors
 104: 0xa52c9da2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
 105: 0xa5fc813e - <unknown>
 106: 0xa5e3faac - <unknown>
 107: 0xa5f180ae - <unknown>
 108: 0xa6085640 - <unknown>
 109: 0xa52f4a1c - <unknown>
 110: 0xa52dfe60 - <unknown>
 111: 0xa51fa10a - <unknown>
 112: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
 113: 0xa5fc8116 - <unknown>
 114: 0xa5e3f8d0 - <unknown>
 115: 0xa5ee6782 - <unknown>
 116: 0xa5f44db4 - <unknown>
 117: 0xa5307766 - <unknown>
 118: 0xa52e0004 - <unknown>
 119: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
 120: 0xa4ef6f66 - <unknown>
 121: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
 122: 0xa5fcbac4 - <unknown>
 123: 0xa5e4d5d6 - <unknown>
 124: 0xa5eb0074 - <unknown>
 125: 0xa5f28c4e - <unknown>
 126: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::TokenStream`
#1 [type_of] computing type of `imp::DeferredTokenStream::stream`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 10912498 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5342b9e - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::type_of::type_of
  24: 0xa5fcba9e - <unknown>
  25: 0xa5e4d532 - <unknown>
  26: 0xa5ea9ab8 - <unknown>
  27: 0xa5f3d20c - <unknown>
  28: 0xa5d88358 - <unknown>
  29: 0xa5d91b46 - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  30: 0xa5fc80a0 - <unknown>
  31: 0xa5e3f6ec - <unknown>
  32: 0xa5f1a02e - <unknown>
  33: 0xa60834c2 - <unknown>
  34: 0xa5d87790 - <unknown>
  35: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  36: 0xa5fc80a0 - <unknown>
  37: 0xa5e3f6ec - <unknown>
  38: 0xa5f1a02e - <unknown>
  39: 0xa60834c2 - <unknown>
  40: 0xa5d87790 - <unknown>
  41: 0xa5d91e1a - rustc_ty_utils[534bbba8f1359a84]::representability::representability_adt_ty
  42: 0xa5fca64a - <unknown>
  43: 0xa5e47aac - <unknown>
  44: 0xa5ee1888 - <unknown>
  45: 0xa608356e - <unknown>
  46: 0xa5d91d60 - <unknown>
  47: 0xa5fc80a0 - <unknown>
  48: 0xa5e3f6ec - <unknown>
  49: 0xa5f1a02e - <unknown>
  50: 0xa60834c2 - <unknown>
  51: 0xa5d87790 - <unknown>
  52: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  53: 0xa5fc80a0 - <unknown>
  54: 0xa5e3f6ec - <unknown>
  55: 0xa5f1a02e - <unknown>
  56: 0xa60834c2 - <unknown>
  57: 0xa5d87790 - <unknown>
  58: 0xa5d94954 - rustc_ty_utils[534bbba8f1359a84]::ty::adt_sized_constraint
  59: 0xa5fc9154 - <unknown>
  60: 0xa5e434c4 - <unknown>
  61: 0xa5ea9ab8 - <unknown>
  62: 0xa5f422d0 - <unknown>
  63: 0xa6a20e58 - <unknown>
  64: 0xa6a14632 - <rustc_middle[640e962d9afbd73e]::ty::adt::AdtDef>::sized_constraint
  65: 0xa64bcf5e - <unknown>
  66: 0xa64c8f54 - <unknown>
  67: 0xa64bb916 - <unknown>
  68: 0xa64cf288 - <unknown>
  69: 0xa64d1798 - <unknown>
  70: 0xa64d107a - <unknown>
  71: 0xa64d0294 - <unknown>
  72: 0xa64d00de - <unknown>
  73: 0xa6375fb0 - <unknown>
  74: 0xa58c395e - rustc_traits[1efa8b4b8aad0d1b]::evaluate_obligation::evaluate_obligation
  75: 0xa5fc8e84 - <unknown>
  76: 0xa5e4260c - <unknown>
  77: 0xa5ec2d96 - <unknown>
  78: 0xa5fdfb76 - <unknown>
  79: 0xa63de478 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  80: 0xa63de672 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  81: 0xa63de13c - <unknown>
  82: 0xa63dd32e - <rustc_trait_selection[d63634893ecc4522]::traits::fulfill::FulfillProcessor as rustc_data_structures[d9e0271ba2677323]::obligation_forest::ObligationProcessor>::process_obligation
  83: 0xa63826f4 - <unknown>
  84: 0xa63cf62a - <unknown>
  85: 0xa64c5f70 - <unknown>
  86: 0xa6361630 - <rustc_trait_selection[d63634893ecc4522]::traits::engine::ObligationCtxt<rustc_trait_selection[d63634893ecc4522]::traits::FulfillmentError>>::assumed_wf_types_and_report_errors
  87: 0xa52c9da2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  88: 0xa5fc813e - <unknown>
  89: 0xa5e3faac - <unknown>
  90: 0xa5f180ae - <unknown>
  91: 0xa6085640 - <unknown>
  92: 0xa52f4a1c - <unknown>
  93: 0xa52dfe60 - <unknown>
  94: 0xa51fa10a - <unknown>
  95: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  96: 0xa5fc8116 - <unknown>
  97: 0xa5e3f8d0 - <unknown>
  98: 0xa5ee6782 - <unknown>
  99: 0xa5f44db4 - <unknown>
 100: 0xa5307766 - <unknown>
 101: 0xa52e0004 - <unknown>
 102: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
 103: 0xa4ef6f66 - <unknown>
 104: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
 105: 0xa5fcbac4 - <unknown>
 106: 0xa5e4d5d6 - <unknown>
 107: 0xa5eb0074 - <unknown>
 108: 0xa5f28c4e - <unknown>
 109: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::Group`
#1 [type_of] computing type of `imp::Group::Compiler::0`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 8096607 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5342b9e - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::type_of::type_of
  24: 0xa5fcba9e - <unknown>
  25: 0xa5e4d532 - <unknown>
  26: 0xa5ea9ab8 - <unknown>
  27: 0xa5f3d20c - <unknown>
  28: 0xa5d88358 - <unknown>
  29: 0xa5d91b46 - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  30: 0xa5fc80a0 - <unknown>
  31: 0xa5e3f6ec - <unknown>
  32: 0xa5f1a02e - <unknown>
  33: 0xa60834c2 - <unknown>
  34: 0xa5d87790 - <unknown>
  35: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  36: 0xa5fc80a0 - <unknown>
  37: 0xa5e3f6ec - <unknown>
  38: 0xa5f1a02e - <unknown>
  39: 0xa60834c2 - <unknown>
  40: 0xa5d87790 - <unknown>
  41: 0xa5d91e1a - rustc_ty_utils[534bbba8f1359a84]::representability::representability_adt_ty
  42: 0xa5fca64a - <unknown>
  43: 0xa5e47aac - <unknown>
  44: 0xa5ee1888 - <unknown>
  45: 0xa608356e - <unknown>
  46: 0xa5d91d60 - <unknown>
  47: 0xa5fc80a0 - <unknown>
  48: 0xa5e3f6ec - <unknown>
  49: 0xa5f1a02e - <unknown>
  50: 0xa60834c2 - <unknown>
  51: 0xa5d87790 - <unknown>
  52: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  53: 0xa5fc80a0 - <unknown>
  54: 0xa5e3f6ec - <unknown>
  55: 0xa5f1a02e - <unknown>
  56: 0xa60834c2 - <unknown>
  57: 0xa5d87790 - <unknown>
  58: 0xa5d94954 - rustc_ty_utils[534bbba8f1359a84]::ty::adt_sized_constraint
  59: 0xa5fc9154 - <unknown>
  60: 0xa5e434c4 - <unknown>
  61: 0xa5ea9ab8 - <unknown>
  62: 0xa5f422d0 - <unknown>
  63: 0xa6a20e58 - <unknown>
  64: 0xa6a140f2 - <rustc_middle[640e962d9afbd73e]::ty::adt::AdtDef as rustc_type_ir[2e0ec8edee84a0d9]::inherent::AdtDef<rustc_middle[640e962d9afbd73e]::ty::context::TyCtxt>>::sized_constraint
  65: 0xa62f4b3a - <unknown>
  66: 0xa63b3d32 - <unknown>
  67: 0xa637c39a - <unknown>
  68: 0xa63aea2a - <unknown>
  69: 0xa63b9fb6 - <unknown>
  70: 0xa63e115c - <unknown>
  71: 0xa6467c8a - <unknown>
  72: 0xa63e0bdc - <unknown>
  73: 0xa63ab6a0 - <unknown>
  74: 0xa63c2416 - <unknown>
  75: 0xa64c4c76 - <unknown>
  76: 0xa64c4956 - rustc_trait_selection[d63634893ecc4522]::traits::coherence::overlapping_impls
  77: 0xa637327e - <rustc_middle[640e962d9afbd73e]::traits::specialization_graph::Children as rustc_trait_selection[d63634893ecc4522]::traits::specialize::specialization_graph::ChildrenExt>::insert
  78: 0xa6373be0 - <rustc_middle[640e962d9afbd73e]::traits::specialization_graph::Graph as rustc_trait_selection[d63634893ecc4522]::traits::specialize::specialization_graph::GraphExt>::insert
  79: 0xa63d1012 - rustc_trait_selection[d63634893ecc4522]::traits::specialize::specialization_graph_provider
  80: 0xa5fca6a8 - <unknown>
  81: 0xa5e47b80 - <unknown>
  82: 0xa5ea9ab8 - <unknown>
  83: 0xa5f48476 - <unknown>
  84: 0xa53b5dee - <unknown>
  85: 0xa5fc6a44 - <unknown>
  86: 0xa5e3b594 - <unknown>
  87: 0xa5ea2778 - <unknown>
  88: 0xa5f453e0 - <unknown>
  89: 0xa528c896 - <unknown>
  90: 0xa52c99cc - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  91: 0xa5fc813e - <unknown>
  92: 0xa5e3faac - <unknown>
  93: 0xa5f180ae - <unknown>
  94: 0xa6085640 - <unknown>
  95: 0xa52f4a1c - <unknown>
  96: 0xa52dfe60 - <unknown>
  97: 0xa51fa10a - <unknown>
  98: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  99: 0xa5fc8116 - <unknown>
 100: 0xa5e3f8d0 - <unknown>
 101: 0xa5ee6782 - <unknown>
 102: 0xa5f44db4 - <unknown>
 103: 0xa5307766 - <unknown>
 104: 0xa52e0004 - <unknown>
 105: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
 106: 0xa4ef6f66 - <unknown>
 107: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
 108: 0xa5fcbac4 - <unknown>
 109: 0xa5e4d5d6 - <unknown>
 110: 0xa5eb0074 - <unknown>
 111: 0xa5f28c4e - <unknown>
 112: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::Ident`
#1 [type_of] computing type of `imp::Ident::Compiler::0`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 15018469 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5342b9e - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::type_of::type_of
  24: 0xa5fcba9e - <unknown>
  25: 0xa5e4d532 - <unknown>
  26: 0xa5ea9ab8 - <unknown>
  27: 0xa5f3d20c - <unknown>
  28: 0xa5d88358 - <unknown>
  29: 0xa5d91b46 - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  30: 0xa5fc80a0 - <unknown>
  31: 0xa5e3f6ec - <unknown>
  32: 0xa5f1a02e - <unknown>
  33: 0xa60834c2 - <unknown>
  34: 0xa5d87790 - <unknown>
  35: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  36: 0xa5fc80a0 - <unknown>
  37: 0xa5e3f6ec - <unknown>
  38: 0xa5f1a02e - <unknown>
  39: 0xa60834c2 - <unknown>
  40: 0xa5d87790 - <unknown>
  41: 0xa5d91e1a - rustc_ty_utils[534bbba8f1359a84]::representability::representability_adt_ty
  42: 0xa5fca64a - <unknown>
  43: 0xa5e47aac - <unknown>
  44: 0xa5ee1888 - <unknown>
  45: 0xa608356e - <unknown>
  46: 0xa5d91d60 - <unknown>
  47: 0xa5fc80a0 - <unknown>
  48: 0xa5e3f6ec - <unknown>
  49: 0xa5f1a02e - <unknown>
  50: 0xa60834c2 - <unknown>
  51: 0xa5d87790 - <unknown>
  52: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  53: 0xa5fc80a0 - <unknown>
  54: 0xa5e3f6ec - <unknown>
  55: 0xa5f1a02e - <unknown>
  56: 0xa60834c2 - <unknown>
  57: 0xa5d87790 - <unknown>
  58: 0xa5d94954 - rustc_ty_utils[534bbba8f1359a84]::ty::adt_sized_constraint
  59: 0xa5fc9154 - <unknown>
  60: 0xa5e434c4 - <unknown>
  61: 0xa5ea9ab8 - <unknown>
  62: 0xa5f422d0 - <unknown>
  63: 0xa6a20e58 - <unknown>
  64: 0xa6a14632 - <rustc_middle[640e962d9afbd73e]::ty::adt::AdtDef>::sized_constraint
  65: 0xa64bcf5e - <unknown>
  66: 0xa64c8f54 - <unknown>
  67: 0xa64bb916 - <unknown>
  68: 0xa64cf288 - <unknown>
  69: 0xa64d1798 - <unknown>
  70: 0xa64d107a - <unknown>
  71: 0xa64d0294 - <unknown>
  72: 0xa64d00de - <unknown>
  73: 0xa6375fb0 - <unknown>
  74: 0xa58c395e - rustc_traits[1efa8b4b8aad0d1b]::evaluate_obligation::evaluate_obligation
  75: 0xa5fc8e84 - <unknown>
  76: 0xa5e4260c - <unknown>
  77: 0xa5ec2d96 - <unknown>
  78: 0xa5fdfb76 - <unknown>
  79: 0xa63de478 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  80: 0xa63de672 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  81: 0xa63de13c - <unknown>
  82: 0xa63dd32e - <rustc_trait_selection[d63634893ecc4522]::traits::fulfill::FulfillProcessor as rustc_data_structures[d9e0271ba2677323]::obligation_forest::ObligationProcessor>::process_obligation
  83: 0xa63826f4 - <unknown>
  84: 0xa63cf62a - <unknown>
  85: 0xa64c5f70 - <unknown>
  86: 0xa6361630 - <rustc_trait_selection[d63634893ecc4522]::traits::engine::ObligationCtxt<rustc_trait_selection[d63634893ecc4522]::traits::FulfillmentError>>::assumed_wf_types_and_report_errors
  87: 0xa52c9da2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  88: 0xa5fc813e - <unknown>
  89: 0xa5e3faac - <unknown>
  90: 0xa5f180ae - <unknown>
  91: 0xa6085640 - <unknown>
  92: 0xa52f4a1c - <unknown>
  93: 0xa52dfe60 - <unknown>
  94: 0xa51fa10a - <unknown>
  95: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  96: 0xa5fc8116 - <unknown>
  97: 0xa5e3f8d0 - <unknown>
  98: 0xa5ee6782 - <unknown>
  99: 0xa5f44db4 - <unknown>
 100: 0xa5307766 - <unknown>
 101: 0xa52e0004 - <unknown>
 102: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
 103: 0xa4ef6f66 - <unknown>
 104: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
 105: 0xa5fcbac4 - <unknown>
 106: 0xa5e4d5d6 - <unknown>
 107: 0xa5eb0074 - <unknown>
 108: 0xa5f28c4e - <unknown>
 109: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::Literal`
#1 [type_of] computing type of `imp::Literal::Compiler::0`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 6206848 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5349d52 - <unknown>
  24: 0xa534ed42 - <unknown>
  25: 0xa5348f20 - <unknown>
  26: 0xa5341a08 - <unknown>
  27: 0xa53418da - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::predicates_of::explicit_super_predicates_of
  28: 0xa5fcb124 - <unknown>
  29: 0xa5e4ae2c - <unknown>
  30: 0xa5eab73c - <unknown>
  31: 0xa5fd19ce - <unknown>
  32: 0xa5228280 - <unknown>
  33: 0xa5274ef4 - <unknown>
  34: 0xa5265a2a - <rustc_hir_analysis[4e2eeb91b83acd3b]::collect::CollectItemTypesVisitor as rustc_hir[41645989f5f1a34d]::intravisit::Visitor>::visit_item
  35: 0xa52c8484 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  36: 0xa5fc813e - <unknown>
  37: 0xa5e3faac - <unknown>
  38: 0xa5f180ae - <unknown>
  39: 0xa6085640 - <unknown>
  40: 0xa52f4a1c - <unknown>
  41: 0xa52dfe60 - <unknown>
  42: 0xa51fa10a - <unknown>
  43: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  44: 0xa5fc8116 - <unknown>
  45: 0xa5e3f8d0 - <unknown>
  46: 0xa5ee6782 - <unknown>
  47: 0xa5f44db4 - <unknown>
  48: 0xa5307766 - <unknown>
  49: 0xa52e0004 - <unknown>
  50: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
  51: 0xa4ef6f66 - <unknown>
  52: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
  53: 0xa5fcbac4 - <unknown>
  54: 0xa5e4d5d6 - <unknown>
  55: 0xa5eb0074 - <unknown>
  56: 0xa5f28c4e - <unknown>
  57: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::LexError`
#1 [explicit_super_predicates_of] computing the super predicates of `fallback::FromStr2`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 8676160 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa52690d0 - <rustc_hir_analysis[4e2eeb91b83acd3b]::collect::ItemCtxt as rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_fn_sig
  24: 0xa535464c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_fn_ty
  25: 0xa526aa8c - <unknown>
  26: 0xa52763ee - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::fn_sig
  27: 0xa5fcb99a - <unknown>
  28: 0xa5e4cf74 - <unknown>
  29: 0xa5ead3fe - <unknown>
  30: 0xa5e552d6 - <unknown>
  31: 0xa52750d6 - <unknown>
  32: 0xa5265a2a - <rustc_hir_analysis[4e2eeb91b83acd3b]::collect::CollectItemTypesVisitor as rustc_hir[41645989f5f1a34d]::intravisit::Visitor>::visit_item
  33: 0xa52c8484 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  34: 0xa5fc813e - <unknown>
  35: 0xa5e3faac - <unknown>
  36: 0xa5f180ae - <unknown>
  37: 0xa6085640 - <unknown>
  38: 0xa52f4a1c - <unknown>
  39: 0xa52dfe60 - <unknown>
  40: 0xa51fa10a - <unknown>
  41: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  42: 0xa5fc8116 - <unknown>
  43: 0xa5e3f8d0 - <unknown>
  44: 0xa5ee6782 - <unknown>
  45: 0xa5f44db4 - <unknown>
  46: 0xa5307766 - <unknown>
  47: 0xa52e0004 - <unknown>
  48: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
  49: 0xa4ef6f66 - <unknown>
  50: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
  51: 0xa5fcbac4 - <unknown>
  52: 0xa5e4d5d6 - <unknown>
  53: 0xa5eb0074 - <unknown>
  54: 0xa5f28c4e - <unknown>
  55: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::TokenTree`
#1 [fn_sig] computing function signature of `imp::into_compiler_token`
end of query stack
thread 'rustc' panicked at /home/runner/.termux-build/rust/src/compiler/rustc_serialize/src/opaque.rs:269:45:
range start index 13031816 out of range for slice of length 1343120
stack backtrace:
   0: 0xa6e9bd42 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf82f681c7c19f950
   1: 0xa6eda93a - core::fmt::write::h96d5223573846629
   2: 0xa6e981c4 - <unknown>
   3: 0xa6e9bc64 - <unknown>
   4: 0xa6eabb02 - <unknown>
   5: 0xa6eab970 - std::panicking::default_hook::hee607990e41b378f
   6: 0xa4cd736a - <unknown>
   7: 0xa6eac0e2 - std::panicking::rust_panic_with_hook::he973038919fb9a4b
   8: 0xa6e9cb30 - <unknown>
   9: 0xa6e9bee8 - <unknown>
  10: 0xa6eabd70 - rust_begin_unwind
  11: 0xa6ed98b8 - core::panicking::panic_fmt::h5cb13fe6417ff08a
  12: 0xa6ed8f40 - core::slice::index::slice_start_index_len_fail::do_panic::runtime::h239796c6345a51db
  13: 0xa6ed7014 - core::slice::index::slice_start_index_len_fail::hebfa24f3b9728b3c
  14: 0xa65cd97e - <unknown>
  15: 0xa5fcba98 - <unknown>
  16: 0xa5e4d532 - <unknown>
  17: 0xa5ea9ab8 - <unknown>
  18: 0xa5f3d20c - <unknown>
  19: 0xa52f422a - <unknown>
  20: 0xa533c642 - <unknown>
  21: 0xa535350c - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_path
  22: 0xa535452a - <dyn rustc_hir_analysis[4e2eeb91b83acd3b]::hir_ty_lowering::HirTyLowerer>::lower_ty
  23: 0xa5342b9e - rustc_hir_analysis[4e2eeb91b83acd3b]::collect::type_of::type_of
  24: 0xa5fcba9e - <unknown>
  25: 0xa5e4d532 - <unknown>
  26: 0xa5ea9ab8 - <unknown>
  27: 0xa5f3d20c - <unknown>
  28: 0xa5d88358 - <unknown>
  29: 0xa5d91b46 - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  30: 0xa5fc80a0 - <unknown>
  31: 0xa5e3f6ec - <unknown>
  32: 0xa5f1a02e - <unknown>
  33: 0xa60834c2 - <unknown>
  34: 0xa5d87790 - <unknown>
  35: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  36: 0xa5fc80a0 - <unknown>
  37: 0xa5e3f6ec - <unknown>
  38: 0xa5f1a02e - <unknown>
  39: 0xa60834c2 - <unknown>
  40: 0xa5d87790 - <unknown>
  41: 0xa5d91e1a - rustc_ty_utils[534bbba8f1359a84]::representability::representability_adt_ty
  42: 0xa5fca64a - <unknown>
  43: 0xa5e47aac - <unknown>
  44: 0xa5ee1888 - <unknown>
  45: 0xa608356e - <unknown>
  46: 0xa5d91d60 - <unknown>
  47: 0xa5fc80a0 - <unknown>
  48: 0xa5e3f6ec - <unknown>
  49: 0xa5f1a02e - <unknown>
  50: 0xa60834c2 - <unknown>
  51: 0xa5d87790 - <unknown>
  52: 0xa5d91afe - rustc_ty_utils[534bbba8f1359a84]::representability::representability
  53: 0xa5fc80a0 - <unknown>
  54: 0xa5e3f6ec - <unknown>
  55: 0xa5f1a02e - <unknown>
  56: 0xa60834c2 - <unknown>
  57: 0xa5d87790 - <unknown>
  58: 0xa5d94954 - rustc_ty_utils[534bbba8f1359a84]::ty::adt_sized_constraint
  59: 0xa5fc9154 - <unknown>
  60: 0xa5e434c4 - <unknown>
  61: 0xa5ea9ab8 - <unknown>
  62: 0xa5f422d0 - <unknown>
  63: 0xa6a20e58 - <unknown>
  64: 0xa6a14632 - <rustc_middle[640e962d9afbd73e]::ty::adt::AdtDef>::sized_constraint
  65: 0xa64bcf5e - <unknown>
  66: 0xa64c8f54 - <unknown>
  67: 0xa64bb916 - <unknown>
  68: 0xa64cf288 - <unknown>
  69: 0xa64d1798 - <unknown>
  70: 0xa64d107a - <unknown>
  71: 0xa64d0294 - <unknown>
  72: 0xa64d00de - <unknown>
  73: 0xa6375fb0 - <unknown>
  74: 0xa58c395e - rustc_traits[1efa8b4b8aad0d1b]::evaluate_obligation::evaluate_obligation
  75: 0xa5fc8e84 - <unknown>
  76: 0xa5e4260c - <unknown>
  77: 0xa5ec2d96 - <unknown>
  78: 0xa5fdfb76 - <unknown>
  79: 0xa63de478 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  80: 0xa63de672 - <rustc_infer[5074c07d42fd8014]::infer::InferCtxt as rustc_trait_selection[d63634893ecc4522]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  81: 0xa63de13c - <unknown>
  82: 0xa63dd32e - <rustc_trait_selection[d63634893ecc4522]::traits::fulfill::FulfillProcessor as rustc_data_structures[d9e0271ba2677323]::obligation_forest::ObligationProcessor>::process_obligation
  83: 0xa63826f4 - <unknown>
  84: 0xa63cf62a - <unknown>
  85: 0xa64c5f70 - <unknown>
  86: 0xa6361630 - <rustc_trait_selection[d63634893ecc4522]::traits::engine::ObligationCtxt<rustc_trait_selection[d63634893ecc4522]::traits::FulfillmentError>>::assumed_wf_types_and_report_errors
  87: 0xa52c9da2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_well_formed
  88: 0xa5fc813e - <unknown>
  89: 0xa5e3faac - <unknown>
  90: 0xa5f180ae - <unknown>
  91: 0xa6085640 - <unknown>
  92: 0xa52f4a1c - <unknown>
  93: 0xa52dfe60 - <unknown>
  94: 0xa51fa10a - <unknown>
  95: 0xa52ce21c - rustc_hir_analysis[4e2eeb91b83acd3b]::check::wfcheck::check_mod_type_wf
  96: 0xa5fc8116 - <unknown>
  97: 0xa5e3f8d0 - <unknown>
  98: 0xa5ee6782 - <unknown>
  99: 0xa5f44db4 - <unknown>
 100: 0xa5307766 - <unknown>
 101: 0xa52e0004 - <unknown>
 102: 0xa52d60c2 - rustc_hir_analysis[4e2eeb91b83acd3b]::check_crate
 103: 0xa4ef6f66 - <unknown>
 104: 0xa4ef8fee - rustc_interface[8958c3b5d986aaf2]::passes::analysis
 105: 0xa5fcbac4 - <unknown>
 106: 0xa5e4d5d6 - <unknown>
 107: 0xa5eb0074 - <unknown>
 108: 0xa5f28c4e - <unknown>
 109: 0xa6e2da48 - <unknown>

error: 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.84.1 (e71f9a9a9 2025-01-27) (built from a source tarball) running on armv7-linux-androideabi

note: compiler flags: --crate-type lib -C embed-bitcode=no

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [type_of] computing type of `proc_macro::token_stream::IntoIter`
#1 [type_of] computing type of `imp::TokenTreeIter::Compiler::0`
end of query stack
error: could not compile `proc-macro2` (lib)

Caused by:
  process didn't exit successfully: `rustc --crate-name proc_macro2 --edition=2021 /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1cd66030c949c28d/proc-macro2-1.0.93/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=59 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=e5395ebaf85255e5 -C extra-filename=-e5395ebaf85255e5 --out-dir /data/data/com.termux/files/home/projects/guessing_game/target/debug/deps -L dependency=/data/data/com.termux/files/home/projects/guessing_game/target/debug/deps --extern unicode_ident=/data/data/com.termux/files/home/projects/guessing_game/target/debug/deps/libunicode_ident-c2c2fa0349fb204f.rmeta --cap-lints allow --cfg wrap_proc_macro --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
➜  guessing_game git:(master) ✗

@yobra-king yobra-king added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 27, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 27, 2025
@Noratrieb
Copy link
Member

are you able to reproduce this when compiling a second time? and are you observing other crashes?

@Noratrieb
Copy link
Member

also I forgot to ask this initially, do you have a reproduction?

@Noratrieb Noratrieb added S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. S-needs-info Status: The issue lacks details necessary to triage or act on it. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-info Status: The issue lacks details necessary to triage or act on it. S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants