Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rust compile crash at wirefilter #96354

Closed
aosemp opened this issue Apr 24, 2022 · 1 comment
Closed

rust compile crash at wirefilter #96354

aosemp opened this issue Apr 24, 2022 · 1 comment
Labels
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.

Comments

@aosemp
Copy link

aosemp commented Apr 24, 2022

Code

project : https://github.com/cloudflare/wirefilter/tree/cloudflare

git clone https://github.com/cloudflare/wirefilter wirefilter
cd wirefilter
git checkout cloudflare
cargo build -p wirefilter-engine

Meta

rustc --version --verbose:

rustc 1.60.0 (7737e0b5c 2022-04-04)
binary: rustc
commit-hash: 7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c
commit-date: 2022-04-04
host: x86_64-pc-windows-msvc
release: 1.60.0
LLVM version: 14.0.0

Error output

Microsoft Windows [Version 10.0.22000.613]
(c) Microsoft Corporation. All rights reserved.

B:\test>git clone  https://github.com/cloudflare/wirefilter
Cloning into 'wirefilter'...


B:\test>git checkout cloudflare
Switched to a new branch 'cloudflare'
Branch 'cloudflare' set up to track remote branch 'cloudflare' from 'origin'.

B:\test>git branch
* cloudflare
  master

B:\test>cargo build -p wirefilter-engine
   Compiling proc-macro2 v1.0.18
   Compiling unicode-xid v0.2.0
   Compiling syn v1.0.33
   Compiling serde_derive v1.0.114
   Compiling serde v1.0.114
   Compiling getrandom v0.1.14
   Compiling memchr v2.3.3
   Compiling ryu v1.0.5
   Compiling autocfg v1.0.0
   Compiling serde_json v1.0.56
   Compiling ppv-lite86 v0.2.8
   Compiling regex-syntax v0.6.18
   Compiling bitstring v0.1.1
   Compiling itoa v0.4.6
   Compiling fnv v1.0.6
   Compiling thread_local v1.0.1
   Compiling indexmap v1.4.0
   Compiling rand_core v0.5.1
   Compiling aho-corasick v0.7.10
   Compiling sliceslice v0.2.0
   Compiling rand_chacha v0.2.2
   Compiling rand v0.7.3
   Compiling quote v1.0.2
   Compiling regex v1.3.9
   Compiling thiserror-impl v1.0.20
   Compiling derivative v2.1.1
   Compiling thiserror v1.0.20
   Compiling cidr v0.1.0
   Compiling wirefilter-engine v0.7.0 (B:\test\engine)
