Advertisement
Guest User

Backtrace

a guest
Aug 29th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. PS Z:\Rust Programming\obf_test\src> rustc .\main.rs
  2. error: internal compiler error: librustc_codegen_llvm\mir\operand.rs:141: not immediate: OperandRef(Pair(([0 x i8]*:[0 x i8]* bitcast (<{ [9 x i8] }>* @byte_str.0 to [0 x i8]*)), (i64:i64 9)) @ TyLayout { ty: &str, details: LayoutDetails { variants: Single { index: 0 }, fields: Arbitrary { offsets: [Size { raw: 0 }, Size { raw: 8 }], memory_index: [0, 1] }, abi: ScalarPair(Scalar { value: Pointer, valid_range: 1..=18446744073709551615 }, Scalar { value: Int(I64, false), valid_range: 0..=18446744073709551615 }), align: Align { abi_pow2: 3, pref_pow2: 3 }, size: Size { raw: 16 } } })
  3.  
  4. thread 'main' panicked at 'Box<Any>', librustc_errors\lib.rs:578:9
  5. stack backtrace:
  6. 0: <std::sync::mpsc::RecvTimeoutError as core::fmt::Debug>::fmt
  7. 1: std::error::<impl core::convert::From<alloc::borrow::Cow<'b, str>> for alloc::boxed::Box<(dyn std::error::Error + core::marker::Sync + core::marker::Send + 'a)>>::from
  8. 2: std::panicking::take_hook
  9. 3: std::panicking::take_hook
  10. 4: <rustc::ty::sty::Binder<rustc::ty::ProjectionPredicate<'tcx>> as rustc::ty::ToPredicate<'tcx>>::to_predicate
  11. 5: std::panicking::rust_panic_with_hook
  12. 6: <rustc_errors::diagnostic::SubDiagnostic as core::fmt::Debug>::fmt
  13. 7: rustc_errors::Handler::bug
  14. 8: <rustc::mir::traversal::ReversePostorder<'a, 'tcx> as core::iter::iterator::Iterator>::size_hint
  15. 9: rustc::ty::context::tls::track_diagnostic
  16. 10: rustc::ty::context::tls::track_diagnostic
  17. 11: rustc::ty::context::tls::track_diagnostic
  18. 12: rustc::session::bug_fmt
  19. 13: rustc::session::bug_fmt
  20. 14: <rustc_codegen_llvm::llvm::archive_ro::Iter<'a> as core::ops::drop::Drop>::drop
  21. 15: rustc_codegen_llvm::asm::codegen_global_asm
  22. 16: rustc_codegen_llvm::base::codegen_instance
  23. 17: <rustc_codegen_llvm::base::ValueIter<'ll> as core::iter::iterator::Iterator>::next
  24. 18: <rustc::traits::object_safety::MethodViolationCode as core::fmt::Debug>::fmt
  25. 19: <rustc::traits::object_safety::MethodViolationCode as core::fmt::Debug>::fmt
  26. 20: rustc::dep_graph::graph::DepGraph::assert_ignored
  27. 21: rustc::ty::context::tls::track_diagnostic
  28. 22: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::try_print_query_stack
  29. 23: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::try_print_query_stack
  30. 24: rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::compile_codegen_unit
  31. 25: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
  32. 26: rustc_driver::target_features::add_configuration
  33. 27: rustc_driver::driver::phase_4_codegen
  34. 28: rustc_driver::profile::dump
  35. 29: <rustc_driver::pretty::IdentifiedAnnotation<'hir> as rustc_driver::pretty::HirPrinterSupport<'hir>>::sess
  36. 30: rustc_driver::target_features::add_configuration
  37. 31: <rustc_driver::CompilationFailure as core::fmt::Debug>::fmt
  38. 32: rustc_driver::driver::compile_input
  39. 33: rustc_driver::run_compiler
  40. 34: <rustc_driver::profile::trace::Query as core::fmt::Debug>::fmt
  41. 35: <env_logger::filter::inner::Filter as core::fmt::Display>::fmt
  42. 36: <rustc_driver::derive_registrar::Finder as rustc::hir::itemlikevisit::ItemLikeVisitor<'v>>::visit_item
  43. 37: _rust_maybe_catch_panic
  44. 38: rustc_driver::profile::dump
  45. 39: rustc_driver::main
  46. 40: <unknown>
  47. 41: std::panicking::update_panic_count
  48. 42: _rust_maybe_catch_panic
  49. 43: std::rt::lang_start_internal
  50. 44: <unknown>
  51. 45: <unknown>
  52. 46: BaseThreadInitThunk
  53. 47: RtlUserThreadStart
  54. query stack during panic:
  55. #0 [compile_codegen_unit] compile_codegen_unit
  56. end of query stack
  57. error: aborting due to previous error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement