Skip to content

ICE after updating to 1.56.0 #90160

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

Closed
sebschmi opened this issue Oct 22, 2021 · 1 comment
Closed

ICE after updating to 1.56.0 #90160

sebschmi opened this issue Oct 22, 2021 · 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

@sebschmi
Copy link

Code

The code should not compile, as there is a missing unwrap at the commented location. But instead of reporting an error, the compiler crashes.

The ICE occurs on stable and beta, however not on nightly (see version info below).
Adding the missing unwrap makes the code compile without ICE on stable, beta and nightly.

use compact_genome::implementation::DefaultSequenceStoreHandle;
use genome_graph::bigraph::implementation::node_bigraph_wrapper::NodeBigraphWrapper;
use genome_graph::bigraph::traitgraph::interface::{ImmutableGraphContainer, Edge};
use genome_graph::bigraph::interface::static_bigraph::StaticNodeCentricBigraph;

fn main() {
    let graph = genome_graph::bigraph::traitgraph::implementation::petgraph_impl::new::<DefaultSequenceStoreHandle, i32>();
    let mut bigraph = NodeBigraphWrapper::new_unmapped(graph);

    for edge_index in bigraph.edge_indices() {
        let mirror_edge_index = bigraph.mirror_edge_node_centric(edge_index); // adding .unwrap() here makes the ICE disappear
        let Edge {from_node: mirror_from_node, to_node: mirror_to_node} = bigraph.edge_endpoints(mirror_edge_index);
    }
}

Cargo.toml:

[package]
name = "name"
version = "0.1.0"
edition = "2021"

[dependencies]
genome-graph = "0.4.1"
compact-genome = "0.4.5"

Meta

rustc --version --verbose:

rustc 1.56.0 (09c42c458 2021-10-18)
binary: rustc
commit-hash: 09c42c45858d5f3aedfa670698275303a3d19afa
commit-date: 2021-10-18
host: x86_64-unknown-linux-gnu
release: 1.56.0
LLVM version: 13.0.0

Also occurs on beta:

cargo 1.57.0-beta (c7957a74b 2021-10-11)
release: 1.57.0
commit-hash: c7957a74bdcf3b11e7154c1a9401735f23ebd484
commit-date: 2021-10-11
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.79.1-DEV (sys:0.4.49+curl-7.79.1 vendored ssl:OpenSSL/1.1.1l)
os: Ubuntu 18.04 (bionic) [64-bit]

Does NOT occur on nightly:

cargo 1.57.0-nightly (7fbbf4e8f 2021-10-19)
release: 1.57.0
commit-hash: 7fbbf4e8f23e3c24b8afff541dcb17e53eb5ff88
commit-date: 2021-10-19
host: x86_64-unknown-linux-gnu
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.79.1-DEV (sys:0.4.49+curl-7.79.1 vendored ssl:OpenSSL/1.1.1l)
os: Ubuntu 18.04 (bionic) [64-bit]

Error output

thread 'rustc' panicked at 'DefId::expect_local: `DefId(46:641 ~ traitgraph[843c]::implementation::petgraph_impl::new::{opaque#0})` isn't local', /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/compiler/rustc_span/src/def_id.rs:234:43
Full output