thread 'rustc' panicked at 'assertion failed: !value.has_escaping_bound_vars()', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_middle\src\ty\sty.rs:1091:9
stack backtrace:
   0:     0x7ff8a7176d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8a71a641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8a71683c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8a717a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8a717a055 - std::panicking::default_hook::hc5f434b832972078
   5:     0x7ff8a7768a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8a717add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8a717aae2 - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8a7177687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8a717a799 - rust_begin_unwind
  10:     0x7ff8a71d97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8a71d964c - core::panicking::panic::he5e92b81a70761b4
  12:     0x7ff8abb5e678 - <rustc_middle[4f2f777bb563803d]::ty::sty::FnSig as rustc_trait_selection[6858834593185dbf]::traits::query::type_op::normalize::Normalizable>::type_op_method
  13:     0x7ff8abb8af4e - rustc_trait_selection[6858834593185dbf]::traits::type_known_to_meet_bound_modulo_regions
  14:     0x7ff8aa4dde74 - rustc_ty_utils[78976dae348c9796]::provide
  15:     0x7ff8aa4e0980 - rustc_ty_utils[78976dae348c9796]::provide
  16:     0x7ff8ab18b65b - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  17:     0x7ff8ab0cfdcb - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  18:     0x7ff8ab21b723 - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  19:     0x7ff8aae47df8 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  20:     0x7ff8aaf6ba66 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  21:     0x7ff8abd87305 - <rustc_middle[4f2f777bb563803d]::ty::Ty>::is_sized
  22:     0x7ff8abe7cd5a - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  23:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  24:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  25:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  26:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  27:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  28:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  29:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  30:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  31:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  32:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  33:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  34:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  35:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  36:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  37:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  38:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  39:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  40:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  41:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  42:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  43:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  44:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  45:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  46:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  47:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  48:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  49:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  50:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  51:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  52:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  53:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  54:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  55:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  56:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  57:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  58:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  59:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  60:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  61:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  62:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  63:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  64:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  65:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  66:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  67:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  68:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  69:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  70:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  71:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  72:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  73:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  74:     0x7ff8abec41d1 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  75:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  76:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  77:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  78:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  79:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  80:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  81:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  82:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  83:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  84:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  85:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  86:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  87:     0x7ff8abec3418 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  88:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  89:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  90:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  91:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  92:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  93:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  94:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  95:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  96:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  97:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  98:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  99:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
 100:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
 101:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
 102:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
 103:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
 104:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
 105:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
 106:     0x7ff8ab291bf7 - rustc_codegen_ssa[d38a77cfeef1b2f9]::debuginfo::type_names::compute_debuginfo_type_name
 107:     0x7ff8ab2917e2 - rustc_codegen_ssa[d38a77cfeef1b2f9]::debuginfo::type_names::compute_debuginfo_type_name
 108:     0x7ff8ab28f0cd - rustc_codegen_ssa[d38a77cfeef1b2f9]::debuginfo::type_names::compute_debuginfo_type_name
 109:     0x7ff8a7a9a49f - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 110:     0x7ff8a7a9b267 - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 111:     0x7ff8a7a99ae8 - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 112:     0x7ff8a7a9ab9e - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 113:     0x7ff8a7989511 - <rustc_middle[4f2f777bb563803d]::middle::codegen_fn_attrs::CodegenFnAttrFlags as core[48886e0605044802]::fmt::UpperHex>::fmt
 114:     0x7ff8a7a474e6 - <rustc_target[e73deb3da91522c0]::abi::TyAndLayout<rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_codegen_llvm[be6fc011565a3d4]::type_of::LayoutLlvmExt>::pointee_info_at
 115:     0x7ff8a7a98dd0 - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 116:     0x7ff8a7a9b5cf - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 117:     0x7ff8a79eb2e9 - <rustc_codegen_llvm[be6fc011565a3d4]::debuginfo::CrateDebugContext as core[48886e0605044802]::ops::drop::Drop>::drop
 118:     0x7ff8a79b060d - <rustc_codegen_llvm[be6fc011565a3d4]::context::CodegenCx as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::debuginfo::DebugInfoMethods>::dbg_scope_fn
 119:     0x7ff8a79b01c7 - <rustc_codegen_llvm[be6fc011565a3d4]::context::CodegenCx as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::debuginfo::DebugInfoMethods>::create_function_debug_context
 120:     0x7ff8a7a6bc41 - <rustc_target[e73deb3da91522c0]::abi::TyAndLayout<rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_codegen_llvm[be6fc011565a3d4]::type_of::LayoutLlvmExt>::pointee_info_at
 121:     0x7ff8a79c9572 - <rustc_codegen_llvm[be6fc011565a3d4]::back::lto::ThinBuffer>::new
 122:     0x7ff8a7a08814 - <rustc_codegen_llvm[be6fc011565a3d4]::builder::Builder as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::builder::BuilderMethods>::unchecked_umul
 123:     0x7ff8a7974eff - <rustc_codegen_llvm[be6fc011565a3d4]::base::ValueIter as core[48886e0605044802]::iter::traits::iterator::Iterator>::next
 124:     0x7ff8a7a8d99b - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 125:     0x7ff8a7980de0 - <rustc_middle[4f2f777bb563803d]::middle::codegen_fn_attrs::CodegenFnAttrFlags as core[48886e0605044802]::fmt::UpperHex>::fmt
 126:     0x7ff8a79747c2 - <rustc_codegen_llvm[be6fc011565a3d4]::base::ValueIter as core[48886e0605044802]::iter::traits::iterator::Iterator>::next
 127:     0x7ff8a79cc393 - <rustc_codegen_llvm[be6fc011565a3d4]::back::lto::ThinBuffer>::new
 128:     0x7ff8a794e2a5 - <rustc_codegen_llvm[be6fc011565a3d4]::LlvmCodegenBackend as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::backend::CodegenBackend>::codegen_crate
 129:     0x7ff8a791e51b - rustc_interface[5c7de30ce6ef7e04]::callbacks::setup_callbacks
 130:     0x7ff8a7898cc6 - <rustc_interface[5c7de30ce6ef7e04]::passes::LintStoreExpandImpl as rustc_expand[eda26eb0d22822c]::base::LintStoreExpand>::pre_expansion_lint
 131:     0x7ff8a7876090 - <rustc_interface[5c7de30ce6ef7e04]::queries::Queries>::ongoing_codegen
 132:     0x7ff8a76ffa84 - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
 133:     0x7ff8a77089a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
 134:     0x7ff8a76fe15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
 135:     0x7ff8a76debda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
 136:     0x7ff8a777ec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
 137:     0x7ff8a718bf6c - std::sys::windows::thread::Thread::new::h0c6d31f1aa301a34
 138:     0x7ff8f67754e0 - BaseThreadInitThunk
 139:     0x7ff8f762485b - RtlUserThreadStart

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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
#0 [is_sized_raw] computing whether `types::LhsValue<'_>` is `Sized`
#1 [layout_of] computing layout of `*const types::LhsValue<'_>`
#2 [layout_of] computing layout of `core::ptr::unique::Unique<types::LhsValue<'_>>`
#3 [layout_of] computing layout of `alloc::raw_vec::RawVec<types::LhsValue<'_>>`
#4 [layout_of] computing layout of `alloc::vec::Vec<types::LhsValue<'_>>`
#5 [layout_of] computing layout of `lhs_types::array::InnerArray<'_>`
#6 [layout_of] computing layout of `lhs_types::array::Array<'_>`
#7 [layout_of] computing layout of `types::LhsValue<'_>`
#8 [layout_of] computing layout of `core::result::Result<types::LhsValue<'_>, types::Type>`
end of query stack
error: could not compile `wirefilter-engine`

