Guest User

Untitled

a guest
Jan 5th, 2026
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. Compiling qs v0.1.0 (/home/vramch/.config/quickshell/quick-settings)
  2. warning: fields `current_idx`, `current_name`, and `total_count` are never read
  3. --> src/state/mod.rs:21:9
  4. |
  5. 20 | pub struct WorkspaceState {
  6. | -------------- fields in this struct
  7. 21 | pub current_idx: usize,
  8. | ^^^^^^^^^^^
  9. 22 | pub current_name: Option<String>,
  10. | ^^^^^^^^^^^^
  11. 23 | pub total_count: usize,
  12. | ^^^^^^^^^^^
  13. |
  14. = note: `WorkspaceState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
  15. = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
  16.  
  17. warning: fields `app_name` and `title` are never read
  18. --> src/state/mod.rs:30:9
  19. |
  20. 29 | pub struct WindowState {
  21. | ----------- fields in this struct
  22. 30 | pub app_name: Option<String>,
  23. | ^^^^^^^^
  24. 31 | pub title: Option<String>,
  25. | ^^^^^
  26. |
  27. = note: `WindowState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
  28.  
  29. warning: methods `workspace_text` and `window_title` are never used
  30. --> src/state/mod.rs:40:12
  31. |
  32. 34 | impl AppState {
  33. | ------------- methods in this implementation
  34. ...
  35. 40 | pub fn workspace_text(&self) -> String {
  36. | ^^^^^^^^^^^^^^
  37. ...
  38. 54 | pub fn window_title(&self) -> String {
  39. | ^^^^^^^^^^^^
  40.  
  41. warning: struct `TopBar` is never constructed
  42. --> src/ui/bar.rs:14:12
  43. |
  44. 14 | pub struct TopBar {
  45. | ^^^^^^
  46.  
  47. warning: associated items `new`, `show`, `start_clock_updates`, `start_state_updates`, and `start_status_updates` are never used
  48. --> src/ui/bar.rs:28:12
  49. |
  50. 27 | impl TopBar {
  51. | ----------- associated items in this implementation
  52. 28 | pub fn new(app: &Application, state: Arc<RwLock<AppState>>) -> Self {
  53. | ^^^
  54. ...
  55. 210 | pub fn show(&self) {
  56. | ^^^^
  57. ...
  58. 215 | fn start_clock_updates(&self) {
  59. | ^^^^^^^^^^^^^^^^^^^
  60. ...
  61. 226 | fn start_state_updates(&self, state: Arc<RwLock<AppState>>) {
  62. | ^^^^^^^^^^^^^^^^^^^
  63. ...
  64. 246 | fn start_status_updates(&self) {
  65. | ^^^^^^^^^^^^^^^^^^^^
  66.  
  67. warning: function `current_time_string` is never used
  68. --> src/ui/widgets.rs:4:8
  69. |
  70. 4 | pub fn current_time_string() -> String {
  71. | ^^^^^^^^^^^^^^^^^^^
  72.  
  73. warning: `qs` (bin "qs") generated 6 warnings
  74. Finished `release` profile [optimized] target(s) in 1m 09s
  75.  
  76. Error while using
  77.  
  78. thread 'main' (64080) panicked at /home/vramch/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/process/unix/mod.rs:373:5:
  79. there is no reactor running, must be called from the context of a Tokio 1.x runtime
  80.  
  81.  
Advertisement
Add Comment
Please, Sign In to add comment