thread 'rustc' panicked at 'DefId::expect_local: `DefId(46:641 ~ traitgraph[843c]::implementation::petgraph_impl::new::{opaque#0})` isn't local', /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/compiler/rustc_span/src/def_id.rs:234:43
stack backtrace:
   0: rust_begin_unwind
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:517:5
   1: std::panicking::begin_panic_fmt
             at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:460:5
   2: rustc_middle::ty::error::<impl rustc_middle::ty::context::TyCtxt>::suggest_constraining_opaque_associated_type
   3: rustc_middle::ty::error::<impl rustc_middle::ty::context::TyCtxt>::note_and_explain_type_err
   4: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::note_type_err
   5: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::report_and_explain_type_error
   6: rustc_infer::infer::InferCtxt::report_mismatched_types
   7: rustc_typeck::check::demand::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::demand_coerce_diag
   8: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_argument_types
   9: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_method_argument_types
  10: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_kind
  11: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
  12: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_decl_initializer
  13: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_decl_local
  14: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_stmt
  15: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_block_with_expected
  16: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
  17: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_stmt
  18: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_block_with_expected
  19: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_kind
  20: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
  21: rustc_typeck::check::_match::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_match
  22: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_kind
  23: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
  24: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
  25: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_block_with_expected
  26: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
  27: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_return_expr
  28: rustc_typeck::check::check::check_fn
  29: rustc_infer::infer::InferCtxtBuilder::enter
  30: rustc_typeck::check::typeck
  31: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  32: rustc_data_structures::stack::ensure_sufficient_stack
  33: rustc_query_system::query::plumbing::force_query_with_job
  34: rustc_query_system::query::plumbing::get_query_impl
  35: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::typeck
  36: rustc_middle::ty::<impl rustc_middle::ty::context::TyCtxt>::par_body_owners
  37: rustc_typeck::check::typeck_item_bodies
  38: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  39: rustc_query_system::query::plumbing::force_query_with_job
  40: rustc_query_system::query::plumbing::get_query_impl
  41: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::typeck_item_bodies
  42: rustc_session::utils::<impl rustc_session::session::Session>::time
  43: rustc_typeck::check_crate
  44: rustc_interface::passes::analysis
  45: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  46: rustc_data_structures::stack::ensure_sufficient_stack
  47: rustc_query_system::query::plumbing::force_query_with_job
  48: rustc_query_system::query::plumbing::get_query_impl
  49: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::analysis
  50: rustc_interface::passes::QueryContext::enter
  51: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter
  52: rustc_span::with_source_map
  53: scoped_tls::ScopedKey<T>::set
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.56.0 (09c42c458 2021-10-18) running on x86_64-unknown-linux-gnu

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

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

query stack during panic:
#0 [typeck] type-checking `main`
#1 [typeck_item_bodies] type-checking all item bodies
#2 [analysis] running analysis passes on this crate
end of query stack
error: internal compiler error: trimmed_def_paths constructed
  |
  = note: delayed at    0: rustc_errors::Handler::delay_good_path_bug
             1: rustc_middle::ty::print::pretty::trimmed_def_paths
             2: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
             3: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
             4: rustc_data_structures::stack::ensure_sufficient_stack
             5: rustc_query_system::query::plumbing::force_query_with_job
             6: rustc_query_system::query::plumbing::get_query_impl
             7: rustc_query_system::query::plumbing::get_query
             8: <rustc_middle::ty::print::pretty::FmtPrinter<F> as rustc_middle::ty::print::Printer>::print_def_path
             9: <rustc_middle::ty::print::pretty::FmtPrinter<F> as rustc_middle::ty::print::Printer>::print_def_path
            10: <rustc_middle::ty::print::pretty::FmtPrinter<F> as rustc_middle::ty::print::pretty::PrettyPrinter>::in_binder
            11: std::thread::local::LocalKey<T>::with
            12: rustc_middle::ty::print::pretty::PrettyPrinter::pretty_print_type
            13: <rustc_middle::ty::print::pretty::FmtPrinter<F> as rustc_middle::ty::print::pretty::PrettyPrinter>::generic_delimiters
            14: <rustc_middle::ty::print::pretty::FmtPrinter<F> as rustc_middle::ty::print::Printer>::print_def_path
            15: rustc_middle::ty::print::pretty::PrettyPrinter::pretty_print_type
            16: rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::TyS>::fmt
            17: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::cmp
            18: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::expected_found_str_ty
            19: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::values_str
            20: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::note_type_err
            21: rustc_infer::infer::error_reporting::<impl rustc_infer::infer::InferCtxt>::report_and_explain_type_error
            22: rustc_infer::infer::InferCtxt::report_mismatched_types
            23: rustc_typeck::check::demand::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::demand_coerce_diag
            24: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_argument_types
            25: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_method_argument_types
            26: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_kind
            27: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
            28: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_decl_initializer
            29: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_decl_local
            30: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_stmt
            31: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_block_with_expected
            32: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
            33: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_stmt
            34: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_block_with_expected
            35: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_kind
            36: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
            37: rustc_typeck::check::_match::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_match
            38: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_kind
            39: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
            40: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
            41: rustc_typeck::check::fn_ctxt::checks::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_block_with_expected
            42: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_expr_with_expectation
            43: rustc_typeck::check::expr::<impl rustc_typeck::check::fn_ctxt::FnCtxt>::check_return_expr
            44: rustc_typeck::check::check::check_fn
            45: rustc_infer::infer::InferCtxtBuilder::enter
            46: rustc_typeck::check::typeck
            47: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
            48: rustc_data_structures::stack::ensure_sufficient_stack
            49: rustc_query_system::query::plumbing::force_query_with_job
            50: rustc_query_system::query::plumbing::get_query_impl
            51: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::typeck
            52: rustc_middle::ty::<impl rustc_middle::ty::context::TyCtxt>::par_body_owners
            53: rustc_typeck::check::typeck_item_bodies
            54: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
            55: rustc_query_system::query::plumbing::force_query_with_job
            56: rustc_query_system::query::plumbing::get_query_impl
            57: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::typeck_item_bodies
            58: rustc_session::utils::<impl rustc_session::session::Session>::time
            59: rustc_typeck::check_crate
            60: rustc_interface::passes::analysis
            61: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
            62: rustc_data_structures::stack::ensure_sufficient_stack
            63: rustc_query_system::query::plumbing::force_query_with_job
            64: rustc_query_system::query::plumbing::get_query_impl
            65: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::analysis
            66: rustc_interface::passes::QueryContext::enter
            67: rustc_interface::queries::<impl rustc_interface::interface::Compiler>::enter
            68: rustc_span::with_source_map
            69: scoped_tls::ScopedKey<T>::set
            70: std::sys_common::backtrace::__rust_begin_short_backtrace
            71: core::ops::function::FnOnce::call_once{{vtable.shim}}
            72: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                       at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/boxed.rs:1636:9
            73: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                       at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/boxed.rs:1636:9
            74: std::sys::unix::thread::Thread::new::thread_start
                       at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys/unix/thread.rs:106:17
            75: start_thread
                       at /build/glibc-S9d2JN/glibc-2.27/nptl/pthread_create.c:463
            76: __GI___clone
                       at /build/glibc-S9d2JN/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
          