B:\test>cargo build -p wirefilter-engine
   Compiling wirefilter-engine v0.7.0 (B:\test\engine)
thread 'rustc' panicked at 'assertion failed: !value.has_escaping_bound_vars()', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_middle\src\ty\sty.rs:1091:9
stack backtrace:
   0:     0x7ff8a7176d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8a71a641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8a71683c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8a717a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8a717a055 - std::panicking::default_hook::hc5f434b832972078
   5:     0x7ff8a7768a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8a717add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8a717aae2 - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8a7177687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8a717a799 - rust_begin_unwind
  10:     0x7ff8a71d97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8a71d964c - core::panicking::panic::he5e92b81a70761b4
  12:     0x7ff8abb5e678 - <rustc_middle[4f2f777bb563803d]::ty::sty::FnSig as rustc_trait_selection[6858834593185dbf]::traits::query::type_op::normalize::Normalizable>::type_op_method
  13:     0x7ff8abb8af4e - rustc_trait_selection[6858834593185dbf]::traits::type_known_to_meet_bound_modulo_regions
  14:     0x7ff8aa4dde74 - rustc_ty_utils[78976dae348c9796]::provide
  15:     0x7ff8aa4e0980 - rustc_ty_utils[78976dae348c9796]::provide
  16:     0x7ff8ab18b65b - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  17:     0x7ff8ab0cfdcb - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  18:     0x7ff8ab21b723 - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  19:     0x7ff8aae47df8 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  20:     0x7ff8aaf6ba66 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  21:     0x7ff8abd87305 - <rustc_middle[4f2f777bb563803d]::ty::Ty>::is_sized
  22:     0x7ff8abe7cd5a - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  23:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  24:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  25:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  26:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  27:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  28:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  29:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  30:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  31:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  32:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  33:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  34:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  35:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  36:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  37:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  38:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  39:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  40:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  41:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  42:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  43:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  44:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  45:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  46:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  47:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  48:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  49:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  50:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  51:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  52:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  53:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  54:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  55:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  56:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  57:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  58:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  59:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  60:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  61:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  62:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  63:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  64:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  65:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  66:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  67:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  68:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  69:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  70:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  71:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  72:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  73:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  74:     0x7ff8abec41d1 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  75:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  76:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  77:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  78:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  79:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  80:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  81:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  82:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  83:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  84:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  85:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  86:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  87:     0x7ff8abec3418 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  88:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
  89:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
  90:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  91:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  92:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  93:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  94:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
  95:     0x7ff8abf20a70 - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  96:     0x7ff8abec40f3 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  97:     0x7ff8abf19c7e - rustc_middle[4f2f777bb563803d]::traits::specialization_graph::ancestors
  98:     0x7ff8abec3359 - <rustc_target[e73deb3da91522c0]::abi::Integer as rustc_middle[4f2f777bb563803d]::ty::layout::IntegerExt>::repr_discr
  99:     0x7ff8abe7c3fd - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Display>::fmt
 100:     0x7ff8abea0b98 - <rustc_middle[4f2f777bb563803d]::ty::layout::LayoutError as core[48886e0605044802]::fmt::Debug>::fmt
 101:     0x7ff8ab18b4f5 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
 102:     0x7ff8ab0cede0 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
 103:     0x7ff8ab2098af - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
 104:     0x7ff8aafad6dc - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
 105:     0x7ff8ab0193ea - <rustc_query_impl[9c08cd8a3eced3cb]::Queries as rustc_middle[4f2f777bb563803d]::ty::query::QueryEngine>::try_mark_green
 106:     0x7ff8ab291bf7 - rustc_codegen_ssa[d38a77cfeef1b2f9]::debuginfo::type_names::compute_debuginfo_type_name
 107:     0x7ff8ab2917e2 - rustc_codegen_ssa[d38a77cfeef1b2f9]::debuginfo::type_names::compute_debuginfo_type_name
 108:     0x7ff8ab28f0cd - rustc_codegen_ssa[d38a77cfeef1b2f9]::debuginfo::type_names::compute_debuginfo_type_name
 109:     0x7ff8a7a9a49f - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 110:     0x7ff8a7a9b267 - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 111:     0x7ff8a7a99ae8 - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 112:     0x7ff8a7a9ab9e - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 113:     0x7ff8a7989511 - <rustc_middle[4f2f777bb563803d]::middle::codegen_fn_attrs::CodegenFnAttrFlags as core[48886e0605044802]::fmt::UpperHex>::fmt
 114:     0x7ff8a7a474e6 - <rustc_target[e73deb3da91522c0]::abi::TyAndLayout<rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_codegen_llvm[be6fc011565a3d4]::type_of::LayoutLlvmExt>::pointee_info_at
 115:     0x7ff8a7a98dd0 - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 116:     0x7ff8a7a9b5cf - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 117:     0x7ff8a79eb2e9 - <rustc_codegen_llvm[be6fc011565a3d4]::debuginfo::CrateDebugContext as core[48886e0605044802]::ops::drop::Drop>::drop
 118:     0x7ff8a79b060d - <rustc_codegen_llvm[be6fc011565a3d4]::context::CodegenCx as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::debuginfo::DebugInfoMethods>::dbg_scope_fn
 119:     0x7ff8a79b01c7 - <rustc_codegen_llvm[be6fc011565a3d4]::context::CodegenCx as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::debuginfo::DebugInfoMethods>::create_function_debug_context
 120:     0x7ff8a7a6bc41 - <rustc_target[e73deb3da91522c0]::abi::TyAndLayout<rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_codegen_llvm[be6fc011565a3d4]::type_of::LayoutLlvmExt>::pointee_info_at
 121:     0x7ff8a79c9572 - <rustc_codegen_llvm[be6fc011565a3d4]::back::lto::ThinBuffer>::new
 122:     0x7ff8a7a08814 - <rustc_codegen_llvm[be6fc011565a3d4]::builder::Builder as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::builder::BuilderMethods>::unchecked_umul
 123:     0x7ff8a7974eff - <rustc_codegen_llvm[be6fc011565a3d4]::base::ValueIter as core[48886e0605044802]::iter::traits::iterator::Iterator>::next
 124:     0x7ff8a7a8d99b - <rustc_codegen_llvm[be6fc011565a3d4]::llvm_::ffi::coverageinfo::CounterMappingRegion as core[48886e0605044802]::fmt::Debug>::fmt
 125:     0x7ff8a7980de0 - <rustc_middle[4f2f777bb563803d]::middle::codegen_fn_attrs::CodegenFnAttrFlags as core[48886e0605044802]::fmt::UpperHex>::fmt
 126:     0x7ff8a79747c2 - <rustc_codegen_llvm[be6fc011565a3d4]::base::ValueIter as core[48886e0605044802]::iter::traits::iterator::Iterator>::next
 127:     0x7ff8a79cc393 - <rustc_codegen_llvm[be6fc011565a3d4]::back::lto::ThinBuffer>::new
 128:     0x7ff8a794e2a5 - <rustc_codegen_llvm[be6fc011565a3d4]::LlvmCodegenBackend as rustc_codegen_ssa[d38a77cfeef1b2f9]::traits::backend::CodegenBackend>::codegen_crate
 129:     0x7ff8a791e51b - rustc_interface[5c7de30ce6ef7e04]::callbacks::setup_callbacks
 130:     0x7ff8a7898cc6 - <rustc_interface[5c7de30ce6ef7e04]::passes::LintStoreExpandImpl as rustc_expand[eda26eb0d22822c]::base::LintStoreExpand>::pre_expansion_lint
 131:     0x7ff8a7876090 - <rustc_interface[5c7de30ce6ef7e04]::queries::Queries>::ongoing_codegen
 132:     0x7ff8a76ffa84 - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
 133:     0x7ff8a77089a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
 134:     0x7ff8a76fe15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
 135:     0x7ff8a76debda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
 136:     0x7ff8a777ec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
 137:     0x7ff8a718bf6c - std::sys::windows::thread::Thread::new::h0c6d31f1aa301a34
 138:     0x7ff8f67754e0 - BaseThreadInitThunk
 139:     0x7ff8f762485b - RtlUserThreadStart

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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
#0 [is_sized_raw] computing whether `types::LhsValue<'_>` is `Sized`
#1 [layout_of] computing layout of `*const types::LhsValue<'_>`
#2 [layout_of] computing layout of `core::ptr::unique::Unique<types::LhsValue<'_>>`
#3 [layout_of] computing layout of `alloc::raw_vec::RawVec<types::LhsValue<'_>>`
#4 [layout_of] computing layout of `alloc::vec::Vec<types::LhsValue<'_>>`
#5 [layout_of] computing layout of `lhs_types::array::InnerArray<'_>`
#6 [layout_of] computing layout of `lhs_types::array::Array<'_>`
#7 [layout_of] computing layout of `types::LhsValue<'_>`
#8 [layout_of] computing layout of `core::result::Result<types::LhsValue<'_>, types::Type>`
end of query stack
error: could not compile `wirefilter-engine`

