You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
note: Clippy version: clippy 0.1.86 (85abb27636 2025-02-25)
Summary
Project: https://github.com/recmo/uint commit 5737499450b3d9046dc
uint$ cargo +nightly clippy
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling ruint-macro v1.2.1 (/home/kpp/crypto/uint/ruint-macro)
Checking ruint v1.13.1 (/home/kpp/crypto/uint)
thread 'rustc' panicked at /rustc/85abb276361c424d64743c0965242dd0e7b866d1/compiler/rustc_hir/src/hir.rs:1165:18:
can't get the span of an arbitrary parsed attribute: Parsed(Repr([(ReprTransparent, src/lib.rs:151:8: 151:19 (#0))]))
stack backtrace:
0: 0x77a430bb4864 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hfbcadcb664e1e745
1: 0x77a43141622c - core::fmt::write::h96d3ad630dab013b
2: 0x77a4324683d1 - std::io::Write::write_fmt::h3607b096b8efb3ee
3: 0x77a430bb46c2 - std::sys::backtrace::BacktraceLock::print::h5c5089ef3846b40c
4: 0x77a430bb6ece - std::panicking::default_hook::{{closure}}::ha2f1ea5200a78a69
5: 0x77a430bb6aa4 - std::panicking::default_hook::he72a4c09abcc8836
6: 0x77a42fd1c4a7 - std[fe011135ce22c601]::panicking::update_hook::<alloc[d9798e16cf59ec93]::boxed::Box<rustc_driver_impl[685633a5d1c26086]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x77a430bb7743 - std::panicking::rust_panic_with_hook::h9c6e02ac63684bb2
8: 0x77a430bb743a - std::panicking::begin_panic_handler::{{closure}}::h408c429dfb442e49
9: 0x77a430bb4d39 - std::sys::backtrace::__rust_end_short_backtrace::h7f67e94cbe910959
10: 0x77a430bb70fd - rust_begin_unwind
11: 0x77a42d858430 - core::panicking::panic_fmt::h66d01c76cbf68b4b
12: 0x5fa7aeaf6609 - <clippy_lints[5cffcd3e2f791c9d]::macro_use::MacroUseImports as rustc_lint[b946cbde2b0541cb]::passes::LateLintPass>::check_attribute
13: 0x77a430205b46 - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_item
14: 0x77a43246090b - rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#0}
15: 0x77a432460beb - rustc_lint[b946cbde2b0541cb]::late::check_crate
16: 0x77a432464572 - rustc_interface[6c13097cf9f19f86]::passes::analysis
17: 0x77a432464359 - rustc_query_impl[34908cfd77543239]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[34908cfd77543239]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[5ffae1726b14730a]::query::erase::Erased<[u8; 0usize]>>
18: 0x77a43245fc2a - rustc_query_system[fc2137a045893525]::query::plumbing::try_execute_query::<rustc_query_impl[34908cfd77543239]::DynamicConfig<rustc_query_system[fc2137a045893525]::query::caches::SingleCache<rustc_middle[5ffae1726b14730a]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[34908cfd77543239]::plumbing::QueryCtxt, true>
19: 0x77a43245f622 - rustc_query_impl[34908cfd77543239]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
20: 0x77a4324df0fc - rustc_interface[6c13097cf9f19f86]::passes::create_and_enter_global_ctxt::<core[5ec1fcc0a718fbac]::option::Option<rustc_interface[6c13097cf9f19f86]::queries::Linker>, rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
21: 0x77a4324d29e0 - rustc_interface[6c13097cf9f19f86]::interface::run_compiler::<(), rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}>::{closure#1}
22: 0x77a43235e8c8 - std[fe011135ce22c601]::sys::backtrace::_rust_begin_short_backtrace::<rustc_interface[6c13097cf9f19f86]::util::run_in_thread_with_globals<rustc_interface[6c13097cf9f19f86]::util::run_in_thread_pool_with_globals<rustc_interface[6c13097cf9f19f86]::interface::run_compiler<(), rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
23: 0x77a43235f074 - <<std[fe011135ce22c601]::thread::Builder>::spawn_unchecked<rustc_interface[6c13097cf9f19f86]::util::run_in_thread_with_globals<rustc_interface[6c13097cf9f19f86]::util::run_in_thread_pool_with_globals<rustc_interface[6c13097cf9f19f86]::interface::run_compiler<(), rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[5ec1fcc0a718fbac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
24: 0x77a43236056b - std::sys::pal::unix::thread::Thread::new::thread_start::h3ad2c4029bc451ad
25: 0x77a42c294ac3 - start_thread
at ./nptl/pthread_create.c:442:8
26: 0x77a42c326850 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81:0
27: 0x0 -
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml
note: please make sure that you have updated to the latest nightly
note: please attach the file at
/home/kpp/crypto/uint/rustc-ice-2025-03-01T13_39_57-3805187.txt
to your bug reportnote: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED]
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
note: Clippy version: clippy 0.1.86 (85abb27636 2025-02-25)
error: could not compile
ruint
(lib)Caused by:
process didn't exit successfully:
/home/kpp/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/clippy-driver /home/kpp/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name ruint --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=95 --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "alloy-rlp", "arbitrary", "ark-ff", "ark-ff-04", "bn-rs", "borsh", "bytemuck", "default", "der", "diesel", "fastrlp", "fastrlp-04", "generic_const_exprs", "nightly", "num-bigint", "num-integer", "num-traits", "parity-scale-codec", "postgres", "primitive-types", "proptest", "pyo3", "quickcheck", "rand", "rlp", "serde", "sqlx", "ssz", "std", "subtle", "valuable", "zeroize"))' -C metadata=03596ffa9008bb0e -C extra-filename=-feccbec973e280a1 --out-dir /home/kpp/crypto/uint/target/debug/deps -C incremental=/home/kpp/crypto/uint/target/debug/incremental -L dependency=/home/kpp/crypto/uint/target/debug/deps --extern ruint_macro=/home/kpp/crypto/uint/target/debug/deps/libruint_macro-93b6af852ff0e31c.so
(exit status: 101)rustc-ice-2025-03-01T13_39_57-3805187.txt
Version
Error output
Backtrace
UPD:
Reproduced on
note: Clippy version: clippy 0.1.86 (2874876243 2025-02-28)
rustc version: 1.87.0-nightly (287487624 2025-02-28)
The text was updated successfully, but these errors were encountered: