rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood1364cbf3b8d29d7f06080f01694ea6965bc8bdb5
{
"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:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Created",
"patch": {
"id": "e23034098867e73e6264e31f9e3c5a73023152e5",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"title": "chore: remove radicle-crdt and radicle-tools",
"state": {
"status": "merged",
"conflicts": []
},
"before": "e30e66e009393ee4b25692581a37f42320725085",
"after": "1364cbf3b8d29d7f06080f01694ea6965bc8bdb5",
"commits": [
"1364cbf3b8d29d7f06080f01694ea6965bc8bdb5",
"da904b683987816ad11a1ab8b7dd3023adeeb567"
],
"target": "3fc92f83fe089263c470b328414d923227cf0e4a",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "e23034098867e73e6264e31f9e3c5a73023152e5",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "",
"base": "e30e66e009393ee4b25692581a37f42320725085",
"oid": "1364cbf3b8d29d7f06080f01694ea6965bc8bdb5",
"timestamp": 1750431448
},
{
"id": "a6ef6c2e6f642c5e624471ee3c61901e73f87cf2",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Rebase",
"base": "78ba263d0a946c4b90235d562b56ceb7badfc965",
"oid": "d8d00666d35bec88970508a3f3d9093cf6305dd7",
"timestamp": 1750765781
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "69b5d5ea-c416-417f-8647-5879a1f5a87e"
},
"info_url": "https://cci.rad.levitte.org//69b5d5ea-c416-417f-8647-5879a1f5a87e.html"
}
Started at: 2026-09-08 04:41:24.575960+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 38 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout e23034098867e73e6264e31f9e3c5a73023152e5
✓ Switched to branch patch/e230340 at revision e230340
✓ Branch patch/e230340 setup to track rad/patches/e23034098867e73e6264e31f9e3c5a73023152e5
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 1364cbf3b8d29d7f06080f01694ea6965bc8bdb5
HEAD is now at 1364cbf3 chore: remove radicle-tools
Exit code: 0
$ rad patch show e23034098867e73e6264e31f9e3c5a73023152e5 -p
╭───────────────────────────────────────────────────────────────────────────────╮
│ Title chore: remove radicle-crdt and radicle-tools │
│ Patch e23034098867e73e6264e31f9e3c5a73023152e5 │
│ Author fintohaps z6Mkire…SQZ3voM │
│ Head 1364cbf3b8d29d7f06080f01694ea6965bc8bdb5 │
│ Base e30e66e009393ee4b25692581a37f42320725085 │
│ Target master │
│ Branches patch/e230340 │
│ Commits ahead 2, behind 1023 │
│ Status merged │
├───────────────────────────────────────────────────────────────────────────────┤
│ 1364cbf chore: remove radicle-tools │
│ da904b6 chore: remove radicle-crdt │
├───────────────────────────────────────────────────────────────────────────────┤
│ ● Revision e230340 @ e30e66e..1364cbf by fintohaps z6Mkire…SQZ3voM 1 year ago │
│ ↑ Revision a6ef6c2 @ 78ba263..d8d0066 by lorenz z6MkkPv…WX5sTEz 1 year ago │
│ └─ ✓ merged by lorenz z6MkkPv…WX5sTEz │
╰───────────────────────────────────────────────────────────────────────────────╯
commit 1364cbf3b8d29d7f06080f01694ea6965bc8bdb5
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Fri Jun 20 16:43:11 2025 +0200
chore: remove radicle-tools
The `radicle-tools` binaries were specialised binaries for early development of
the `heartwood` set of crates. Choose to remove the crate so that it no longer
needs to build as part of our workspace.
diff --git a/Cargo.lock b/Cargo.lock
index 7ccabc778..67d9645f9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2645,17 +2645,6 @@ dependencies = [
"zeroize",
]
-[[package]]
-name = "radicle-tools"
-version = "0.9.0"
-dependencies = [
- "anyhow",
- "radicle",
- "radicle-cli",
- "radicle-git-ext",
- "radicle-term",
-]
-
[[package]]
name = "rand"
version = "0.8.5"
diff --git a/crates/radicle-tools/Cargo.toml b/crates/radicle-tools/Cargo.toml
deleted file mode 100644
index 49f0eff10..000000000
--- a/crates/radicle-tools/Cargo.toml
+++ /dev/null
@@ -1,44 +0,0 @@
-[package]
-name = "radicle-tools"
-license.workspace = true
-version = "0.9.0"
-authors = ["Alexis Sellier <alexis@radicle.xyz>"]
-edition.workspace = true
-rust-version.workspace = true
-
-[[bin]]
-name = "rad-init"
-path = "src/rad-init.rs"
-
-[[bin]]
-name = "rad-self"
-path = "src/rad-self.rs"
-
-[[bin]]
-name = "rad-merge"
-path = "src/rad-merge.rs"
-
-[[bin]]
-name = "rad-set-canonical-refs"
-path = "src/rad-set-canonical-refs.rs"
-
-[[bin]]
-name = "rad-push"
-path = "src/rad-push.rs"
-
-[[bin]]
-name = "rad-agent"
-path = "src/rad-agent.rs"
-
-[[bin]]
-name = "rad-cli-demo"
-path = "src/rad-cli-demo.rs"
-
-[dependencies]
-anyhow = { workspace = true }
-radicle = { workspace = true }
-radicle-cli = { workspace = true }
-# N.b. this is required to use macros, even though it's re-exported
-# through radicle
-radicle-git-ext = { workspace = true, features = ["serde"] }
-radicle-term = { workspace = true }
\ No newline at end of file
diff --git a/crates/radicle-tools/src/rad-agent.rs b/crates/radicle-tools/src/rad-agent.rs
deleted file mode 100644
index 317098f64..000000000
--- a/crates/radicle-tools/src/rad-agent.rs
+++ /dev/null
@@ -1,60 +0,0 @@
-use anyhow::{anyhow, Context as _};
-use radicle::{crypto, crypto::ssh};
-use std::io::prelude::*;
-use std::{env, io};
-
-fn main() -> anyhow::Result<()> {
- let profile = radicle::Profile::load()?;
- let mut agent = ssh::agent::Agent::connect()?;
-
- println!("key: {}", ssh::fmt::key(profile.id()));
- println!("hash: {}", ssh::fmt::fingerprint(profile.id()));
-
- match env::args().nth(1).as_deref() {
- Some("add") => {
- print!("passphrase: ");
- io::stdout().flush()?;
-
- let mut passphrase = String::new();
- io::stdin().lock().read_line(&mut passphrase)?;
-
- let passphrase = passphrase.trim().to_owned().into();
- let secret = profile
- .keystore
- .secret_key(Some(passphrase))?
- .ok_or_else(|| anyhow!("Key not found in {:?}", profile.keystore.path()))?;
-
- agent.register(&secret)?;
- println!("ok");
- }
- Some("remove") => {
- agent.unregister(profile.id())?;
- println!("ok");
- }
- Some("remove-all") => {
- agent.unregister_all()?;
- println!("ok");
- }
- Some("sign") => {
- let mut stdin = Vec::new();
- io::stdin().read_to_end(&mut stdin)?;
-
- let sig = agent.sign(profile.id(), &stdin).context("Signing failed")?;
- let sig = crypto::Signature::from(sig);
-
- println!("{}", &sig);
- }
- Some(other) => {
- anyhow::bail!("Unknown command `{}`", other);
- }
- None => {
- if agent.signer(profile.public_key).is_ready()? {
- println!("ready: yes");
- } else {
- println!("ready: no");
- }
- }
- }
-
- Ok(())
-}
diff --git a/crates/radicle-tools/src/rad-cli-demo.rs b/crates/radicle-tools/src/rad-cli-demo.rs
deleted file mode 100644
index 5630f526d..000000000
--- a/crates/radicle-tools/src/rad-cli-demo.rs
+++ /dev/null
@@ -1,88 +0,0 @@
-use std::{thread, time};
-
-use radicle_cli::terminal;
-
-fn main() -> anyhow::Result<()> {
- let demo = terminal::io::select(
- "Choose something to try out:",
- &[
- "confirm",
- "pager",
- "spinner",
- "spinner-drop",
- "spinner-error",
- "editor",
- "prompt",
- ],
- "Choose wisely!",
- )?;
-
- match *demo {
- "confirm" => {
- if terminal::confirm("Would you like to proceed?") {
- terminal::success!("You said 'yes'");
- }
- }
- "pager" => {
- let mut table = radicle_term::Table::<1, radicle_term::Label>::new(
- radicle_term::TableOptions::bordered(),
- );
- let rows = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/src/rad-cli-demo.rs"));
-
- for row in rows.lines() {
- table.push([row.into()]);
- }
- radicle_term::pager::page(table)?;
- }
- "editor" => {
- let output = terminal::editor::Editor::comment()
- .extension("rs")
- .initial("// Enter code here.")?
- .edit();
-
- match output {
- Ok(Some(s)) => {
- terminal::info!("You entered:");
- terminal::blob(s);
- }
- Ok(None) => {
- terminal::info!("You didn't enter anything.");
- }
- Err(e) => {
- return Err(e.into());
- }
- }
- }
- "spinner" => {
- let mut spinner = terminal::spinner("Spinning turbines..");
- thread::sleep(time::Duration::from_secs(1));
- spinner.message("Still spinning..");
- thread::sleep(time::Duration::from_secs(1));
- spinner.message("Almost done..");
- thread::sleep(time::Duration::from_secs(1));
- spinner.message("Done.");
-
- spinner.finish();
- }
- "spinner-drop" => {
- let _spinner = terminal::spinner("Spinning turbines..");
- thread::sleep(time::Duration::from_secs(3));
- }
- "spinner-error" => {
- let spinner = terminal::spinner("Spinning turbines..");
- thread::sleep(time::Duration::from_secs(3));
- spinner.error("broken turbine");
- }
- "prompt" => {
- let fruit = terminal::io::select(
- "Enter your favorite fruit:",
- &["apple", "pear", "banana", "strawberry"],
- "Choose wisely!",
- )?;
- terminal::success!("You have chosen '{fruit}'");
- }
- _ => {}
- }
-
- Ok(())
-}
diff --git a/crates/radicle-tools/src/rad-init.rs b/crates/radicle-tools/src/rad-init.rs
deleted file mode 100644
index 3a846e557..000000000
--- a/crates/radicle-tools/src/rad-init.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-use std::path::Path;
-
-use radicle::{git, identity::Visibility, Profile};
-
-fn main() -> anyhow::Result<()> {
- let cwd = Path::new(".").canonicalize()?;
- let name = cwd.file_name().unwrap().to_string_lossy().to_string();
- let repo = radicle::git::raw::Repository::open(cwd)?;
- let profile = Profile::load()?;
- let signer = profile.signer()?;
- let (id, _, _) = radicle::rad::init(
- &repo,
- name.try_into()?,
- "",
- git::refname!("master"),
- Visibility::default(),
- &signer,
- &profile.storage,
- )?;
-
- println!("ok: {id}");
-
- Ok(())
-}
diff --git a/crates/radicle-tools/src/rad-merge.rs b/crates/radicle-tools/src/rad-merge.rs
deleted file mode 100644
index c909adeec..000000000
--- a/crates/radicle-tools/src/rad-merge.rs
+++ /dev/null
@@ -1,65 +0,0 @@
-use std::collections::HashSet;
-use std::env;
-
-use anyhow::{anyhow, bail};
-use radicle::cob::patch::{PatchId, RevisionId};
-use radicle::git::Oid;
-use radicle::storage::ReadStorage;
-use radicle_cli::terminal as term;
-
-fn main() -> anyhow::Result<()> {
- let args = env::args().skip(1).collect::<Vec<_>>();
- let (pid, rev) = match args.as_slice() {
- [pid, rev] => {
- let pid: PatchId = pid.parse()?;
- let rev: Oid = rev.parse()?;
-
- (pid, Some(RevisionId::from(rev)))
- }
- [pid] => {
- let pid: PatchId = pid.parse()?;
-
- (pid, None)
- }
- _ => bail!("usage: rad-merge <patch-id> [<revision-id>]"),
- };
- let profile = radicle::Profile::load()?;
- let (working, rid) = radicle::rad::cwd()?;
- let stored = profile.storage.repository(rid)?;
- let mut patches = profile.patches_mut(&stored)?;
- let mut patch = patches.get_mut(&pid)?;
-
- if patch.is_merged() {
- anyhow::bail!("fatal: patch {pid} is already merged");
- }
- let (revision, r) = if let Some(id) = rev {
- let r = patch
- .revision(&id)
- .ok_or_else(|| anyhow!("revision {id} not found"))?;
- (id, r)
- } else {
- patch.latest()
- };
- let head = r.head();
-
- let mut revwalk = stored.backend.revwalk()?;
- revwalk.push_head()?;
-
- let commits = revwalk
- .map(|r| r.map(Oid::from))
- .collect::<Result<HashSet<Oid>, _>>()?;
-
- if !commits.contains(&head) {
- anyhow::bail!("fatal: patch head {head} is not in default branch");
- }
- let signer = term::signer(&profile)?;
-
- patch
- .merge(revision, head, &signer)?
- .cleanup(&working, &signer)?;
-
- println!("✓ Patch {pid} merged at commit {head}");
- println!("You may now run `rad sync --announce`.");
-
- Ok(())
-}
diff --git a/crates/radicle-tools/src/rad-push.rs b/crates/radicle-tools/src/rad-push.rs
deleted file mode 100644
index 8d686ae83..000000000
--- a/crates/radicle-tools/src/rad-push.rs
+++ /dev/null
@@ -1,28 +0,0 @@
-use std::path::Path;
-
-use radicle::{
- node::Handle,
- storage::{ReadStorage, SignRepository, WriteRepository},
-};
-
-fn main() -> anyhow::Result<()> {
- let cwd = Path::new(".").canonicalize()?;
- let repo = radicle::git::raw::Repository::open(&cwd)?;
- let profile = radicle::Profile::load()?;
- let (_, id) = radicle::rad::remote(&repo)?;
-
- let output = radicle::git::run::<_, _, &str, &str>(&cwd, ["push", "rad"], None)?;
- println!("{output}");
-
- let signer = profile.signer()?;
- let project = profile.storage.repository(id)?;
- let sigrefs = project.sign_refs(&signer)?;
- let head = project.set_head()?;
-
- radicle::Node::new(profile.socket()).announce_refs(id)?;
-
- println!("head: {}", head.new);
- println!("ok: {}", sigrefs.signature);
-
- Ok(())
-}
diff --git a/crates/radicle-tools/src/rad-self.rs b/crates/radicle-tools/src/rad-self.rs
deleted file mode 100644
index 9b7aae41c..000000000
--- a/crates/radicle-tools/src/rad-self.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-fn main() -> anyhow::Result<()> {
- let profile = radicle::Profile::load()?;
-
- println!("id: {}", profile.id());
- println!("key: {}", radicle::crypto::ssh::fmt::key(profile.id()));
- println!(
- "fingerprint: {}",
- radicle::crypto::ssh::fmt::fingerprint(profile.id())
- );
- println!("home: {}", profile.home().path().display());
-
- Ok(())
-}
diff --git a/crates/radicle-tools/src/rad-set-canonical-refs.rs b/crates/radicle-tools/src/rad-set-canonical-refs.rs
deleted file mode 100644
index f1de5cfff..000000000
--- a/crates/radicle-tools/src/rad-set-canonical-refs.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-use radicle::{
- storage::{WriteRepository, WriteStorage},
- Profile,
-};
-
-fn main() -> anyhow::Result<()> {
- let profile = Profile::load()?;
-
- let (_, rid) = radicle::rad::cwd()?;
- let repo = profile.storage.repository_mut(rid)?;
-
- let id_oid = repo.set_identity_head()?;
- let branch = repo.set_head()?;
-
- println!("ok: identity: {id_oid}");
- println!("ok: branch: {}", branch.new);
-
- Ok(())
-}
commit da904b683987816ad11a1ab8b7dd3023adeeb567
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Fri Jun 20 16:54:15 2025 +0200
chore: remove radicle-crdt
The `radicle-crdt` crate is no longer used by any of the other crates. Choose to
remove the crate so that it no longer needs to build and test as part of our
workspace.
diff --git a/Cargo.lock b/Cargo.lock
index 57961bd4e..7ccabc778 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2455,20 +2455,6 @@ dependencies = [
"thiserror 1.0.69",
]
-[[package]]
-name = "radicle-crdt"
-version = "0.1.0"
-dependencies = [
- "fastrand",
- "num-traits",
- "qcheck",
- "qcheck-macros",
- "radicle-crypto",
- "serde",
- "tempfile",
- "thiserror 1.0.69",
-]
-
[[package]]
name = "radicle-crypto"
version = "0.12.0"
diff --git a/crates/radicle-crdt/Cargo.toml b/crates/radicle-crdt/Cargo.toml
deleted file mode 100644
index fa99ff117..000000000
--- a/crates/radicle-crdt/Cargo.toml
+++ /dev/null
@@ -1,24 +0,0 @@
-[package]
-name = "radicle-crdt"
-version = "0.1.0"
-license.workspace = true
-edition.workspace = true
-rust-version.workspace = true
-
-[features]
-test = ["fastrand", "qcheck"]
-
-[dependencies]
-fastrand = { workspace = true, optional = true }
-num-traits = { version = "0.2.15", default-features = false, features = ["std"] }
-qcheck = { workspace = true, optional = true }
-radicle-crypto = { workspace = true }
-serde = { workspace = true }
-thiserror = { workspace = true }
-
-[dev-dependencies]
-fastrand = { workspace = true }
-qcheck = { workspace = true }
-qcheck-macros = { workspace = true }
-radicle-crypto = { workspace = true, features = ["test"] }
-tempfile = { workspace = true }
diff --git a/crates/radicle-crdt/src/clock.rs b/crates/radicle-crdt/src/clock.rs
deleted file mode 100644
index 7e5699a44..000000000
--- a/crates/radicle-crdt/src/clock.rs
+++ /dev/null
@@ -1,155 +0,0 @@
-use std::fmt;
-use std::str::FromStr;
-use std::time::SystemTime;
-use std::time::UNIX_EPOCH;
-
-use num_traits::Bounded;
-use serde::{Deserialize, Serialize};
-use thiserror::Error;
-
-use crate::ord::Max;
-use crate::Semilattice as _;
-
-/// Lamport clock.
-#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
-#[serde(transparent)]
-pub struct Lamport {
- counter: Max<u64>,
-}
-
-impl Lamport {
- /// Return the clock value.
- pub fn get(&self) -> u64 {
- *self.counter.get()
- }
-
- /// The initial value of the clock.
- pub fn initial() -> Self {
- Self::default()
- }
-
- /// Increment clock and return new value.
- /// Must be called before sending a message.
- pub fn tick(&mut self) -> Self {
- self.counter.incr();
- *self
- }
-
- /// Merge clock with another clock, and increment value.
- /// Must be called whenever a message is received.
- pub fn merge(&mut self, other: Self) -> Self {
- self.counter.merge(other.counter);
- self.tick()
- }
-
- /// Reset clock to default state.
- pub fn reset(&mut self) {
- self.counter = Max::default();
- }
-}
-
-impl fmt::Display for Lamport {
- fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- write!(f, "{}", self.get())
- }
-}
-
-impl From<u64> for Lamport {
- fn from(counter: u64) -> Self {
- Self {
- counter: Max::from(counter),
- }
- }
-}
-
-impl From<Lamport> for u64 {
- fn from(arg: Lamport) -> Self {
- arg.get()
- }
-}
-
-/// Error decoding an operation from an entry.
-#[derive(Error, Debug)]
-pub enum LamportError {
- #[error("invalid lamport clock value")]
- Invalid,
-}
-
-impl FromStr for Lamport {
- type Err = LamportError;
-
- fn from_str(s: &str) -> Result<Self, Self::Err> {
- Self::try_from(s)
- }
-}
-
-impl TryFrom<&str> for Lamport {
- type Error = LamportError;
-
- fn try_from(s: &str) -> Result<Self, Self::Error> {
- let v = s.parse::<u64>().map_err(|_| LamportError::Invalid)?;
- Ok(v.into())
- }
-}
-
-impl Bounded for Lamport {
- fn min_value() -> Self {
- Self::from(u64::MIN)
- }
-
- fn max_value() -> Self {
- Self::from(u64::MAX)
- }
-}
-
-/// Physical clock. Tracks real-time by the second.
-#[derive(Debug, Default, Copy, Clone, PartialOrd, PartialEq, Ord, Eq, Serialize, Deserialize)]
-#[serde(transparent)]
-pub struct Physical {
- seconds: u64,
-}
-
-impl Physical {
- pub fn new(seconds: u64) -> Self {
- Self { seconds }
- }
-
- pub fn now() -> Self {
- #[allow(clippy::unwrap_used)] // Safe because Unix was already invented!
- let duration = SystemTime::now().duration_since(UNIX_EPOCH).unwrap();
-
- Self {
- seconds: duration.as_secs(),
- }
- }
-
- pub fn as_secs(&self) -> u64 {
- self.seconds
- }
-}
-
-impl From<u64> for Physical {
- fn from(seconds: u64) -> Self {
- Self { seconds }
- }
-}
-
-impl std::ops::Add<u64> for Physical {
- type Output = Self;
-
- fn add(self, rhs: u64) -> Self::Output {
- Self {
- seconds: self.seconds + rhs,
- }
- }
-}
-
-impl Bounded for Physical {
- fn min_value() -> Self {
- Self { seconds: u64::MIN }
- }
-
- fn max_value() -> Self {
- Self { seconds: u64::MAX }
- }
-}
diff --git a/crates/radicle-crdt/src/gmap.rs b/crates/radicle-crdt/src/gmap.rs
deleted file mode 100644
index 9377ec004..000000000
--- a/crates/radicle-crdt/src/gmap.rs
+++ /dev/null
@@ -1,118 +0,0 @@
-use std::collections::btree_map::{Entry, IntoIter, IntoKeys};
-use std::collections::BTreeMap;
-use std::ops::Deref;
-
-use crate::Semilattice;
-
-/// Grow-only map.
-///
-/// Conflicting elements are merged via the [`Semilattice`] instance.
-#[derive(Debug, Clone, PartialEq, Eq)]
-pub struct GMap<K, V> {
- inner: BTreeMap<K, V>,
-}
-
-impl<K: Ord, V: Semilattice> GMap<K, V> {
- pub fn singleton(key: K, value: V) -> Self {
- Self {
- inner: BTreeMap::from_iter([(key, value)]),
- }
- }
-
- pub fn get_mut(&mut self, key: &K) -> Option<&mut V> {
- self.inner.get_mut(key)
- }
-
- pub fn insert(&mut self, key: K, value: V) {
- match self.inner.entry(key) {
- Entry::Occupied(mut e) => {
- e.get_mut().merge(value);
- }
- Entry::Vacant(e) => {
- e.insert(value);
- }
- }
- }
-}
-
-impl<K, V> GMap<K, V> {
- pub fn into_keys(self) -> IntoKeys<K, V> {
- self.inner.into_keys()
- }
-}
-
-impl<K: Ord, V: Semilattice> FromIterator<(K, V)> for GMap<K, V> {
- fn from_iter<I: IntoIterator<Item = (K, V)>>(iter: I) -> Self {
- let mut map = GMap::default();
- for (k, v) in iter.into_iter() {
- map.insert(k, v);
- }
- map
- }
-}
-
-impl<K: Ord, V: Semilattice> Extend<(K, V)> for GMap<K, V> {
- fn extend<I: IntoIterator<Item = (K, V)>>(&mut self, iter: I) {
- for (k, v) in iter.into_iter() {
- self.insert(k, v);
- }
- }
-}
-
-impl<K, V> IntoIterator for GMap<K, V> {
- type Item = (K, V);
- type IntoIter = IntoIter<K, V>;
-
- fn into_iter(self) -> Self::IntoIter {
- self.inner.into_iter()
- }
-}
-
-impl<K, V> Default for GMap<K, V> {
- fn default() -> Self {
- Self {
- inner: BTreeMap::default(),
- }
- }
-}
-
-impl<K: Ord, V: Semilattice> Semilattice for GMap<K, V> {
- fn merge(&mut self, other: Self) {
- for (k, v) in other.into_iter() {
- self.insert(k, v);
- }
- }
-}
-
-impl<K, V> Deref for GMap<K, V> {
- type Target = BTreeMap<K, V>;
-
- fn deref(&self) -> &Self::Target {
- &self.inner
- }
-}
-
-#[cfg(test)]
-mod tests {
- use qcheck_macros::quickcheck;
-
- use super::*;
- use crate::ord::Max;
-
- #[quickcheck]
- fn prop_semilattice(
- a: Vec<(u8, Max<u8>)>,
- b: Vec<(u8, Max<u8>)>,
- c: Vec<(u8, Max<u8>)>,
- mix: Vec<(u8, Max<u8>)>,
- ) {
- let mut a = GMap::from_iter(a);
- let mut b = GMap::from_iter(b);
- let c = GMap::from_iter(c);
-
- a.extend(mix.clone());
- b.extend(mix);
-
- crate::test::assert_laws(&a, &b, &c);
- }
-}
diff --git a/crates/radicle-crdt/src/gset.rs b/crates/radicle-crdt/src/gset.rs
deleted file mode 100644
index 4a4c0975a..000000000
--- a/crates/radicle-crdt/src/gset.rs
+++ /dev/null
@@ -1,97 +0,0 @@
-use std::collections::btree_map::{IntoKeys, Keys};
-use std::ops::Deref;
-
-use crate::GMap;
-use crate::Semilattice;
-
-/// Grow-only set.
-#[derive(Debug, Clone, PartialEq, Eq)]
-pub struct GSet<K> {
- inner: GMap<K, ()>,
-}
-
-impl<K: Ord> GSet<K> {
- pub fn singleton(key: K) -> Self {
- Self {
- inner: GMap::from_iter([(key, ())]),
- }
- }
-
- pub fn insert(&mut self, key: K) {
- self.inner.insert(key, ());
- }
-
- pub fn iter(&self) -> Keys<'_, K, ()> {
- self.inner.keys()
- }
-}
-
-impl<K: Ord> FromIterator<K> for GSet<K> {
- fn from_iter<I: IntoIterator<Item = K>>(iter: I) -> Self {
- let mut map = GSet::default();
- for k in iter.into_iter() {
- map.insert(k);
- }
- map
- }
-}
-
-impl<K: Ord> Extend<K> for GSet<K> {
- fn extend<I: IntoIterator<Item = K>>(&mut self, iter: I) {
- for k in iter.into_iter() {
- self.insert(k);
- }
- }
-}
-
-impl<K> IntoIterator for GSet<K> {
- type Item = K;
- type IntoIter = IntoKeys<K, ()>;
-
- fn into_iter(self) -> Self::IntoIter {
- self.inner.into_keys()
- }
-}
-
-impl<K> Default for GSet<K> {
- fn default() -> Self {
- Self {
- inner: GMap::default(),
- }
- }
-}
-
-impl<K: Ord> Semilattice for GSet<K> {
- fn merge(&mut self, other: Self) {
- for k in other.into_iter() {
- self.insert(k);
- }
- }
-}
-
-impl<K> Deref for GSet<K> {
- type Target = GMap<K, ()>;
-
- fn deref(&self) -> &Self::Target {
- &self.inner
- }
-}
-
-#[cfg(test)]
-mod tests {
- use qcheck_macros::quickcheck;
-
- use super::*;
-
- #[quickcheck]
- fn prop_semilattice(a: Vec<u8>, b: Vec<u8>, c: Vec<u8>, mix: Vec<u8>) {
- let mut a = GSet::from_iter(a);
- let mut b = GSet::from_iter(b);
- let c = GSet::from_iter(c);
-
- a.extend(mix.clone());
- b.extend(mix);
-
- crate::test::assert_laws(&a, &b, &c);
- }
-}
diff --git a/crates/radicle-crdt/src/immutable.rs b/crates/radicle-crdt/src/immutable.rs
deleted file mode 100644
index 252b2a1be..000000000
--- a/crates/radicle-crdt/src/immutable.rs
+++ /dev/null
@@ -1,52 +0,0 @@
-use crate::Semilattice;
-
-/// A [`Semilattice`] that panics when attempting to merge inequal elements.
-/// Use this for types that will never merge.
-#[derive(Debug, Clone, Copy, PartialEq, Eq)]
-pub struct Immutable<T>(pub T);
-
-impl<T> Immutable<T> {
- /// Create a new immutable object.
- pub fn new(inner: T) -> Self {
- Self(inner)
- }
-}
-
-impl<T> std::ops::Deref for Immutable<T> {
- type Target = T;
-
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-
-impl<T: PartialEq> Semilattice for Immutable<T> {
- fn merge(&mut self, other: Self) {
- if self.0 != other.0 {
- panic!("Immutable::merge: Cannot merge inequal objects");
- }
- }
-}
-
-#[cfg(test)]
-mod test {
- use super::*;
-
- #[test]
- #[should_panic]
- fn test_merge_inequal() {
- let mut a = Immutable::new(0);
- let b = Immutable::new(1);
-
- a.merge(b);
- }
-
- #[test]
- fn test_merge_equal() {
- let mut a = Immutable::new(1);
- let b = Immutable::new(1);
-
- a.merge(b);
- assert_eq!(a, b);
- }
-}
diff --git a/crates/radicle-crdt/src/lib.rs b/crates/radicle-crdt/src/lib.rs
deleted file mode 100644
index b5d40df74..000000000
--- a/crates/radicle-crdt/src/lib.rs
+++ /dev/null
@@ -1,121 +0,0 @@
-#![allow(clippy::collapsible_if)]
-#![allow(clippy::bool_assert_comparison)]
-#![allow(clippy::collapsible_else_if)]
-#![allow(clippy::type_complexity)]
-pub mod clock;
-pub mod gmap;
-pub mod gset;
-pub mod immutable;
-pub mod lwwmap;
-pub mod lwwreg;
-pub mod lwwset;
-pub mod ord;
-pub mod redactable;
-
-#[cfg(any(test, feature = "test"))]
-pub mod test;
-
-////////////////////////////////////////////////////////////////////////////////
-
-pub use clock::Lamport;
-pub use gmap::GMap;
-pub use gset::GSet;
-pub use immutable::Immutable;
-pub use lwwmap::LWWMap;
-pub use lwwreg::LWWReg;
-pub use lwwset::LWWSet;
-pub use ord::{Max, Min};
-pub use redactable::Redactable;
-
-////////////////////////////////////////////////////////////////////////////////
-
-/// A join-semilattice.
-pub trait Semilattice: Sized {
- /// Merge an other semilattice into this one.
- ///
- /// This operation should obbey the semilattice laws and should thus be idempotent,
- /// associative and commutative.
- fn merge(&mut self, other: Self);
-
- /// Like [`Semilattice::merge`] but takes and returns a new semilattice.
- fn join(mut self, other: Self) -> Self {
- self.merge(other);
- self
- }
-}
-
-impl<T: Semilattice> Semilattice for Option<T> {
- fn merge(&mut self, other: Self) {
- match (self, other) {
- (this @ None, other @ Some(_)) => {
- *this = other;
- }
- (Some(ref mut a), Some(b)) => {
- a.merge(b);
- }
- (Some(_), None) => {}
- (None, None) => {}
- }
- }
-}
-
-impl Semilattice for () {
- fn merge(&mut self, _other: Self) {}
-}
-
-impl Semilattice for bool {
- fn merge(&mut self, other: Self) {
- match (&self, other) {
- (false, true) => *self = true,
- (true, false) => *self = true,
- (false, false) | (true, true) => {}
- }
- }
-}
-
-pub fn fold<S>(i: impl IntoIterator<Item = S>) -> S
-where
- S: Semilattice + Default,
-{
- i.into_iter().fold(S::default(), S::join)
-}
-
-#[cfg(test)]
-mod tests {
- use crate::{test, Max, Min, Semilattice};
- use qcheck_macros::quickcheck;
-
- #[quickcheck]
- fn prop_option_laws(a: Max<u8>, b: Max<u8>, c: Max<u8>) {
- test::assert_laws(&a, &b, &c);
- }
-
- #[quickcheck]
- fn prop_bool_laws(a: bool, b: bool, c: bool) {
- test::assert_laws(&a, &b, &c);
- }
-
- #[test]
- fn test_bool() {
- assert_eq!(false.join(false), false);
- assert_eq!(true.join(true), true);
- assert_eq!(true.join(false), true);
- assert_eq!(false.join(true), true);
- }
-
- #[test]
- fn test_option() {
- assert_eq!(None::<()>.join(None), None);
- assert_eq!(None::<()>.join(Some(())), Some(()));
- assert_eq!(Some(()).join(None), Some(()));
- assert_eq!(Some(()).join(Some(())), Some(()));
- assert_eq!(
- Some(Max::from(0)).join(Some(Max::from(1))),
- Some(Max::from(1))
- );
- assert_eq!(
- Some(Min::from(0)).join(Some(Min::from(1))),
- Some(Min::from(0))
- );
- }
-}
diff --git a/crates/radicle-crdt/src/lwwmap.rs b/crates/radicle-crdt/src/lwwmap.rs
deleted file mode 100644
index 19a929290..000000000
--- a/crates/radicle-crdt/src/lwwmap.rs
+++ /dev/null
@@ -1,187 +0,0 @@
-use crate::gmap::GMap;
-use crate::lwwreg::LWWReg;
-use crate::{clock, Semilattice};
-
-/// Last-Write-Wins Map.
-///
-/// In case a value is added and removed under a key at the same time,
-/// the "add" takes precedence over the "remove".
-#[derive(Debug, Clone, PartialEq, Eq)]
-pub struct LWWMap<K, V, C = clock::Lamport> {
- inner: GMap<K, LWWReg<Option<V>, C>>,
-}
-
-impl<K: Ord, V: Semilattice, C: PartialOrd + Ord> LWWMap<K, V, C> {
- pub fn singleton(key: K, value: V, clock: C) -> Self {
- Self {
- inner: GMap::singleton(key, LWWReg::new(Some(value), clock)),
- }
- }
-
- pub fn get(&self, key: &K) -> Option<&V> {
- let Some(value) = self.inner.get(key) else {
- // If the element was never added, return nothing.
- return None;
- };
- value.get().as_ref()
- }
-
- pub fn insert(&mut self, key: K, value: V, clock: C) {
- self.inner.insert(key, LWWReg::new(Some(value), clock));
- }
-
- pub fn remove(&mut self, key: K, clock: C) {
- self.inner.insert(key, LWWReg::new(None, clock));
- }
-
- pub fn contains_key(&self, key: &K) -> bool {
- let Some(value) = self.inner.get(key) else {
- // If the element was never added, return false.
- return false;
- };
- value.get().is_some()
- }
-
- pub fn iter(&self) -> impl Iterator<Item = (&K, &V)> {
- self.inner
- .iter()
- .filter_map(|(k, v)| v.get().as_ref().map(|v| (k, v)))
- }
-
- pub fn len(&self) -> usize {
- self.iter().count()
- }
-
- pub fn is_empty(&self) -> bool {
- self.iter().next().is_none()
- }
-}
-
-impl<K, V, C> Default for LWWMap<K, V, C> {
- fn default() -> Self {
- Self {
- inner: GMap::default(),
- }
- }
-}
-
-impl<K: Ord, V: Semilattice, C: Ord> FromIterator<(K, V, C)> for LWWMap<K, V, C> {
- fn from_iter<I: IntoIterator<Item = (K, V, C)>>(iter: I) -> Self {
- let mut map = LWWMap::default();
- for (k, v, c) in iter.into_iter() {
- map.insert(k, v, c);
- }
- map
- }
-}
-
-impl<K: Ord, V: Semilattice, C: Ord> Extend<(K, V, C)> for LWWMap<K, V, C> {
- fn extend<I: IntoIterator<Item = (K, V, C)>>(&mut self, iter: I) {
- for (k, v, c) in iter.into_iter() {
- self.insert(k, v, c);
- }
- }
-}
-
-impl<K, V, C> Semilattice for LWWMap<K, V, C>
-where
- K: Ord,
- V: Semilattice,
- C: Ord,
-{
- fn merge(&mut self, other: Self) {
- self.inner.merge(other.inner);
- }
-}
-
-#[cfg(test)]
-mod tests {
- use qcheck_macros::quickcheck;
-
- use super::*;
- use crate::ord::Max;
-
- #[quickcheck]
- fn prop_semilattice(
- a: Vec<(u8, Max<u8>, u16)>,
- b: Vec<(u8, Max<u8>, u16)>,
- c: Vec<(u8, Max<u8>, u16)>,
- mix: Vec<(u8, Max<u8>, u16)>,
- ) {
- let mut a = LWWMap::from_iter(a);
- let mut b = LWWMap::from_iter(b);
- let c = LWWMap::from_iter(c);
-
- a.extend(mix.clone());
- b.extend(mix);
-
- crate::test::assert_laws(&a, &b, &c);
- }
-
- #[test]
- fn test_insert() {
- let mut map = LWWMap::default();
-
- map.insert('a', Max::from(1), 0);
- map.insert('b', Max::from(2), 0);
- map.insert('c', Max::from(3), 0);
-
- assert_eq!(map.get(&'a'), Some(&Max::from(1)));
- assert_eq!(map.get(&'b'), Some(&Max::from(2)));
- assert_eq!(map.get(&'?'), None);
-
- let values = map.iter().collect::<Vec<(&char, &Max<u8>)>>();
- assert!(values.contains(&(&'a', &Max::from(1))));
- assert!(values.contains(&(&'b', &Max::from(2))));
- assert!(values.contains(&(&'c', &Max::from(3))));
- assert_eq!(values.len(), 3);
- }
-
- #[test]
- fn test_insert_remove() {
- let mut map = LWWMap::default();
-
- map.insert('a', Max::from("alice"), 1);
- assert!(map.contains_key(&'a'));
-
- map.remove('a', 0);
- assert!(map.contains_key(&'a'));
-
- map.remove('a', 1);
- assert!(map.contains_key(&'a')); // Add takes precedence over remove.
- assert!(map.iter().any(|(c, _)| *c == 'a'));
-
- map.remove('a', 2);
- assert!(!map.contains_key(&'a'));
- assert!(!map.iter().any(|(c, _)| *c == 'a'));
- }
-
- #[test]
- fn test_is_empty() {
- let mut map = LWWMap::default();
- assert!(map.is_empty());
-
- map.insert('a', Max::from("alice"), 1);
- assert!(!map.is_empty());
-
- map.remove('a', 2);
- assert!(map.is_empty());
- }
-
- #[test]
- fn test_remove_insert() {
- let mut map = LWWMap::default();
-
- map.insert('a', Max::from("alice"), 1);
- assert_eq!(map.get(&'a'), Some(&Max::from("alice")));
-
- map.remove('a', 2);
- assert!(!map.contains_key(&'a'));
-
- map.insert('a', Max::from("alice"), 1);
- assert!(!map.contains_key(&'a'));
-
- map.insert('a', Max::from("amy"), 2);
- assert_eq!(map.get(&'a'), Some(&Max::from("amy")));
- }
-}
diff --git a/crates/radicle-crdt/src/lwwreg.rs b/crates/radicle-crdt/src/lwwreg.rs
deleted file mode 100644
index 9c88701fc..000000000
--- a/crates/radicle-crdt/src/lwwreg.rs
+++ /dev/null
@@ -1,134 +0,0 @@
-use num_traits::Bounded;
-
-use crate::clock;
-use crate::ord::Max;
-use crate::Semilattice;
-
-/// Last-Write-Wins Register.
-///
-/// In case of conflict, uses the [`Semilattice`] instance of `T` to merge.
-#[derive(Debug, Clone, PartialEq, Eq)]
-pub struct LWWReg<T, C = clock::Lamport> {
- clock: Max<C>,
- value: T,
-}
-
-impl<T: Semilattice, C: PartialOrd> LWWReg<T, C> {
- pub fn initial(value: T) -> Self
- where
- C: Default,
- {
- Self {
- clock: Max::from(C::default()),
- value,
- }
- }
-
- pub fn new(value: T, clock: C) -> Self {
- Self {
- clock: Max::from(clock),
- value,
- }
- }
-
- pub fn set(&mut self, value: impl Into<T>, clock: C) {
- let clock = Max::from(clock);
- let value = value.into();
-
- if clock == self.clock {
- self.value.merge(value);
- } else if clock > self.clock {
- self.clock.merge(clock);
- self.value = value;
- }
- }
-
- pub fn get(&self) -> &T {
- &self.value
- }
-
- pub fn clock(&self) -> &Max<C> {
- &self.clock
- }
-
- pub fn into_inner(self) -> (T, C) {
- (self.value, self.clock.into_inner())
- }
-}
-
-impl<T: Default, C: Default + Bounded> Default for LWWReg<T, C> {
- fn default() -> Self {
- Self {
- clock: Max::default(),
- value: T::default(),
- }
- }
-}
-
-impl<T, C> Semilattice for LWWReg<T, C>
-where
- T: Semilattice,
- C: PartialOrd,
-{
- fn merge(&mut self, other: Self) {
- self.set(other.value, other.clock.into_inner());
- }
-}
-
-#[cfg(test)]
-mod tests {
- use qcheck_macros::quickcheck;
-
- use super::*;
- use crate::Min;
-
- #[quickcheck]
- fn prop_semilattice(a: (Max<u8>, u16), b: (Max<u8>, u16), c: (Max<u8>, u16)) {
- let a = LWWReg::new(a.0, a.1);
- let b = LWWReg::new(b.0, b.1);
- let c = LWWReg::new(c.0, c.1);
-
- crate::test::assert_laws(&a, &b, &c);
- }
-
- #[test]
- fn test_merge() {
- let a = LWWReg::new(Max::from(0), 0);
- let b = LWWReg::new(Max::from(1), 0);
-
- assert_eq!(a.join(b).get(), &Max::from(1));
-
- let a = LWWReg::new(Min::from(0), 0);
- let b = LWWReg::new(Min::from(1), 0);
-
- assert_eq!(a.join(b).get(), &Min::from(0));
- }
-
- #[test]
- fn test_set_get() {
- let mut reg = LWWReg::new(Max::from(42), 1);
- assert_eq!(*reg.get(), Max::from(42));
-
- reg.set(84, 0);
- assert_eq!(*reg.get(), Max::from(42));
-
- reg.set(84, 2);
- assert_eq!(*reg.get(), Max::from(84));
-
- // Smaller value, same clock: smaller value loses.
- reg.set(42, 2);
- assert_eq!(*reg.get(), Max::from(84));
-
- // Bigger value, same clock: bigger value wins.
- reg.set(168, 2);
- assert_eq!(*reg.get(), Max::from(168));
-
- // Smaller value, newer clock: smaller value wins.
- reg.set(42, 3);
- assert_eq!(*reg.get(), Max::from(42));
-
- // Same value, newer clock: newer clock is set.
- reg.set(42, 4);
- assert_eq!(*reg.clock(), Max::from(4));
- }
-}
diff --git a/crates/radicle-crdt/src/lwwset.rs b/crates/radicle-crdt/src/lwwset.rs
deleted file mode 100644
index 06a9b8831..000000000
--- a/crates/radicle-crdt/src/lwwset.rs
+++ /dev/null
@@ -1,161 +0,0 @@
-use crate::clock;
-use crate::{lwwmap::LWWMap, Semilattice};
-
-/// Last-Write-Wins Set.
-///
-/// In case the same value is added and removed at the same time,
-/// the "add" takes precedence over the "remove".
-#[derive(Debug, Clone, PartialEq, Eq)]
-pub struct LWWSet<T, C = clock::Lamport> {
- inner: LWWMap<T, (), C>,
-}
-
-impl<T: Ord, C: Ord> LWWSet<T, C> {
- pub fn singleton(value: T, clock: C) -> Self {
- Self {
- inner: LWWMap::from_iter([(value, (), clock)]),
- }
- }
-
- pub fn insert(&mut self, value: T, clock: C) {
- self.inner.insert(value, (), clock);
- }
-
- pub fn remove(&mut self, value: T, clock: C) {
- self.inner.remove(value, clock);
- }
-
- pub fn contains(&self, value: &T) -> bool {
- self.inner.contains_key(value)
- }
-
- pub fn iter(&self) -> impl Iterator<Item = &T> {
- self.inner.iter().map(|(k, _)| k)
- }
-
- pub fn is_empty(&self) -> bool {
- self.inner.is_empty()
- }
-}
-
-impl<T, C> Default for LWWSet<T, C> {
- fn default() -> Self {
- Self {
- inner: LWWMap::default(),
- }
- }
-}
-
-impl<T: Ord, C: Ord> FromIterator<(T, C)> for LWWSet<T, C> {
- fn from_iter<I: IntoIterator<Item = (T, C)>>(iter: I) -> Self {
- let mut set = LWWSet::default();
- for (v, c) in iter.into_iter() {
- set.insert(v, c);
- }
- set
- }
-}
-
-impl<T: Ord, C: Ord> Extend<(T, C)> for LWWSet<T, C> {
- fn extend<I: IntoIterator<Item = (T, C)>>(&mut self, iter: I) {
- for (v, c) in iter.into_iter() {
- self.insert(v, c);
- }
- }
-}
-
-impl<T, C> Semilattice for LWWSet<T, C>
-where
- T: Ord,
- C: Ord + Default,
-{
- fn merge(&mut self, other: Self) {
- self.inner.merge(other.inner);
- }
-}
-
-#[cfg(test)]
-mod tests {
- use super::*;
- use qcheck_macros::quickcheck;
-
- #[quickcheck]
- fn prop_semilattice(
- a: Vec<(u8, u16)>,
- b: Vec<(u8, u16)>,
- c: Vec<(u8, u16)>,
- mix: Vec<(u8, u16)>,
- ) {
- let mut a = LWWSet::from_iter(a);
- let mut b = LWWSet::from_iter(b);
- let c = LWWSet::from_iter(c);
-
- a.extend(mix.clone());
- b.extend(mix);
-
- crate::test::assert_laws(&a, &b, &c);
- }
-
- #[test]
- fn test_insert() {
- let mut set = LWWSet::default();
-
- set.insert('a', 0);
- set.insert('b', 0);
- set.insert('c', 0);
-
- assert!(set.contains(&'a'));
- assert!(set.contains(&'b'));
- assert!(!set.contains(&'?'));
-
- let values = set.iter().cloned().collect::<Vec<_>>();
- assert!(values.contains(&'a'));
- assert!(values.contains(&'b'));
- assert!(values.contains(&'c'));
- assert_eq!(values.len(), 3);
- }
-
- #[test]
- fn test_insert_remove() {
- let mut set = LWWSet::default();
-
- set.insert('a', 1);
- assert!(set.contains(&'a'));
-
- set.remove('a', 0);
- assert!(set.contains(&'a'));
-
- set.remove('a', 1);
- assert!(set.contains(&'a')); // Add takes precedence over remove.
- assert!(set.iter().any(|c| *c == 'a'));
-
- set.remove('a', 2);
- assert!(!set.contains(&'a'));
- assert!(!set.iter().any(|c| *c == 'a'));
-
- set.insert('b', 3);
- set.remove('b', 3);
- assert!(set.contains(&'b')); // Insert precedence.
-
- set.remove('c', 3);
- set.insert('c', 3);
- assert!(set.contains(&'c')); // Insert precedence.
- }
-
- #[test]
- fn test_remove_insert() {
- let mut set = LWWSet::default();
-
- set.insert('a', 1);
- assert!(set.contains(&'a'));
-
- set.remove('a', 2);
- assert!(!set.contains(&'a'));
-
- set.insert('a', 1);
- assert!(!set.contains(&'a'));
-
- set.insert('a', 2);
- assert!(set.contains(&'a'));
- }
-}
diff --git a/crates/radicle-crdt/src/ord.rs b/crates/radicle-crdt/src/ord.rs
deleted file mode 100644
index 056445a2b..000000000
--- a/crates/radicle-crdt/src/ord.rs
+++ /dev/null
@@ -1,129 +0,0 @@
-use std::{cmp, ops};
-
-use num_traits::Bounded;
-use serde::{Deserialize, Serialize};
-
-use crate::Semilattice;
-
-#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
-#[serde(transparent)]
-pub struct Max<T>(T);
-
-impl<T> Max<T> {
- pub fn get(&self) -> &T {
- &self.0
- }
-
- pub fn into_inner(self) -> T {
- self.0
- }
-}
-
-impl<T: num_traits::SaturatingAdd + num_traits::One> Max<T> {
- pub fn incr(&mut self) {
- self.0 = self.0.saturating_add(&T::one());
- }
-}
-
-impl<T> Default for Max<T>
-where
- T: Bounded,
-{
- fn default() -> Self {
- Self(T::min_value())
- }
-}
-
-impl<T> ops::Deref for Max<T> {
- type Target = T;
-
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-
-impl<T> From<T> for Max<T> {
- fn from(t: T) -> Self {
- Self(t)
- }
-}
-
-impl<T: PartialOrd> Semilattice for Max<T> {
- fn merge(&mut self, other: Self) {
- if other.0 > self.0 {
- self.0 = other.0;
- }
- }
-}
-
-impl<T: Bounded> Bounded for Max<T> {
- fn min_value() -> Self {
- Self::from(T::min_value())
- }
-
- fn max_value() -> Self {
- Self::from(T::max_value())
- }
-}
-
-#[allow(clippy::derive_ord_xor_partial_ord)]
-#[derive(Clone, Copy, Debug, PartialEq, Eq, Ord, Serialize, Deserialize)]
-#[serde(transparent)]
-pub struct Min<T>(pub T);
-
-impl<T> Default for Min<T>
-where
- T: Bounded,
-{
- fn default() -> Self {
- Self(T::max_value())
- }
-}
-
-impl<T> ops::Deref for Min<T> {
- type Target = T;
-
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-
-impl<T> From<T> for Min<T> {
- fn from(t: T) -> Self {
- Self(t)
- }
-}
-
-impl<T> cmp::PartialOrd for Min<T>
-where
- T: PartialOrd,
-{
- fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
- other.0.partial_cmp(&self.0)
- }
-}
-
-impl<T: PartialOrd> Semilattice for Min<T> {
- fn merge(&mut self, other: Self) {
- if other.0 < self.0 {
- self.0 = other.0;
- }
- }
-}
-
-#[cfg(any(test, feature = "test"))]
-mod arbitrary {
- use super::*;
-
- impl<T: qcheck::Arbitrary> qcheck::Arbitrary for Max<T> {
- fn arbitrary(g: &mut qcheck::Gen) -> Self {
- Self::from(T::arbitrary(g))
- }
- }
-
- impl<T: qcheck::Arbitrary> qcheck::Arbitrary for Min<T> {
- fn arbitrary(g: &mut qcheck::Gen) -> Self {
- Self::from(T::arbitrary(g))
- }
- }
-}
diff --git a/crates/radicle-crdt/src/redactable.rs b/crates/radicle-crdt/src/redactable.rs
deleted file mode 100644
index 6061f49a6..000000000
--- a/crates/radicle-crdt/src/redactable.rs
+++ /dev/null
@@ -1,111 +0,0 @@
-use crate::Semilattice;
-
-/// An object that can be either present or removed.
-///
-/// The "redacted" state is the top-most element and takes precedence
-/// over other states.
-///
-/// There is no `Default` instance, since this is not a "bounded" semilattice.
-///
-/// Nb. The merge rules are such that if two redactables with different
-/// values present are merged; the result is redacted. This is the preserve
-/// the semilattice laws.
-#[derive(Debug, Clone, Copy, PartialEq, Eq)]
-pub enum Redactable<T> {
- /// When the object is present.
- Present(T),
- /// When the object has been removed.
- Redacted,
-}
-
-impl<T> Redactable<T> {
- pub fn get(&self) -> Option<&T> {
- match self {
- Self::Present(val) => Some(val),
- Self::Redacted => None,
- }
- }
-
- pub fn get_mut(&mut self) -> Option<&mut T> {
- match self {
- Self::Present(ref mut val) => Some(val),
- Self::Redacted => None,
- }
- }
-}
-
-impl<T> From<Option<T>> for Redactable<T> {
- fn from(option: Option<T>) -> Self {
- match option {
- Some(v) => Self::Present(v),
- None => Self::Redacted,
- }
- }
-}
-
-impl<T> From<Redactable<T>> for Option<T> {
- fn from(redactable: Redactable<T>) -> Self {
- match redactable {
- Redactable::Present(v) => Some(v),
- Redactable::Redacted => None,
- }
- }
-}
-
-impl<'a, T> From<&'a Redactable<T>> for Option<&'a T> {
- fn from(redactable: &'a Redactable<T>) -> Self {
- redactable.get()
- }
-}
-
-impl<T: PartialEq> Semilattice for Redactable<T> {
- fn merge(&mut self, other: Self) {
- match (&self, other) {
- (Self::Redacted, _) => {}
- (Self::Present(_), Self::Redacted) => {
- *self = Self::Redacted;
- }
- (Self::Present(a), Self::Present(b)) => {
- if a != &b {
- *self = Self::Redacted;
- }
- }
- }
- }
-}
-
-#[cfg(test)]
-mod test {
- use qcheck_macros::quickcheck;
-
- use super::*;
- use crate::test;
-
- #[quickcheck]
- fn prop_invariants(a: Option<u8>, b: Option<u8>, c: Option<u8>) {
- let a = Redactable::from(a);
- let b = Redactable::from(b);
- let c = Redactable::from(c);
-
- test::assert_laws(&a, &b, &c);
- }
-
- #[test]
- fn test_redacted() {
- let a = Redactable::Present(0);
- let b = Redactable::Redacted;
-
- assert_eq!(a.join(b), Redactable::Redacted);
- assert_eq!(b.join(a), Redactable::Redacted);
- assert_eq!(a.join(a), a);
- }
-
- #[test]
- fn test_both_present() {
- let a = Redactable::Present(0);
- let b = Redactable::Present(1);
-
- assert_eq!(a.join(b), Redactable::Redacted);
- assert_eq!(a.join(b), b.join(a));
- }
-}
diff --git a/crates/radicle-crdt/src/test.rs b/crates/radicle-crdt/src/test.rs
deleted file mode 100644
index e07d708bd..000000000
--- a/crates/radicle-crdt/src/test.rs
+++ /dev/null
@@ -1,111 +0,0 @@
-use std::fmt::Debug;
-use std::rc::Rc;
-
-use super::*;
-
-/// Generate test values following a weight distribution.
-pub struct WeightedGenerator<'a, T, C> {
- cases: Vec<Rc<dyn Fn(&mut C, fastrand::Rng) -> Option<T> + 'a>>,
- rng: fastrand::Rng,
- ctx: C,
-}
-
-impl<T, C> Iterator for WeightedGenerator<'_, T, C> {
- type Item = T;
-
- fn next(&mut self) -> Option<Self::Item> {
- let cases = self.cases.len();
-
- loop {
- let r = self.rng.usize(0..cases);
- let g = &self.cases[r];
-
- if let Some(val) = g(&mut self.ctx, self.rng.clone()) {
- return Some(val);
- }
- }
- }
-}
-
-impl<'a, T, C: Default> WeightedGenerator<'a, T, C> {
- /// Create a new distribution.
- pub fn new(rng: fastrand::Rng) -> Self {
- Self {
- cases: Vec::new(),
- rng,
- ctx: C::default(),
- }
- }
-
- /// Add a new variant with a given weight and generator function.
- pub fn variant(
- mut self,
- weight: usize,
- generator: impl Fn(&mut C, fastrand::Rng) -> Option<T> + 'a,
- ) -> Self {
- let gen = Rc::new(generator);
- for _ in 0..weight {
- self.cases.push(gen.clone());
- }
- self
- }
-}
-
-/// Assert semilattice ACI laws.
-pub fn assert_laws<S: Debug + Semilattice + PartialEq + Clone>(a: &S, b: &S, c: &S) {
- assert_associative(a, b, c);
- assert_commutative(a, b);
- assert_commutative(b, c);
- assert_idempotent(a);
- assert_idempotent(b);
- assert_idempotent(c);
-}
-
-pub fn assert_associative<S: Debug + Semilattice + PartialEq + Clone>(a: &S, b: &S, c: &S) {
- // (a ^ b) ^ c
- let s1 = a.clone().join(b.clone()).join(c.clone());
- // a ^ (b ^ c)
- let s2 = a.clone().join(b.clone().join(c.clone()));
- // (a ^ b) ^ c = a ^ (b ^ c)
- assert_eq!(s1, s2, "associativity");
-}
-
-pub fn assert_commutative<S: Debug + Semilattice + PartialEq + Clone>(a: &S, b: &S) {
- // a ^ b
- let s1 = a.clone().join(b.clone());
- // b ^ a
- let s2 = b.clone().join(a.clone());
- // a ^ b = b ^ a
- assert_eq!(s1, s2, "commutativity");
-}
-
-pub fn assert_idempotent<S: Debug + Semilattice + PartialEq + Clone>(a: &S) {
- // a ^ a
- let s1 = a.clone().join(a.clone());
- // a
- let s2 = a.clone();
- // a ^ a = a
- assert_eq!(s1, s2, "idempotence");
-}
-
-#[test]
-fn test_generator() {
- let rng = fastrand::Rng::with_seed(0);
- let dist = WeightedGenerator::<char, ()>::new(rng)
- .variant(1, |_, _| Some('a'))
- .variant(2, |_, _| Some('b'))
- .variant(4, |_, _| Some('c'))
- .variant(8, |_, _| Some('d'));
-
- let values = dist.take(1000).collect::<Vec<_>>();
-
- let a = values.iter().filter(|c| **c == 'a').count();
- let b = values.iter().filter(|c| **c == 'b').count();
- let c = values.iter().filter(|c| **c == 'c').count();
- let d = values.iter().filter(|c| **c == 'd').count();
-
- assert_eq!(a, 63);
- assert_eq!(b, 151);
- assert_eq!(c, 255);
- assert_eq!(d, 531);
-}
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 69b5d5ea-c416-417f-8647-5879a1f5a87e -v /opt/radcis/ci.rad.levitte.org/cci/state/69b5d5ea-c416-417f-8647-5879a1f5a87e/s:/69b5d5ea-c416-417f-8647-5879a1f5a87e/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/69b5d5ea-c416-417f-8647-5879a1f5a87e/w:/69b5d5ea-c416-417f-8647-5879a1f5a87e/w -w /69b5d5ea-c416-417f-8647-5879a1f5a87e/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /69b5d5ea-c416-417f-8647-5879a1f5a87e/s/script.sh
+ cargo --version
info: syncing channel updates for '1.85-x86_64-unknown-linux-gnu'
info: latest update on 2025-03-18, rust version 1.85.1 (4eb161250 2025-03-15)
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.85.1 (d73d2caf9 2024-12-31)
+ rustc --version
rustc 1.85.1 (4eb161250 2025-03-15)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- --deny warnings
Updating crates.io index
Downloading crates ...
Downloaded base16ct v0.2.0
Downloaded base64 v0.21.7
Downloaded popol v3.0.0
Downloaded base64 v0.13.1
Downloaded proc-macro2 v1.0.92
Downloaded pretty_assertions v1.4.0
Downloaded dyn-clone v1.0.17
Downloaded proc-macro-error-attr v1.0.4
Downloaded proc-macro-error v1.0.4
Downloaded rand_chacha v0.3.1
Downloaded primeorder v0.13.6
Downloaded poly1305 v0.8.0
Downloaded colored v2.1.0
Downloaded ref-cast-impl v1.0.24
Downloaded rfc6979 v0.4.0
Downloaded sha2 v0.10.8
Downloaded ryu v1.0.17
Downloaded pbkdf2 v0.12.2
Downloaded radicle-std-ext v0.1.0
Downloaded prodash v29.0.2
Downloaded write16 v1.0.0
Downloaded num-cmp v0.1.0
Downloaded qcheck-macros v1.0.0
Downloaded crc32fast v1.4.0
Downloaded gix-lock v15.0.1
Downloaded parking_lot_core v0.9.9
Downloaded xattr v1.3.1
Downloaded idna_adapter v1.2.0
Downloaded elliptic-curve v0.13.8
Downloaded zerofrom v0.1.6
Downloaded ssh-encoding v0.2.0
Downloaded percent-encoding v2.3.1
Downloaded pem-rfc7468 v0.7.0
Downloaded gix-trace v0.1.12
Downloaded bitflags v2.5.0
Downloaded gix-shallow v0.1.0
Downloaded unicode-display-width v0.3.0
Downloaded gix-sec v0.10.12
Downloaded noise-framework v0.4.0
Downloaded utf8_iter v1.0.4
Downloaded nonempty v0.9.0
Downloaded gix-prompt v0.9.1
Downloaded gix-url v0.28.2
Downloaded gix-utils v0.1.14
Downloaded pkcs8 v0.10.2
Downloaded utf8parse v0.2.1
Downloaded thiserror v1.0.69
Downloaded num-iter v0.1.45
Downloaded localtime v1.3.1
Downloaded lazy_static v1.5.0
Downloaded outref v0.5.2
Downloaded gix-path v0.10.15
Downloaded vsimd v0.8.0
Downloaded num-integer v0.1.46
Downloaded jobserver v0.1.31
Downloaded lock_api v0.4.11
Downloaded log v0.4.21
Downloaded io-reactor v0.5.2
Downloaded litemap v0.7.5
Downloaded num-complex v0.4.6
Downloaded gix-revision v0.31.1
Downloaded memmap2 v0.9.4
Downloaded uuid v1.16.0
Downloaded rsa v0.9.6
Downloaded num-rational v0.4.2
Downloaded unicode-segmentation v1.11.0
Downloaded tar v0.4.40
Downloaded jsonschema v0.30.0
Downloaded hashbrown v0.14.3
Downloaded unicode-normalization v0.1.23
Downloaded p384 v0.13.0
Downloaded icu_properties_data v1.5.1
Downloaded miniz_oxide v0.8.8
Downloaded vcpkg v0.2.15
Downloaded gix-pack v0.56.0
Downloaded memchr v2.7.2
Downloaded libm v0.2.8
Downloaded zerovec v0.10.4
Downloaded tree-sitter-python v0.23.4
Downloaded tree-sitter v0.24.4
Downloaded bstr v1.9.1
Downloaded syn v1.0.109
Downloaded tree-sitter-c v0.23.2
Downloaded tree-sitter-go v0.23.4
Downloaded regex-syntax v0.8.5
Downloaded tree-sitter-md v0.3.2
Downloaded syn v2.0.89
Downloaded rustix v0.38.34
Downloaded serde_json v1.0.140
Downloaded tree-sitter-rust v0.23.2
Downloaded ssh-key v0.6.6
Downloaded serde v1.0.219
Downloaded tree-sitter-bash v0.23.3
Downloaded radicle-surf v0.22.0
Downloaded bloomy v1.2.0
Downloaded schemars v1.0.0-alpha.17
Downloaded winnow v0.6.26
Downloaded tree-sitter-ruby v0.23.1
Downloaded gix-ref v0.49.1
Downloaded signals_receipts v0.2.0
Downloaded libc v0.2.155
Downloaded regex-automata v0.4.9
Downloaded regex v1.11.1
Downloaded zerocopy v0.7.35
Downloaded jiff v0.2.1
Downloaded socket2 v0.5.7
Downloaded rand v0.8.5
Downloaded chrono v0.4.38
Downloaded inquire v0.7.5
Downloaded zeroize v1.7.0
Downloaded idna v1.0.3
Downloaded p521 v0.13.3
Downloaded similar v2.5.0
Downloaded unicode-ident v1.0.12
Downloaded tree-sitter-typescript v0.23.2
Downloaded sha3 v0.10.8
Downloaded once_cell v1.21.3
Downloaded tree-sitter-css v0.23.1
Downloaded serde_derive v1.0.219
Downloaded p256 v0.13.2
Downloaded icu_collections v1.5.0
Downloaded snapbox v0.4.17
Downloaded gix-refspec v0.27.0
Downloaded thiserror-impl v2.0.12
Downloaded qcheck v1.0.0
Downloaded typenum v1.17.0
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded tempfile v3.10.1
Downloaded smallvec v1.13.2
Downloaded referencing v0.30.0
Downloaded gix-transport v0.44.0
Downloaded url v2.5.4
Downloaded indexmap v2.2.6
Downloaded spki v0.7.3
Downloaded num-bigint-dig v0.8.4
Downloaded lexopt v0.3.0
Downloaded gix-diff v0.49.0
Downloaded icu_normalizer v1.5.0
Downloaded shlex v1.3.0
Downloaded gix-protocol v0.47.0
Downloaded netservices v0.8.0
Downloaded keccak v0.1.5
Downloaded walkdir v2.5.0
Downloaded unicode-width v0.1.11
Downloaded icu_locid v1.5.0
Downloaded group v0.13.0
Downloaded linux-raw-sys v0.4.13
Downloaded gix-revwalk v0.17.0
Downloaded gix-traverse v0.43.1
Downloaded pkcs1 v0.7.5
Downloaded icu_locid_transform_data v1.5.1
Downloaded spin v0.9.8
Downloaded quote v1.0.36
Downloaded fraction v0.15.3
Downloaded multibase v0.9.1
Downloaded num-traits v0.2.19
Downloaded icu_provider v1.5.0
Downloaded tinyvec v1.6.0
Downloaded num-bigint v0.4.6
Downloaded schemars_derive v1.0.0-alpha.17
Downloaded version_check v0.9.4
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded uuid-simd v0.8.0
Downloaded maybe-async v0.2.10
Downloaded itoa v1.0.11
Downloaded gix-validate v0.9.4
Downloaded gix-quote v0.4.15
Downloaded gix-packetline v0.18.4
Downloaded zerovec-derive v0.10.3
Downloaded yoke v0.7.5
Downloaded yansi v0.5.1
Downloaded normalize-line-endings v0.3.0
Downloaded hmac v0.12.1
Downloaded tinystr v0.7.6
Downloaded termion v2.0.3
Downloaded streaming-iterator v0.1.9
Downloaded sem_safe v0.2.0
Downloaded universal-hash v0.5.1
Downloaded gix-tempfile v15.0.0
Downloaded pkg-config v0.3.30
Downloaded icu_locid_transform v1.5.0
Downloaded icu_properties v1.5.1
Downloaded gix-object v0.46.1
Downloaded tree-sitter-html v0.23.2
Downloaded thiserror-impl v1.0.69
Downloaded thiserror v2.0.12
Downloaded termion v3.0.0
Downloaded ssh-cipher v0.2.0
Downloaded sec1 v0.7.3
Downloaded rand_core v0.6.4
Downloaded der v0.7.9
Downloaded iana-time-zone v0.1.60
Downloaded zerofrom-derive v0.1.6
Downloaded utf16_iter v1.0.5
Downloaded numtoa v0.1.0
Downloaded phf v0.11.3
Downloaded opaque-debug v0.3.1
Downloaded newline-converter v0.3.0
Downloaded git2 v0.19.0
Downloaded gix-odb v0.66.0
Downloaded gix-features v0.39.1
Downloaded phf_shared v0.11.3
Downloaded crossbeam-channel v0.5.15
Downloaded arc-swap v1.7.1
Downloaded icu_normalizer_data v1.5.1
Downloaded parking_lot v0.12.3
Downloaded timeago v0.4.2
Downloaded synstructure v0.13.1
Downloaded snapbox-macros v0.3.8
Downloaded serde_derive_internals v0.29.1
Downloaded sqlite3-src v0.5.1
Downloaded home v0.5.9
Downloaded inout v0.1.3
Downloaded sqlite3-sys v0.15.2
Downloaded socks5-client v0.4.1
Downloaded tinyvec_macros v0.1.1
Downloaded crypto-bigint v0.5.5
Downloaded yoke-derive v0.7.5
Downloaded num v0.4.3
Downloaded gix-hash v0.15.1
Downloaded tree-sitter-json v0.24.8
Downloaded sqlite v0.32.0
Downloaded signature v1.6.4
Downloaded shell-words v1.1.0
Downloaded icu_provider_macros v1.5.0
Downloaded gix-negotiate v0.17.0
Downloaded gix-fs v0.12.1
Downloaded sha1_smol v1.0.0
Downloaded tree-sitter-highlight v0.24.4
Downloaded data-encoding v2.5.0
Downloaded ascii v1.1.0
Downloaded gix-hashtable v0.6.0
Downloaded writeable v0.5.5
Downloaded tree-sitter-language v0.1.2
Downloaded salsa20 v0.10.2
Downloaded ref-cast v1.0.24
Downloaded cyphernet v0.5.2
Downloaded blowfish v0.9.1
Downloaded gix-commitgraph v0.25.1
Downloaded email_address v0.2.9
Downloaded cipher v0.4.4
Downloaded siphasher v1.0.1
Downloaded digest v0.10.7
Downloaded anstream v0.6.13
Downloaded nonempty v0.5.0
Downloaded gix-credentials v0.26.0
Downloaded ff v0.13.0
Downloaded emojis v0.6.4
Downloaded either v1.11.0
Downloaded diff v0.1.13
Downloaded chacha20 v0.9.1
Downloaded bit-vec v0.8.0
Downloaded ec25519 v0.1.0
Downloaded anyhow v1.0.82
Downloaded gix-command v0.4.1
Downloaded form_urlencoded v1.2.1
Downloaded bytesize v2.0.1
Downloaded subtle v2.5.0
Downloaded stable_deref_trait v1.2.0
Downloaded siphasher v0.3.11
Downloaded signature v2.2.0
Downloaded scrypt v0.11.0
Downloaded same-file v1.0.6
Downloaded gix-config-value v0.14.12
Downloaded gix-chunk v0.4.11
Downloaded fxhash v0.2.1
Downloaded fluent-uri v0.3.2
Downloaded escargot v0.5.10
Downloaded const-oid v0.9.6
Downloaded bit-set v0.8.0
Downloaded radicle-git-ext v0.8.1
Downloaded filetime v0.2.23
Downloaded ed25519 v1.5.3
Downloaded data-encoding-macro-internal v0.1.12
Downloaded scopeguard v1.2.0
Downloaded git-ref-format v0.3.1
Downloaded faster-hex v0.9.0
Downloaded data-encoding-macro v0.1.14
Downloaded cbc v0.1.2
Downloaded bytecount v0.6.8
Downloaded borrow-or-share v0.2.2
Downloaded flate2 v1.1.1
Downloaded fancy-regex v0.14.0
Downloaded errno v0.3.9
Downloaded cyphergraphy v0.3.0
Downloaded block-buffer v0.10.4
Downloaded anstyle-query v1.0.2
Downloaded anstyle v1.0.6
Downloaded gix-actor v0.33.2
Downloaded generic-array v0.14.7
Downloaded equivalent v1.0.1
Downloaded libz-sys v1.1.16
Downloaded displaydoc v0.2.5
Downloaded cpufeatures v0.2.12
Downloaded colorchoice v1.0.0
Downloaded chacha20poly1305 v0.10.1
Downloaded cfg-if v1.0.0
Downloaded cc v1.2.2
Downloaded anstyle-parse v0.2.3
Downloaded amplify_syn v2.0.1
Downloaded gix-date v0.9.4
Downloaded getrandom v0.2.15
Downloaded ppv-lite86 v0.2.17
Downloaded polyval v0.6.2
Downloaded block-padding v0.3.3
Downloaded fastrand v2.1.0
Downloaded ctr v0.9.2
Downloaded ct-codecs v1.1.1
Downloaded crypto-common v0.1.6
Downloaded byteorder v1.5.0
Downloaded aho-corasick v1.1.3
Downloaded aes-gcm v0.10.3
Downloaded adler2 v2.0.0
Downloaded git-ref-format-macro v0.3.1
Downloaded git-ref-format-core v0.3.1
Downloaded ghash v0.5.1
Downloaded ecdsa v0.16.9
Downloaded cypheraddr v0.4.0
Downloaded crossbeam-utils v0.8.19
Downloaded bcrypt-pbkdf v0.10.0
Downloaded autocfg v1.2.0
Downloaded amplify v4.6.0
Downloaded ahash v0.8.11
Downloaded base64ct v1.6.0
Downloaded base64 v0.22.1
Downloaded base-x v0.2.11
Downloaded amplify_derive v4.0.0
Downloaded aes v0.8.4
Downloaded aead v0.5.2
Downloaded base32 v0.4.0
Downloaded amplify_num v0.5.2
Compiling libc v0.2.155
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
Checking memchr v2.7.2
Compiling quote v1.0.36
Compiling jobserver v0.1.31
Compiling syn v2.0.89
Compiling cc v1.2.2
Compiling serde v1.0.219
Checking getrandom v0.2.15
Checking aho-corasick v1.1.3
Compiling typenum v1.17.0
Checking regex-syntax v0.8.5
Compiling generic-array v0.14.7
Checking smallvec v1.13.2
Compiling autocfg v1.2.0
Checking rand_core v0.6.4
Checking log v0.4.21
Checking fastrand v2.1.0
Checking subtle v2.5.0
Checking regex-automata v0.4.9
Checking crypto-common v0.1.6
Checking stable_deref_trait v1.2.0
Checking bitflags v2.5.0
Compiling syn v1.0.109
Checking tinyvec_macros v0.1.1
Checking once_cell v1.21.3
Checking tinyvec v1.6.0
Checking zeroize v1.7.0
Compiling synstructure v0.13.1
Checking unicode-normalization v0.1.23
Checking cpufeatures v0.2.12
Compiling thiserror v2.0.12
Checking bstr v1.9.1
Checking litemap v0.7.5
Compiling icu_locid_transform_data v1.5.1
Compiling crc32fast v1.4.0
Checking writeable v0.5.5
Compiling serde_derive v1.0.219
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.7.5
Compiling zerovec-derive v0.10.3
Checking zerofrom v0.1.6
Checking yoke v0.7.5
Compiling displaydoc v0.2.5
Compiling thiserror-impl v2.0.12
Compiling icu_provider_macros v1.5.0
Checking zerovec v0.10.4
Checking block-padding v0.3.3
Compiling icu_properties_data v1.5.1
Checking inout v0.1.3
Checking tinystr v0.7.6
Checking block-buffer v0.10.4
Checking itoa v1.0.11
Compiling pkg-config v0.3.30
Checking icu_locid v1.5.0
Compiling icu_normalizer_data v1.5.1
Checking hashbrown v0.14.3
Checking icu_provider v1.5.0
Checking digest v0.10.7
Checking icu_collections v1.5.0
Checking icu_locid_transform v1.5.0
Checking cipher v0.4.4
Checking utf8_iter v1.0.4
Checking write16 v1.0.0
Compiling thiserror v1.0.69
Checking utf16_iter v1.0.5
Compiling thiserror-impl v1.0.69
Checking icu_properties v1.5.1
Compiling lock_api v0.4.11
Compiling rustix v0.38.34
Checking percent-encoding v2.3.1
Compiling parking_lot_core v0.9.9
Checking scopeguard v1.2.0
Checking linux-raw-sys v0.4.13
Checking sha2 v0.10.8
Checking icu_normalizer v1.5.0
Checking parking_lot v0.12.3
Checking form_urlencoded v1.2.1
Checking universal-hash v0.5.1
Compiling vcpkg v0.2.15
Checking idna_adapter v1.2.0
Checking opaque-debug v0.3.1
Checking idna v1.0.3
Compiling amplify_syn v2.0.1
Checking url v2.5.4
Compiling data-encoding v2.5.0
Checking gix-trace v0.1.12
Checking byteorder v1.5.0
Compiling libz-sys v1.1.16
Compiling amplify_derive v4.0.0
Checking tempfile v3.10.1
Compiling data-encoding-macro-internal v0.1.12
Checking amplify_num v0.5.2
Checking signature v1.6.4
Checking ascii v1.1.0
Checking data-encoding-macro v0.1.14
Checking ed25519 v1.5.3
Checking faster-hex v0.9.0
Compiling libgit2-sys v0.17.0+1.8.1
Checking aead v0.5.2
Compiling num-traits v0.2.19
Compiling proc-macro-error-attr v1.0.4
Checking base-x v0.2.11
Checking ct-codecs v1.1.1
Checking multibase v0.9.1
Checking ec25519 v0.1.0
Checking amplify v4.6.0
Checking poly1305 v0.8.0
Checking chacha20 v0.9.1
Checking gix-utils v0.1.14
Compiling proc-macro-error v1.0.4
Checking adler2 v2.0.0
Checking miniz_oxide v0.8.8
Checking cyphergraphy v0.3.0
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
Checking prodash v29.0.2
Checking hmac v0.12.1
Compiling sqlite3-src v0.5.1
Checking sha1_smol v1.0.0
Checking base64ct v1.6.0
Checking base32 v0.4.0
Checking equivalent v1.0.1
Checking ppv-lite86 v0.2.17
Compiling serde_json v1.0.140
Checking pem-rfc7468 v0.7.0
Checking rand_chacha v0.3.1
Checking indexmap v2.2.6
Checking cypheraddr v0.4.0
Checking gix-features v0.39.1
Compiling git-ref-format-macro v0.3.1
Checking pbkdf2 v0.12.2
Checking ghash v0.5.1
Checking chacha20poly1305 v0.10.1
Checking aes v0.8.4
Checking ctr v0.9.2
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 socks5-client v0.4.1
Checking rand v0.8.5
Checking ssh-encoding v0.2.0
Checking blowfish v0.9.1
Checking cbc v0.1.2
Compiling ref-cast v1.0.24
Checking radicle-std-ext v0.1.0
Checking home v0.5.9
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 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-ssh)
Checking lazy_static v1.5.0
Checking dyn-clone v1.0.17
Checking siphasher v1.0.1
Checking nonempty v0.9.0
Compiling serde_derive_internals v0.29.1
Checking radicle-dag v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-dag)
Checking tree-sitter-language v0.1.2
Checking iana-time-zone v0.1.60
Checking jiff v0.2.1
Compiling schemars_derive v1.0.0-alpha.17
Checking schemars v1.0.0-alpha.17
Checking chrono v0.4.38
Checking gix-date v0.9.4
Checking colored v2.1.0
Checking localtime v1.3.1
Checking bytesize v2.0.1
Checking winnow v0.6.26
Checking base64 v0.21.7
Compiling anyhow v1.0.82
Checking gix-hashtable v0.6.0
Checking gix-validate v0.9.4
Checking anstyle-query v1.0.2
Checking memmap2 v0.9.4
Checking gix-chunk v0.4.11
Checking sem_safe v0.2.0
Checking errno v0.3.9
Checking gix-actor v0.33.2
Checking signals_receipts v0.2.0
Checking gix-object v0.46.1
Checking gix-commitgraph v0.25.1
Checking gix-fs v0.12.1
Checking gix-revwalk v0.17.0
Checking gix-tempfile v15.0.0
Checking radicle-signals v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-signals)
Compiling tree-sitter v0.24.4
Checking regex v1.11.1
Checking shell-words v1.1.0
Checking numtoa v0.1.0
Checking unicode-segmentation v1.11.0
Compiling xattr v1.3.1
Checking gix-command v0.4.1
Compiling filetime v0.2.23
Checking lexopt v0.3.0
Checking utf8parse v0.2.1
Checking anstyle-parse v0.2.3
Compiling tar v0.4.40
Checking newline-converter v0.3.0
Checking termion v2.0.3
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 fxhash v0.2.1
Checking gix-sec v0.10.12
Checking unicode-width v0.1.11
Checking streaming-iterator v0.1.9
Checking colorchoice v1.0.0
Checking anstyle v1.0.6
Checking anstream v0.6.13
Checking inquire v0.7.5
Compiling radicle-surf v0.22.0
Checking gix-prompt v0.9.1
Checking unicode-display-width v0.3.0
Checking termion v3.0.0
Checking gix-traverse v0.43.1
Checking gix-revision v0.31.1
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-go v0.23.4
Checking sqlite3-sys v0.15.2
Checking sqlite v0.32.0
Checking gix-transport v0.44.0
Checking gix-refspec v0.27.0
Checking gix-pack v0.56.0
Checking gix-credentials v0.26.0
Checking snapbox-macros v0.3.8
Checking gix-shallow v0.1.0
Checking gix-ref v0.49.1
Checking gix-negotiate v0.17.0
Compiling maybe-async v0.2.10
Checking nonempty v0.5.0
Checking normalize-line-endings v0.3.0
Checking arc-swap v1.7.1
Checking base64 v0.13.1
Compiling radicle-cli v0.13.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli)
Checking similar v2.5.0
Checking gix-odb v0.66.0
Checking snapbox v0.4.17
Checking gix-protocol v0.47.0
Checking tree-sitter-highlight v0.24.4
Checking popol v3.0.0
Checking either v1.11.0
Checking timeago v0.4.2
Checking io-reactor v0.5.2
Checking salsa20 v0.10.2
Checking socket2 v0.5.7
Checking diff v0.1.13
Compiling radicle-node v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-node)
Checking yansi v0.5.1
Checking siphasher v0.3.11
Checking netservices v0.8.0
Checking pretty_assertions v1.4.0
Checking bloomy v1.2.0
Checking scrypt v0.11.0
Checking num-integer v0.1.46
Checking radicle-systemd v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-systemd)
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.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-remote-helper)
Checking num-iter v0.1.45
Checking num-complex v0.4.6
Checking num-rational v0.4.2
Checking bit-vec v0.8.0
Checking zerocopy v0.7.35
Checking borrow-or-share v0.2.2
Checking fluent-uri v0.3.2
Checking bit-set v0.8.0
Checking num v0.4.3
Checking phf_shared v0.11.3
Checking uuid v1.16.0
Checking outref v0.5.2
Checking vsimd v0.8.0
Checking referencing v0.30.0
Checking phf v0.11.3
Checking fraction v0.15.3
Checking uuid-simd v0.8.0
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.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-term)
Checking radicle-crypto v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-crypto)
Checking radicle-cob v0.14.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cob)
Checking radicle v0.15.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle)
Checking radicle-fetch v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-fetch)
Checking radicle-cli-test v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli-test)
Checking radicle-schemars v0.1.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-schemars)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.55s
+ cargo build --all-targets --workspace
Compiling cfg-if v1.0.0
Compiling libc v0.2.155
Compiling shlex v1.3.0
Compiling memchr v2.7.2
Compiling serde v1.0.219
Compiling regex-syntax v0.8.5
Compiling jobserver v0.1.31
Compiling cc v1.2.2
Compiling getrandom v0.2.15
Compiling aho-corasick v1.1.3
Compiling regex-automata v0.4.9
Compiling smallvec v1.13.2
Compiling typenum v1.17.0
Compiling rand_core v0.6.4
Compiling log v0.4.21
Compiling generic-array v0.14.7
Compiling fastrand v2.1.0
Compiling bitflags v2.5.0
Compiling zerofrom v0.1.6
Compiling subtle v2.5.0
Compiling stable_deref_trait v1.2.0
Compiling crypto-common v0.1.6
Compiling yoke v0.7.5
Compiling once_cell v1.21.3
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.6.0
Compiling zeroize v1.7.0
Compiling zerovec v0.10.4
Compiling cpufeatures v0.2.12
Compiling writeable v0.5.5
Compiling litemap v0.7.5
Compiling unicode-normalization v0.1.23
Compiling block-padding v0.3.3
Compiling tinystr v0.7.6
Compiling icu_locid v1.5.0
Compiling thiserror v2.0.12
Compiling inout v0.1.3
Compiling icu_locid_transform_data v1.5.1
Compiling block-buffer v0.10.4
Compiling itoa v1.0.11
Compiling hashbrown v0.14.3
Compiling adler2 v2.0.0
Compiling bstr v1.9.1
Compiling icu_provider v1.5.0
Compiling icu_locid_transform v1.5.0
Compiling miniz_oxide v0.8.8
Compiling digest v0.10.7
Compiling cipher v0.4.4
Compiling icu_properties_data v1.5.1
Compiling crc32fast v1.4.0
Compiling icu_collections v1.5.0
Compiling icu_normalizer_data v1.5.1
Compiling utf16_iter v1.0.5
Compiling icu_properties v1.5.1
Compiling utf8_iter v1.0.4
Compiling write16 v1.0.0
Compiling percent-encoding v2.3.1
Compiling linux-raw-sys v0.4.13
Compiling scopeguard v1.2.0
Compiling rustix v0.38.34
Compiling lock_api v0.4.11
Compiling thiserror v1.0.69
Compiling parking_lot_core v0.9.9
Compiling sha2 v0.10.8
Compiling parking_lot v0.12.3
Compiling icu_normalizer v1.5.0
Compiling form_urlencoded v1.2.1
Compiling universal-hash v0.5.1
Compiling opaque-debug v0.3.1
Compiling libz-sys v1.1.16
Compiling idna_adapter v1.2.0
Compiling idna v1.0.3
Compiling gix-trace v0.1.12
Compiling url v2.5.4
Compiling byteorder v1.5.0
Compiling tempfile v3.10.1
Compiling amplify_num v0.5.2
Compiling data-encoding v2.5.0
Compiling signature v1.6.4
Compiling ascii v1.1.0
Compiling ed25519 v1.5.3
Compiling data-encoding-macro v0.1.14
Compiling libgit2-sys v0.17.0+1.8.1
Compiling aead v0.5.2
Compiling faster-hex v0.9.0
Compiling base-x v0.2.11
Compiling ct-codecs v1.1.1
Compiling ec25519 v0.1.0
Compiling multibase v0.9.1
Compiling amplify v4.6.0
Compiling poly1305 v0.8.0
Compiling chacha20 v0.9.1
Compiling gix-utils v0.1.14
Compiling cyphergraphy v0.3.0
Compiling num-traits v0.2.19
Compiling gix-hash v0.15.1
Compiling keccak v0.1.5
Compiling same-file v1.0.6
Compiling walkdir v2.5.0
Compiling sha3 v0.10.8
Compiling polyval v0.6.2
Compiling prodash v29.0.2
Compiling git-ref-format-core v0.3.1
Compiling flate2 v1.1.1
Compiling hmac v0.12.1
Compiling sqlite3-src v0.5.1
Compiling equivalent v1.0.1
Compiling base64ct v1.6.0
Compiling sha1_smol v1.0.0
Compiling base32 v0.4.0
Compiling ppv-lite86 v0.2.17
Compiling pem-rfc7468 v0.7.0
Compiling cypheraddr v0.4.0
Compiling rand_chacha v0.3.1
Compiling gix-features v0.39.1
Compiling indexmap v2.2.6
Compiling pbkdf2 v0.12.2
Compiling git-ref-format-macro v0.3.1
Compiling ghash v0.5.1
Compiling crossbeam-utils v0.8.19
Compiling chacha20poly1305 v0.10.1
Compiling ctr v0.9.2
Compiling aes v0.8.4
Compiling ryu v1.0.17
Compiling serde_json v1.0.140
Compiling aes-gcm v0.10.3
Compiling git-ref-format v0.3.1
Compiling crossbeam-channel v0.5.15
Compiling noise-framework v0.4.0
Compiling rand v0.8.5
Compiling socks5-client v0.4.1
Compiling ssh-encoding v0.2.0
Compiling blowfish v0.9.1
Compiling cbc v0.1.2
Compiling home v0.5.9
Compiling radicle-std-ext v0.1.0
Compiling gix-path v0.10.15
Compiling ssh-cipher v0.2.0
Compiling bcrypt-pbkdf v0.10.0
Compiling cyphernet v0.5.2
Compiling signature v2.2.0
Compiling ssh-key v0.6.6
Compiling ref-cast v1.0.24
Compiling qcheck v1.0.0
Compiling radicle-ssh v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-ssh)
Compiling dyn-clone v1.0.17
Compiling lazy_static v1.5.0
Compiling siphasher v1.0.1
Compiling radicle-dag v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-dag)
Compiling nonempty v0.9.0
Compiling tree-sitter-language v0.1.2
Compiling iana-time-zone v0.1.60
Compiling jiff v0.2.1
Compiling chrono v0.4.38
Compiling schemars v1.0.0-alpha.17
Compiling gix-date v0.9.4
Compiling colored v2.1.0
Compiling localtime v1.3.1
Compiling bytesize v2.0.1
Compiling winnow v0.6.26
Compiling base64 v0.21.7
Compiling gix-actor v0.33.2
Compiling gix-hashtable v0.6.0
Compiling gix-validate v0.9.4
Compiling anstyle-query v1.0.2
Compiling memmap2 v0.9.4
Compiling gix-object v0.46.1
Compiling anyhow v1.0.82
Compiling gix-chunk v0.4.11
Compiling sem_safe v0.2.0
Compiling errno v0.3.9
Compiling signals_receipts v0.2.0
Compiling gix-commitgraph v0.25.1
Compiling gix-revwalk v0.17.0
Compiling gix-fs v0.12.1
Compiling gix-tempfile v15.0.0
Compiling radicle-signals v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-signals)
Compiling tree-sitter v0.24.4
Compiling regex v1.11.1
Compiling numtoa v0.1.0
Compiling unicode-segmentation v1.11.0
Compiling shell-words v1.1.0
Compiling gix-command v0.4.1
Compiling xattr v1.3.1
Compiling filetime v0.2.23
Compiling lexopt v0.3.0
Compiling utf8parse v0.2.1
Compiling anstyle-parse v0.2.3
Compiling tar v0.4.40
Compiling newline-converter v0.3.0
Compiling termion v2.0.3
Compiling gix-lock v15.0.1
Compiling gix-config-value v0.14.12
Compiling gix-url v0.28.2
Compiling gix-quote v0.4.15
Compiling fxhash v0.2.1
Compiling gix-sec v0.10.12
Compiling unicode-width v0.1.11
Compiling anstyle v1.0.6
Compiling colorchoice v1.0.0
Compiling streaming-iterator v0.1.9
Compiling anstream v0.6.13
Compiling radicle-surf v0.22.0
Compiling inquire v0.7.5
Compiling sqlite3-sys v0.15.2
Compiling sqlite v0.32.0
Compiling gix-prompt v0.9.1
Compiling unicode-display-width v0.3.0
Compiling termion v3.0.0
Compiling gix-traverse v0.43.1
Compiling gix-revision v0.31.1
Compiling gix-diff v0.49.0
Compiling gix-packetline v0.18.4
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-rust v0.23.2
Compiling gix-transport v0.44.0
Compiling gix-refspec v0.27.0
Compiling gix-pack v0.56.0
Compiling gix-credentials v0.26.0
Compiling snapbox-macros v0.3.8
Compiling gix-ref v0.49.1
Compiling gix-shallow v0.1.0
Compiling gix-negotiate v0.17.0
Compiling nonempty v0.5.0
Compiling normalize-line-endings v0.3.0
Compiling similar v2.5.0
Compiling radicle-cli v0.13.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli)
Compiling base64 v0.13.1
Compiling arc-swap v1.7.1
Compiling gix-protocol v0.47.0
Compiling snapbox v0.4.17
Compiling gix-odb v0.66.0
Compiling tree-sitter-highlight v0.24.4
Compiling popol v3.0.0
Compiling either v1.11.0
Compiling timeago v0.4.2
Compiling io-reactor v0.5.2
Compiling salsa20 v0.10.2
Compiling socket2 v0.5.7
Compiling siphasher v0.3.11
Compiling diff v0.1.13
Compiling radicle-node v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-node)
Compiling yansi v0.5.1
Compiling pretty_assertions v1.4.0
Compiling netservices v0.8.0
Compiling bloomy v1.2.0
Compiling scrypt v0.11.0
Compiling num-integer v0.1.46
Compiling radicle-systemd v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-systemd)
Compiling escargot v0.5.10
Compiling num-bigint v0.4.6
Compiling radicle-remote-helper v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-remote-helper)
Compiling num-iter v0.1.45
Compiling num-complex v0.4.6
Compiling num-rational v0.4.2
Compiling bit-vec v0.8.0
Compiling borrow-or-share v0.2.2
Compiling zerocopy v0.7.35
Compiling fluent-uri v0.3.2
Compiling ahash v0.8.11
Compiling num v0.4.3
Compiling bit-set v0.8.0
Compiling phf_shared v0.11.3
Compiling vsimd v0.8.0
Compiling uuid v1.16.0
Compiling outref v0.5.2
Compiling phf v0.11.3
Compiling uuid-simd v0.8.0
Compiling referencing v0.30.0
Compiling fancy-regex v0.14.0
Compiling fraction v0.15.3
Compiling email_address v0.2.9
Compiling base64 v0.22.1
Compiling bytecount v0.6.8
Compiling num-cmp v0.1.0
Compiling emojis v0.6.4
Compiling jsonschema v0.30.0
Compiling git2 v0.19.0
Compiling radicle-git-ext v0.8.1
Compiling radicle-term v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-term)
Compiling radicle-crypto v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-crypto)
Compiling radicle-cob v0.14.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cob)
Compiling radicle v0.15.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle)
Compiling radicle-fetch v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-fetch)
Compiling radicle-cli-test v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli-test)
Compiling radicle-schemars v0.1.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-schemars)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
+ cargo doc --workspace --no-deps
Checking regex-automata v0.4.9
Compiling syn v1.0.109
Checking idna v1.0.3
Checking radicle-ssh v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-ssh)
Compiling num-traits v0.2.19
Checking url v2.5.4
Checking git2 v0.19.0
Checking radicle-dag v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-dag)
Checking chrono v0.4.38
Checking bstr v1.9.1
Compiling amplify_syn v2.0.1
Compiling proc-macro-error v1.0.4
Checking git-ref-format-core v0.3.1
Compiling data-encoding-macro-internal v0.1.12
Compiling git-ref-format-macro v0.3.1
Checking gix-path v0.10.15
Compiling amplify_derive v4.0.0
Checking gix-date v0.9.4
Checking gix-actor v0.33.2
Checking gix-validate v0.9.4
Checking gix-object v0.46.1
Checking data-encoding-macro v0.1.14
Checking multibase v0.9.1
Checking gix-commitgraph v0.25.1
Checking git-ref-format v0.3.1
Checking radicle-git-ext v0.8.1
Checking radicle-signals v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-signals)
Checking regex v1.11.1
Checking gix-command v0.4.1
Checking radicle-surf v0.22.0
Checking gix-revwalk v0.17.0
Checking tree-sitter v0.24.4
Compiling radicle-cli v0.13.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli)
Checking radicle-term v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-term)
Checking tree-sitter-toml-ng v0.6.0
Checking tree-sitter-highlight v0.24.4
Checking gix-config-value v0.14.12
Checking gix-url v0.28.2
Checking gix-quote v0.4.15
Checking gix-revision v0.31.1
Checking gix-prompt v0.9.1
Checking gix-traverse v0.43.1
Checking amplify v4.6.0
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Checking cyphergraphy v0.3.0
Checking gix-transport v0.44.0
Checking gix-refspec v0.27.0
Checking gix-pack v0.56.0
Checking gix-credentials v0.26.0
Checking cypheraddr v0.4.0
Checking noise-framework v0.4.0
Checking gix-ref v0.49.1
Checking socks5-client v0.4.1
Checking gix-shallow v0.1.0
Checking cyphernet v0.5.2
Checking radicle-crypto v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-crypto)
Checking gix-negotiate v0.17.0
Checking io-reactor v0.5.2
Checking gix-odb v0.66.0
Checking gix-protocol v0.47.0
Checking radicle-cob v0.14.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cob)
Compiling radicle-node v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-node)
Checking netservices v0.8.0
Checking radicle-systemd v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-systemd)
Documenting radicle-cob v0.14.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cob)
Documenting radicle-crypto v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-crypto)
Checking radicle v0.15.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle)
Documenting radicle v0.15.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle)
Documenting radicle-term v0.12.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-term)
Documenting radicle-signals v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-signals)
Documenting radicle-ssh v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-ssh)
Documenting radicle-dag v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-dag)
Documenting radicle-systemd v0.9.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-systemd)
Checking radicle-fetch v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-fetch)
Documenting radicle-cli v0.13.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli)
Documenting radicle-fetch v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-fetch)
Documenting radicle-node v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-node)
Documenting radicle-cli-test v0.11.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-cli-test)
Documenting radicle-schemars v0.1.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-schemars)
Documenting radicle-remote-helper v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-remote-helper)
Checking radicle-remote-helper v0.10.0 (/69b5d5ea-c416-417f-8647-5879a1f5a87e/w/crates/radicle-remote-helper)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.60s
Generated /69b5d5ea-c416-417f-8647-5879a1f5a87e/w/target/doc/radicle/index.html and 15 other files
+ cargo test --workspace --no-fail-fast
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
Running unittests src/lib.rs (target/debug/deps/radicle-b4bf1c275801b632)
running 188 tests
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
test cob::cache::migrations::_2::tests::test_patch_json_deserialization ... ok
test cob::common::test::test_color ... ok
test cob::common::test::test_emojis ... ok
test cob::cache::tests::test_migrate_to ... ok
test cob::cache::tests::test_check_version ... ok
test cob::cache::migrations::_2::tests::test_migration_2 ... ok
test cob::identity::test::prop_json_eq_str ... ok
test cob::identity::test::test_identity_redact_revision ... ok
test cob::identity::test::test_identity_update_rejected ... ok
test cob::identity::test::test_identity_updates ... ok
test cob::identity::test::test_identity_reject_concurrent ... ok
test cob::identity::test::test_identity_remove_delegate_concurrent ... ok
test cob::issue::cache::tests::test_counts ... ok
test cob::issue::cache::tests::test_get ... ok
test cob::issue::cache::tests::test_is_empty ... ok
test cob::issue::cache::tests::test_list ... ok
test cob::issue::cache::tests::test_list_by_status ... ok
test cob::issue::cache::tests::test_remove ... ok
test cob::identity::test::test_valid_identity ... ok
test cob::issue::test::test_embeds ... ok
test cob::identity::test::test_identity_updates_concurrent ... ok
test cob::issue::test::test_embeds_edit ... ok
test cob::issue::test::test_invalid_actions ... ok
test cob::identity::test::test_identity_updates_concurrent_outdated ... ok
test cob::issue::test::test_concurrency ... ok
test cob::issue::test::test_invalid_cob ... ok
test cob::issue::test::test_invalid_tx ... ok
test cob::issue::test::test_invalid_tx_reference ... ok
test cob::issue::test::test_issue_all ... ok
test cob::issue::test::test_issue_comment ... ok
test cob::issue::test::test_issue_comment_redact ... ok
test cob::issue::test::test_issue_create_and_assign ... ok
test cob::issue::test::test_issue_create_and_change_state ... ok
test cob::issue::test::test_issue_create_and_get ... ok
test cob::issue::test::test_issue_create_and_unassign ... ok
test cob::issue::test::test_issue_edit_description ... ok
test cob::issue::test::test_issue_edit ... ok
test cob::issue::test::test_issue_create_and_reassign ... ok
test cob::issue::test::test_issue_multilines ... ok
test cob::issue::test::test_issue_state_serde ... ok
test cob::issue::test::test_ordering ... ok
test cob::issue::test::test_issue_label ... ok
test cob::issue::test::test_issue_react ... ok
test cob::patch::cache::tests::test_counts ... ok
test cob::patch::cache::tests::test_is_empty ... ok
test cob::issue::test::test_issue_reply ... ok
test cob::patch::cache::tests::test_list_by_status ... ok
test cob::patch::cache::tests::test_remove ... ok
test cob::patch::test::test_json ... ok
test cob::patch::test::test_json_serialization ... ok
test cob::patch::cache::tests::test_get ... ok
test cob::patch::test::test_patch_create_and_get ... ok
test cob::patch::cache::tests::test_list ... ok
test cob::patch::test::test_patch_discussion ... ok
test cob::patch::test::test_patch_merge ... ok
test cob::patch::test::test_patch_redact ... ok
test cob::patch::test::test_patch_review_duplicate ... ok
test cob::patch::test::test_patch_review_comment ... ok
test cob::patch::test::test_patch_review ... ok
test cob::patch::test::test_patch_review_edit ... ok
test cob::patch::test::test_patch_review_remove_summary ... ok
test cob::patch::test::test_patch_review_edit_comment ... ok
test cob::patch::test::test_reactions_json_serialization ... ok
test cob::patch::test::test_revision_edit_redact ... ok
test cob::patch::test::test_revision_reaction ... ok
test cob::patch::test::test_revision_review_merge_redacted ... ok
test cob::patch::test::test_patch_review_revision_redact ... ok
test cob::thread::tests::test_comment_edit_missing ... ok
test cob::thread::tests::test_comment_edit_redacted ... ok
test cob::thread::tests::test_comment_redact_missing ... ok
test cob::thread::tests::test_duplicate_comments ... ok
test cob::thread::tests::test_edit_comment ... ok
test cob::thread::tests::test_redact_comment ... ok
test cob::thread::tests::test_timeline ... ok
test cob::patch::test::test_patch_update ... ok
test git::canonical::tests::test_quorum_merges ... ok
test git::canonical::tests::test_quorum ... ok
test git::test::test_version_from_str ... ok
test git::test::test_version_ord ... ok
test identity::did::test::test_did_encode_decode ... ok
test identity::did::test::test_did_vectors ... ok
test identity::doc::id::test::prop_from_str ... ok
test git::canonical::tests::test_quorum_properties ... ok
test identity::doc::test::test_canonical_doc ... ok
test identity::doc::test::test_canonical_example ... ok
test identity::doc::test::test_duplicate_dids ... ok
test identity::doc::test::test_future_version_error ... ok
test identity::doc::test::test_is_valid_version ... ok
test cob::thread::tests::prop_ordering ... ok
test identity::doc::test::test_not_found ... ok
test identity::doc::test::test_parse_version ... ok
test identity::doc::test::test_visibility_json ... ok
test identity::project::test::test_project_name ... ok
test node::address::store::test::test_alias ... ok
test node::address::store::test::test_disconnected ... ok
test node::address::store::test::test_disconnected_ban ... ok
test node::address::store::test::test_empty ... ok
test node::address::store::test::test_entries ... ok
test node::address::store::test::test_get_none ... ok
test node::address::store::test::test_insert_and_get ... ok
test node::address::store::test::test_insert_and_remove ... ok
test node::address::store::test::test_insert_and_update ... ok
test node::address::store::test::test_insert_duplicate ... ok
test node::address::store::test::test_node_aliases ... ok
test node::address::store::test::test_remove_nothing ... ok
test identity::doc::test::test_max_delegates ... ok
test node::features::test::test_operations ... ok
test node::db::test::test_version ... ok
test node::notifications::store::test::test_clear ... ok
test node::notifications::store::test::test_cob_notifications ... ok
test node::notifications::store::test::test_counts_by_repo ... ok
test node::notifications::store::test::test_duplicate_notifications ... ok
test node::notifications::store::test::test_notification_status ... ok
test node::policy::store::test::test_follow_and_unfollow_node ... ok
test node::policy::store::test::test_node_aliases ... ok
test node::notifications::store::test::test_branch_notifications ... ok
test node::policy::store::test::test_node_policies ... ok
test node::policy::store::test::test_node_policy ... ok
test node::policy::store::test::test_repo_policies ... ok
test node::policy::store::test::test_repo_policy ... ok
test node::policy::store::test::test_seed_and_unseed_repo ... ok
test node::policy::store::test::test_update_alias ... ok
test node::policy::store::test::test_update_scope ... ok
test node::refs::store::test::test_count ... ok
test node::refs::store::test::test_set_and_delete ... ok
test node::refs::store::test::test_set_and_get ... ok
test node::routing::test::test_count ... ok
test node::routing::test::test_entries ... ok
test node::routing::test::test_insert_and_get ... ok
test node::routing::test::test_insert_and_remove ... ok
test node::routing::test::test_insert_and_get_resources ... ok
test node::routing::test::test_insert_duplicate ... ok
test node::routing::test::test_insert_existing_updated_time ... ok
test node::routing::test::test_len ... ok
test node::routing::test::test_remove_many ... ok
test node::routing::test::test_remove_redundant ... ok
test node::routing::test::test_update_existing_multi ... ok
test node::sync::announce::test::announcer_must_reach_preferred_seeds ... ok
test node::routing::test::test_prune ... ok
test node::sync::announce::test::announcer_reached_max_replication_target ... ok
test node::sync::announce::test::announcer_timed_out ... ok
test node::sync::announce::test::announcer_reached_min_replication_target ... ok
test node::sync::announce::test::cannot_construct_announcer ... ok
test node::sync::announce::test::announcer_will_minimise_replication_factor ... ok
test node::sync::fetch::test::all_nodes_are_candidates ... ok
test node::sync::fetch::test::all_nodes_are_fetchable ... ok
test node::sync::fetch::test::could_not_reach_target ... ok
test node::sync::fetch::test::ignores_duplicates_and_local_node ... ok
test node::sync::fetch::test::preferred_seeds_target_returned_over_replicas ... ok
test node::sync::fetch::test::reaches_target_of_max_replicas ... ok
test node::sync::fetch::test::reaches_target_of_preferred_seeds ... ok
test node::sync::fetch::test::reaches_target_of_replicas ... ok
test node::sync::test::ensure_replicas_construction ... ok
test node::sync::test::replicas_constrain_to ... ok
test node::test::test_alias ... ok
test node::test::test_command_result ... ok
test node::test::test_user_agent ... ok
test node::timestamp::tests::test_timestamp_max ... ok
test profile::test::canonicalize_home ... ok
test profile::test::test_config ... ok
test cob::patch::cache::tests::test_find_by_revision ... ok
test rad::tests::test_checkout ... ok
test rad::tests::test_fork ... ok
test serde_ext::test::test_localtime ... ok
test serde_ext::test::test_localtime_ext ... ok
test rad::tests::test_init ... ok
test storage::git::tests::test_references_of ... ok
test profile::config::test::schema ... ok
test storage::git::transport::local::url::test::test_url_parse ... ok
test storage::git::transport::local::url::test::test_url_to_string ... ok
test storage::git::transport::remote::url::test::test_url_parse ... ok
test storage::refs::tests::prop_canonical_roundtrip ... ok
test storage::git::tests::test_sign_refs ... ok
test storage::tests::test_storage ... ok
test test::assert::test::assert_with_message ... ok
test test::assert::test::test_assert_no_move ... ok
test test::assert::test::test_assert_panic_0 - should panic ... ok
test test::assert::test::test_assert_panic_1 - should panic ... ok
test test::assert::test::test_assert_panic_2 - should panic ... ok
test test::assert::test::test_assert_succeed ... ok
test test::assert::test::test_panic_message ... ok
test version::test::test_version ... ok
test storage::git::tests::test_remote_refs ... ok
test storage::refs::tests::test_rid_verification ... ok
test identity::doc::test::prop_encode_decode ... ok
test result: ok. 188 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.28s
Running unittests src/lib.rs (target/debug/deps/radicle_cli-c4082d6a1fa8a293)
running 14 tests
test commands::rad_patch::review::builder::tests::test_review_comments_before ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_basic ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_multiline ... ok
test commands::rad_inspect::test::test_tree ... ok
test commands::rad_patch::review::builder::tests::test_review_comments_split_hunk ... ok
test git::ddiff::tests::diff_encode_decode_ddiff_hunk ... ok
test git::pretty_diff::test::test_pretty ... ignored
test git::unified_diff::test::test_diff_content_encode_decode_content ... ok
test git::unified_diff::test::test_diff_encode_decode_diff ... ok
test terminal::format::test::test_bytes ... ok
test terminal::format::test::test_strip_comments ... ok
test terminal::patch::test::test_edit_display_message ... ok
test terminal::patch::test::test_create_display_message ... ok
test terminal::patch::test::test_update_display_message ... ok
test result: ok. 13 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running unittests src/main.rs (target/debug/deps/rad-ada175d36f8264d9)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/commands.rs (target/debug/deps/commands-1e8a24d540410ee4)
running 95 tests
test framework_home ... ok
test git_push_amend ... ok
test git_push_and_fetch ... ok
test git_push_diverge ... ok
test rad_auth ... ok
test rad_auth_errors ... ok
test rad_block ... ok
test rad_checkout ... ok
test git_tag ... ok
test git_push_rollback ... ok
test git_push_converge ... ok
test rad_clone ... ok
test rad_clone_connect ... ok
test rad_clean ... ok
test rad_clone_unknown ... ok
test rad_cob_log ... ok
test rad_clone_directory ... ok
test rad_cob_multiset ... ok
test rad_clone_all ... ok
test rad_cob_show ... ok
test rad_cob_migrate ... ok
test rad_clone_partial_fail ... ok
test rad_cob_update ... ok
test rad_config ... ok
test rad_cob_update_identity ... ok
test rad_diff ... ok
test rad_id_collaboration ... ignored, slow
test rad_id ... ok
test rad_id_conflict ... ok
test rad_id_private ... ok
test rad_id_threshold ... ok
test rad_id_multi_delegate ... ok
test rad_id_unknown_field ... ok
test rad_id_update_delete_field ... ok
test rad_id_threshold_soft_fork ... ok
test rad_init ... ok
test rad_init_existing ... ok
test rad_init_no_git ... ok
test rad_init_no_seed ... ok
test rad_init_private ... ok
test rad_inbox ... ok
test rad_init_private_clone ... ok
test rad_init_private_no_seed ... ok
test rad_init_private_clone_seed ... ok
test rad_init_private_seed ... ok
test rad_init_sync_not_connected ... ok
test rad_fetch ... ok
test rad_fork ... ok
test rad_init_with_existing_remote ... ok
test rad_init_sync_preferred ... ok
test rad_inspect ... ok
test rad_issue ... ok
test rad_merge_after_update ... ok
test rad_merge_no_ff ... ok
test rad_merge_via_push ... ok
test rad_node_connect ... ok
test rad_patch ... ok
test rad_node ... ok
test rad_patch_ahead_behind ... ok
test rad_patch_change_base ... ok
test rad_patch_checkout ... ok
test rad_patch_checkout_revision ... ok
test rad_patch_checkout_force ... ok
test rad_patch_detached_head ... ok
test rad_patch_diff ... ok
test rad_patch_draft ... ok
test rad_init_sync_and_clone ... ok
test rad_patch_edit ... ok
test rad_init_sync_timeout ... ok
test rad_patch_fetch_2 ... ok
test rad_patch_merge_draft ... ok
test rad_patch_delete ... ok
test rad_patch_fetch_1 ... ok
test rad_patch_revert_merge ... ok
test rad_patch_update ... ok
test rad_patch_open_explore ... ok
test rad_patch_via_push ... ok
test rad_publish ... ok
test rad_review_by_hunk ... ok
test rad_seed_and_follow ... ok
test rad_remote ... ok
test rad_seed_many ... ok
test rad_self ... ok
test rad_sync_without_node ... ok
test rad_unseed ... ok
test rad_push_and_pull_patches ... ok
test rad_unseed_many ... ok
test rad_watch ... ok
test rad_sync ... ok
test test_clone_without_seeds ... ok
test test_cob_deletion ... ok
test test_cob_replication ... ok
test rad_workflow ... ok
test rad_patch_pull_update ... ok
test test_replication_via_seed ... ok
test result: ok. 94 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 70.34s
Running unittests src/lib.rs (target/debug/deps/radicle_cli_test-354ae0a9d473645d)
running 3 tests
test tests::test_parse ... ok
test tests::test_run ... ok
test tests::test_example_spaced_brackets ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_cob-e85912e820568959)
running 8 tests
test object::tests::test_serde ... ok
test tests::invalid_parse_refstr ... ok
test tests::parse_refstr ... ok
test tests::roundtrip ... ok
test type_name::test::valid_typenames ... ok
test tests::list_cobs ... ok
test tests::traverse_cobs ... ok
test tests::update_cob ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
Running unittests src/lib.rs (target/debug/deps/radicle_crypto-5617725847bbf5b6)
running 12 tests
test ssh::fmt::test::test_fingerprint ... ok
test ssh::keystore::tests::test_init_no_passphrase ... ok
test ssh::test::prop_encode_decode_sk ... ok
test ssh::test::test_agent_encoding_remove ... ok
test ssh::test::test_agent_encoding_sign ... ok
test ssh::fmt::test::test_key ... ok
test tests::prop_encode_decode ... ok
test tests::test_e25519_dh ... ok
test tests::test_encode_decode ... ok
test tests::prop_key_equality ... ok
test ssh::keystore::tests::test_signer ... ok
test ssh::keystore::tests::test_init_passphrase ... ok
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s
Running unittests src/lib.rs (target/debug/deps/radicle_dag-20ca1aca3d76c348)
running 20 tests
test tests::test_contains ... ok
test tests::test_cycle ... ok
test tests::test_dependencies ... ok
test tests::test_complex ... ok
test tests::test_diamond ... ok
test tests::test_fold_diamond ... ok
test tests::test_fold_multiple_roots ... ok
test tests::test_fold_sorting_1 ... ok
test tests::test_fold_reject ... ok
test tests::test_fold_sorting_2 ... ok
test tests::test_is_empty ... ok
test tests::test_get ... ok
test tests::test_len ... ok
test tests::test_merge_1 ... ok
test tests::test_merge_2 ... ok
test tests::test_prune_2 ... ok
test tests::test_prune_by_sorting ... ok
test tests::test_remove ... ok
test tests::test_prune_1 ... ok
test tests::test_siblings ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_fetch-d2fb41089fc1c71d)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_node-b756a84f7d576953)
running 113 tests
test deserializer::test::prop_decode_next ... ok
test deserializer::test::test_decode_next ... ok
test deserializer::test::test_unparsed ... ok
test control::tests::test_control_socket ... ok
test service::filter::test::test_parameters ... ok
test service::filter::test::test_sizes ... ok
test service::limiter::test::test_limitter_multi ... ok
test service::limiter::test::test_limitter_different_rates ... ok
test service::limiter::test::test_limitter_refill ... ok
test service::gossip::store::test::test_announced ... ok
test control::tests::test_seed_unseed ... ok
test service::message::tests::test_inventory_limit ... ok
test service::message::tests::test_ref_remote_limit ... ok
test service::message::tests::prop_refs_announcement_signing ... ok
test tests::e2e::missing_default_branch ... ok
test tests::e2e::missing_delegate_default_branch ... ok
test tests::e2e::test_background_foreground_fetch ... ok
test tests::e2e::test_channel_reader_limit ... ok
test tests::e2e::test_catchup_on_refs_announcements ... ok
test tests::e2e::test_clone ... ok
test service::message::tests::test_node_announcement_validate ... ok
test tests::e2e::test_dont_fetch_owned_refs ... ok
test tests::e2e::test_fetch_followed_remotes ... ok
test tests::e2e::test_connection_crossing ... FAILED
test tests::e2e::test_fetch_preserve_owned_refs ... ok
test tests::e2e::test_fetch_unseeded ... ok
test tests::e2e::test_concurrent_fetches ... ok
test tests::e2e::test_fetch_up_to_date ... ok
test tests::e2e::test_inventory_sync_basic ... ok
test tests::e2e::test_large_fetch ... ok
test tests::e2e::test_migrated_clone ... ok
test tests::e2e::test_missing_remote ... ok
test tests::e2e::test_multiple_offline_inits ... ok
test tests::e2e::test_non_fastforward_sigrefs ... ok
test tests::e2e::test_outdated_delegate_sigrefs ... ok
test tests::e2e::test_outdated_sigrefs ... ok
test tests::e2e::test_replication ... ok
test tests::e2e::test_replication_invalid ... ok
test tests::e2e::test_replication_ref_in_sigrefs ... ok
test tests::e2e::test_inventory_sync_bridge ... ok
test tests::e2e::test_inventory_sync_ring ... ok
test tests::e2e::test_inventory_sync_star ... ok
test tests::test_announcement_rebroadcast ... ok
test tests::test_announcement_rebroadcast_duplicates ... ok
test tests::test_announcement_relay ... ok
test tests::test_announcement_rebroadcast_timestamp_filtered ... ok
test tests::test_disconnecting_unresponsive_peer ... ok
test tests::test_connection_kept_alive ... ok
test tests::test_fetch_missing_inventory_on_gossip ... ok
test tests::test_fetch_missing_inventory_on_schedule ... ok
test tests::test_inbound_connection ... ok
test tests::test_inventory_decode ... ok
test tests::test_init_and_seed ... ok
test tests::test_inventory_relay ... ok
test tests::test_inventory_relay_bad_timestamp ... ok
test tests::test_inventory_sync ... ok
test tests::test_maintain_connections ... ok
test tests::test_maintain_connections_failed_attempt ... ok
test tests::test_maintain_connections_transient ... ok
test tests::test_outbound_connection ... ok
test tests::test_inventory_pruning ... ok
test tests::test_persistent_peer_connect ... ok
test tests::test_persistent_peer_reconnect_success ... ok
test tests::test_persistent_peer_reconnect_attempt ... ok
test tests::test_ping_response ... ok
test tests::test_queued_fetch_from_ann_same_rid ... ok
test tests::test_queued_fetch_from_command_same_rid ... ok
test tests::test_redundant_connect ... ok
test tests::test_queued_fetch_max_capacity ... ok
test tests::test_refs_announcement_followed ... ok
test tests::test_refs_announcement_fetch_trusted_no_inventory ... ok
test tests::test_refs_announcement_no_subscribe ... ok
test tests::test_refs_announcement_offline ... ok
test tests::test_refs_announcement_relay_private ... ok
test tests::test_refs_announcement_relay_public ... ok
test tests::test_refs_synced_event ... ok
test tests::test_seed_repo_subscribe ... ok
test wire::frame::test::test_stream_id ... ok
test wire::message::tests::prop_addr ... ok
test tests::test_seeding ... ok
test wire::message::tests::prop_message_encode_decode ... ok
test wire::message::tests::prop_zero_bytes_encode_decode ... ok
test wire::message::tests::test_inv_ann_max_size ... ok
test wire::message::tests::test_node_ann_max_size ... ok
test wire::message::tests::test_pingpong_encode_max_size ... ok
test wire::message::tests::test_pingpong_encode_size_overflow ... ok
test tests::prop_inventory_exchange_dense ... ok
test wire::protocol::test::test_inventory_ann_with_extension ... ok
test wire::protocol::test::test_pong_message_with_extension ... ok
test wire::tests::prop_filter ... ok
test wire::tests::prop_id ... ok
test wire::tests::prop_oid ... ok
test wire::tests::prop_pubkey ... ok
test wire::tests::prop_refs ... ok
test wire::tests::prop_signature ... ok
test wire::tests::prop_signed_refs ... ok
test wire::tests::prop_string ... ok
test wire::tests::prop_tuple ... ok
test wire::tests::prop_u16 ... ok
test wire::tests::prop_u32 ... ok
test wire::tests::prop_u64 ... ok
test wire::tests::prop_u8 ... ok
test wire::tests::prop_vec ... ok
test wire::tests::test_alias ... ok
test wire::tests::test_bounded_vec_limit ... ok
test wire::tests::test_filter_invalid ... ok
test wire::tests::test_string ... ok
test wire::varint::test::prop_encode_decode ... ok
test wire::varint::test::test_encode_overflow - should panic ... ok
test wire::varint::test::test_encoding ... ok
test wire::message::tests::test_refs_ann_max_size ... ok
test wire::message::tests::prop_message_decoder ... ok
test tests::test_announcement_message_amplification ... ok
failures:
---- tests::e2e::test_connection_crossing stdout ----
1788835489 test: Node::init alice: z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5
1788835489 test: Node::init bob: z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3
1788835489 tests::e2e::test_connection_crossing node: Opening policy database..
1788835489 tests::e2e::test_connection_crossing node: Migrating COBs cache..
1788835489 tests::e2e::test_connection_crossing node: Migration of COBs cache complete (version=2)..
1788835489 tests::e2e::test_connection_crossing node: Default seeding policy set to 'block (all)'
1788835489 tests::e2e::test_connection_crossing node: Initializing service (Test)..
1788835489 tests::e2e::test_connection_crossing node: Opening node database..
1788835489 tests::e2e::test_connection_crossing node: Address book is empty. Adding bootstrap nodes..
1788835489 tests::e2e::test_connection_crossing node: 0 nodes added to address book
1788835489 tests::e2e::test_connection_crossing service: Init @1788835489820
1788835489 tests::e2e::test_connection_crossing service: Empty refs database, populating from storage..
1788835489 tests::e2e::test_connection_crossing service: Not enough available peers to connect to (available=0, wanted=8)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> node: Listening on 0.0.0.0:42865..
1788835489 tests::e2e::test_connection_crossing node: Binding control socket /tmp/.tmppgsDFD/rbVJ3FTj/node/control.sock..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <runtime> node: Running node z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 in /tmp/.tmppgsDFD/rbVJ3FTj..
1788835489 tests::e2e::test_connection_crossing node: Opening policy database..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <control> control: Control thread listening on socket..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received command QueryState(..)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <signals> node: Signal notifications channel error: receiving on an empty and disconnected channel
1788835489 tests::e2e::test_connection_crossing node: Migrating COBs cache..
1788835489 tests::e2e::test_connection_crossing node: Migration of COBs cache complete (version=2)..
1788835489 tests::e2e::test_connection_crossing node: Default seeding policy set to 'block (all)'
1788835489 tests::e2e::test_connection_crossing node: Initializing service (Test)..
1788835489 tests::e2e::test_connection_crossing node: Opening node database..
1788835489 tests::e2e::test_connection_crossing node: Address book is empty. Adding bootstrap nodes..
1788835489 tests::e2e::test_connection_crossing node: 0 nodes added to address book
1788835489 tests::e2e::test_connection_crossing service: Init @1788835489843
1788835489 tests::e2e::test_connection_crossing service: Empty refs database, populating from storage..
1788835489 tests::e2e::test_connection_crossing service: Not enough available peers to connect to (available=0, wanted=8)
1788835489 tests::e2e::test_connection_crossing node: Binding control socket /tmp/.tmppgsDFD/3E5gY6Mi/node/control.sock..
1788835489 test: Preferred peer is z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> node: Listening on 0.0.0.0:42765..
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <runtime> node: Running node z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 in /tmp/.tmppgsDFD/3E5gY6Mi..
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <control> control: Control thread listening on socket..
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received command QueryState(..)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <signals> node: Signal notifications channel error: receiving on an empty and disconnected channel
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received command QueryState(..)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received command QueryState(..)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received command Connect(z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5, 0.0.0.0:42865, ConnectOptions { persistent: false, timeout: 30s })
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Connecting to z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (0.0.0.0:42865)..
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Attempted connection to z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (0.0.0.0:42865)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> wire: Inbound connection from 127.0.0.1:42440 (fd=137)..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> wire: Accepted inbound connection from 127.0.0.1:42440 (fd=137)..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> wire: Inbound peer resource registered with id=2 (fd=137)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> wire: Registering outbound transport for z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (fd=136)..
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> wire: Outbound peer resource registered for z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 with id=2 (fd=136)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> wire: Session established with z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (id=2) (fd=136) (outbound)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Connected to z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (0.0.0.0:42865) (Outbound)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Subscribing to messages since timestamp 1788749089887..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> wire: Session established with z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 (id=2) (fd=137) (inbound)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Connected to z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 (127.0.0.1:42440) (Inbound)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Subscribing to messages since timestamp 1788749089887..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received node announcement of z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 with 0 address(es) from z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 (t=1788835489843)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received node announcement of z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 with 0 address(es) from z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (t=1788835489820)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Stored announcement from z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 to be broadcast in 0 millisecond(s) (t=1788835489820)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Stored announcement from z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 to be broadcast in 0 millisecond(s) (t=1788835489843)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Address store entry for node z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 updated at 1788835489820
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received inventory announcement of z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 with 0 item(s) from z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 (t=1788835489821)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Address store entry for node z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 updated at 1788835489843
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received inventory announcement of z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 with 0 item(s) from z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 (t=1788835489844)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Stored announcement from z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 to be broadcast in 0 millisecond(s) (t=1788835489821)
1788835489 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received subscription filter from z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Stored announcement from z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 to be broadcast in 0 millisecond(s) (t=1788835489844)
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received subscription filter from z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received command Connect(z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3, 0.0.0.0:42765, ConnectOptions { persistent: false, timeout: 30s })
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Connecting to z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 (0.0.0.0:42765)..
1788835489 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Attempted connection to peer z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 which already has a session
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received command QueryState(..)
1788835490 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received command QueryState(..)
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Received command QueryState(..)
1788835490 test: Ok([Session { nid: PublicKey(z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3), link: Inbound, addr: Address(NetAddr { host: Ip(127.0.0.1), port: 42440 }), state: Connected { since: LocalTime { millis: 1788835489887 }, ping: None, fetching: {}, latencies: [], stable: false } }])
1788835490 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <service> service: Received command QueryState(..)
1788835490 test: Ok([Session { nid: PublicKey(z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5), link: Outbound, addr: Address(NetAddr { host: Ip(0.0.0.0), port: 42865 }), state: Connected { since: LocalTime { millis: 1788835489887 }, ping: None, fetching: {}, latencies: [], stable: false } }])
thread 'tests::e2e::test_connection_crossing' panicked at crates/radicle-node/src/tests/e2e.rs:856:9:
assertion `left == right` failed
left: Inbound
right: Outbound
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1788835490 test: Node z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 shutting down..
1788835490 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <control> control: Received `{"command":"shutdown"}` on control socket
1788835490 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <control> control: Shutdown requested..
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> wire: Disconnecting peer with id=2: connection reset
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> wire: Transport handover for disconnecting peer with id=2 (fd=137)
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Disconnected from z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 (connection reset)
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <service> service: Dropping peer z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3..
1788835490 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <runtime> pool: Worker pool shutting down..
1788835490 z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3 <runtime> node: Node shutdown completed for z6MkrFV27D9AGd8RNtiMTvneXkTo8YrSEqjBaZ7kn8kqTqq3
1788835490 test: Node z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 shutting down..
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <control> control: Received `{"command":"shutdown"}` on control socket
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <control> control: Shutdown requested..
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <runtime> pool: Worker pool shutting down..
1788835490 z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5 <runtime> node: Node shutdown completed for z6MktSbWdF4fjxFrbMEkVGFJqBkdzr9cCbaNzLU9wypUZwX5
failures:
tests::e2e::test_connection_crossing
test result: FAILED. 112 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.48s
error: test failed, to rerun pass `-p radicle-node --lib`
Running unittests src/main.rs (target/debug/deps/radicle_node-b016ea98d1d34a3a)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_remote_helper-ec61d634612a0b04)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/git-remote-rad.rs (target/debug/deps/git_remote_rad-0d9c364466d413e8)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (target/debug/deps/radicle_schemars-e4157e4268fe0e11)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_signals-0c183d7d8cb1e457)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_ssh-02e22359ef9bf046)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_systemd-28e02dc067eac38d)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_term-98d660e1537ffc71)
running 20 tests
test ansi::tests::colors_enabled ... ok
test ansi::tests::wrapping ... ok
test cell::test::test_width ... ok
test ansi::tests::colors_disabled ... ok
test element::test::test_width ... ok
test element::test::test_truncate ... ok
test table::test::test_table ... ok
test table::test::test_table_border ... ok
test table::test::test_table_border_maximized ... ok
test table::test::test_table_border_truncated ... ok
test table::test::test_table_unicode ... ok
test table::test::test_table_truncate ... ok
test table::test::test_table_unicode_truncate ... ok
test table::test::test_truncate ... ok
test textarea::test::test_wrapping ... ok
test textarea::test::test_wrapping_code_block ... ok
test textarea::test::test_wrapping_fenced_block ... ok
test textarea::test::test_wrapping_paragraphs ... ok
test vstack::test::test_vstack_maximize ... ok
test vstack::test::test_vstack ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cli
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cli_test
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cob
running 1 test
test crates/radicle-cob/src/backend/git/stable.rs - backend::git::stable::with_advanced_timestamp (line 56) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_crypto
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_dag
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_fetch
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_node
running 6 tests
test crates/radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::truncate (line 50) ... ok
test crates/radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::max (line 96) ... ok
test crates/radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::push (line 122) ... ok
test crates/radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::collect_from (line 30) ... ok
test crates/radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::with_capacity (line 66) ... ok
test crates/radicle-node/src/bounded.rs - bounded::BoundedVec<T,N>::unbound (line 149) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
Doc-tests radicle_remote_helper
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_signals
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_ssh
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_systemd
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_term
running 1 test
test crates/radicle-term/src/table.rs - table (line 4) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
error: 1 target failed:
`-p radicle-node --lib`
Exit code: 101
{
"response": "finished",
"result": "failure"
}