Skip to content

Started to panic on build script after update #20813

@Ddystopia

Description

@Ddystopia

rust-analyzer version: rust-analyzer set (9cd7a5958f 2025-10-06)

rustc version: rustc 1.92.0-nightly (8392220 2025-10-05)

editor or extension: neovim

relevant settings: -

repository link (if public, optional): https://github.com/Ddystopia/ra6m3-rtic (useless for you probably, needs specific env variables for C compiler and libraries)

Everything works fine there: rust-analyzer set (b1ff108869 2025-07-11)

Now, I am getting this (pretty formatted):

[START][2025-10-08 12:35:13] LSP logging initiated
[ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770	"rpc"	"/home/ddystopia/.cargo/bin/rust-analyzer"	"stderr"	'2025-10-08T12:35:13.646119016+02:00  WARN notify error: No such file or directory (os error 2) about ["/home/ddystopia/.config/rust-analyzer/rust-analyzer.toml"]'
[ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770	"rpc"	"/home/ddystopia/.cargo/bin/rust-analyzer"	"stderr"	"\nthread 'Worker5' (1719818) panicked at crates/project-model/src/build_dependencies.rs:300:21:\ninternal error: entered unreachable code: Received compiler message for unknown package: <redacted: lots of packages>
[ERROR][2025-10-08 12:35:13]
   0:     0x5a81d07575be - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6669656a4f8f3b5a
   
   1:     0x5a81cefb5eff - core::fmt::write::ha5e19fa14f12dd78
   2:     0x5a81d075682f - std::io::Write::write_fmt::heb45c07d9683d402
   3:     0x5a81d0757413 - std::sys::backtrace::BacktraceLock::print::hb0b6a19e74a681dd
   4:     0x5a81d0756de2 - std::panicking::default_hook::had85215a8e6d7509
   5:     0x5a81cef636ce - base_db::DbPanicContext::enter::set_hook::{{closure}}::h4a919b043bb68a5f
   6:     0x5a81d075646d - std::panicking::panic_with_hook::h2d59c212e39e78ca
   7:     0x5a81d077fbf8 - std::panicking::panic_handler::{{closure}}::h41af77c8fb5f4c83
   8:     0x5a81d077fb59 - std::sys::backtrace::__rust_end_short_backtrace::h0795954f3c683fbc
   9:     0x5a81d077fb4e - __rustc[38e0a62eac12ee08]::rust_begin_unwind
  10:     0x5a81cefb118f - core::panicking::panic_fmt::h570277b8f8b588d0
  11:     0x5a81d023e381 - project_model::build_dependencies::WorkspaceBuildScripts::run_per_ws::{{closure}}::h51c5816cb3542076
  12:     0x5a81d02354ac - project_model::build_dependencies::WorkspaceBuildScripts::run_command::{{closure}}::h0b4597eea45441df
  13:     0x5a81d07a9e4a - stdx::process::streaming_output::{{closure}}::ha7dadb6434531061
  14:     0x5a81d07a982e - stdx::process::streaming_output::hb575197f201496b4
  15:     0x5a81d07aa1ae - stdx::process::spawn_with_streaming_output::he5cabc0c42b0c6a8
  16:     0x5a81d02330a9 - project_model::workspace::ProjectWorkspace::run_build_scripts::h518c158974640037
  17:     0x5a81d051c560 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9f7f4802e213cb27
  18:     0x5a81d07a26af - std::sys::backtrace::__rust_begin_short_backtrace::h993f45a2a2c2ddf5
  19:     0x5a81d07a9296 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c70ea7295837e60
  20:     0x5a81d078addf - std::sys::thread::unix::Thread::new::thread_start::h8abc8cd43373286d
  21:     0x781f314969cb - <unknown>
  23:     0x781f3151aa0c - <unknown>
  23:                0x0 - <unknown>

Raw [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" '2025-10-08T12:35:13.646119016+02:00 WARN notify error: No such file or directory (os error 2) about ["/home/ddystopia/.config/rust-analyzer/rust-analyzer.toml"]\n' [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" "\nthread 'Worker5' (1719818) panicked at crates/project-model/src/build_dependencies.rs:300:21:\ninternal error: entered unreachable code: Received compiler message for unknown package: registry+https://github.com/rust-lang/crates.io-index#[email protected]\n registry+https://github.com/rust-lang/crates.io-index#[email protected], path+file:///home/ddystopia/job/minimq#0.10.0, registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], git+https://github.com/probe-rs/rtt-target.git#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], git+https://github.com/rtic-rs/rtic#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], git+https://github.com/rtic-rs/rtic#2.2.0, registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], path+file:///home/ddystopia/code/ra6m3-rtic#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], path+file:///home/ddystopia/job/ra/ra-fsp-rs#0.1.10, registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], path+file:///home/ddystopia/job/ra/ra-fsp-sys#0.1.10, registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected], registry+https://github.com/rust-lang/crates.io-index#[email protected]\nstack backtrace:\n" [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" " 0: 0x5a81d07575be - ::fmt::h6669656a4f8f3b5a\n 1: 0x5a81cefb5eff - core::fmt::write::ha5e19fa14f12dd78\n 2: 0x5a81d075682f - std::io::Write::write_fmt::heb45c07d9683d402\n 3: 0x5a81d0757413 - std::sys::backtrace::BacktraceLock::print::hb0b6a19e74a681dd\n 4: 0x5a81d0756de2 - std::panicking::default_hook::had85215a8e6d7509\n 5: 0x5a81cef636ce - base_db::DbPanicContext::enter::set_hook::{{closure}}::h4a919b043bb68a5f\n" [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" " 6: 0x5a81d075646d - std::panicking::panic_with_hook::h2d59c212e39e78ca\n 7: 0x5a81d077fbf8 - std::panicking::panic_handler::{{closure}}::h41af77c8fb5f4c83\n 8: 0x5a81d077fb59 - std::sys::backtrace::__rust_end_short_backtrace::h0795954f3c683fbc\n 9: 0x5a81d077fb4e - __rustc[38e0a62eac12ee08]::rust_begin_unwind\n 10: 0x" [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" "5a81cefb118f - core::panicking::panic_fmt::h570277b8f8b588d0\n 11: 0x5a81d023e381 - project_model::build_dependencies::WorkspaceBuildScripts::run_per_ws::{{closure}}::h51c5816cb3542076\n 12: 0x5a81d02354ac - project_model::build_dependencies::WorkspaceBuildScripts::run_command::{{closure}}::h0b4597eea45441df\n 13: 0x5a81d07a9e4a - stdx::process::streaming_output::{{closure}}::ha7dadb6434531061\n" [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" " 14: 0x5a81d07a982e - stdx::process::streaming_output::hb575197f201496b4\n 15: 0x5a81d07aa1ae - stdx::process::spawn_with_streaming_output::he5cabc0c42b0c6a8\n 16: 0x5a81d02330a9 - project_model::workspace::ProjectWorkspace::run_build_scripts::h518c158974640037\n 17: 0x5a81d051c560 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9f7f4802e213cb27\n 18: " [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" " 0x5a81d07a26af - std::sys::backtrace::__rust_begin_short_backtrace::h993f45a2a2c2ddf5\n 19: 0x5a81d07a9296 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c70ea7295837e60\n 20: 0x5a81d078addf - std::sys::thread::unix::Thread::new::thread_start::h8abc8cd43373286d\n" [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" " 21: 0x781f314969cb - \n" [ERROR][2025-10-08 12:35:13] .../vim/lsp/rpc.lua:770 "rpc" "/home/ddystopia/.cargo/bin/rust-analyzer" "stderr" " 22: 0x781f3151aa0c - \n 23: 0x0 - \n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions