zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.5k stars 3.02k forks source link

Zed hangs while running rust-analyzer #12339

Closed cemoktra closed 5 months ago

cemoktra commented 5 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I open a huge project and with rust analyzer starting the CPU usage of the main thread goes up and system tells me that Zed is not responding

Environment

Zed: v1.0.0 (Zed Dev 6276281e8af32cbb76d2e827c1fca0f6cdfcc8ca) OS: Linux 1.0.0 Memory: 31.1 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

$ RUST_LOG=info Zed
[2024-05-27T08:37:46+02:00 INFO  Zed] ========== starting zed ==========
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::handshake] perform;
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::handshake] write_command; command=Auth(Some(External), Some([49, 48, 48, 49]))
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::handshake] read_command;
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::handshake] write_command; command=NegotiateUnixFD
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::handshake] read_command;
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::handshake] write_command; command=Begin
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] socket reader;
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 2, ticks: Some((2, 1)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: Some([]), prev_seq: 0, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 3, ticks: Some((3, 2)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 1, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 1, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 1, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 3, ticks: Some((3, 2)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 1, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 1, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 2, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::proxy] new;
[2024-05-27T08:37:46+02:00 INFO  zbus::proxy] {}; task_name="org.freedesktop.portal.Settings proxy caching"
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 4, ticks: Some((4, 3)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 2, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 1, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 2, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 1, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 3, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 5, ticks: Some((4, 4)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false,send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 3, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 2, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 3, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 2, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 4, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 6, ticks: Some((5, 5)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false,send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 4, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 3, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 4, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 3, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 5, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 7, ticks: Some((6, 6)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false,send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::WellKnown("org.freedesktop.portal.Desktop")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("PropertiesChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/portal/desktop"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } },poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName(":1.82"), reply-serial: 5, body: Signature("a{sv}"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 4, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName(":1.82"), reply-serial: 5, body: Signature("a{sv}"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2,head_pos: 4, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 6, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::proxy] keep_updated;
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 8, ticks: Some((7, 7)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false,send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::WellKnown("org.freedesktop.portal.Desktop")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("PropertiesChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/portal/desktop"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } },poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 0, inactive_receiver_count: 1, sender_count: 2, head_pos: 6, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 0, inactive_receiver_count: 1, sender_count: 2, head_pos: 6, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 7, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 9, ticks: Some((8, 8)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false,send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::WellKnown("org.freedesktop.portal.Desktop")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("PropertiesChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/portal/desktop"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 7, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 6, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 7, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 6, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 8, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::proxy] new;
[2024-05-27T08:37:46+02:00 INFO  zbus::proxy] {}; task_name="org.freedesktop.portal.Settings proxy caching"
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 11, ticks: Some((9, 9)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 8, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 7, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 8, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 7, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 9, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 12, ticks: Some((11, 11)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 9, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 8, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 9, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 8, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 10, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 13, ticks: Some((12, 12)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 10, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 9, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 10, body: Signature("s"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 9, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 11, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  db] Opening main db
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 14, ticks: Some((13, 13)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 11, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 10, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 11, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 10, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 12, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 15, ticks: Some((14, 14)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::WellKnown("org.freedesktop.portal.Desktop")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("PropertiesChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/portal/desktop"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 }}, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName(":1.82"), reply-serial: 12, body: Signature("a{sv}"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 11, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName(":1.82"), reply-serial: 12, body: Signature("a{sv}"), fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 11, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 13, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::proxy] keep_updated;
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 16, ticks: Some((15, 15)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 2, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 2 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::WellKnown("org.freedesktop.portal.Desktop")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("PropertiesChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/portal/desktop"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 }}, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 13, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 0, inactive_receiver_count: 1, sender_count: 2, head_pos: 13, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 14, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  zbus::connection::socket_reader] read_socket; self=SocketReader { socket: Async { source: Source { registration: 12, key: 0, state: Mutex { data: [Direction { tick: 17, ticks: Some((16, 16)), waker: None, wakers: Slab { len: 0, cap: 0 } }, Direction { tick: 0, ticks: None, waker: None, wakers: Slab { len: 0, cap: 0 } }], poisoned: false, .. } }, io: Some(UnixStream { fd: FileDesc(OwnedFd { fd: 12 }), local: (unnamed), peer: "/run/user/1001/bus" (pathname) }) }, senders: Mutex { data: {Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::Unique("org.freedesktop.DBus")), interface: Some(InterfaceName("org.freedesktop.DBus")), member: Some(MemberName("NameOwnerChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/DBus"))), destination: None, args: [(0, "org.freedesktop.portal.Desktop")], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 8, receiver_count: 2, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 2 } }, poisoned: false, .. } }, None: Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 0, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event(<uninitialized>) }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Signal), sender: Some(BusName::WellKnown("org.freedesktop.portal.Desktop")), interface: Some(InterfaceName("org.freedesktop.DBus.Properties")), member: Some(MemberName("PropertiesChanged")), path_spec: Some(Path(ObjectPath("/org/freedesktop/portal/desktop"))), destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [], capacity: 64, receiver_count: 1, inactive_receiver_count: 1, sender_count: 1, head_pos: 0, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 0, listeners_total: 1 }}, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(MethodReturn), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 14, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 13, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 1 } }, poisoned: false, .. } }, Some(OwnedMatchRule(MatchRule { msg_type: Some(Error), sender: None, interface: None, member: None, path_spec: None, destination: None, args: [], arg_paths: [], arg0ns: None })): Sender { inner: RwLock { data: Inner { queue: [(Ok(Msg { type: MethodReturn, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 14, fds: [] }), 1)], capacity: 8, receiver_count: 1, inactive_receiver_count: 1, sender_count: 2, head_pos: 13, overflow: false, await_active: false, is_closed: false, send_ops: Event(<uninitialized>), recv_ops: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, poisoned: false, .. } }} }, already_received_bytes: None, prev_seq: 15, activity_event: Event(<uninitialized>) }
[2024-05-27T08:37:46+02:00 INFO  Zed] Using git binary path: None
[2024-05-27T08:37:46+02:00 ERROR util] crates/theme/src/settings.rs:433: theme not found: Everforest Dark
[2024-05-27T08:37:46+02:00 INFO  extension] extensions updated. loading 8, reloading 0, unloading 0
[2024-05-27T08:37:46+02:00 INFO  db] Opening main db
[2024-05-27T08:37:46+02:00 INFO  blade_graphics::hal::init] Enabling Vulkan Portability
[2024-05-27T08:37:46+02:00 INFO  blade_graphics::hal::init] Enabling color space support
[2024-05-27T08:37:46+02:00 INFO  blade_graphics::hal::init] Adapter "Intel(R) UHD Graphics 630 (CFL GT2)"
[2024-05-27T08:37:46+02:00 INFO  blade_graphics::hal::init] No ray tracing extensions are supported
[2024-05-27T08:37:46+02:00 INFO  blade_graphics::hal::init] Using surface present mode MAILBOX
[2024-05-27T08:37:46+02:00 WARN  blade_graphics::hal::init] Unable to forbid exclusive full screen
[2024-05-27T08:37:46+02:00 INFO  worktree] building git repository, `.git` path in the worktree: ".git"
[2024-05-27T08:37:47+02:00 INFO  gpui::platform::blade::blade_renderer] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_device_position_impl")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_device_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_device_position_transformed")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("blend_color")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_device_position_impl")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_device_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_device_position_transformed")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("to_tile_position")
[2024-05-27T08:37:47+02:00 INFO  naga::back::spv::writer] Skip function Some("blend_color")
[2024-05-27T08:37:47+02:00 ERROR auto_update] auto-update failed: error:error deserializing release

Caused by:
    expected value at line 1 column 1
[2024-05-27T08:37:47+02:00 INFO  db] Opening main db
[2024-05-27T08:37:47+02:00 INFO  node_runtime] Node runtime install_if_needed
[2024-05-27T08:37:47+02:00 INFO  db] Opening main db
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating texture 0x5d7ab018fac0 of size 1024x1024x1 and format R8Unorm, name 'atlas', handle 0
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab09e2100 of size 65536, name 'chunk-0', handle 1
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab0335500 of size 4096, name 'chunk-0', handle 2
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab0305f50 of size 63168, name 'chunk-1', handle 3
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab012a7b0 of size 4096, name 'chunk-2', handle 4
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab071f270 of size 87136, name 'chunk-3', handle 5
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7aafea35a0 of size 87136, name 'chunk-4', handle 6
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab066a530 of size 66864, name 'chunk-5', handle 7
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab07ee3d0 of size 87136, name 'chunk-6', handle 8
[2024-05-27T08:37:47+02:00 INFO  project::prettier_support] Initializing default prettier with plugins {}
[2024-05-27T08:37:47+02:00 INFO  project] starting language servers for Rust: rust-analyzer
[2024-05-27T08:37:47+02:00 INFO  language::language_registry] starting language server "rust-analyzer", path: "/home/cemoktra/code/dummy", id: 1
[2024-05-27T08:37:47+02:00 INFO  project::prettier_support] Initializing default prettier with plugins {}
[2024-05-27T08:37:47+02:00 INFO  project] starting language servers for Rust: rust-analyzer
[2024-05-27T08:37:47+02:00 INFO  language] fetching latest version of language server "rust-analyzer"
[2024-05-27T08:37:47+02:00 INFO  blade_graphics::hal::resource] Creating buffer 0x5d7ab0c363c0 of size 87248, name 'chunk-7', handle 9
[2024-05-27T08:37:47+02:00 INFO  lsp] starting language server. binary path: "/home/cemoktra/.local/share/zed/node/node-v18.15.0-linux-x64/bin/node", working directory: "/", args: ["/home/cemoktra/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
[2024-05-27T08:37:48+02:00 INFO  project::prettier_support] Initializing default prettier with plugins {}
[2024-05-27T08:37:48+02:00 INFO  project] starting language servers for Rust: rust-analyzer
[2024-05-27T08:37:48+02:00 INFO  lsp] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-05-27T06:37:48.299Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-05-27T06:37:48.299Z]",
  "extra": [
    "Agent service starting"
  ]
}
[2024-05-27T08:37:48+02:00 INFO  lsp] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "01ed92f6-6c27-4941-bd0d-35eabcd6b56b",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
[2024-05-27T08:37:48+02:00 INFO  lsp] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-05-27T06:37:48.316Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-05-27T06:37:48.316Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
[2024-05-27T08:37:48+02:00 INFO  language] downloading language server "rust-analyzer"
[2024-05-27T08:37:48+02:00 INFO  lsp] starting language server. binary path: "/home/cemoktra/.local/share/zed/languages/rust-analyzer/rust-analyzer-2024-05-27", working directory: "/home/cemoktra/code/dummy", args: []
[2024-05-27T08:37:48+02:00 WARN  gpui::platform::linux::wayland::cursor] Linux: Wayland: Unable to get default cursor too!
Error sending request: Resource temporarily unavailable
cemoktra commented 5 months ago

adding to this the CPU load of the main process. i can wait forever, it will never react again. at some the rust analyzer processes finish but the CPUI load of main process stays

1692895 cemokta     │ pts/6 219.2  5.6 00:00:56 00:00:56 │ Zed                                                               >
 1693533 cemokta     │ pts/6 150.7  4.1 00:01:07 00:01:07 │ /home/cemokta/.local/share/zed/languages/rust-analyzer/ru>
 1696835 cemokta     │        98.7  0.6 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696028 cemokta     │        76.2  1.1 00:00:04 00:00:04 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696808 cemokta     │        67.3  0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696609 cemokta     │        67.3  0.8 00:00:01 00:00:01 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696816 cemokta     │        67.3  0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696799 cemokta     │        67.3  0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1695974 cemokta     │        58.3  1.1 00:00:05 00:00:05 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696719 cemokta     │        53.8  0.7 00:00:01 00:00:01 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696785 cemokta     │        49.3  0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696847 cemokta     │        49.3  0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696856 cemokta     │        49.1  0.4 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1696854 cemokta     │        40.4  0.5 00:00:00 00:00:00 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
 1693582 cemokta     │ pts/6  22.8  0.3 00:00:03 00:00:03 │ /home/cemokta/.rustup/toolchains/1.78.0-x86_64-unknown-li>
someone13574 commented 5 months ago

Happens on Linux as well, such as when running cargo add or remove. However it does seem to recover after it is done.

CharlesChen0823 commented 5 months ago

like comment

cemoktra commented 5 months ago

@someone13574 for me it does not recover

brainless commented 5 months ago

This has been consistent with me on Arch Linux. After cargo run --release I simply do not touch the UI when it launches, for about 5-6 seconds.

I have had Budgie desktop crash a couple times when I tried to start working with Zed immediately after window launch. I did not dig in if this was specifically due to Zed, but the crashes do not happen otherwise.

I am on a 2022 Asus Zephyrus G15, so plenty of CPU, GPU and RAM.

mikayla-maki commented 5 months ago

I believe this is a dupe of

cemoktra commented 5 months ago

For me this is not resolved. I pulled the latest main this morning and tried but it still hangs