thread 'rustc' panicked at 'no warnings or errors encountered even though `delayed_good_path_bugs` issued', compiler/rustc_errors/src/lib.rs:1166:13
stack backtrace:
   0:     0x7fa907bdb51c - std::backtrace_rs::backtrace::libunwind::trace::hd3a6cb8e32f9fc43
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:     0x7fa907bdb51c - std::backtrace_rs::backtrace::trace_unsynchronized::h6dcceebcd6a9f2ab
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fa907bdb51c - std::sys_common::backtrace::_print_fmt::h4eacf4e9ad977499
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x7fa907bdb51c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1e42c22572a7e7b4
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys_common/backtrace.rs:46:22
   4:     0x7fa907c3922c - core::fmt::write::h072b578a8e90aa54
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/core/src/fmt/mod.rs:1150:17
   5:     0x7fa907bcc455 - std::io::Write::write_fmt::hc32d3cabefff1d24
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/io/mod.rs:1667:15
   6:     0x7fa907bdea80 - std::sys_common::backtrace::_print::h058b85b6efc15780
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x7fa907bdea80 - std::sys_common::backtrace::print::hdb7de10b704104b4
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x7fa907bdea80 - std::panicking::default_hook::{{closure}}::h5451997d203bda2f
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:210:50
   9:     0x7fa907bde637 - std::panicking::default_hook::h419b121e68f746a2
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:227:9
  10:     0x7fa9083b3091 - rustc_driver::DEFAULT_HOOK::{{closure}}::{{closure}}::h0eaeb4a82123fb58
  11:     0x7fa907bdf299 - std::panicking::rust_panic_with_hook::h32c44b1364c1c247
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:628:17
  12:     0x7fa907bded50 - std::panicking::begin_panic_handler::{{closure}}::he2e5f48fb16982d1
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:521:13
  13:     0x7fa907bdb9c4 - std::sys_common::backtrace::__rust_end_short_backtrace::haea54a33f9e18aba
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys_common/backtrace.rs:141:18
  14:     0x7fa907bdecb9 - rust_begin_unwind
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:517:5
  15:     0x7fa907ba383b - std::panicking::begin_panic_fmt::hfe65ef178b63b848
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/panicking.rs:460:5
  16:     0x7fa90a9205fe - rustc_errors::HandlerInner::flush_delayed::h5f87051af2427ef1
  17:     0x7fa90a91eef1 - <rustc_errors::HandlerInner as core::ops::drop::Drop>::drop::h00c4adb9cd05e64a
  18:     0x7fa909edf9b6 - core::ptr::drop_in_place<rustc_session::parse::ParseSess>::h3cf9b3ff1daafeeb
  19:     0x7fa909ee1b6e - <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop::h57f7c318f8681926
  20:     0x7fa909eb3b5d - core::ptr::drop_in_place<rustc_interface::interface::Compiler>::heed4458a4af12851
  21:     0x7fa909eb34fc - rustc_span::with_source_map::hc0b8ca4cb8832f45
  22:     0x7fa909ec56c8 - scoped_tls::ScopedKey<T>::set::hf1e97dbfab6686e4
  23:     0x7fa909eb371b - std::sys_common::backtrace::__rust_begin_short_backtrace::h6ea92cb71ce20517
  24:     0x7fa909eb1875 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0cebde4f08b3ee6c
  25:     0x7fa907beb8e3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h107f979ad82f715d
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/boxed.rs:1636:9
  26:     0x7fa907beb8e3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha450b923470183fd
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/alloc/src/boxed.rs:1636:9
  27:     0x7fa907beb8e3 - std::sys::unix::thread::Thread::new::thread_start::he70aeaa5122e6ea3
                               at /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/library/std/src/sys/unix/thread.rs:106:17
  28:     0x7fa9079296db - start_thread
                               at /build/glibc-S9d2JN/glibc-2.27/nptl/pthread_create.c:463
  29:     0x7fa90724671f - __GI___clone
                               at /build/glibc-S9d2JN/glibc-2.27/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
  30:                0x0 - <unknown>

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.56.0 (09c42c458 2021-10-18) running on x86_64-unknown-linux-gnu

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

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

query stack during panic:
end of query stack
thread panicked while panicking. aborting.
error: could not compile `sampling_assembler`

Caused by:
  process didn't exit successfully: `rustc --crate-name sampling_assembler --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 -C metadata=4bf515d710018c74 -C extra-filename=-4bf515d710018c74 --out-dir /home/local/sebschmi/git/sampling_assembler/rust/target/debug/deps -C incremental=/home/local/sebschmi/git/sampling_assembler/rust/target/debug/incremental -L dependency=/home/local/sebschmi/git/sampling_assembler/rust/target/debug/deps --extern compact_genome=/home/local/sebschmi/git/sampling_assembler/rust/target/debug/deps/libcompact_genome-1d84d17eecc377fa.rmeta --extern genome_graph=/home/local/sebschmi/git/sampling_assembler/rust/target/debug/deps/libgenome_graph-7f80decca5bda55f.rmeta` (signal: 4, SIGILL: illegal instruction)

@sebschmi sebschmi 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 Oct 22, 2021
@JohnTitor JohnTitor added E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example and removed E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Oct 22, 2021
@JohnTitor
Copy link
Member

Duplicate of #89686 and fixed by #89946. We generally track issues that are reproducible on master. I'm not sure if it's worth beta-backporting but going to close to clean-up. Thanks for reporting!

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) ❄️ 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

2 participants