rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodba174752c6a62186f0e79e8759d65ac9edc166e5
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Updated",
"patch": {
"id": "511ad5ad569fea9124a9ad4738431e42b5075675",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"title": "`radicle-protocol`: Sans-IO-ification",
"state": {
"status": "draft",
"conflicts": []
},
"before": "a8dac56ca645fdd98955766f07abe7cdd8980e56",
"after": "ba174752c6a62186f0e79e8759d65ac9edc166e5",
"commits": [
"ba174752c6a62186f0e79e8759d65ac9edc166e5",
"ca9e9a27961c8d55024877b54c24abfd8c105f43"
],
"target": "a8dac56ca645fdd98955766f07abe7cdd8980e56",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "511ad5ad569fea9124a9ad4738431e42b5075675",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Exploring the conversion of `radicle-protocol` into a true sans-IO approach.",
"base": "efeefd0daa35682a3ff07bd6c24d73248252149f",
"oid": "7698f637656e8a225e04018a316294d3b731754e",
"timestamp": 1753429876
},
{
"id": "da4871b6df673e412bff3e7f731f2009781f3ccf",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": "fintohaps"
},
"description": "Changes:\n- Rebased\n- First sketch of a `Connections` state machine",
"base": "a8dac56ca645fdd98955766f07abe7cdd8980e56",
"oid": "ba174752c6a62186f0e79e8759d65ac9edc166e5",
"timestamp": 1754575831
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "d852768a-535e-4ebe-b5d7-841ebb0d5e91"
},
"info_url": "https://cci.rad.levitte.org//d852768a-535e-4ebe-b5d7-841ebb0d5e91.html"
}
Started at: 2025-08-07 16:10:33.335203+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFq…bS9wzpT
✓ Remote cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW added
✓ Remote-tracking branch cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW/master created for z6MktaN…hzPZRZW
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6Mkire…SQZ3voM
✓ Remote erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz added
✓ Remote-tracking branch erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz/master created for z6MkgFq…FGAnBGz
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPv…WX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 114 issues · 12 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 511ad5ad569fea9124a9ad4738431e42b5075675
✓ Switched to branch patch/511ad5a at revision da4871b
✓ Branch patch/511ad5a setup to track rad/patches/511ad5ad569fea9124a9ad4738431e42b5075675
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout ba174752c6a62186f0e79e8759d65ac9edc166e5
HEAD is now at ba174752 protocol: peer connections
Exit code: 0
$ git show ba174752c6a62186f0e79e8759d65ac9edc166e5
commit ba174752c6a62186f0e79e8759d65ac9edc166e5
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Wed Jul 2 10:36:43 2025 +0100
protocol: peer connections
An event/command approach to keeping track of peer connections.
The `session` module keeps track of the state of different peer sessions in
several maps. It keeps them separated by the state that they're in and ensures
that the correct type of session is used using a generic type.
These sessions are then kept track of in a `Connections` state machine, that
performs the checks of what should happen in the state machine, `commands`, and
output useful `events`, and `effects` that can be observed by the rest of the
protocol.
diff --git a/crates/radicle-protocol/src/connections.rs b/crates/radicle-protocol/src/connections.rs
new file mode 100644
index 00000000..b38651ce
--- /dev/null
+++ b/crates/radicle-protocol/src/connections.rs
@@ -0,0 +1,399 @@
+// TODO(finto): command should be something else, perhaps `input`?
+pub mod command;
+pub use command::{Connect, Disconnect};
+
+pub mod commands;
+pub mod effects;
+pub mod events;
+
+use radicle::node::config::RateLimits;
+use session::{HasAttempts as _, Session, Sessions};
+mod session;
+
+use std::collections::HashSet;
+use std::net::IpAddr;
+
+use localtime::{LocalDuration, LocalTime};
+use radicle::node::address;
+use radicle::node::{Address, HostName, Link, NodeId, Severity};
+
+use crate::service::limiter::RateLimiter;
+use crate::service::DisconnectReason;
+
+/// Minimum amount of time to wait before reconnecting to a peer.
+pub const MIN_RECONNECTION_DELTA: LocalDuration = LocalDuration::from_secs(3);
+/// Maximum amount of time to wait before reconnecting to a peer.
+pub const MAX_RECONNECTION_DELTA: LocalDuration = LocalDuration::from_mins(60);
+
+pub struct Connections {
+ /// The state of the connection lifecycle for each node in the network.
+ sessions: Sessions,
+ /// Keep track of which node connections are meant to be persistent.
+ persistent: HashSet<NodeId>,
+ /// Keep track of banned IP addresses.
+ banned: HashSet<IpAddr>,
+ /// Rate limiter of IP hosts.
+ limiter: RateLimiter,
+ /// Configuration for managing connections.
+ config: Config,
+}
+
+pub struct Config {
+ /// Duration for a connection to be considered idle.
+ idle: LocalDuration,
+ /// Allowed number of inbound connections
+ inbound_limit: usize,
+ limits: RateLimits,
+ reconnection_delay: ReconnectionDelay,
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub struct ReconnectionDelay {
+ /// The minimum amount of time to wait before attempting a re-connection.
+ pub min_delta: LocalDuration,
+ /// The maximum amount of time to wait before attempting a re-connection.
+ pub max_delta: LocalDuration,
+}
+
+impl Default for ReconnectionDelay {
+ fn default() -> Self {
+ Self {
+ min_delta: MIN_RECONNECTION_DELTA,
+ max_delta: MAX_RECONNECTION_DELTA,
+ }
+ }
+}
+
+pub enum CommandEvent {
+ MissingSession { node: NodeId },
+ Attempted(Session<session::Attempted>),
+ Connected(Session<session::Connected>),
+ Disconnected(Session<session::Disconnected>),
+}
+
+impl Connections {
+ pub fn handle_command(&mut self, command: commands::Command) -> CommandEvent {
+ match command {
+ commands::Command::Attempt(attempt) => self.attempted(attempt),
+ commands::Command::Connect(connect) => self.connected(connect),
+ commands::Command::Disconnect(disconnect) => self.disconnected(disconnect),
+ }
+ }
+
+ fn attempted(&mut self, commands::Attempt { node }: commands::Attempt) -> CommandEvent {
+ self.sessions
+ .session_to_attempted(&node)
+ .map(CommandEvent::Attempted)
+ .unwrap_or(CommandEvent::MissingSession { node })
+ }
+
+ fn connected(
+ &mut self,
+ commands::Connect {
+ node,
+ now,
+ link,
+ persistent,
+ }: commands::Connect,
+ ) -> CommandEvent {
+ self.sessions
+ .session_to_connected(&node, now, link, persistent)
+ .map(CommandEvent::Connected)
+ .unwrap_or(CommandEvent::MissingSession { node })
+ }
+
+ fn disconnected(
+ &mut self,
+ commands::Disconnect {
+ node,
+ since,
+ retry_at,
+ }: commands::Disconnect,
+ ) -> CommandEvent {
+ self.sessions
+ .session_to_disconnected(&node, since, retry_at)
+ .map(CommandEvent::Disconnected)
+ .unwrap_or(CommandEvent::MissingSession { node })
+ }
+}
+
+impl Connections {
+ pub fn sessions(&self) -> &Sessions {
+ &self.sessions
+ }
+
+ pub fn accept(&mut self, ip: IpAddr, now: LocalTime) -> AcceptResult {
+ let mut result = AcceptResult::default();
+ // Always accept localhost connections, even if we already reached
+ // our inbound connection limit.
+ if ip.is_loopback() || ip.is_unspecified() {
+ result.local_host(ip);
+ return result;
+ }
+
+ if self.has_reached_inbound_limit() {
+ result.inbound_limit_exceeded(ip, self.sessions.connected_inbound());
+ return result;
+ }
+
+ if self.is_ip_banned(&ip) {
+ result.ip_banned(ip);
+ return result;
+ }
+
+ if self.has_reached_ip_limit(&ip, now) {
+ result.host_limited(ip);
+ return result;
+ }
+
+ result.accepted(ip);
+ result
+ }
+
+ pub fn connect(&self, connect: Connect) -> ConnectResult {
+ let mut result = ConnectResult::default();
+ match connect {
+ Connect::Inbound(command::Inbound {
+ node,
+ clock,
+ persistent,
+ }) => match self.sessions.get_connected(&node) {
+ Some(session) => result.already_connected(session.clone(), Link::Inbound),
+ None => {
+ result.connect(node, clock, Link::Inbound, persistent);
+ result.send_initial_messages(node, Link::Inbound);
+ }
+ },
+ Connect::Outbound(command::Outbound {
+ node,
+ addr,
+ persistent,
+ clock,
+ }) => match self.sessions.get_connected(&node) {
+ Some(session) => {
+ result.already_connected(session.clone(), Link::Outbound);
+ result.send_initial_messages(node, *session.link());
+ }
+ None => {
+ if let HostName::Ip(ip) = addr.host {
+ if !address::is_local(&ip) {
+ result.record_ip(node, ip, clock);
+ }
+ }
+ result.connect(node, clock, Link::Outbound, persistent);
+ result.send_initial_messages(node, Link::Outbound);
+ }
+ },
+ }
+ result
+ }
+
+ pub fn disconnect(&self, disconnect: Disconnect) -> DisconnectResult {
+ let mut result = DisconnectResult::default();
+ let Disconnect {
+ node,
+ link,
+ reason,
+ since,
+ } = disconnect;
+ let is_persistent = self.is_persistent(&node);
+ let Some(session) = self.sessions.get_session(&node) else {
+ result.already_disconnected(node);
+ return result;
+ };
+ if *session.link() != link {
+ result.link_conflict(node, *session.link(), link);
+ return result;
+ }
+
+ if is_persistent {
+ let delay = self.reconnection_delay(session.attempts().as_u32());
+ let retry_at = since + delay;
+ result.retry_connection(node, since, retry_at);
+ result.disconnect(node, since, Some(retry_at));
+ } else {
+ let severity = self.reason_severity(reason, since);
+ result.record_severity(node, session.address().clone(), severity);
+ result.disconnect(node, since, None);
+ if link.is_outbound() {
+ result.maintain_connnections();
+ }
+ }
+ result
+ }
+
+ fn reason_severity(&self, reason: DisconnectReason, now: LocalTime) -> Severity {
+ match reason {
+ DisconnectReason::Dial(_)
+ | DisconnectReason::Fetch(_)
+ | DisconnectReason::Connection(_) => {
+ if self.is_online(now) {
+ // If we're "online", there's something wrong with this
+ // peer connection specifically.
+ Severity::Medium
+ } else {
+ Severity::Low
+ }
+ }
+ DisconnectReason::Session(e) => e.severity(),
+ DisconnectReason::Command
+ | DisconnectReason::Conflict
+ | DisconnectReason::SelfConnection => Severity::Low,
+ }
+ }
+
+ /// Try to guess whether we're online or not.
+ fn is_online(&self, now: LocalTime) -> bool {
+ self.sessions
+ .connected()
+ .filter(|(_, s)| s.address().is_routable() && *s.last_active() >= now - self.idle())
+ .count()
+ > 0
+ }
+
+ fn idle(&self) -> LocalDuration {
+ self.config.idle
+ }
+
+ fn is_persistent(&self, node: &NodeId) -> bool {
+ self.persistent.contains(node)
+ }
+
+ fn is_ip_banned(&self, ip: &IpAddr) -> bool {
+ self.banned.contains(ip)
+ }
+
+ // TODO: limit is harshing my buzz by taking &mut self here
+ fn has_reached_ip_limit(&mut self, ip: &IpAddr, now: LocalTime) -> bool {
+ let addr = HostName::from(*ip);
+ self.limiter
+ .limit(addr, None, &self.config.limits.inbound, now)
+ }
+
+ fn has_reached_inbound_limit(&self) -> bool {
+ self.sessions.connected_inbound() >= self.config.inbound_limit
+ }
+
+ fn reconnection_delay(&self, attempts: u32) -> LocalDuration {
+ LocalDuration::from_secs(2u64.pow(attempts)).clamp(
+ self.config.reconnection_delay.min_delta,
+ self.config.reconnection_delay.max_delta,
+ )
+ }
+}
+
+#[derive(Debug, Default)]
+pub struct AcceptResult {
+ pub effects: Vec<effects::Accept>,
+ pub events: Vec<events::Accept>,
+}
+
+impl AcceptResult {
+ fn local_host(&mut self, ip: IpAddr) {
+ self.effects.push(effects::Accept::LocalHost { ip });
+ }
+
+ fn inbound_limit_exceeded(&mut self, ip: IpAddr, connected_inbound: usize) {
+ self.events.push(events::Accept::LimitExceeded {
+ ip,
+ current_inbound: connected_inbound,
+ });
+ }
+
+ fn ip_banned(&mut self, ip: IpAddr) {
+ self.events.push(events::Accept::IpBanned { ip })
+ }
+
+ fn host_limited(&mut self, ip: IpAddr) {
+ self.events.push(events::Accept::HostLimited { ip })
+ }
+
+ fn accepted(&mut self, ip: IpAddr) {
+ self.effects.push(effects::Accept::Accepted { ip })
+ }
+}
+
+#[derive(Clone, Debug, Default, PartialEq, Eq)]
+pub struct ConnectResult {
+ pub events: Vec<events::Connect>,
+ pub effects: Vec<effects::Connect>,
+ pub commands: Vec<commands::Connect>,
+}
+
+impl ConnectResult {
+ fn already_connected(&mut self, session: Session<session::Connected>, attempted_link: Link) {
+ self.events.push(events::Connect::AlreadyConnected {
+ session,
+ attempted_link,
+ });
+ }
+
+ fn send_initial_messages(&mut self, node: NodeId, link: Link) {
+ self.effects
+ .push(effects::Connect::SendInitialMessages { node, link });
+ }
+
+ fn record_ip(&mut self, node: NodeId, ip: IpAddr, clock: LocalTime) {
+ self.effects
+ .push(effects::Connect::RecordIp { node, ip, clock });
+ }
+
+ fn connect(&mut self, node: NodeId, clock: LocalTime, link: Link, persistent: bool) {
+ self.commands.push(commands::Connect {
+ node,
+ now: clock,
+ link,
+ persistent,
+ });
+ }
+}
+
+#[derive(Clone, Debug, Default, PartialEq, Eq)]
+pub struct DisconnectResult {
+ pub events: Vec<events::Disconnect>,
+ pub effects: Vec<effects::Disconnect>,
+ pub commands: Vec<commands::Disconnect>,
+}
+
+impl DisconnectResult {
+ fn already_disconnected(&mut self, node: NodeId) {
+ self.events
+ .push(events::Disconnect::AlreadyDisconnected { node });
+ }
+
+ fn link_conflict(&mut self, node: NodeId, found: Link, expected: Link) {
+ self.events.push(events::Disconnect::LinkConflict {
+ node,
+ found,
+ expected,
+ });
+ }
+
+ fn retry_connection(&mut self, node: NodeId, since: LocalTime, retry_at: LocalTime) {
+ self.effects.push(effects::Disconnect::RetryConnection {
+ node,
+ since,
+ retry_at,
+ });
+ }
+
+ fn maintain_connnections(&mut self) {
+ self.effects.push(effects::Disconnect::MaintainConnections);
+ }
+
+ fn record_severity(&mut self, node: NodeId, address: Address, severity: Severity) {
+ self.effects.push(effects::Disconnect::RecordServerity {
+ node,
+ address,
+ severity,
+ })
+ }
+
+ fn disconnect(&mut self, node: NodeId, since: LocalTime, retry_at: Option<LocalTime>) {
+ self.commands.push(commands::Disconnect {
+ node,
+ since,
+ retry_at,
+ });
+ }
+}
diff --git a/crates/radicle-protocol/src/connections/command.rs b/crates/radicle-protocol/src/connections/command.rs
new file mode 100644
index 00000000..139ccac6
--- /dev/null
+++ b/crates/radicle-protocol/src/connections/command.rs
@@ -0,0 +1,49 @@
+use localtime::LocalTime;
+
+use radicle::node::{Address, Link, NodeId};
+
+use crate::service::DisconnectReason;
+
+pub enum Connect {
+ Inbound(Inbound),
+ Outbound(Outbound),
+}
+
+impl Connect {
+ pub fn inbound(node: NodeId, clock: LocalTime, persistent: bool) -> Self {
+ Self::Inbound(Inbound {
+ node,
+ clock,
+ persistent,
+ })
+ }
+
+ pub fn outbound(node: NodeId, addr: Address, persistent: bool, clock: LocalTime) -> Self {
+ Self::Outbound(Outbound {
+ node,
+ addr,
+ persistent,
+ clock,
+ })
+ }
+}
+
+pub struct Inbound {
+ pub(super) node: NodeId,
+ pub(super) clock: LocalTime,
+ pub(super) persistent: bool,
+}
+
+pub struct Outbound {
+ pub(super) node: NodeId,
+ pub(super) addr: Address,
+ pub(super) persistent: bool,
+ pub(super) clock: LocalTime,
+}
+
+pub struct Disconnect {
+ pub(super) node: NodeId,
+ pub(super) link: Link,
+ pub(super) reason: DisconnectReason,
+ pub(super) since: LocalTime,
+}
diff --git a/crates/radicle-protocol/src/connections/commands.rs b/crates/radicle-protocol/src/connections/commands.rs
new file mode 100644
index 00000000..a7bdad61
--- /dev/null
+++ b/crates/radicle-protocol/src/connections/commands.rs
@@ -0,0 +1,46 @@
+use localtime::LocalTime;
+use radicle::node::{Link, NodeId};
+
+pub enum Command {
+ Attempt(Attempt),
+ Connect(Connect),
+ Disconnect(Disconnect),
+}
+
+impl From<Attempt> for Command {
+ fn from(v: Attempt) -> Self {
+ Self::Attempt(v)
+ }
+}
+
+impl From<Connect> for Command {
+ fn from(v: Connect) -> Self {
+ Self::Connect(v)
+ }
+}
+
+impl From<Disconnect> for Command {
+ fn from(v: Disconnect) -> Self {
+ Self::Disconnect(v)
+ }
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub struct Attempt {
+ pub node: NodeId,
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub struct Connect {
+ pub node: NodeId,
+ pub now: LocalTime,
+ pub link: Link,
+ pub persistent: bool,
+}
+
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub struct Disconnect {
+ pub node: NodeId,
+ pub since: LocalTime,
+ pub retry_at: Option<LocalTime>,
+}
diff --git a/crates/radicle-protocol/src/connections/effects.rs b/crates/radicle-protocol/src/connections/effects.rs
new file mode 100644
index 00000000..8711a97c
--- /dev/null
+++ b/crates/radicle-protocol/src/connections/effects.rs
@@ -0,0 +1,100 @@
+//! External effects that are emitted by interacting with [`Connections`]. These
+//! effects should be used by the rest of the system to perform side-effects.
+//!
+//! [`Connections`]: super::Connections.
+
+use std::net::IpAddr;
+
+use localtime::LocalTime;
+use radicle::node::{Address, Link, NodeId, Severity};
+
+/// All effects that can occur from interacting with [`Connections`].
+///
+/// [`Connections`]: super::Connections.
+pub enum Effect {
+ Accept(Accept),
+ Connect(Connect),
+ Disconnect(Disconnect),
+}
+
+impl From<Accept> for Effect {
+ fn from(v: Accept) -> Self {
+ Self::Accept(v)
+ }
+}
+
+impl From<Connect> for Effect {
+ fn from(v: Connect) -> Self {
+ Self::Connect(v)
+ }
+}
+
+impl From<Disconnect> for Effect {
+ fn from(v: Disconnect) -> Self {
+ Self::Disconnect(v)
+ }
+}
+
+/// Effects that occur when checking for accepting a connection from an
+/// [`IpAddr`].
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
+pub enum Accept {
+ /// The [`IpAddr`] is likely a localhost connection.
+ LocalHost { ip: IpAddr },
+ /// The [`IpAddr`] should be accepted by the system, and later connected to.
+ Accepted { ip: IpAddr },
+}
+
+impl Accept {
+ /// The [`Accept::LocalHost`] should be created only if the [`IpAddr`] is
+ /// either a loopback address or has an 'unspecified' address (see
+ /// [`IpAddr::is_unspecified`]).
+ pub fn local_host(ip: IpAddr) -> Option<Self> {
+ (ip.is_loopback() || ip.is_unspecified()).then_some(Self::LocalHost { ip })
+ }
+
+ /// See [`Accept::Accepted`].
+ pub fn accepted(ip: IpAddr) -> Self {
+ Self::Accepted { ip }
+ }
+}
+
+/// Effects that occur when connecting a node.
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub enum Connect {
+ /// The set of initial messages should be sent to the [`NodeId`].
+ SendInitialMessages { node: NodeId, link: Link },
+ /// The [`IpAddr`] of the [`NodeId`] should be recorded in an external
+ /// database.
+ RecordIp {
+ node: NodeId,
+ ip: IpAddr,
+ clock: LocalTime,
+ },
+}
+
+/// Effects that occur when disconnecting a node.
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub enum Disconnect {
+ /// The connection to [`NodeId`] was disconnected, but re-connection should
+ /// be attempted at the given point in time.
+ RetryConnection {
+ /// The node that should be re-connected to.
+ node: NodeId,
+ /// When the node was disconnected.
+ since: LocalTime,
+ /// When the re-connection attempt should be made.
+ retry_at: LocalTime,
+ },
+ /// Record the severity of the disconnect reason.
+ RecordServerity {
+ /// The node that was disconnected.
+ node: NodeId,
+ /// The address of the node that was disconnected.
+ address: Address,
+ /// The severity of the disconnect reason.
+ severity: Severity,
+ },
+ /// Try to maintain all connections that are meant to be persistent.
+ MaintainConnections,
+}
diff --git a/crates/radicle-protocol/src/connections/events.rs b/crates/radicle-protocol/src/connections/events.rs
new file mode 100644
index 00000000..993ece8b
--- /dev/null
+++ b/crates/radicle-protocol/src/connections/events.rs
@@ -0,0 +1,58 @@
+use std::net::IpAddr;
+
+use radicle::node::{Link, NodeId};
+
+use super::session;
+use super::session::Session;
+
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub enum Event {
+ Accept(Accept),
+ Connect(Box<Connect>),
+ Disconnect(Disconnect),
+}
+
+impl From<Disconnect> for Event {
+ fn from(v: Disconnect) -> Self {
+ Self::Disconnect(v)
+ }
+}
+
+impl From<Connect> for Event {
+ fn from(v: Connect) -> Self {
+ Self::Connect(Box::new(v))
+ }
+}
+
+impl From<Accept> for Event {
+ fn from(v: Accept) -> Self {
+ Self::Accept(v)
+ }
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
+pub enum Accept {
+ LimitExceeded { ip: IpAddr, current_inbound: usize },
+ IpBanned { ip: IpAddr },
+ HostLimited { ip: IpAddr },
+}
+
+#[derive(Clone, Debug, PartialEq, Eq)]
+pub enum Connect {
+ AlreadyConnected {
+ session: Session<session::Connected>,
+ attempted_link: Link,
+ },
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub enum Disconnect {
+ AlreadyDisconnected {
+ node: NodeId,
+ },
+ LinkConflict {
+ node: NodeId,
+ found: Link,
+ expected: Link,
+ },
+}
diff --git a/crates/radicle-protocol/src/connections/session.rs b/crates/radicle-protocol/src/connections/session.rs
new file mode 100644
index 00000000..b04449ef
--- /dev/null
+++ b/crates/radicle-protocol/src/connections/session.rs
@@ -0,0 +1,562 @@
+use std::collections::{HashMap, HashSet, VecDeque};
+
+use localtime::{LocalDuration, LocalTime};
+use radicle::{
+ node::{Address, Link, NodeId, PingState},
+ prelude::RepoId,
+};
+
+use crate::service::message;
+
+/// Time after which a connection is considered stable.
+#[allow(unused)]
+pub const CONNECTION_STABLE_THRESHOLD: LocalDuration = LocalDuration::from_mins(1);
+
+#[derive(Clone, Debug)]
+pub enum State {
+ Initial(Initial),
+ Attempted(Attempted),
+ Connected(Connected),
+ Disconnected(Disconnected),
+}
+
+impl From<Initial> for State {
+ fn from(value: Initial) -> Self {
+ Self::Initial(value)
+ }
+}
+
+impl From<Attempted> for State {
+ fn from(value: Attempted) -> Self {
+ Self::Attempted(value)
+ }
+}
+
+impl From<Connected> for State {
+ fn from(value: Connected) -> Self {
+ Self::Connected(value)
+ }
+}
+
+impl From<Disconnected> for State {
+ fn from(value: Disconnected) -> Self {
+ Self::Disconnected(value)
+ }
+}
+
+impl HasAttempts for State {
+ fn attempts(&self) -> Attempts {
+ match self {
+ State::Initial(initial) => initial.attempts,
+ State::Attempted(attempted) => attempted.attempts,
+ State::Connected(connected) => connected.attempts,
+ State::Disconnected(disconnected) => disconnected.attempts,
+ }
+ }
+}
+
+pub struct Sessions {
+ initial: HashMap<NodeId, Session<Initial>>,
+ attempted: HashMap<NodeId, Session<Attempted>>,
+ disconnected: HashMap<NodeId, Session<Disconnected>>,
+ connected: HashMap<NodeId, Session<Connected>>,
+}
+
+impl Sessions {
+ /// Get the number of sessions that are connected and have an [inbound]
+ /// link.
+ ///
+ /// [inbound]: Link::Inbound
+ pub fn connected_inbound(&self) -> usize {
+ self.connected
+ .values()
+ .filter(|session| session.link().is_inbound())
+ .count()
+ }
+
+ /// Get the number of sessions that are connected and have an [outbound]
+ /// link.
+ ///
+ /// [outbound]: Link::Outbound
+ pub fn connected_outbound(&self) -> usize {
+ self.connected
+ .values()
+ .filter(|session| session.link().is_outbound())
+ .count()
+ }
+
+ /// Checks that an existing [`Session`] exists for the given [`NodeId`].
+ pub fn has_session_for(&self, node: &NodeId) -> bool {
+ self.initial.contains_key(node)
+ || self.attempted.contains_key(node)
+ || self.disconnected.contains_key(node)
+ || self.connected.contains_key(node)
+ }
+
+ /// Get all [`Session`]s that are in the [`Connected`] state, along with
+ /// their [`NodeId`]s.
+ pub fn connected(&self) -> impl Iterator<Item = (&NodeId, &Session<Connected>)> {
+ self.connected.iter()
+ }
+
+ /// Transition the [`Session`], identified by the [`NodeId`], to the
+ /// [`Attempted`] state.
+ ///
+ /// If the [`Session`] does not exist, then `None` is returned.
+ pub fn session_to_attempted(&mut self, node: &NodeId) -> Option<Session<Attempted>> {
+ let s = self.initial.remove(node)?.into_attempted();
+ self.attempted.insert(*node, s.clone());
+ Some(s)
+ }
+
+ /// Transition the [`Session`], identified by the [`NodeId`], to the
+ /// [`Disconnected`] state.
+ ///
+ /// The time this [`Session`] was disconnected is marked by `since`, and if
+ /// the connection should be retried then a `retry_at` value should be
+ /// provided.
+ ///
+ /// If the [`Session`] does not exist, then `None` is returned.
+ pub fn session_to_disconnected(
+ &mut self,
+ node: &NodeId,
+ since: LocalTime,
+ retry_at: Option<LocalTime>,
+ ) -> Option<Session<Disconnected>> {
+ match self.remove_session(node) {
+ None => None,
+ Some(session) => {
+ let s = session.into_disconnected(since, retry_at);
+ self.disconnected.insert(*node, s.clone());
+ Some(s)
+ }
+ }
+ }
+
+ /// Transition the [`Session`], identified by the [`NodeId`], to the
+ /// [`Connected`] state.
+ ///
+ /// The [`Session`] is last active given by the time given for `now`, the
+ /// type of [`Link`] is also marked by the provided value, and also keep
+ /// track of whether the session should be persisted.
+ ///
+ /// If the [`Session`] does not exist, then `None` is returned.
+ pub fn session_to_connected(
+ &mut self,
+ node: &NodeId,
+ now: LocalTime,
+ link: Link,
+ persistent: bool,
+ ) -> Option<Session<Connected>> {
+ let s = self.remove_session(node)?;
+ let state = match s.state {
+ State::Initial(initial) => Connected::from_initial(initial, now),
+ State::Attempted(attempted) => Connected::from_attempted(attempted, now),
+ State::Connected(connected) => connected,
+ State::Disconnected(disconnected) => Connected::from_disconnected(disconnected, now),
+ };
+ Some(Session {
+ state,
+ id: s.id,
+ addr: s.addr,
+ link,
+ persistent,
+ last_active: now,
+ subscribe: s.subscribe,
+ })
+ }
+
+ /// Transition a [`Disconnected`] [`Session`] into an [`Initial`] state,
+ /// meaning that it should be re-connected to.
+ ///
+ /// If the [`NodeId`] was not in a [`Disconnected`] state then `None` is
+ /// returned.
+ pub fn reconnect(&mut self, node: &NodeId) -> Option<Session<Initial>> {
+ let s = self.disconnected.remove(node)?.into_initial();
+ self.initial.insert(*node, s.clone());
+ Some(s)
+ }
+
+ /// Get a [`Session`] that can be in any [`State`].
+ pub fn get_session(&self, node: &NodeId) -> Option<Session<State>> {
+ self.initial
+ .get(node)
+ .cloned()
+ .map(|s| s.into_any_state())
+ .or_else(|| {
+ self.attempted
+ .get(node)
+ .cloned()
+ .map(|s| s.into_any_state())
+ })
+ .or_else(|| {
+ self.disconnected
+ .get(node)
+ .cloned()
+ .map(|s| s.into_any_state())
+ })
+ .or_else(|| {
+ self.connected
+ .get(node)
+ .cloned()
+ .map(|s| s.into_any_state())
+ })
+ }
+
+ fn remove_session(&mut self, node: &NodeId) -> Option<Session<State>> {
+ self.initial
+ .remove(node)
+ .map(|s| s.into_any_state())
+ .or_else(|| self.attempted.remove(node).map(|s| s.into_any_state()))
+ .or_else(|| self.disconnected.remove(node).map(|s| s.into_any_state()))
+ .or_else(|| self.connected.remove(node).map(|s| s.into_any_state()))
+ }
+
+ /// Get the [`Session`], for the given [`NodeId`], that is expected to be in
+ /// the [`Connected`] state.
+ pub fn get_connected(&self, node: &NodeId) -> Option<&Session<Connected>> {
+ self.connected.get(node)
+ }
+
+ #[allow(unused)]
+ fn inbound(&mut self, node: NodeId, addr: Address, persistent: bool, now: LocalTime) {
+ self.connected
+ .insert(node, Session::inbound(node, addr, persistent, now));
+ }
+}
+
+pub trait HasAttempts {
+ fn attempts(&self) -> Attempts;
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
+pub struct Attempts {
+ /// Connection attempts. For persistent peers, Tracks
+ /// how many times we've attempted to connect. We reset this to zero
+ /// upon successful connection, once the connection is stable.
+ attempts: usize,
+}
+
+impl Attempts {
+ fn new(attempts: usize) -> Self {
+ Attempts { attempts }
+ }
+
+ pub fn attempted(self) -> Self {
+ Self {
+ attempts: self.attempts + 1,
+ }
+ }
+
+ pub fn reset(&mut self) {
+ self.attempts = 0;
+ }
+
+ pub fn attempts(&self) -> usize {
+ self.attempts
+ }
+
+ pub(super) fn as_u32(&self) -> u32 {
+ self.attempts as u32
+ }
+}
+
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct Session<S> {
+ /// The [`NodeId`] of the session.
+ id: NodeId,
+ /// The public protocol [`Address`] for the session.
+ addr: Address,
+ /// The [`Link`] direction for the session.
+ link: Link,
+ /// Keep track of whether the session should be persisted. That is, if it is
+ /// disconnected, re-connection attempts should be made.
+ persistent: bool,
+ /// Last time a message was received from the peer.
+ last_active: LocalTime,
+ /// Peer subscription.
+ subscribe: Option<message::Subscribe>,
+ /// The state the session is in. Can be in the following states:
+ /// - [`Initial`]
+ /// - [`Attempted`]
+ /// - [`Disconnected`]
+ /// - [`Connected`]
+ state: S,
+}
+
+impl<S: HasAttempts> HasAttempts for Session<S> {
+ fn attempts(&self) -> Attempts {
+ self.state.attempts()
+ }
+}
+
+impl<S> Session<S> {
+ pub fn node(&self) -> NodeId {
+ self.id
+ }
+
+ pub fn address(&self) -> &Address {
+ &self.addr
+ }
+
+ /// Set the [`message::Subscribe`] of this [`Session`].
+ pub fn set_subscription(&mut self, subscription: message::Subscribe) {
+ self.subscribe = Some(subscription);
+ }
+
+ /// Subscribe to the given [`RepoId`], if the [`message::Subscribe`] has
+ /// been set.
+ pub fn subscribe_to(&mut self, rid: &RepoId) {
+ if let Some(ref mut sub) = self.subscribe {
+ sub.filter.insert(rid);
+ }
+ }
+
+ pub fn last_active(&self) -> &LocalTime {
+ &self.last_active
+ }
+
+ pub fn link(&self) -> &Link {
+ &self.link
+ }
+
+ pub fn as_outbound(&mut self) {
+ self.link = Link::Outbound;
+ }
+
+ pub fn into_disconnected(
+ self,
+ since: LocalTime,
+ retry_at: Option<LocalTime>,
+ ) -> Session<Disconnected>
+ where
+ S: HasAttempts,
+ {
+ self.map(|s| Disconnected {
+ since,
+ retry_at,
+ attempts: s.attempts(),
+ })
+ }
+
+ #[allow(unused)]
+ fn seen(&mut self, since: LocalTime) {
+ self.last_active = since;
+ }
+
+ fn into_any_state<T>(self) -> Session<T>
+ where
+ T: From<S>,
+ {
+ self.map(|state| state.into())
+ }
+
+ fn map<T, F>(self, f: F) -> Session<T>
+ where
+ F: FnOnce(S) -> T,
+ {
+ Session {
+ id: self.id,
+ addr: self.addr,
+ link: self.link,
+ persistent: self.persistent,
+ last_active: self.last_active,
+ subscribe: self.subscribe,
+ state: f(self.state),
+ }
+ }
+}
+
+#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
+pub struct Initial {
+ attempts: Attempts,
+}
+
+impl Initial {
+ pub fn new() -> Self {
+ Self::with_attempts(Attempts::new(1))
+ }
+
+ pub fn with_attempts(attempts: Attempts) -> Self {
+ Self { attempts }
+ }
+}
+
+impl Default for Initial {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
+impl Session<Initial> {
+ pub fn outbound(id: NodeId, addr: Address, persistent: bool, last_active: LocalTime) -> Self {
+ Self {
+ id,
+ addr,
+ link: Link::Outbound,
+ persistent,
+ state: Initial::new(),
+ last_active,
+ subscribe: None,
+ }
+ }
+
+ /// Transition the [`Session`] to an [`Attempted`] state, incrementing the
+ /// number of attempts made.
+ pub fn into_attempted(self) -> Session<Attempted> {
+ self.map(|s| Attempted::new(s.attempts.attempted()))
+ }
+
+ /// Transition the [`Session`] into the [`Connected`] state.
+ pub fn into_connected(self, since: LocalTime) -> Session<Connected> {
+ self.map(|s| Connected::new(since, s.attempts))
+ }
+}
+
+#[derive(Clone, Copy, Debug)]
+pub struct Attempted {
+ attempts: Attempts,
+}
+
+impl Attempted {
+ pub fn new(attempts: Attempts) -> Self {
+ Attempted { attempts }
+ }
+}
+
+impl Session<Attempted> {
+ /// Transition the [`Session`] into the [`Connected`] state.
+ pub fn into_connected(self, since: LocalTime) -> Session<Connected> {
+ self.map(|s| Connected::new(since, s.attempts))
+ }
+}
+
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct Connected {
+ /// Connected since this time.
+ since: LocalTime,
+ /// Ping state.
+ ping: PingState,
+ /// Ongoing fetches.
+ fetching: HashSet<RepoId>,
+ /// Measured latencies for this peer.
+ latencies: VecDeque<LocalDuration>,
+ /// Whether the connection is stable.
+ stable: bool,
+ /// Number of attempts over the lifetime of the connection. This includes if
+ /// the connection is degraded back to an [`Initial`] state through a
+ /// [`Session::reconnect`].
+ attempts: Attempts,
+}
+
+impl HasAttempts for Connected {
+ fn attempts(&self) -> Attempts {
+ self.attempts
+ }
+}
+
+impl Connected {
+ /// Create a new [`Connected`] state, where `since` is the time of
+ /// connection, and `attempts` is the number of attempted connections in the
+ /// lifetime of the [`Session`].
+ pub fn new(since: LocalTime, attempts: Attempts) -> Self {
+ Self {
+ since,
+ ping: PingState::default(),
+ fetching: HashSet::default(),
+ latencies: VecDeque::default(),
+ stable: false,
+ attempts,
+ }
+ }
+
+ /// Create a fresh [`Connected`] state, using `since` as the [`LocalTime`] for
+ /// when this connection was made.
+ pub fn fresh(since: LocalTime) -> Self {
+ Self::new(since, Attempts::new(0))
+ }
+
+ fn from_initial(initial: Initial, since: LocalTime) -> Self {
+ Self::new(since, initial.attempts)
+ }
+
+ fn from_attempted(attempted: Attempted, since: LocalTime) -> Self {
+ Self::new(since, attempted.attempts)
+ }
+
+ fn from_disconnected(disconnected: Disconnected, since: LocalTime) -> Self {
+ Self::new(since, disconnected.attempts)
+ }
+}
+
+pub struct Ping {
+ since: LocalTime,
+ rng: fastrand::Rng,
+}
+
+impl Session<Connected> {
+ pub fn inbound(id: NodeId, addr: Address, persistent: bool, now: LocalTime) -> Self {
+ Self {
+ id,
+ addr,
+ link: Link::Inbound,
+ persistent,
+ last_active: now,
+ subscribe: None,
+ state: Connected::fresh(now),
+ }
+ }
+
+ /// Checks if the [`Session`] is inactive, i.e. the time passed is greater
+ /// than the `delta`.
+ pub fn is_inactive(&self, now: &LocalTime, delta: LocalDuration) -> bool {
+ *now - self.last_active >= delta
+ }
+
+ pub fn ping(&mut self, mut ping: Ping) -> message::Ping {
+ let msg = message::Ping::new(&mut ping.rng);
+ self.state.ping = PingState::AwaitingResponse {
+ len: msg.ponglen,
+ since: ping.since,
+ };
+ msg
+ }
+
+ pub fn idle(&mut self, now: LocalTime, stable_threshold: LocalDuration) {
+ let Connected {
+ since,
+ ref mut stable,
+ ref mut attempts,
+ ..
+ } = self.state;
+ if now >= since && now.duration_since(since) >= stable_threshold {
+ *stable = true;
+ attempts.reset();
+ }
+ }
+}
+
+#[derive(Clone, Copy, Debug)]
+pub struct Disconnected {
+ /// Since when has this peer been disconnected.
+ since: LocalTime,
+ /// When to retry the connection.
+ retry_at: Option<LocalTime>,
+ /// Number of attempts while disconnected.
+ attempts: Attempts,
+}
+
+impl Session<Disconnected> {
+ pub fn disconnected_since(&self) -> &LocalTime {
+ &self.state.since
+ }
+
+ pub fn should_retry_at(&self) -> Option<&LocalTime> {
+ self.state.retry_at.as_ref()
+ }
+
+ /// Transition the [`Session`] to an [`Initial`] state.
+ fn into_initial(self) -> Session<Initial> {
+ self.map(|s| Initial::with_attempts(s.attempts))
+ }
+}
diff --git a/crates/radicle-protocol/src/lib.rs b/crates/radicle-protocol/src/lib.rs
index 910e4af2..a54b764c 100644
--- a/crates/radicle-protocol/src/lib.rs
+++ b/crates/radicle-protocol/src/lib.rs
@@ -4,6 +4,7 @@ pub mod service;
pub mod wire;
pub mod worker;
+pub mod connections;
pub mod tasks;
/// Peer-to-peer protocol version.
Exit code: 0
shell: 'cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny warnings cargo build --all-targets --workspace cargo doc --workspace --no-deps cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name d852768a-535e-4ebe-b5d7-841ebb0d5e91 -v /opt/radcis/ci.rad.levitte.org/cci/state/d852768a-535e-4ebe-b5d7-841ebb0d5e91/s:/d852768a-535e-4ebe-b5d7-841ebb0d5e91/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w:/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w -w /d852768a-535e-4ebe-b5d7-841ebb0d5e91/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /d852768a-535e-4ebe-b5d7-841ebb0d5e91/s/script.sh
+ cargo --version
info: syncing channel updates for '1.88-x86_64-unknown-linux-gnu'
info: latest update on 2025-06-26, rust version 1.88.0 (6b00bc388 2025-06-23)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-src'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
cargo 1.88.0 (873a06493 2025-05-10)
+ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- --deny warnings
Updating crates.io index
Downloading crates ...
Downloaded generic-array v0.14.7
Downloaded fancy-regex v0.14.0
Downloaded cyphernet v0.5.2
Downloaded aes-gcm v0.10.3
Downloaded amplify v4.6.0
Downloaded sha3 v0.10.8
Downloaded once_cell v1.21.3
Downloaded num-traits v0.2.19
Downloaded aead v0.5.2
Downloaded getrandom v0.2.15
Downloaded anstyle v1.0.6
Downloaded aes v0.8.4
Downloaded phf v0.11.3
Downloaded base16ct v0.2.0
Downloaded phf_shared v0.11.3
Downloaded overload v0.1.1
Downloaded base64 v0.22.1
Downloaded pbkdf2 v0.12.2
Downloaded arc-swap v1.7.1
Downloaded parking_lot v0.12.3
Downloaded polyval v0.6.2
Downloaded pin-project-lite v0.2.16
Downloaded percent-encoding v2.3.1
Downloaded outref v0.5.2
Downloaded p256 v0.13.2
Downloaded pkg-config v0.3.30
Downloaded cipher v0.4.4
Downloaded cypheraddr v0.4.0
Downloaded ascii v1.1.0
Downloaded bytecount v0.6.8
Downloaded cpufeatures v0.2.12
Downloaded pkcs8 v0.10.2
Downloaded gix-ref v0.49.1
Downloaded regex-syntax v0.6.29
Downloaded base64 v0.13.1
Downloaded ref-cast v1.0.24
Downloaded fraction v0.15.3
Downloaded radicle-std-ext v0.1.0
Downloaded displaydoc v0.2.5
Downloaded rfc6979 v0.4.0
Downloaded email_address v0.2.9
Downloaded faster-hex v0.9.0
Downloaded shell-words v1.1.0
Downloaded radicle-surf v0.22.0
Downloaded same-file v1.0.6
Downloaded rand v0.8.5
Downloaded ryu v1.0.17
Downloaded socket2 v0.5.7
Downloaded serde v1.0.219
Downloaded gix-command v0.4.1
Downloaded errno v0.3.13
Downloaded sem_safe v0.2.0
Downloaded thiserror v2.0.12
Downloaded home v0.5.9
Downloaded schemars_derive v1.0.4
Downloaded keccak v0.1.5
Downloaded iana-time-zone v0.1.60
Downloaded indexmap v2.2.6
Downloaded hashbrown v0.14.3
Downloaded localtime v1.3.1
Downloaded libm v0.2.8
Downloaded smallvec v1.13.2
Downloaded siphasher v1.0.1
Downloaded signature v1.6.4
Downloaded similar v2.5.0
Downloaded tree-sitter-rust v0.23.2
Downloaded ssh-key v0.6.6
Downloaded lock_api v0.4.11
Downloaded tree-sitter-json v0.24.8
Downloaded tree-sitter-typescript v0.23.2
Downloaded utf8_iter v1.0.4
Downloaded lazy_static v1.5.0
Downloaded gix-path v0.10.15
Downloaded mio v0.8.11
Downloaded tinyvec_macros v0.1.1
Downloaded litemap v0.7.5
Downloaded gix-prompt v0.9.1
Downloaded multibase v0.9.1
Downloaded git-ref-format-macro v0.3.1
Downloaded gix-hashtable v0.6.0
Downloaded tracing-log v0.2.0
Downloaded git-ref-format v0.3.1
Downloaded gix-trace v0.1.12
Downloaded write16 v1.0.0
Downloaded gix-actor v0.33.2
Downloaded icu_properties v1.5.1
Downloaded gix-url v0.28.2
Downloaded num-iter v0.1.45
Downloaded jobserver v0.1.31
Downloaded num-integer v0.1.46
Downloaded num-rational v0.4.2
Downloaded gix-transport v0.44.0
Downloaded icu_locid v1.5.0
Downloaded zerovec-derive v0.10.3
Downloaded num-bigint v0.4.6
Downloaded gix-credentials v0.26.0
Downloaded gix-packetline v0.18.4
Downloaded icu_collections v1.5.0
Downloaded netservices v0.8.0
Downloaded winnow v0.6.26
Downloaded tempfile v3.10.1
Downloaded icu_locid_transform_data v1.5.1
Downloaded tree-sitter-python v0.23.4
Downloaded icu_provider v1.5.0
Downloaded git2 v0.19.0
Downloaded tree-sitter-go v0.23.4
Downloaded unicode-segmentation v1.11.0
Downloaded tree-sitter v0.24.4
Downloaded num-bigint-dig v0.8.4
Downloaded tracing-subscriber v0.3.19
Downloaded zerovec v0.10.4
Downloaded vcpkg v0.2.15
Downloaded icu_properties_data v1.5.1
Downloaded tree-sitter-md v0.3.2
Downloaded tree-sitter-c v0.23.2
Downloaded tree-sitter-ruby v0.23.1
Downloaded unicode-normalization v0.1.23
Downloaded gix-pack v0.56.0
Downloaded tree-sitter-bash v0.23.3
Downloaded inquire v0.7.5
Downloaded tar v0.4.40
Downloaded jsonschema v0.30.0
Downloaded gix-odb v0.66.0
Downloaded url v2.5.4
Downloaded tracing v0.1.41
Downloaded icu_locid_transform v1.5.0
Downloaded typenum v1.17.0
Downloaded log v0.4.27
Downloaded litrs v0.4.1
Downloaded gix-object v0.46.1
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded memchr v2.7.2
Downloaded idna v1.0.3
Downloaded tree-sitter-css v0.23.1
Downloaded tracing-core v0.1.34
Downloaded thiserror-impl v1.0.69
Downloaded uuid v1.16.0
Downloaded gix-commitgraph v0.25.1
Downloaded universal-hash v0.5.1
Downloaded typeid v1.0.3
Downloaded ghash v0.5.1
Downloaded writeable v0.5.5
Downloaded io-reactor v0.5.2
Downloaded libc v0.2.174
Downloaded utf8parse v0.2.1
Downloaded zerocopy v0.7.35
Downloaded gix-hash v0.15.1
Downloaded gix-fs v0.12.1
Downloaded thiserror-impl v2.0.12
Downloaded thiserror v1.0.69
Downloaded linux-raw-sys v0.4.13
Downloaded gix-tempfile v15.0.0
Downloaded gix-shallow v0.1.0
Downloaded gix-quote v0.4.15
Downloaded yansi v0.5.1
Downloaded unicode-width v0.1.11
Downloaded thread_local v1.1.9
Downloaded maybe-async v0.2.10
Downloaded version_check v0.9.4
Downloaded gix-protocol v0.47.0
Downloaded lexopt v0.3.0
Downloaded gix-lock v15.0.1
Downloaded sqlite3-src v0.5.1
Downloaded gix-config-value v0.14.12
Downloaded noise-framework v0.4.0
Downloaded xattr v1.3.1
Downloaded gix-traverse v0.43.1
Downloaded memmap2 v0.9.4
Downloaded idna_adapter v1.2.0
Downloaded gix-utils v0.1.14
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded itoa v1.0.11
Downloaded git-ref-format-core v0.3.1
Downloaded linux-raw-sys v0.9.4
Downloaded num-complex v0.4.6
Downloaded gix-negotiate v0.17.0
Downloaded nonempty v0.9.0
Downloaded num-cmp v0.1.0
Downloaded tree-sitter-html v0.23.2
Downloaded tree-sitter-highlight v0.24.4
Downloaded icu_provider_macros v1.5.0
Downloaded gix-chunk v0.4.11
Downloaded matchers v0.1.0
Downloaded timeago v0.4.2
Downloaded uuid-simd v0.8.0
Downloaded newline-converter v0.3.0
Downloaded gix-revision v0.31.1
Downloaded regex-automata v0.4.9
Downloaded normalize-line-endings v0.3.0
Downloaded nonempty v0.5.0
Downloaded icu_normalizer v1.5.0
Downloaded gix-sec v0.10.12
Downloaded icu_normalizer_data v1.5.1
Downloaded gix-revwalk v0.17.0
Downloaded gix-refspec v0.27.0
Downloaded gix-features v0.39.1
Downloaded gix-diff v0.49.0
Downloaded gix-date v0.9.4
Downloaded zeroize v1.7.0
Downloaded zerofrom-derive v0.1.6
Downloaded zerofrom v0.1.6
Downloaded yoke-derive v0.7.5
Downloaded yoke v0.7.5
Downloaded walkdir v2.5.0
Downloaded libz-sys v1.1.16
Downloaded vsimd v0.8.0
Downloaded unicode-ident v1.0.12
Downloaded unicode-display-width v0.3.0
Downloaded tinyvec v1.6.0
Downloaded mio v1.0.4
Downloaded miniz_oxide v0.8.8
Downloaded utf16_iter v1.0.5
Downloaded tree-sitter-language v0.1.2
Downloaded tinystr v0.7.6
Downloaded syn v2.0.89
Downloaded regex-syntax v0.8.5
Downloaded test-log-macros v0.2.18
Downloaded test-log v0.2.18
Downloaded num v0.4.3
Downloaded nu-ansi-term v0.46.0
Downloaded rustix v0.38.34
Downloaded syn v1.0.109
Downloaded rustix v1.0.7
Downloaded snapbox v0.4.17
Downloaded signals_receipts v0.2.0
Downloaded signal-hook-registry v1.4.5
Downloaded serde_derive v1.0.219
Downloaded schemars v1.0.4
Downloaded streaming-iterator v0.1.9
Downloaded shlex v1.3.0
Downloaded serde_json v1.0.140
Downloaded popol v3.0.0
Downloaded systemd-journal-logger v2.2.2
Downloaded ssh-cipher v0.2.0
Downloaded spin v0.9.8
Downloaded socks5-client v0.4.1
Downloaded snapbox-macros v0.3.8
Downloaded siphasher v0.3.11
Downloaded sec1 v0.7.3
Downloaded ssh-encoding v0.2.0
Downloaded sha1_smol v1.0.0
Downloaded regex-automata v0.1.10
Downloaded synstructure v0.13.1
Downloaded stable_deref_trait v1.2.0
Downloaded spki v0.7.3
Downloaded gix-validate v0.9.4
Downloaded sqlite v0.32.0
Downloaded inout v0.1.3
Downloaded hmac v0.12.1
Downloaded sqlite3-sys v0.15.2
Downloaded signal-hook-mio v0.2.4
Downloaded prodash v29.0.2
Downloaded salsa20 v0.10.2
Downloaded radicle-git-ext v0.8.1
Downloaded quote v1.0.36
Downloaded qcheck-macros v1.0.0
Downloaded group v0.13.0
Downloaded subtle v2.5.0
Downloaded signature v2.2.0
Downloaded rand_core v0.6.4
Downloaded primeorder v0.13.6
Downloaded cyphergraphy v0.3.0
Downloaded serde_derive_internals v0.29.1
Downloaded scrypt v0.11.0
Downloaded scopeguard v1.2.0
Downloaded rand_chacha v0.3.1
Downloaded derive_more v2.0.1
Downloaded crypto-common v0.1.6
Downloaded ppv-lite86 v0.2.17
Downloaded equivalent v1.0.1
Downloaded ecdsa v0.16.9
Downloaded ct-codecs v1.1.1
Downloaded crypto-bigint v0.5.5
Downloaded sharded-slab v0.1.7
Downloaded sha2 v0.10.8
Downloaded referencing v0.30.0
Downloaded ref-cast-impl v1.0.24
Downloaded flate2 v1.1.1
Downloaded elliptic-curve v0.13.8
Downloaded ec25519 v0.1.0
Downloaded diff v0.1.13
Downloaded rsa v0.9.6
Downloaded fastrand v2.1.0
Downloaded fast-glob v0.3.3
Downloaded dyn-clone v1.0.17
Downloaded signal-hook v0.3.18
Downloaded serde-untagged v0.1.7
Downloaded env_logger v0.11.8
Downloaded crossterm v0.25.0
Downloaded regex v1.11.1
Downloaded fxhash v0.2.1
Downloaded form_urlencoded v1.2.1
Downloaded fluent-uri v0.3.2
Downloaded filetime v0.2.23
Downloaded ff v0.13.0
Downloaded escargot v0.5.10
Downloaded ed25519 v1.5.3
Downloaded proc-macro-error-attr v1.0.4
Downloaded pretty_assertions v1.4.0
Downloaded erased-serde v0.4.6
Downloaded document-features v0.2.11
Downloaded data-encoding-macro-internal v0.1.12
Downloaded block-padding v0.3.3
Downloaded proc-macro2 v1.0.92
Downloaded derive_more-impl v2.0.1
Downloaded der v0.7.9
Downloaded proc-macro-error v1.0.4
Downloaded bloomy v1.2.0
Downloaded qcheck v1.0.0
Downloaded env_filter v0.1.3
Downloaded emojis v0.6.4
Downloaded either v1.11.0
Downloaded data-encoding v2.5.0
Downloaded cc v1.2.2
Downloaded anstyle-parse v0.2.3
Downloaded ctr v0.9.2
Downloaded crossterm v0.29.0
Downloaded chacha20 v0.9.1
Downloaded bit-vec v0.8.0
Downloaded bcrypt-pbkdf v0.10.0
Downloaded amplify_syn v2.0.1
Downloaded amplify_derive v4.0.0
Downloaded colorchoice v1.0.0
Downloaded cfg-if v1.0.0
Downloaded bytes v1.10.1
Downloaded block-buffer v0.10.4
Downloaded bitflags v1.3.2
Downloaded base64 v0.21.7
Downloaded const-oid v0.9.6
Downloaded chrono v0.4.38
Downloaded chacha20poly1305 v0.10.1
Downloaded bstr v1.9.1
Downloaded borrow-or-share v0.2.2
Downloaded bitflags v2.9.1
Downloaded crossbeam-utils v0.8.19
Downloaded crossbeam-channel v0.5.15
Downloaded crc32fast v1.4.0
Downloaded colored v2.1.0
Downloaded bytesize v2.0.1
Downloaded base32 v0.4.0
Downloaded anstyle-query v1.0.2
Downloaded amplify_num v0.5.2
Downloaded convert_case v0.7.1
Downloaded blowfish v0.9.1
Downloaded base64ct v1.6.0
Downloaded autocfg v1.2.0
Downloaded jiff v0.2.1
Downloaded poly1305 v0.8.0
Downloaded pkcs1 v0.7.5
Downloaded pem-rfc7468 v0.7.0
Downloaded parking_lot_core v0.9.9
Downloaded p384 v0.13.0
Downloaded base-x v0.2.11
Downloaded anstream v0.6.13
Downloaded p521 v0.13.3
Downloaded anyhow v1.0.82
Downloaded aho-corasick v1.1.3
Downloaded ahash v0.8.11
Downloaded opaque-debug v0.3.1
Downloaded adler2 v2.0.0
Downloaded digest v0.10.7
Downloaded data-encoding-macro v0.1.14
Downloaded cbc v0.1.2
Downloaded byteorder v1.5.0
Downloaded bit-set v0.8.0
Compiling libc v0.2.174
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.12
Checking cfg-if v1.0.0
Compiling shlex v1.3.0
Compiling version_check v0.9.4
Compiling serde v1.0.219
Checking memchr v2.7.2
Compiling quote v1.0.36
Compiling syn v2.0.89
Compiling autocfg v1.2.0
Checking getrandom v0.2.15
Compiling jobserver v0.1.31
Checking smallvec v1.13.2
Checking log v0.4.27
Checking aho-corasick v1.1.3
Compiling cc v1.2.2
Compiling typenum v1.17.0
Checking regex-syntax v0.8.5
Compiling generic-array v0.14.7
Checking rand_core v0.6.4
Checking fastrand v2.1.0
Checking regex-automata v0.4.9
Checking bitflags v2.9.1
Compiling lock_api v0.4.11
Checking crypto-common v0.1.6
Compiling parking_lot_core v0.9.9
Checking scopeguard v1.2.0
Compiling synstructure v0.13.1
Checking stable_deref_trait v1.2.0
Checking subtle v2.5.0
Checking parking_lot v0.12.3
Compiling syn v1.0.109
Checking once_cell v1.21.3
Checking tinyvec_macros v0.1.1
Checking tinyvec v1.6.0
Checking zeroize v1.7.0
Checking bstr v1.9.1
Checking unicode-normalization v0.1.23
Compiling serde_derive v1.0.219
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.7.5
Checking zerofrom v0.1.6
Compiling zerovec-derive v0.10.3
Checking yoke v0.7.5
Compiling displaydoc v0.2.5
Checking cpufeatures v0.2.12
Compiling thiserror v2.0.12
Checking writeable v0.5.5
Compiling icu_locid_transform_data v1.5.1
Checking zerovec v0.10.4
Compiling crc32fast v1.4.0
Checking litemap v0.7.5
Compiling icu_provider_macros v1.5.0
Compiling thiserror-impl v2.0.12
Checking tinystr v0.7.6
Checking icu_locid v1.5.0
Checking block-padding v0.3.3
Compiling icu_properties_data v1.5.1
Checking icu_provider v1.5.0
Checking inout v0.1.3
Checking block-buffer v0.10.4
Checking hashbrown v0.14.3
Compiling icu_normalizer_data v1.5.1
Checking itoa v1.0.11
Compiling pkg-config v0.3.30
Checking digest v0.10.7
Checking icu_locid_transform v1.5.0
Checking cipher v0.4.4
Checking icu_collections v1.5.0
Compiling thiserror v1.0.69
Checking utf8_iter v1.0.4
Checking utf16_iter v1.0.5
Checking write16 v1.0.0
Compiling thiserror-impl v1.0.69
Checking icu_properties v1.5.1
Checking percent-encoding v2.3.1
Compiling rustix v0.38.34
Checking linux-raw-sys v0.4.13
Checking sha2 v0.10.8
Checking form_urlencoded v1.2.1
Checking universal-hash v0.5.1
Compiling vcpkg v0.2.15
Checking opaque-debug v0.3.1
Checking icu_normalizer v1.5.0
Compiling libz-sys v1.1.16
Compiling amplify_syn v2.0.1
Compiling data-encoding v2.5.0
Checking idna_adapter v1.2.0
Checking idna v1.0.3
Checking gix-trace v0.1.12
Compiling amplify_derive v4.0.0
Checking url v2.5.4
Checking tempfile v3.10.1
Compiling data-encoding-macro-internal v0.1.12
Checking amplify_num v0.5.2
Checking ascii v1.1.0
Checking signature v1.6.4
Checking ed25519 v1.5.3
Compiling libgit2-sys v0.17.0+1.8.1
Checking data-encoding-macro v0.1.14
Checking faster-hex v0.9.0
Checking aead v0.5.2
Compiling num-traits v0.2.19
Compiling proc-macro-error-attr v1.0.4
Checking byteorder v1.5.0
Checking base-x v0.2.11
Checking ct-codecs v1.1.1
Checking multibase v0.9.1
Checking ec25519 v0.1.0
Checking poly1305 v0.8.0
Checking chacha20 v0.9.1
Checking amplify v4.6.0
Checking gix-utils v0.1.14
Compiling proc-macro-error v1.0.4
Checking adler2 v2.0.0
Checking cyphergraphy v0.3.0
Checking miniz_oxide v0.8.8
Checking gix-hash v0.15.1
Compiling crossbeam-utils v0.8.19
Checking same-file v1.0.6
Checking keccak v0.1.5
Checking walkdir v2.5.0
Checking sha3 v0.10.8
Checking flate2 v1.1.1
Compiling git-ref-format-core v0.3.1
Checking polyval v0.6.2
Compiling sqlite3-src v0.5.1
Checking hmac v0.12.1
Checking prodash v29.0.2
Checking ppv-lite86 v0.2.17
Checking sha1_smol v1.0.0
Checking base32 v0.4.0
Checking equivalent v1.0.1
Compiling serde_json v1.0.140
Checking base64ct v1.6.0
Checking indexmap v2.2.6
Checking cypheraddr v0.4.0
Checking pem-rfc7468 v0.7.0
Checking gix-features v0.39.1
Checking rand_chacha v0.3.1
Checking pbkdf2 v0.12.2
Checking ghash v0.5.1
Compiling git-ref-format-macro v0.3.1
Checking chacha20poly1305 v0.10.1
Checking ctr v0.9.2
Checking aes v0.8.4
Checking ryu v1.0.17
Checking aes-gcm v0.10.3
Checking git-ref-format v0.3.1
Checking noise-framework v0.4.0
Checking crossbeam-channel v0.5.15
Checking rand v0.8.5
Checking socks5-client v0.4.1
Checking ssh-encoding v0.2.0
Checking blowfish v0.9.1
Checking cbc v0.1.2
Checking radicle-std-ext v0.1.0
Checking home v0.5.9
Compiling ref-cast v1.0.24
Checking gix-path v0.10.15
Checking ssh-cipher v0.2.0
Checking bcrypt-pbkdf v0.10.0
Checking cyphernet v0.5.2
Compiling ref-cast-impl v1.0.24
Checking signature v2.2.0
Checking ssh-key v0.6.6
Checking qcheck v1.0.0
Checking radicle-ssh v0.9.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-ssh)
Checking dyn-clone v1.0.17
Checking lazy_static v1.5.0
Compiling typeid v1.0.3
Checking siphasher v1.0.1
Checking nonempty v0.9.0
Compiling serde_derive_internals v0.29.1
Checking radicle-dag v0.10.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-dag)
Checking erased-serde v0.4.6
Checking iana-time-zone v0.1.60
Checking jiff v0.2.1
Compiling schemars_derive v1.0.4
Checking schemars v1.0.4
Checking gix-date v0.9.4
Checking chrono v0.4.38
Checking serde-untagged v0.1.7
Checking colored v2.1.0
Checking localtime v1.3.1
Checking bytesize v2.0.1
Checking winnow v0.6.26
Checking tree-sitter-language v0.1.2
Checking fast-glob v0.3.3
Checking base64 v0.21.7
Checking gix-hashtable v0.6.0
Checking gix-validate v0.9.4
Checking anstyle-query v1.0.2
Checking memmap2 v0.9.4
Compiling anyhow v1.0.82
Checking gix-actor v0.33.2
Checking gix-object v0.46.1
Compiling rustix v1.0.7
Checking gix-chunk v0.4.11
Checking linux-raw-sys v0.9.4
Checking gix-commitgraph v0.25.1
Checking gix-revwalk v0.17.0
Checking gix-fs v0.12.1
Checking sem_safe v0.2.0
Checking errno v0.3.13
Checking signals_receipts v0.2.0
Checking gix-tempfile v15.0.0
Compiling signal-hook v0.3.18
Checking signal-hook-registry v1.4.5
Checking shell-words v1.1.0
Checking gix-command v0.4.1
Checking radicle-signals v0.11.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-signals)
Compiling tree-sitter v0.24.4
Checking mio v0.8.11
Checking mio v1.0.4
Compiling unicode-segmentation v1.11.0
Checking utf8parse v0.2.1
Checking anstyle-parse v0.2.3
Compiling convert_case v0.7.1
Checking signal-hook-mio v0.2.4
Checking gix-lock v15.0.1
Checking gix-config-value v0.14.12
Checking gix-url v0.28.2
Checking gix-quote v0.4.15
Checking regex v1.11.1
Checking gix-sec v0.10.12
Checking colorchoice v1.0.0
Checking anstyle v1.0.6
Checking anstream v0.6.13
Checking gix-prompt v0.9.1
Compiling xattr v1.3.1
Checking sqlite3-sys v0.15.2
Checking sqlite v0.32.0
Compiling derive_more-impl v2.0.1
Compiling filetime v0.2.23
Checking gix-revision v0.31.1
Checking gix-traverse v0.43.1
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Checking bitflags v1.3.2
Checking lexopt v0.3.0
Compiling litrs v0.4.1
Checking crossterm v0.25.0
Checking derive_more v2.0.1
Checking gix-transport v0.44.0
Compiling document-features v0.2.11
Checking gix-pack v0.56.0
Checking gix-refspec v0.27.0
Compiling tar v0.4.40
Checking gix-credentials v0.26.0
Checking newline-converter v0.3.0
Checking gix-ref v0.49.1
Checking gix-shallow v0.1.0
Checking gix-negotiate v0.17.0
Checking fxhash v0.2.1
Compiling maybe-async v0.2.10
Checking unicode-width v0.1.11
Checking streaming-iterator v0.1.9
Checking arc-swap v1.7.1
Checking gix-odb v0.66.0
Checking inquire v0.7.5
Compiling radicle-surf v0.22.0
Checking gix-protocol v0.47.0
Checking crossterm v0.29.0
Checking unicode-display-width v0.3.0
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-toml-ng v0.6.0
Checking either v1.11.0
Checking snapbox-macros v0.3.8
Checking salsa20 v0.10.2
Checking normalize-line-endings v0.3.0
Checking base64 v0.13.1
Checking similar v2.5.0
Checking siphasher v0.3.11
Compiling radicle-cli v0.14.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-cli)
Checking nonempty v0.5.0
Checking bloomy v1.2.0
Checking snapbox v0.4.17
Checking scrypt v0.11.0
Checking tree-sitter-highlight v0.24.4
Checking systemd-journal-logger v2.2.2
Checking popol v3.0.0
Checking bytes v1.10.1
Checking timeago v0.4.2
Checking io-reactor v0.5.2
Checking socket2 v0.5.7
Checking yansi v0.5.1
Checking diff v0.1.13
Compiling radicle-node v0.12.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-node)
Checking pretty_assertions v1.4.0
Checking netservices v0.8.0
Checking radicle-systemd v0.9.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-systemd)
Checking num-integer v0.1.46
Compiling escargot v0.5.10
Compiling qcheck-macros v1.0.0
Checking num-bigint v0.4.6
Compiling ahash v0.8.11
Compiling radicle-remote-helper v0.11.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-remote-helper)
Checking num-iter v0.1.45
Checking num-complex v0.4.6
Checking num-rational v0.4.2
Checking env_filter v0.1.3
Checking borrow-or-share v0.2.2
Checking zerocopy v0.7.35
Checking bit-vec v0.8.0
Checking fluent-uri v0.3.2
Checking bit-set v0.8.0
Checking env_logger v0.11.8
Checking num v0.4.3
Checking phf_shared v0.11.3
Compiling test-log-macros v0.2.18
Checking outref v0.5.2
Checking vsimd v0.8.0
Checking uuid v1.16.0
Checking phf v0.11.3
Checking referencing v0.30.0
Checking uuid-simd v0.8.0
Checking test-log v0.2.18
Checking fraction v0.15.3
Checking fancy-regex v0.14.0
Checking email_address v0.2.9
Checking bytecount v0.6.8
Checking base64 v0.22.1
Checking num-cmp v0.1.0
Checking emojis v0.6.4
Checking jsonschema v0.30.0
Checking git2 v0.19.0
Checking radicle-git-ext v0.8.1
Checking radicle-term v0.13.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-term)
Checking radicle-crypto v0.12.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-crypto)
Checking radicle-cob v0.14.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-cob)
Checking radicle v0.16.1 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle)
Checking radicle-fetch v0.12.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-fetch)
Checking radicle-cli-test v0.11.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-cli-test)
Checking radicle-protocol v0.1.0 (/d852768a-535e-4ebe-b5d7-841ebb0d5e91/w/crates/radicle-protocol)
error: variables can be used directly in the `format!` string
--> crates/radicle-protocol/src/tasks.rs:396:9
|
396 | / assert_eq!(
397 | | got.len(),
398 | | expected.len(),
399 | | "extra task(s) emitted: {:?}",
400 | | got
401 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-D clippy::uninlined-format-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
error: variables can be used directly in the `format!` string
--> crates/radicle-protocol/src/tasks.rs:408:9
|
408 | / assert_eq!(
409 | | got.len(),
410 | | expected.len(),
411 | | "extra timer(s) emitted: {:?}",
412 | | got
413 | | );
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
error: could not compile `radicle-protocol` (lib test) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Exit code: 101
{
"response": "finished",
"result": "failure"
}