diff --git a/Cargo.lock b/Cargo.lock index 4ab03f2..3573946 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -53,6 +53,24 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f64009896348fc5af4222e9cf7d7d82a95a256c634ebcf61c53e4ea461422242" +[[package]] +name = "dev_driver_rpc" +version = "0.1.0" +dependencies = [ + "parking_lot", + "postcard", + "serde", +] + +[[package]] +name = "devfs_rpc" +version = "0.1.0" +dependencies = [ + "parking_lot", + "postcard", + "serde", +] + [[package]] name = "embedded-io" version = "0.4.0" @@ -65,6 +83,15 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" +[[package]] +name = "file_rpc" +version = "0.1.0" +dependencies = [ + "parking_lot", + "postcard", + "serde", +] + [[package]] name = "hash32" version = "0.2.1" @@ -143,9 +170,21 @@ dependencies = [ "embedded-io 0.4.0", "embedded-io 0.6.1", "heapless", + "postcard-derive", "serde", ] +[[package]] +name = "postcard-derive" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0239fa9c1d225d4b7eb69925c25c5e082307a141e470573fbbe3a817ce6a7a37" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "proc-macro2" version = "1.0.86" @@ -160,6 +199,9 @@ name = "ps2" version = "0.1.0" dependencies = [ "bitflags", + "dev_driver_rpc", + "devfs_rpc", + "file_rpc", "parking_lot", "pc-keyboard", "syslog_rpc", @@ -228,7 +270,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.77", ] [[package]] @@ -252,6 +294,17 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "syn" version = "2.0.77" diff --git a/Cargo.toml b/Cargo.toml index e14bfa2..781215c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,9 @@ edition = "2021" [dependencies] bitflags = "2.6.0" +dev_driver_rpc = { version = "0.1.0", path = "../dev_driver_rpc" } +devfs_rpc = { version = "0.1.0", path = "../devfs/devfs_rpc" } +file_rpc = { version = "0.1.0", path = "../file_rpc" } parking_lot = "0.12.3" pc-keyboard = "0.7.0" syslog_rpc = { version = "0.1.0", path = "../syslog/syslog_rpc" } diff --git a/rustc-ice-2024-09-11T19_22_35-46854.txt b/rustc-ice-2024-09-11T19_22_35-46854.txt new file mode 100644 index 0000000..0625b47 --- /dev/null +++ b/rustc-ice-2024-09-11T19_22_35-46854.txt @@ -0,0 +1,693 @@ +thread 'rustc' panicked at compiler/rustc_const_eval/src/interpret/validity.rs:763:21: +assertion `left == right` failed + left: Mut + right: Not +stack backtrace: + 0: 0x79cf0d19bff0 - trace + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 + 1: 0x79cf0d19bff0 - trace_unsynchronized + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0x79cf0d19bff0 - create + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:331:13 + 3: 0x79cf0d19bf65 - std::backtrace::Backtrace::force_capture::hb7991d781b4cc2da + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:312:9 + 4: 0x79cf09cf1f15 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:1444:25 + 5: 0x79cf09cf1f15 - call<(&(dyn core::ops::function::Fn<(&std::panic::PanicHookInfo), Output=()> + core::marker::Send + core::marker::Sync), &std::panic::PanicHookInfo), rustc_driver_impl::install_ice_hook::{closure_env#0}, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2243:9 + 6: 0x79cf09cf1f15 - {closure#0}> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:230:47 + 7: 0x79cf0d1cf8a4 - rust_panic_with_hook + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:809:13 + 8: 0x79cf0d1a58c9 - {closure#0} + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:674:13 + 9: 0x79cf0d1a5659 - std::sys::backtrace::__rust_end_short_backtrace::he24104dc58c0fa57 + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:170:18 + 10: 0x79cf0d1cf404 - begin_panic_handler + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:665:5 + 11: 0x79cf0d20e6b3 - panic_fmt + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:74:14 + 12: 0x79cf0d20eba1 - assert_failed_inner + 13: 0x79cf0bcdecb0 - core[39860b15b53b4e24]::panicking::assert_failed:: + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:367:5 + 14: 0x79cf0bd6b6a6 - mutability + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:763:21 + 15: 0x79cf0bd6bae2 - in_mutable_memory + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:722:24 + 16: 0x79cf0bd6bae2 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:873:21 + 17: 0x79cf0bd6d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 18: 0x79cf0bd6d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 19: 0x79cf0bd6d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 20: 0x79cf0bd6d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 21: 0x79cf0bd6bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 22: 0x79cf0bd6d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 23: 0x79cf0bd6d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 24: 0x79cf0bd6d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 25: 0x79cf0bd6d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 26: 0x79cf0bd6bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 27: 0x79cf0bd6d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 28: 0x79cf0bd6d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 29: 0x79cf0bd6d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 30: 0x79cf0bd6d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 31: 0x79cf0bc37860 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 32: 0x79cf0bc37860 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:42 + 33: 0x79cf0bc37860 - run_for_validation, rustc_const_eval::interpret::validity::{impl#4}::validate_operand_internal::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/memory.rs:1024:19 + 34: 0x79cf0bc37860 - validate_operand_internal + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:15 + 35: 0x79cf0bcd66de - const_validate_operand + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1088:9 + 36: 0x79cf0bcd66de - const_validate_mplace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:412:13 + 37: 0x79cf0bcd66de - eval_body_using_ecx + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:97:5 + 38: 0x79cf0bcd66de - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:25 + 39: 0x79cf0bcd66de - and_then<&rustc_middle::mir::Body, rustc_middle::mir::interpret::error::InterpErrorInfo, rustc_middle::mir::interpret::allocation::ConstAllocation, rustc_const_eval::const_eval::eval_queries::eval_in_interpreter::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/library/core/src/result.rs:1346:22 + 40: 0x79cf0bcd66de - eval_in_interpreter + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:9 + 41: 0x79cf0bcd66de - eval_static_initializer_provider + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:321:5 + 42: 0x79cf0b71a824 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:287:13 + 43: 0x79cf0b71a824 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 44: 0x79cf0b85b403 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 45: 0x79cf0b85b403 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 46: 0x79cf0b8198b4 - compute>, false, false, false> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/lib.rs:110:9 + 47: 0x79cf0b8198b4 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:541:37 + 48: 0x79cf0b8198b4 - call_once>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, ((rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig>, false, false, false>), rustc_span::def_id::DefId)> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 49: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 50: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 51: 0x79cf0b90b080 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 52: 0x79cf0b90b080 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 53: 0x79cf0b90b080 - enter_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 54: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 55: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 56: 0x79cf0b90b080 - with_context_opt>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 57: 0x79cf0b90b080 - with_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 58: 0x79cf0b90b080 - with_deps>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 59: 0x79cf0b75d5e5 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 60: 0x79cf0b75d5e5 - with_task>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:371:14 + 61: 0x79cf0b75d5e5 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 62: 0x79cf0b75d5e5 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 63: 0x79cf0b75d5e5 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 64: 0x79cf0b75d5e5 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 65: 0x79cf0b75d5e5 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 66: 0x79cf0b75d5e5 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 67: 0x79cf0b75d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 68: 0x79cf0b75d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 69: 0x79cf0b75d5e5 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 70: 0x79cf0b75d5e5 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 71: 0x79cf0b75d5e5 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 72: 0x79cf0b75d5e5 - start_query<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 73: 0x79cf0b75d5e5 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 74: 0x79cf0b75d5e5 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 75: 0x79cf0b75d5e5 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 76: 0x79cf0b9a8e43 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 77: 0x79cf0b9a8e43 - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 78: 0x79cf0b9a8e43 - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 79: 0x79cf0b9a8e43 - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 80: 0x79cf0b9a8e43 - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 81: 0x79cf0a56d2d2 - query_ensure>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:159:9 + 82: 0x79cf0a56d2d2 - eval_static_initializer + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:194:9 + 83: 0x79cf0a56d2d2 - {closure#3} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:190:39 + 84: 0x79cf0a56d2d2 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:82 + 85: 0x79cf0a555a3d - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:183:34 + 86: 0x79cf0a555a3d - call_once<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 87: 0x79cf0a555a3d - do_call>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 88: 0x79cf0a555a3d - try<(), core::panic::unwind_safe::AssertUnwindSafe>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 89: 0x79cf0a555a3d - catch_unwind>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 90: 0x79cf0a555a3d - run<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:29:9 + 91: 0x79cf0a73e1fe - {closure#1}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:187:21 + 92: 0x79cf0a73e1fe - for_each>> + at /home/pterpstra/projects/rust_os_port/library/core/src/slice/iter/macros.rs:254:21 + 93: 0x79cf0a73e1fe - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:186:17 + 94: 0x79cf0a73e1fe - parallel_guard<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:45:15 + 95: 0x79cf0a73e1fe - par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:179:9 + 96: 0x79cf0a73e1fe - par_body_owners + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:9 + 97: 0x79cf0a73e1fe - check_crate + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:187:5 + 98: 0x79cf0a0108f7 - run_required_analyses + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:788:5 + 99: 0x79cf0a0108f7 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:853:5 + 100: 0x79cf0b724497 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:283:9 + 101: 0x79cf0b724497 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 102: 0x79cf0b862449 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 103: 0x79cf0b862449 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 104: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 105: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 106: 0x79cf0b90b8f6 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 107: 0x79cf0b90b8f6 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 108: 0x79cf0b90b8f6 - enter_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 109: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 110: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 111: 0x79cf0b90b8f6 - with_context_opt>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 112: 0x79cf0b90b8f6 - with_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 113: 0x79cf0b90b8f6 - with_deps>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 114: 0x79cf0b7799c3 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 115: 0x79cf0b7799c3 - with_task>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:362:14 + 116: 0x79cf0b7799c3 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 117: 0x79cf0b7799c3 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 118: 0x79cf0b7799c3 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 119: 0x79cf0b7799c3 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 120: 0x79cf0b7799c3 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 121: 0x79cf0b7799c3 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 122: 0x79cf0b7799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 123: 0x79cf0b7799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 124: 0x79cf0b7799c3 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 125: 0x79cf0b7799c3 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 126: 0x79cf0b7799c3 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 127: 0x79cf0b7799c3 - start_query<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 128: 0x79cf0b7799c3 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 129: 0x79cf0b7799c3 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 130: 0x79cf0b7799c3 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 131: 0x79cf0b99684d - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 132: 0x79cf0b99684d - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 133: 0x79cf0b99684d - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 134: 0x79cf0b99684d - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 135: 0x79cf0b99684d - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 136: 0x79cf09c8b1a4 - query_get_at>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:143:17 + 137: 0x79cf09c8b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:421:31 + 138: 0x79cf09c8b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:412:35 + 139: 0x79cf09c8b1a4 - {closure#5} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:52 + 140: 0x79cf09c8b1a4 - {closure#1}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:37 + 141: 0x79cf09c8b1a4 - {closure#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 142: 0x79cf09c8b1a4 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 143: 0x79cf09c8b1a4 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 144: 0x79cf09c8b1a4 - enter_context>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 145: 0x79cf09c8b1a4 - enter> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:9 + 146: 0x79cf09cfd226 - {closure#1} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:13 + 147: 0x79cf09cfd226 - enter, rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/queries.rs:210:19 + 148: 0x79cf09d4eefa - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:394:22 + 149: 0x79cf09d4eefa - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/interface.rs:502:27 + 150: 0x79cf09d4eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:157:13 + 151: 0x79cf09d4eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:107:21 + 152: 0x79cf09d4eefa - set, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9 + 153: 0x79cf09d4eefa - create_session_globals_then, rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure#0}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_span/src/lib.rs:135:5 + 154: 0x79cf09d1ec16 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:106:17 + 155: 0x79cf09d1ec16 - __rust_begin_short_backtrace, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:154:18 + 156: 0x79cf09d1fcf6 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:522:17 + 157: 0x79cf09d1fcf6 - call_once, std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 158: 0x79cf09d1fcf6 - do_call, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 159: 0x79cf09d1fcf6 - try, core::panic::unwind_safe::AssertUnwindSafe, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 160: 0x79cf09d1fcf6 - catch_unwind, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 161: 0x79cf09d1fcf6 - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:521:30 + 162: 0x79cf09d1fcf6 - call_once, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, ()> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 163: 0x79cf0d18006d - call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 164: 0x79cf0d18006d - call_once<(), alloc::boxed::Box, alloc::alloc::Global>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 165: 0x79cf0d1b79aa - thread_start + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/pal/unix/thread.rs:105:17 + 166: 0x79cf082a339d - + 167: 0x79cf0832849c - + 168: 0x0 - + + +rustc version: 1.83.0-dev +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [eval_static_initializer] evaluating initializer of static `SCANDODE_DECODER` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_const_eval/src/interpret/validity.rs:763:21: +assertion `left == right` failed + left: Mut + right: Not +stack backtrace: + 0: 0x79cf0d19bff0 - trace + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 + 1: 0x79cf0d19bff0 - trace_unsynchronized + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0x79cf0d19bff0 - create + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:331:13 + 3: 0x79cf0d19bf65 - std::backtrace::Backtrace::force_capture::hb7991d781b4cc2da + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:312:9 + 4: 0x79cf09cf1f15 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:1444:25 + 5: 0x79cf09cf1f15 - call<(&(dyn core::ops::function::Fn<(&std::panic::PanicHookInfo), Output=()> + core::marker::Send + core::marker::Sync), &std::panic::PanicHookInfo), rustc_driver_impl::install_ice_hook::{closure_env#0}, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2243:9 + 6: 0x79cf09cf1f15 - {closure#0}> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:230:47 + 7: 0x79cf0d1cf8a4 - rust_panic_with_hook + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:809:13 + 8: 0x79cf0d1a58c9 - {closure#0} + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:674:13 + 9: 0x79cf0d1a5659 - std::sys::backtrace::__rust_end_short_backtrace::he24104dc58c0fa57 + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:170:18 + 10: 0x79cf0d1cf404 - begin_panic_handler + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:665:5 + 11: 0x79cf0d20e6b3 - panic_fmt + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:74:14 + 12: 0x79cf0d20eba1 - assert_failed_inner + 13: 0x79cf0bcdecb0 - core[39860b15b53b4e24]::panicking::assert_failed:: + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:367:5 + 14: 0x79cf0bd6b6a6 - mutability + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:763:21 + 15: 0x79cf0bd6bae2 - in_mutable_memory + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:722:24 + 16: 0x79cf0bd6bae2 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:873:21 + 17: 0x79cf0bd6d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 18: 0x79cf0bd6d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 19: 0x79cf0bd6d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 20: 0x79cf0bd6d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 21: 0x79cf0bd6bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 22: 0x79cf0bd6d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 23: 0x79cf0bd6d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 24: 0x79cf0bd6d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 25: 0x79cf0bd6d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 26: 0x79cf0bd6bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 27: 0x79cf0bd6d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 28: 0x79cf0bd6d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 29: 0x79cf0bd6d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 30: 0x79cf0bd6d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 31: 0x79cf0bc37860 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 32: 0x79cf0bc37860 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:42 + 33: 0x79cf0bc37860 - run_for_validation, rustc_const_eval::interpret::validity::{impl#4}::validate_operand_internal::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/memory.rs:1024:19 + 34: 0x79cf0bc37860 - validate_operand_internal + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:15 + 35: 0x79cf0bcd66de - const_validate_operand + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1088:9 + 36: 0x79cf0bcd66de - const_validate_mplace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:412:13 + 37: 0x79cf0bcd66de - eval_body_using_ecx + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:97:5 + 38: 0x79cf0bcd66de - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:25 + 39: 0x79cf0bcd66de - and_then<&rustc_middle::mir::Body, rustc_middle::mir::interpret::error::InterpErrorInfo, rustc_middle::mir::interpret::allocation::ConstAllocation, rustc_const_eval::const_eval::eval_queries::eval_in_interpreter::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/library/core/src/result.rs:1346:22 + 40: 0x79cf0bcd66de - eval_in_interpreter + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:9 + 41: 0x79cf0bcd66de - eval_static_initializer_provider + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:321:5 + 42: 0x79cf0b71a824 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:287:13 + 43: 0x79cf0b71a824 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 44: 0x79cf0b85b403 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 45: 0x79cf0b85b403 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 46: 0x79cf0b8198b4 - compute>, false, false, false> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/lib.rs:110:9 + 47: 0x79cf0b8198b4 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:541:37 + 48: 0x79cf0b8198b4 - call_once>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, ((rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig>, false, false, false>), rustc_span::def_id::DefId)> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 49: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 50: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 51: 0x79cf0b90b080 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 52: 0x79cf0b90b080 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 53: 0x79cf0b90b080 - enter_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 54: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 55: 0x79cf0b90b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 56: 0x79cf0b90b080 - with_context_opt>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 57: 0x79cf0b90b080 - with_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 58: 0x79cf0b90b080 - with_deps>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 59: 0x79cf0b75d5e5 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 60: 0x79cf0b75d5e5 - with_task>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:371:14 + 61: 0x79cf0b75d5e5 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 62: 0x79cf0b75d5e5 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 63: 0x79cf0b75d5e5 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 64: 0x79cf0b75d5e5 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 65: 0x79cf0b75d5e5 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 66: 0x79cf0b75d5e5 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 67: 0x79cf0b75d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 68: 0x79cf0b75d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 69: 0x79cf0b75d5e5 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 70: 0x79cf0b75d5e5 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 71: 0x79cf0b75d5e5 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 72: 0x79cf0b75d5e5 - start_query<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 73: 0x79cf0b75d5e5 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 74: 0x79cf0b75d5e5 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 75: 0x79cf0b75d5e5 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 76: 0x79cf0b9a8e43 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 77: 0x79cf0b9a8e43 - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 78: 0x79cf0b9a8e43 - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 79: 0x79cf0b9a8e43 - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 80: 0x79cf0b9a8e43 - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 81: 0x79cf0a56d2d2 - query_ensure>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:159:9 + 82: 0x79cf0a56d2d2 - eval_static_initializer + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:194:9 + 83: 0x79cf0a56d2d2 - {closure#3} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:190:39 + 84: 0x79cf0a56d2d2 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:82 + 85: 0x79cf0a555a3d - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:183:34 + 86: 0x79cf0a555a3d - call_once<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 87: 0x79cf0a555a3d - do_call>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 88: 0x79cf0a555a3d - try<(), core::panic::unwind_safe::AssertUnwindSafe>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 89: 0x79cf0a555a3d - catch_unwind>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 90: 0x79cf0a555a3d - run<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:29:9 + 91: 0x79cf0a73e1fe - {closure#1}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:187:21 + 92: 0x79cf0a73e1fe - for_each>> + at /home/pterpstra/projects/rust_os_port/library/core/src/slice/iter/macros.rs:254:21 + 93: 0x79cf0a73e1fe - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:186:17 + 94: 0x79cf0a73e1fe - parallel_guard<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:45:15 + 95: 0x79cf0a73e1fe - par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:179:9 + 96: 0x79cf0a73e1fe - par_body_owners + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:9 + 97: 0x79cf0a73e1fe - check_crate + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:187:5 + 98: 0x79cf0a0108f7 - run_required_analyses + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:788:5 + 99: 0x79cf0a0108f7 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:853:5 + 100: 0x79cf0b724497 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:283:9 + 101: 0x79cf0b724497 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 102: 0x79cf0b862449 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 103: 0x79cf0b862449 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 104: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 105: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 106: 0x79cf0b90b8f6 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 107: 0x79cf0b90b8f6 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 108: 0x79cf0b90b8f6 - enter_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 109: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 110: 0x79cf0b90b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 111: 0x79cf0b90b8f6 - with_context_opt>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 112: 0x79cf0b90b8f6 - with_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 113: 0x79cf0b90b8f6 - with_deps>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 114: 0x79cf0b7799c3 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 115: 0x79cf0b7799c3 - with_task>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:362:14 + 116: 0x79cf0b7799c3 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 117: 0x79cf0b7799c3 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 118: 0x79cf0b7799c3 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 119: 0x79cf0b7799c3 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 120: 0x79cf0b7799c3 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 121: 0x79cf0b7799c3 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 122: 0x79cf0b7799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 123: 0x79cf0b7799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 124: 0x79cf0b7799c3 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 125: 0x79cf0b7799c3 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 126: 0x79cf0b7799c3 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 127: 0x79cf0b7799c3 - start_query<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 128: 0x79cf0b7799c3 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 129: 0x79cf0b7799c3 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 130: 0x79cf0b7799c3 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 131: 0x79cf0b99684d - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 132: 0x79cf0b99684d - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 133: 0x79cf0b99684d - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 134: 0x79cf0b99684d - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 135: 0x79cf0b99684d - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 136: 0x79cf09c8b1a4 - query_get_at>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:143:17 + 137: 0x79cf09c8b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:421:31 + 138: 0x79cf09c8b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:412:35 + 139: 0x79cf09c8b1a4 - {closure#5} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:52 + 140: 0x79cf09c8b1a4 - {closure#1}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:37 + 141: 0x79cf09c8b1a4 - {closure#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 142: 0x79cf09c8b1a4 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 143: 0x79cf09c8b1a4 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 144: 0x79cf09c8b1a4 - enter_context>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 145: 0x79cf09c8b1a4 - enter> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:9 + 146: 0x79cf09cfd226 - {closure#1} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:13 + 147: 0x79cf09cfd226 - enter, rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/queries.rs:210:19 + 148: 0x79cf09d4eefa - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:394:22 + 149: 0x79cf09d4eefa - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/interface.rs:502:27 + 150: 0x79cf09d4eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:157:13 + 151: 0x79cf09d4eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:107:21 + 152: 0x79cf09d4eefa - set, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9 + 153: 0x79cf09d4eefa - create_session_globals_then, rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure#0}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_span/src/lib.rs:135:5 + 154: 0x79cf09d1ec16 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:106:17 + 155: 0x79cf09d1ec16 - __rust_begin_short_backtrace, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:154:18 + 156: 0x79cf09d1fcf6 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:522:17 + 157: 0x79cf09d1fcf6 - call_once, std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 158: 0x79cf09d1fcf6 - do_call, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 159: 0x79cf09d1fcf6 - try, core::panic::unwind_safe::AssertUnwindSafe, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 160: 0x79cf09d1fcf6 - catch_unwind, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 161: 0x79cf09d1fcf6 - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:521:30 + 162: 0x79cf09d1fcf6 - call_once, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, ()> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 163: 0x79cf0d18006d - call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 164: 0x79cf0d18006d - call_once<(), alloc::boxed::Box, alloc::alloc::Global>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 165: 0x79cf0d1b79aa - thread_start + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/pal/unix/thread.rs:105:17 + 166: 0x79cf082a339d - + 167: 0x79cf0832849c - + 168: 0x0 - + + +query stack during panic: +#0 [eval_static_initializer] evaluating initializer of static `EVENT_DECODER` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-09-11T19_22_35-46855.txt b/rustc-ice-2024-09-11T19_22_35-46855.txt new file mode 100644 index 0000000..fef2f08 --- /dev/null +++ b/rustc-ice-2024-09-11T19_22_35-46855.txt @@ -0,0 +1,693 @@ +thread 'rustc' panicked at compiler/rustc_const_eval/src/interpret/validity.rs:763:21: +assertion `left == right` failed + left: Mut + right: Not +stack backtrace: + 0: 0x74aa50d9bff0 - trace + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 + 1: 0x74aa50d9bff0 - trace_unsynchronized + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0x74aa50d9bff0 - create + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:331:13 + 3: 0x74aa50d9bf65 - std::backtrace::Backtrace::force_capture::hb7991d781b4cc2da + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:312:9 + 4: 0x74aa4d8f1f15 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:1444:25 + 5: 0x74aa4d8f1f15 - call<(&(dyn core::ops::function::Fn<(&std::panic::PanicHookInfo), Output=()> + core::marker::Send + core::marker::Sync), &std::panic::PanicHookInfo), rustc_driver_impl::install_ice_hook::{closure_env#0}, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2243:9 + 6: 0x74aa4d8f1f15 - {closure#0}> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:230:47 + 7: 0x74aa50dcf8a4 - rust_panic_with_hook + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:809:13 + 8: 0x74aa50da58c9 - {closure#0} + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:674:13 + 9: 0x74aa50da5659 - std::sys::backtrace::__rust_end_short_backtrace::he24104dc58c0fa57 + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:170:18 + 10: 0x74aa50dcf404 - begin_panic_handler + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:665:5 + 11: 0x74aa50e0e6b3 - panic_fmt + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:74:14 + 12: 0x74aa50e0eba1 - assert_failed_inner + 13: 0x74aa4f8decb0 - core[39860b15b53b4e24]::panicking::assert_failed:: + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:367:5 + 14: 0x74aa4f96b6a6 - mutability + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:763:21 + 15: 0x74aa4f96bae2 - in_mutable_memory + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:722:24 + 16: 0x74aa4f96bae2 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:873:21 + 17: 0x74aa4f96d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 18: 0x74aa4f96d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 19: 0x74aa4f96d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 20: 0x74aa4f96d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 21: 0x74aa4f96bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 22: 0x74aa4f96d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 23: 0x74aa4f96d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 24: 0x74aa4f96d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 25: 0x74aa4f96d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 26: 0x74aa4f96bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 27: 0x74aa4f96d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 28: 0x74aa4f96d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 29: 0x74aa4f96d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 30: 0x74aa4f96d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 31: 0x74aa4f837860 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 32: 0x74aa4f837860 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:42 + 33: 0x74aa4f837860 - run_for_validation, rustc_const_eval::interpret::validity::{impl#4}::validate_operand_internal::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/memory.rs:1024:19 + 34: 0x74aa4f837860 - validate_operand_internal + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:15 + 35: 0x74aa4f8d66de - const_validate_operand + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1088:9 + 36: 0x74aa4f8d66de - const_validate_mplace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:412:13 + 37: 0x74aa4f8d66de - eval_body_using_ecx + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:97:5 + 38: 0x74aa4f8d66de - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:25 + 39: 0x74aa4f8d66de - and_then<&rustc_middle::mir::Body, rustc_middle::mir::interpret::error::InterpErrorInfo, rustc_middle::mir::interpret::allocation::ConstAllocation, rustc_const_eval::const_eval::eval_queries::eval_in_interpreter::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/library/core/src/result.rs:1346:22 + 40: 0x74aa4f8d66de - eval_in_interpreter + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:9 + 41: 0x74aa4f8d66de - eval_static_initializer_provider + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:321:5 + 42: 0x74aa4f31a824 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:287:13 + 43: 0x74aa4f31a824 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 44: 0x74aa4f45b403 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 45: 0x74aa4f45b403 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 46: 0x74aa4f4198b4 - compute>, false, false, false> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/lib.rs:110:9 + 47: 0x74aa4f4198b4 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:541:37 + 48: 0x74aa4f4198b4 - call_once>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, ((rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig>, false, false, false>), rustc_span::def_id::DefId)> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 49: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 50: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 51: 0x74aa4f50b080 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 52: 0x74aa4f50b080 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 53: 0x74aa4f50b080 - enter_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 54: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 55: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 56: 0x74aa4f50b080 - with_context_opt>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 57: 0x74aa4f50b080 - with_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 58: 0x74aa4f50b080 - with_deps>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 59: 0x74aa4f35d5e5 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 60: 0x74aa4f35d5e5 - with_task>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:371:14 + 61: 0x74aa4f35d5e5 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 62: 0x74aa4f35d5e5 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 63: 0x74aa4f35d5e5 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 64: 0x74aa4f35d5e5 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 65: 0x74aa4f35d5e5 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 66: 0x74aa4f35d5e5 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 67: 0x74aa4f35d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 68: 0x74aa4f35d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 69: 0x74aa4f35d5e5 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 70: 0x74aa4f35d5e5 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 71: 0x74aa4f35d5e5 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 72: 0x74aa4f35d5e5 - start_query<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 73: 0x74aa4f35d5e5 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 74: 0x74aa4f35d5e5 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 75: 0x74aa4f35d5e5 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 76: 0x74aa4f5a8e43 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 77: 0x74aa4f5a8e43 - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 78: 0x74aa4f5a8e43 - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 79: 0x74aa4f5a8e43 - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 80: 0x74aa4f5a8e43 - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 81: 0x74aa4e16d2d2 - query_ensure>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:159:9 + 82: 0x74aa4e16d2d2 - eval_static_initializer + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:194:9 + 83: 0x74aa4e16d2d2 - {closure#3} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:190:39 + 84: 0x74aa4e16d2d2 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:82 + 85: 0x74aa4e155a3d - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:183:34 + 86: 0x74aa4e155a3d - call_once<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 87: 0x74aa4e155a3d - do_call>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 88: 0x74aa4e155a3d - try<(), core::panic::unwind_safe::AssertUnwindSafe>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 89: 0x74aa4e155a3d - catch_unwind>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 90: 0x74aa4e155a3d - run<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:29:9 + 91: 0x74aa4e33e1fe - {closure#1}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:187:21 + 92: 0x74aa4e33e1fe - for_each>> + at /home/pterpstra/projects/rust_os_port/library/core/src/slice/iter/macros.rs:254:21 + 93: 0x74aa4e33e1fe - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:186:17 + 94: 0x74aa4e33e1fe - parallel_guard<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:45:15 + 95: 0x74aa4e33e1fe - par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:179:9 + 96: 0x74aa4e33e1fe - par_body_owners + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:9 + 97: 0x74aa4e33e1fe - check_crate + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:187:5 + 98: 0x74aa4dc108f7 - run_required_analyses + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:788:5 + 99: 0x74aa4dc108f7 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:853:5 + 100: 0x74aa4f324497 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:283:9 + 101: 0x74aa4f324497 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 102: 0x74aa4f462449 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 103: 0x74aa4f462449 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 104: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 105: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 106: 0x74aa4f50b8f6 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 107: 0x74aa4f50b8f6 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 108: 0x74aa4f50b8f6 - enter_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 109: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 110: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 111: 0x74aa4f50b8f6 - with_context_opt>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 112: 0x74aa4f50b8f6 - with_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 113: 0x74aa4f50b8f6 - with_deps>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 114: 0x74aa4f3799c3 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 115: 0x74aa4f3799c3 - with_task>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:362:14 + 116: 0x74aa4f3799c3 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 117: 0x74aa4f3799c3 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 118: 0x74aa4f3799c3 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 119: 0x74aa4f3799c3 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 120: 0x74aa4f3799c3 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 121: 0x74aa4f3799c3 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 122: 0x74aa4f3799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 123: 0x74aa4f3799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 124: 0x74aa4f3799c3 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 125: 0x74aa4f3799c3 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 126: 0x74aa4f3799c3 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 127: 0x74aa4f3799c3 - start_query<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 128: 0x74aa4f3799c3 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 129: 0x74aa4f3799c3 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 130: 0x74aa4f3799c3 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 131: 0x74aa4f59684d - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 132: 0x74aa4f59684d - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 133: 0x74aa4f59684d - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 134: 0x74aa4f59684d - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 135: 0x74aa4f59684d - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 136: 0x74aa4d88b1a4 - query_get_at>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:143:17 + 137: 0x74aa4d88b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:421:31 + 138: 0x74aa4d88b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:412:35 + 139: 0x74aa4d88b1a4 - {closure#5} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:52 + 140: 0x74aa4d88b1a4 - {closure#1}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:37 + 141: 0x74aa4d88b1a4 - {closure#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 142: 0x74aa4d88b1a4 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 143: 0x74aa4d88b1a4 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 144: 0x74aa4d88b1a4 - enter_context>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 145: 0x74aa4d88b1a4 - enter> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:9 + 146: 0x74aa4d8fd226 - {closure#1} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:13 + 147: 0x74aa4d8fd226 - enter, rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/queries.rs:210:19 + 148: 0x74aa4d94eefa - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:394:22 + 149: 0x74aa4d94eefa - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/interface.rs:502:27 + 150: 0x74aa4d94eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:157:13 + 151: 0x74aa4d94eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:107:21 + 152: 0x74aa4d94eefa - set, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9 + 153: 0x74aa4d94eefa - create_session_globals_then, rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure#0}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_span/src/lib.rs:135:5 + 154: 0x74aa4d91ec16 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:106:17 + 155: 0x74aa4d91ec16 - __rust_begin_short_backtrace, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:154:18 + 156: 0x74aa4d91fcf6 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:522:17 + 157: 0x74aa4d91fcf6 - call_once, std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 158: 0x74aa4d91fcf6 - do_call, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 159: 0x74aa4d91fcf6 - try, core::panic::unwind_safe::AssertUnwindSafe, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 160: 0x74aa4d91fcf6 - catch_unwind, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 161: 0x74aa4d91fcf6 - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:521:30 + 162: 0x74aa4d91fcf6 - call_once, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, ()> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 163: 0x74aa50d8006d - call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 164: 0x74aa50d8006d - call_once<(), alloc::boxed::Box, alloc::alloc::Global>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 165: 0x74aa50db79aa - thread_start + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/pal/unix/thread.rs:105:17 + 166: 0x74aa4bd8639d - + 167: 0x74aa4be0b49c - + 168: 0x0 - + + +rustc version: 1.83.0-dev +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [eval_static_initializer] evaluating initializer of static `SCANDODE_DECODER` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_const_eval/src/interpret/validity.rs:763:21: +assertion `left == right` failed + left: Mut + right: Not +stack backtrace: + 0: 0x74aa50d9bff0 - trace + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 + 1: 0x74aa50d9bff0 - trace_unsynchronized + at /home/pterpstra/projects/rust_os_port/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0x74aa50d9bff0 - create + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:331:13 + 3: 0x74aa50d9bf65 - std::backtrace::Backtrace::force_capture::hb7991d781b4cc2da + at /home/pterpstra/projects/rust_os_port/library/std/src/backtrace.rs:312:9 + 4: 0x74aa4d8f1f15 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:1444:25 + 5: 0x74aa4d8f1f15 - call<(&(dyn core::ops::function::Fn<(&std::panic::PanicHookInfo), Output=()> + core::marker::Send + core::marker::Sync), &std::panic::PanicHookInfo), rustc_driver_impl::install_ice_hook::{closure_env#0}, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2243:9 + 6: 0x74aa4d8f1f15 - {closure#0}> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:230:47 + 7: 0x74aa50dcf8a4 - rust_panic_with_hook + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:809:13 + 8: 0x74aa50da58c9 - {closure#0} + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:674:13 + 9: 0x74aa50da5659 - std::sys::backtrace::__rust_end_short_backtrace::he24104dc58c0fa57 + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:170:18 + 10: 0x74aa50dcf404 - begin_panic_handler + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:665:5 + 11: 0x74aa50e0e6b3 - panic_fmt + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:74:14 + 12: 0x74aa50e0eba1 - assert_failed_inner + 13: 0x74aa4f8decb0 - core[39860b15b53b4e24]::panicking::assert_failed:: + at /home/pterpstra/projects/rust_os_port/library/core/src/panicking.rs:367:5 + 14: 0x74aa4f96b6a6 - mutability + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:763:21 + 15: 0x74aa4f96bae2 - in_mutable_memory + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:722:24 + 16: 0x74aa4f96bae2 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:873:21 + 17: 0x74aa4f96d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 18: 0x74aa4f96d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 19: 0x74aa4f96d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 20: 0x74aa4f96d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 21: 0x74aa4f96bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 22: 0x74aa4f96d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 23: 0x74aa4f96d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 24: 0x74aa4f96d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 25: 0x74aa4f96d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 26: 0x74aa4f96bdbb - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 27: 0x74aa4f96d2a1 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:42 + 28: 0x74aa4f96d2a1 - with_elem> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:308:17 + 29: 0x74aa4f96d2a1 - visit_field + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:810:9 + 30: 0x74aa4f96d2a1 - walk_value, rustc_const_eval::const_eval::machine::CompileTimeMachine> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/visitor.rs:180:21 + 31: 0x74aa4f837860 - visit_value + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:974:21 + 32: 0x74aa4f837860 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:42 + 33: 0x74aa4f837860 - run_for_validation, rustc_const_eval::interpret::validity::{impl#4}::validate_operand_internal::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/memory.rs:1024:19 + 34: 0x74aa4f837860 - validate_operand_internal + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1046:15 + 35: 0x74aa4f8d66de - const_validate_operand + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/interpret/validity.rs:1088:9 + 36: 0x74aa4f8d66de - const_validate_mplace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:412:13 + 37: 0x74aa4f8d66de - eval_body_using_ecx + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:97:5 + 38: 0x74aa4f8d66de - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:25 + 39: 0x74aa4f8d66de - and_then<&rustc_middle::mir::Body, rustc_middle::mir::interpret::error::InterpErrorInfo, rustc_middle::mir::interpret::allocation::ConstAllocation, rustc_const_eval::const_eval::eval_queries::eval_in_interpreter::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/library/core/src/result.rs:1346:22 + 40: 0x74aa4f8d66de - eval_in_interpreter + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:388:9 + 41: 0x74aa4f8d66de - eval_static_initializer_provider + at /home/pterpstra/projects/rust_os_port/compiler/rustc_const_eval/src/const_eval/eval_queries.rs:321:5 + 42: 0x74aa4f31a824 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:287:13 + 43: 0x74aa4f31a824 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 44: 0x74aa4f45b403 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 45: 0x74aa4f45b403 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 46: 0x74aa4f4198b4 - compute>, false, false, false> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/lib.rs:110:9 + 47: 0x74aa4f4198b4 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:541:37 + 48: 0x74aa4f4198b4 - call_once>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, ((rustc_query_impl::plumbing::QueryCtxt, rustc_query_impl::DynamicConfig>, false, false, false>), rustc_span::def_id::DefId)> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 49: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 50: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 51: 0x74aa4f50b080 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 52: 0x74aa4f50b080 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 53: 0x74aa4f50b080 - enter_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 54: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 55: 0x74aa4f50b080 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 56: 0x74aa4f50b080 - with_context_opt>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 57: 0x74aa4f50b080 - with_context>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 58: 0x74aa4f50b080 - with_deps>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>>, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 59: 0x74aa4f35d5e5 - {closure#0}>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 60: 0x74aa4f35d5e5 - with_task>, false, false, false>), rustc_span::def_id::DefId, rustc_middle::query::erase::Erased<[u8; 16]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:371:14 + 61: 0x74aa4f35d5e5 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 62: 0x74aa4f35d5e5 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 63: 0x74aa4f35d5e5 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 64: 0x74aa4f35d5e5 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 65: 0x74aa4f35d5e5 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 66: 0x74aa4f35d5e5 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 67: 0x74aa4f35d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 68: 0x74aa4f35d5e5 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 69: 0x74aa4f35d5e5 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 70: 0x74aa4f35d5e5 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 71: 0x74aa4f35d5e5 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 72: 0x74aa4f35d5e5 - start_query<(rustc_middle::query::erase::Erased<[u8; 16]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 73: 0x74aa4f35d5e5 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 74: 0x74aa4f35d5e5 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 75: 0x74aa4f35d5e5 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 76: 0x74aa4f5a8e43 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 77: 0x74aa4f5a8e43 - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 78: 0x74aa4f5a8e43 - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 16]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 79: 0x74aa4f5a8e43 - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 80: 0x74aa4f5a8e43 - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 81: 0x74aa4e16d2d2 - query_ensure>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:159:9 + 82: 0x74aa4e16d2d2 - eval_static_initializer + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:194:9 + 83: 0x74aa4e16d2d2 - {closure#3} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:190:39 + 84: 0x74aa4e16d2d2 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:82 + 85: 0x74aa4e155a3d - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:183:34 + 86: 0x74aa4e155a3d - call_once<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 87: 0x74aa4e155a3d - do_call>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 88: 0x74aa4e155a3d - try<(), core::panic::unwind_safe::AssertUnwindSafe>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 89: 0x74aa4e155a3d - catch_unwind>>, ()> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 90: 0x74aa4e155a3d - run<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure#0}::{closure#0}::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:29:9 + 91: 0x74aa4e33e1fe - {closure#1}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:187:21 + 92: 0x74aa4e33e1fe - for_each>> + at /home/pterpstra/projects/rust_os_port/library/core/src/slice/iter/macros.rs:254:21 + 93: 0x74aa4e33e1fe - {closure#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:186:17 + 94: 0x74aa4e33e1fe - parallel_guard<(), rustc_data_structures::sync::parallel::enabled::par_for_each_in::{closure_env#0}<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:45:15 + 95: 0x74aa4e33e1fe - par_for_each_in<&rustc_span::def_id::LocalDefId, &[rustc_span::def_id::LocalDefId], rustc_middle::hir::map::{impl#4}::par_body_owners::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/sync/parallel.rs:179:9 + 96: 0x74aa4e33e1fe - par_body_owners + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/hir/map/mod.rs:352:9 + 97: 0x74aa4e33e1fe - check_crate + at /home/pterpstra/projects/rust_os_port/compiler/rustc_hir_analysis/src/lib.rs:187:5 + 98: 0x74aa4dc108f7 - run_required_analyses + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:788:5 + 99: 0x74aa4dc108f7 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/passes.rs:853:5 + 100: 0x74aa4f324497 - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:283:9 + 101: 0x74aa4f324497 - __rust_begin_short_backtrace> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:548:18 + 102: 0x74aa4f462449 - {closure#2} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:622:25 + 103: 0x74aa4f462449 - call_once + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 104: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:64 + 105: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 106: 0x74aa4f50b8f6 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 107: 0x74aa4f50b8f6 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 108: 0x74aa4f50b8f6 - enter_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 109: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:33:13 + 110: 0x74aa4f50b8f6 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 111: 0x74aa4f50b8f6 - with_context_opt>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 112: 0x74aa4f50b8f6 - with_context>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 113: 0x74aa4f50b8f6 - with_deps>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>>, rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/dep_graph/mod.rs:30:9 + 114: 0x74aa4f3799c3 - {closure#0}>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:360:37 + 115: 0x74aa4f3799c3 - with_task>, false, false, false>), (), rustc_middle::query::erase::Erased<[u8; 1]>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/dep_graph/graph.rs:362:14 + 116: 0x74aa4f3799c3 - {closure#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:537:13 + 117: 0x74aa4f3799c3 - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 118: 0x74aa4f3799c3 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 119: 0x74aa4f3799c3 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 120: 0x74aa4f3799c3 - enter_context>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 121: 0x74aa4f3799c3 - {closure#0}<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:151:13 + 122: 0x74aa4f3799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:134:9 + 123: 0x74aa4f3799c3 - {closure#0}, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:36 + 124: 0x74aa4f3799c3 - with_context_opt, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:101:18 + 125: 0x74aa4f3799c3 - with_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:112:5 + 126: 0x74aa4f3799c3 - with_related_context, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>>, (rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex)> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:125:5 + 127: 0x74aa4f3799c3 - start_query<(rustc_middle::query::erase::Erased<[u8; 1]>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job_incr::{closure_env#2}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:136:9 + 128: 0x74aa4f3799c3 - execute_job_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:526:9 + 129: 0x74aa4f3799c3 - execute_job>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:405:9 + 130: 0x74aa4f3799c3 - try_execute_query>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:357:13 + 131: 0x74aa4f59684d - {closure#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:837:9 + 132: 0x74aa4f59684d - maybe_grow<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.17/src/lib.rs:55:9 + 133: 0x74aa4f59684d - ensure_sufficient_stack<(rustc_middle::query::erase::Erased<[u8; 1]>, core::option::Option), rustc_query_system::query::plumbing::get_query_incr::{closure_env#0}>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_data_structures/src/stack.rs:17:5 + 134: 0x74aa4f59684d - get_query_incr>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_system/src/query/plumbing.rs:836:36 + 135: 0x74aa4f59684d - __rust_end_short_backtrace + at /home/pterpstra/projects/rust_os_port/compiler/rustc_query_impl/src/plumbing.rs:578:21 + 136: 0x74aa4d88b1a4 - query_get_at>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:143:17 + 137: 0x74aa4d88b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:421:31 + 138: 0x74aa4d88b1a4 - analysis + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/query/plumbing.rs:412:35 + 139: 0x74aa4d88b1a4 - {closure#5} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:52 + 140: 0x74aa4d88b1a4 - {closure#1}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:37 + 141: 0x74aa4d88b1a4 - {closure#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:82:9 + 142: 0x74aa4d88b1a4 - try_with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:283:12 + 143: 0x74aa4d88b1a4 - with, rustc_middle::ty::context::tls::enter_context::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/local.rs:260:9 + 144: 0x74aa4d88b1a4 - enter_context>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context/tls.rs:79:9 + 145: 0x74aa4d88b1a4 - enter> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_middle/src/ty/context.rs:1320:9 + 146: 0x74aa4d8fd226 - {closure#1} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:454:13 + 147: 0x74aa4d8fd226 - enter, rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/queries.rs:210:19 + 148: 0x74aa4d94eefa - {closure#0} + at /home/pterpstra/projects/rust_os_port/compiler/rustc_driver_impl/src/lib.rs:394:22 + 149: 0x74aa4d94eefa - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/interface.rs:502:27 + 150: 0x74aa4d94eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:157:13 + 151: 0x74aa4d94eefa - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:107:21 + 152: 0x74aa4d94eefa - set, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9 + 153: 0x74aa4d94eefa - create_session_globals_then, rustc_interface::util::run_in_thread_with_globals::{closure#0}::{closure#0}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_span/src/lib.rs:135:5 + 154: 0x74aa4d91ec16 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/compiler/rustc_interface/src/util.rs:106:17 + 155: 0x74aa4d91ec16 - __rust_begin_short_backtrace, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/backtrace.rs:154:18 + 156: 0x74aa4d91fcf6 - {closure#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:522:17 + 157: 0x74aa4d91fcf6 - call_once, std::thread::{impl#0}::spawn_unchecked_::{closure#1}::{closure_env#0}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>> + at /home/pterpstra/projects/rust_os_port/library/core/src/panic/unwind_safe.rs:272:9 + 158: 0x74aa4d91fcf6 - do_call, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:557:40 + 159: 0x74aa4d91fcf6 - try, core::panic::unwind_safe::AssertUnwindSafe, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panicking.rs:520:19 + 160: 0x74aa4d91fcf6 - catch_unwind, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/panic.rs:345:14 + 161: 0x74aa4d91fcf6 - {closure#1}, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>> + at /home/pterpstra/projects/rust_os_port/library/std/src/thread/mod.rs:521:30 + 162: 0x74aa4d91fcf6 - call_once, rustc_driver_impl::run_compiler::{closure_env#0}>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, core::result::Result<(), rustc_span::ErrorGuaranteed>>, ()> + at /home/pterpstra/projects/rust_os_port/library/core/src/ops/function.rs:250:5 + 163: 0x74aa50d8006d - call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 164: 0x74aa50d8006d - call_once<(), alloc::boxed::Box, alloc::alloc::Global>, alloc::alloc::Global> + at /home/pterpstra/projects/rust_os_port/library/alloc/src/boxed.rs:2229:9 + 165: 0x74aa50db79aa - thread_start + at /home/pterpstra/projects/rust_os_port/library/std/src/sys/pal/unix/thread.rs:105:17 + 166: 0x74aa4bd8639d - + 167: 0x74aa4be0b49c - + 168: 0x0 - + + +query stack during panic: +#0 [eval_static_initializer] evaluating initializer of static `EVENT_DECODER` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/src/controller.rs b/src/controller.rs index 8805b51..5a39039 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -302,4 +302,8 @@ impl Ps2Controller { } self.port1_output_bytes.lock().pop_front().unwrap() } + + pub fn try_read_port1(&self) -> Option { + self.port1_output_bytes.lock().pop_front() + } } diff --git a/src/main.rs b/src/main.rs index 9f57d26..76e8a66 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,88 @@ mod controller; -use std::{fs::File, io::Write, os::mikros::{ipc, syscalls}, sync::OnceLock}; +use std::{collections::VecDeque, os::mikros::{ipc, syscalls}, sync::OnceLock}; use controller::Ps2Controller; +use parking_lot::Mutex; use pc_keyboard::{layouts::Us104Key, EventDecoder, HandleControl, ScancodeSet, ScancodeSet2}; static CONTROLLER: OnceLock = OnceLock::new(); +static KEYPRESS_BUF: Mutex> = Mutex::new(VecDeque::new()); + +struct DevServ; + +impl dev_driver_rpc::Server for DevServ { + fn open(&self, _path: &std::path::Path) -> Result { + Ok(0) + } +} + +struct FileServ; + +impl file_rpc::Server for FileServ { + fn read( + &self, + _fd: u64, + _pos: u64, + len: usize, + ) -> std::result::Result, ()> { + while KEYPRESS_BUF.lock().is_empty() { + ipc::process_messages(); + process_keyboard_data(); + } + let mut encode_buf = [0u8; 4]; + let mut buf = vec![]; + let mut remaining_len = len; + while remaining_len > 0 { + let mut keypress_buf = KEYPRESS_BUF.lock(); + let Some(c) = keypress_buf.pop_front() else { + break + }; + let str = c.encode_utf8(&mut encode_buf); + let bytes = str.as_bytes(); + if bytes.len() > remaining_len { + keypress_buf.push_front(c); + break; + } + buf.extend_from_slice(bytes); + remaining_len -= bytes.len(); + } + Ok(buf.into()) + } + + fn write(&self, _fd: u64, _pos: u64, _data: &[u8]) -> Result<(), ()> { + Err(()) + } + + fn close(&self, _fd: u64) {} + + fn size(&self, _fd: u64) -> Option { + None + } +} + +static SCANDODE_DECODER: Mutex = Mutex::new(ScancodeSet2::new()); +static EVENT_DECODER: Mutex> = Mutex::new(EventDecoder::new(Us104Key, HandleControl::Ignore)); + +fn process_keyboard_data() { + let mut scancode_decoder = SCANDODE_DECODER.lock(); + let mut event_decoder = EVENT_DECODER.lock(); + let controller = CONTROLLER.get().unwrap(); + while let Some(byte) = controller.try_read_port1() { + let Some(event) = scancode_decoder.advance_state(byte).unwrap() else { + continue; + }; + let Some(key) = event_decoder.process_keyevent(event) else { + continue; + }; + match key { + pc_keyboard::DecodedKey::RawKey(_) => (), + pc_keyboard::DecodedKey::Unicode(ch) => KEYPRESS_BUF.lock().push_back(ch), + } + } +} + fn main() { let syslog_pid = loop { if let Some(pid) = syscalls::try_get_registered(2) { @@ -108,24 +184,21 @@ fn main() { syslog_client.send_text_message("ps2", "Set keyboard to scan code set 2").unwrap(); - let mut scancode_decoder = ScancodeSet2::new(); - let mut event_decoder = EventDecoder::new(Us104Key, HandleControl::Ignore); - - let mut display = File::open("/dev/bga0").unwrap(); - + dev_driver_rpc::register_server(Box::new(DevServ)); + file_rpc::register_server(Box::new(FileServ)); + let devfs_pid; loop { - let byte = controller.read_port1(); - let event = scancode_decoder.advance_state(byte).unwrap(); - let Some(event) = event else { - continue; - }; - let key = event_decoder.process_keyevent(event); - let Some(key) = key else { - continue; - }; - match key { - pc_keyboard::DecodedKey::RawKey(_) => (), - pc_keyboard::DecodedKey::Unicode(ch) => write!(display, "{}", ch).unwrap(), + if let Some(pid) = syscalls::try_get_registered(1) { + devfs_pid = pid; + break; } } + devfs_rpc::Client::new(devfs_pid) + .register_dev("kbd") + .unwrap(); + + loop { + ipc::process_messages(); + process_keyboard_data(); + } }