Skip to content

failed to find block with tag 7 #20542

@rrichardson

Description

@rrichardson

I am assuming this has something to do with me trying to impl for a trait with associated types, because that's what I was changing. I'll try to make a repro case, but in the mean time:

ERROR:rbml::reader: failed to find block with tag 7
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'explicit panic', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librbml/lib.rs:253

stack backtrace:
   1:     0x7f55828182d0 - sys::backtrace::write::h8532e701ef86014f4it
   2:     0x7f558283db00 - failure::on_fail::h7532e1f79d134d5dzvz
   3:     0x7f55827a31c0 - rt::unwind::begin_unwind_inner::h97b151606151d62deaz
   4:     0x7f557c316ac0 - rt::unwind::begin_unwind::h1843747829001292891
   5:     0x7f557c3155c0 - reader::get_doc::h63836efa91f81d00VKa
   6:     0x7f5580c08f40 - metadata::decoder::get_type::h1cb96cb089b860dbZmj
   7:     0x7f5580bbd8c0 - metadata::csearch::get_type::h7b53968868e941ac4am
   8:     0x7f5581f2c250 - collect::CrateCtxt<'a, 'tcx>.AstConv<'tcx>::get_item_type_scheme::ha0eb6bc4857d45c3m9s
   9:     0x7f5581f46400 - astconv::ast_path_to_ty::h3768578112657990385
  10:     0x7f5581f43200 - astconv::ast_ty_to_ty::unboxed_closure.36533
  11:     0x7f5581feb6b0 - astconv::ast_ty_to_ty::h1817371328037270331
  12:     0x7f5581fe3010 - collect::ty_generics::h3764166756383902774
  13:     0x7f5581f2edd0 - collect::convert::ha082397a8ef1fe06tAt
  14:     0x7f5581f2ab90 - visit::Visitor::visit_mod::h3305858018731920637
  15:     0x7f5581f3c1c0 - visit::walk_item::h8703911783927424805
  16:     0x7f5582030dd0 - check_crate::unboxed_closure.40065
  17:     0x7f558202ec30 - check_crate::h19fb6dea5733566ajsx
  18:     0x7f5582d69640 - driver::phase_3_run_analysis_passes::h46b1604d9f9f5633Tva
  19:     0x7f5582d57ae0 - driver::compile_input::h68b8602933aad8d7wba
  20:     0x7f5582e22eb0 - thunk::F.Invoke<A, R>::invoke::h18029802347644288836
  21:     0x7f5582e21c60 - rt::unwind::try::try_fn::h6518866316425934196
  22:     0x7f55828a4400 - rust_try_inner
  23:     0x7f55828a43f0 - rust_try
  24:     0x7f5582e21fb0 - thunk::F.Invoke<A, R>::invoke::h15513809553472565307
  25:     0x7f5582829e40 - sys::thread::thread_start::h5ea7ba97235331d5a9v
  26:     0x7f557ce780c0 - start_thread
  27:     0x7f5582449ec9 - __clone
  28:                0x0 - <unknown>

Could not compile `net_stream`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-metadataArea: Crate metadataI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions