We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo 1.87.0-nightly (1d1d646c0 2025-02-21) release: 1.87.0-nightly commit-hash: 1d1d646c06a84c1aa53967b394b7f1218f85db82 commit-date: 2025-02-21 host: x86_64-unknown-linux-gnu libgit2: 1.9.0 (sys:0.20.0 vendored) libcurl: 8.12.0-DEV (sys:0.4.79+curl-8.12.0 vendored ssl:OpenSSL/3.4.0) ssl: OpenSSL 3.4.0 22 Oct 2024 os: Ubuntu 22.4.0 (jammy) [64-bit]
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, deep/cpu_model/src/tf_f16_wrapper.rs:6:8: 6:19 (#0))])) stack backtrace: 0: 0x7fd448bb4864 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hfbcadcb664e1e745 1: 0x7fd44941622c - core::fmt::write::h96d3ad630dab013b 2: 0x7fd44a4683d1 - std::io::Write::write_fmt::h3607b096b8efb3ee 3: 0x7fd448bb46c2 - std::sys::backtrace::BacktraceLock::print::h5c5089ef3846b40c 4: 0x7fd448bb6ece - std::panicking::default_hook::{{closure}}::ha2f1ea5200a78a69 5: 0x7fd448bb6aa4 - std::panicking::default_hook::he72a4c09abcc8836 6: 0x7fd447d1c4a7 - std[fe011135ce22c601]::panicking::update_hook::<alloc[d9798e16cf59ec93]::boxed::Box<rustc_driver_impl[685633a5d1c26086]::install_ice_hook::{closure#1}>>::{closure#0} 7: 0x7fd448bb7743 - std::panicking::rust_panic_with_hook::h9c6e02ac63684bb2 8: 0x7fd448bb743a - std::panicking::begin_panic_handler::{{closure}}::h408c429dfb442e49 9: 0x7fd448bb4d39 - std::sys::backtrace::__rust_end_short_backtrace::h7f67e94cbe910959 10: 0x7fd448bb70fd - rust_begin_unwind 11: 0x7fd445858430 - core::panicking::panic_fmt::h66d01c76cbf68b4b 12: 0x556eda319609 - <clippy_lints[5cffcd3e2f791c9d]::macro_use::MacroUseImports as rustc_lint[b946cbde2b0541cb]::passes::LateLintPass>::check_attribute 13: 0x7fd448205b46 - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_item 14: 0x7fd448205d60 - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_item 15: 0x7fd44a46090b - rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#0} 16: 0x7fd44a460beb - rustc_lint[b946cbde2b0541cb]::late::check_crate 17: 0x7fd44a464572 - rustc_interface[6c13097cf9f19f86]::passes::analysis 18: 0x7fd44a464359 - 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]>> 19: 0x7fd44a45fc2a - 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> 20: 0x7fd44a45f622 - rustc_query_impl[34908cfd77543239]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace 21: 0x7fd44a4df0fc - 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} 22: 0x7fd44a4d29e0 - rustc_interface[6c13097cf9f19f86]::interface::run_compiler::<(), rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}>::{closure#1} 23: 0x7fd44a35e8c8 - 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}, ()> 24: 0x7fd44a35f074 - <<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} 25: 0x7fd44a36056b - std::sys::pal::unix::thread::Thread::new::thread_start::h3ad2c4029bc451ad 26: 0x7fd444294ac3 - start_thread at ./nptl/pthread_create.c:442:8 27: 0x7fd444326850 - __GI___clone3 at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81:0 28: 0x0 - <unknown> 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/amir/work/acpl-paid/rustc-ice-2025-02-26T07_25_58-1331947.txt` to your bug report note: 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 `cpu_model` (lib) Caused by: process didn't exit successfully: `/home/amir/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo /home/amir/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name cpu_model --edition=2018 deep/cpu_model/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=228 --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 '--deny=clippy::pedantic' --allow=unstable_name_collisions --allow=unknown-lints --warn=unexpected_cfgs '--allow=clippy::too_long_first_doc_paragraph' '--allow=clippy::result_large_err' '--deny=clippy::print_stdout' '--allow=clippy::non_std_lazy_statics' '--allow=clippy::must_use_candidate' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_panics_doc' '--allow=clippy::missing_errors_doc' '--allow=clippy::iter-without-into-iter' '--allow=clippy::implicit_hasher' --check-cfg 'cfg(has_error_description_deprecated)' --cfg 'feature="checknan"' --cfg 'feature="gpu"' --cfg 'feature="short_attention"' --cfg 'feature="tensorflow"' --cfg 'feature="tf"' --cfg 'feature="timing"' --cfg 'feature="unsupported"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("checknan", "gpu", "short_attention", "tensorflow", "tf", "timing", "unsupported"))' -C metadata=cdd28ac9d6ba877e -C extra-filename=-33da92d82b104835 --out-dir /home/amir/work/acpl-paid/target/debug/deps -C incremental=/home/amir/work/acpl-paid/target/debug/incremental -L dependency=/home/amir/work/acpl-paid/target/debug/deps --extern aligned=/home/amir/work/acpl-paid/target/debug/deps/libaligned-c3381619951fe3a4.rmeta --extern analytics=/home/amir/work/acpl-paid/target/debug/deps/libanalytics-249ac6aa251b778d.rmeta --extern chrono=/home/amir/work/acpl-paid/target/debug/deps/libchrono-a826d89cec76cd48.rmeta --extern crc=/home/amir/work/acpl-paid/target/debug/deps/libcrc-b2c20bd949bef330.rmeta --extern error_chain=/home/amir/work/acpl-paid/target/debug/deps/liberror_chain-8645fc53fdcd57da.rmeta --extern fern=/home/amir/work/acpl-paid/target/debug/deps/libfern-2e8a1cc4e23dcaf8.rmeta --extern float_ord=/home/amir/work/acpl-paid/target/debug/deps/libfloat_ord-03a862f0046a2ba6.rmeta --extern global_config=/home/amir/work/acpl-paid/target/debug/deps/libglobal_config-f78b49dcbf98ced6.rmeta --extern half=/home/amir/work/acpl-paid/target/debug/deps/libhalf-d80a42819e70f5fd.rmeta --extern languages=/home/amir/work/acpl-paid/target/debug/deps/liblanguages-64aa9a628cb0e141.rmeta --extern lazy_static=/home/amir/work/acpl-paid/target/debug/deps/liblazy_static-8ad65d5daab94083.rmeta --extern libc=/home/amir/work/acpl-paid/target/debug/deps/liblibc-ea0b7027960ceff0.rmeta --extern log=/home/amir/work/acpl-paid/target/debug/deps/liblog-4da6138fd0bccb5a.rmeta --extern lunar=/home/amir/work/acpl-paid/target/debug/deps/liblunar-90ddc43fb3bbfca2.rmeta --extern lunar_protocol=/home/amir/work/acpl-paid/target/debug/deps/liblunar_protocol-af6a442d981e5912.rmeta --extern lunar_types=/home/amir/work/acpl-paid/target/debug/deps/liblunar_types-9d41cc313015f3ad.rmeta --extern model_file_protocol=/home/amir/work/acpl-paid/target/debug/deps/libmodel_file_protocol-58bba6ed0dab74a4.rmeta --extern monitoring=/home/amir/work/acpl-paid/target/debug/deps/libmonitoring-fa8705fc2bbb1826.rmeta --extern num_cpus=/home/amir/work/acpl-paid/target/debug/deps/libnum_cpus-a93eb2471b1d02b3.rmeta --extern once_cell=/home/amir/work/acpl-paid/target/debug/deps/libonce_cell-6ff9256ac6fa5e9e.rmeta --extern prometheus=/home/amir/work/acpl-paid/target/debug/deps/libprometheus-ca4376aeaae96c7c.rmeta --extern rand=/home/amir/work/acpl-paid/target/debug/deps/librand-5f5403cc2f04efa7.rmeta --extern rayon=/home/amir/work/acpl-paid/target/debug/deps/librayon-cad2f225e6b93e24.rmeta --extern rmp_serde=/home/amir/work/acpl-paid/target/debug/deps/librmp_serde-2d30040372b6bdda.rmeta --extern semver=/home/amir/work/acpl-paid/target/debug/deps/libsemver-ae84cbda068d5664.rmeta --extern serde=/home/amir/work/acpl-paid/target/debug/deps/libserde-d0b5972fef899717.rmeta --extern serde_derive=/home/amir/work/acpl-paid/target/debug/deps/libserde_derive-dc1aedd0c9e7e6c3.so --extern serde_json=/home/amir/work/acpl-paid/target/debug/deps/libserde_json-94b7ea5b853c3b6c.rmeta --extern snowflake=/home/amir/work/acpl-paid/target/debug/deps/libsnowflake-1dcadedb8593873d.rmeta --extern stream_cancel=/home/amir/work/acpl-paid/target/debug/deps/libstream_cancel-6dae097a6e45f7d1.rmeta --extern structopt=/home/amir/work/acpl-paid/target/debug/deps/libstructopt-175986ecefef09dd.rmeta --extern tensorflow=/home/amir/work/acpl-paid/target/debug/deps/libtensorflow-a38c92873096bacc.rmeta --extern tokio_01=/home/amir/work/acpl-paid/target/debug/deps/libtokio-af407b916d17cebb.rmeta --extern tokio_01_sync=/home/amir/work/acpl-paid/target/debug/deps/libtokio_sync-3a46e1f30fabf607.rmeta --extern tokio_01_timer=/home/amir/work/acpl-paid/target/debug/deps/libtokio_timer-b18d030981c7c9a1.rmeta -L native=/home/amir/work/acpl-paid/target/debug/build/cpu_model-f115f93cf1aee4ec/out -l static=matmul -L native=/home/amir/work/acpl-paid/target/debug/build/ring-f0ec86b5fb615862/out -L native=/home/amir/work/acpl-paid/target/debug/build/libsqlite3-sys-919fea1a1853de35/out -L native=/home/amir/work/acpl-paid/target/debug/build/sys-info-df59c45a13000a78/out -L native=/home/amir/work/acpl-paid/target/debug/build/libgit2-sys-0aedac0dff524047/out/build -L native=/home/amir/work/acpl-paid/target/debug/build/esaxx-rs-125a6d335855efbf/out -L native=/home/amir/work/acpl-paid/target/debug/build/onig_sys-e02f16bd1d726d97/out -L native=/home/amir/work/acpl-paid/target/debug/build/tree-sitter-1a590155a1fc1cb0/out -L native=/home/amir/work/acpl-paid/target/debug/build/tree-sitter-java-c87d55a7dcd4b6f3/out -L native=/home/amir/work/acpl-paid/target/debug/build/tree-sitter-typescript-54f2918c32557989/out -L native=/home/amir/work/acpl-paid/target/debug/build/tree-sitter-javascript-9933ce29f8898557/out -L native=/home/amir/work/acpl-paid/target/debug/build/tree-sitter-python-3946873b1aec086b/out -L native=/home/amir/work/acpl-paid/target/debug/build/tree-sitter-python-3946873b1aec086b/out -L native=/home/amir/work/acpl-paid/target/debug/build/bzip2-sys-20d21bc1f1fe5684/out/lib -L native=/home/amir/work/acpl-paid/target/debug/build/zstd-sys-b1f8bdbab6149438/out -L /home/amir/work/acpl-paid/target/debug/build/tensorflow-sys-a96b1e2f7d53c257/out` (exit status: 101)
The text was updated successfully, but these errors were encountered:
Hi @amircodota. Thanks for your report, but to be really usable we need to reproduce it, and know:
Sorry, something went wrong.
Duplicate of rust-lang/rust#137640
No branches or pull requests
Summary
Version
Error output
Backtrace
The text was updated successfully, but these errors were encountered: