thread 'rustc' (24814943) panicked at /rustc-dev/f57eac1bf98cb5d578e3364b64365ec398c137df/compiler/rustc_resolve/src/imports.rs:378:13:
assertion failed: !deep_decl.is_glob_import()
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: <rustc_resolve::Resolver>::select_glob_decl
4: <rustc_resolve::Resolver>::try_plant_decl_into_local_module
5: <rustc_resolve::Resolver>::try_plant_decl_into_local_module
6: <rustc_resolve::Resolver>::try_plant_decl_into_local_module
7: <rustc_resolve::Resolver as rustc_expand::base::ResolverExpand>::resolve_imports
8: <rustc_expand::expand::MacroExpander>::fully_expand_fragment
9: <rustc_expand::expand::MacroExpander>::expand_crate
10: rustc_interface::passes::configure_and_expand
11: rustc_interface::passes::resolver_for_lowering_raw
[... omitted 1 frame ...]
12: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>
13: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: please attach the file at `/Users/keithhughes/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sea-query-0.32.7/rustc-ice-2026-01-11T15_19_07-77215.txt` to your bug report
note: rustc 1.94.0-nightly (f57eac1bf 2026-01-10) running on aarch64-apple-darwin
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [resolver_for_lowering_raw] getting the resolver for lowering
end of query stack
error: could not compile `sea-query` (lib)
Caused by:
process didn't exit successfully: `/Users/keithhughes/.rustup/toolchains/nightly-aarch64-apple-darwin/bin/rustc --crate-name sea_query --edition=2021 /Users/keithhughes/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sea-query-0.32.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=183 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="backend-mysql"' --cfg 'feature="backend-postgres"' --cfg 'feature="backend-sqlite"' --cfg 'feature="bigdecimal"' --cfg 'feature="chrono"' --cfg 'feature="derive"' --cfg 'feature="hashable-value"' --cfg 'feature="ordered-float"' --cfg 'feature="postgres-array"' --cfg 'feature="rust_decimal"' --cfg 'feature="sea-query-derive"' --cfg 'feature="serde_json"' --cfg 'feature="thread-safe"' --cfg 'feature="time"' --cfg 'feature="uuid"' --cfg 'feature="with-bigdecimal"' --cfg 'feature="with-chrono"' --cfg 'feature="with-json"' --cfg 'feature="with-rust_decimal"' --cfg 'feature="with-time"' --cfg 'feature="with-uuid"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-features", "all-types", "attr", "backend-mysql", "backend-postgres", "backend-sqlite", "bigdecimal", "chrono", "default", "derive", "hashable-value", "ipnetwork", "mac_address", "option-more-parentheses", "option-sqlite-exact-column-type", "ordered-float", "pgvector", "postgres-array", "postgres-interval", "postgres-types", "postgres-vector", "rust_decimal", "sea-query-derive", "serde_json", "tests-cfg", "thread-safe", "time", "uuid", "with-bigdecimal", "with-chrono", "with-ipnetwork", "with-json", "with-mac_address", "with-rust_decimal", "with-time", "with-uuid"))' -C metadata=b4ad4a64a9f01c52 -C extra-filename=-af82c82d7abec2f7 --out-dir /Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps -L dependency=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps --extern bigdecimal=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libbigdecimal-e89b828e8e5bc995.rmeta --extern chrono=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libchrono-48469349dce3f022.rmeta --extern inherent=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libinherent-88f36f94744217f7.dylib --extern ordered_float=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libordered_float-29a41d501e9560e8.rmeta --extern rust_decimal=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/librust_decimal-7caac8fdd2f65790.rmeta --extern sea_query_derive=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libsea_query_derive-29e1363aae959aad.dylib --extern serde_json=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libserde_json-517b174a25669da8.rmeta --extern time=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libtime-af12cc62f5744fb7.rmeta --extern uuid=/Users/keithhughes/Documents/software/repos/dancing-with-plants/dancing-with-plants-app/target/debug/deps/libuuid-e0d7ba7c53c90aea.rmeta --cap-lints allow` (exit status: 101)
warning: build failed, waiting for other jobs to finish...
Code
I cannot find a minimal verifiable example. The error is in one of my crate dependencies, sea-query.
Meta
rustc --version --verbose:Error output
Backtrace