Backtrace

B:\test>set RUST_BACKTRACE=1

B:\test>cargo build -p wirefilter-engine
   Compiling wirefilter-engine v0.7.0 (B:\test\engine)
thread 'rustc' panicked at 'assertion failed: !value.has_escaping_bound_vars()', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_middle\src\ty\sty.rs:1091:9
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
#0 [is_sized_raw] computing whether `types::LhsValue<'_>` is `Sized`
#1 [layout_of] computing layout of `*const types::LhsValue<'_>`
#2 [layout_of] computing layout of `core::ptr::unique::Unique<types::LhsValue<'_>>`
#3 [layout_of] computing layout of `alloc::raw_vec::RawVec<types::LhsValue<'_>>`
#4 [layout_of] computing layout of `alloc::vec::Vec<types::LhsValue<'_>>`
#5 [layout_of] computing layout of `lhs_types::array::InnerArray<'_>`
#6 [layout_of] computing layout of `lhs_types::array::Array<'_>`
#7 [layout_of] computing layout of `types::LhsValue<'_>`
#8 [layout_of] computing layout of `core::result::Result<types::LhsValue<'_>, types::Type>`
end of query stack
error: could not compile `wirefilter-engine`

@aosemp aosemp 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 Apr 24, 2022
@aosemp
Copy link
Author

aosemp commented Apr 24, 2022

sorry, seems duplicate #94998, fixed in #95020.

and tested build okay in rustc 1.62.0-nightly (de1026a 2022-04-23)

@aosemp aosemp closed this as completed Apr 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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.
Projects
None yet
Development

No branches or pull requests

1 participant