pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
219 stars 42 forks source link

Failed to build on Arch Linux #207

Closed rilian-la-te closed 4 months ago

rilian-la-te commented 4 months ago
    Checking pop-launcher v1.2.2 (/home/rilian/.cache/paru/clone/pop-launcher-git/src/launcher)
warning: docs for function which may panic missing `# Panics` section
  --> src/lib.rs:27:1
   |
27 | pub fn plugin_paths() -> impl Iterator<Item = Cow<'static, Path>> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: first possible panic found here
  --> src/lib.rs:31:24
   |
31 |               let path = dirs::home_dir()
   |  ________________________^
32 | |                 .expect("user does not have home dir")
   | |______________________________________________________^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
   = note: `-W clippy::missing-panics-doc` implied by `-W clippy::pedantic`
   = help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_panics_doc)]`

warning: `pop-launcher` (lib) generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 6.76s

rustc --version rustc 1.76.0 (07dca489a 2024-02-04) (Arch Linux rust 1:1.76.0-1)

rilian-la-te commented 4 months ago

Sorry, misread issue.