this derivation will be built: /nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv error: build of '/nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p8pd63dcxfryr6dkisxpyasd7hbdr615-treefmt-check Last 19 log lines: > treefmt v2.5.0traversed 689 files > emitted 303 files for processing > formatted 303 files (1 changed) in 389ms > M crates/tincd/src/discovery/record.rs > diff --git a/crates/tincd/src/discovery/record.rs b/crates/tincd/src/discovery/record.rs > index 9cb3854..e964d59 100644 > --- a/crates/tincd/src/discovery/record.rs > +++ b/crates/tincd/src/discovery/record.rs > @@ -52,7 +52,9 @@ pub fn open_record(d: &Derived, seq: i64, sealed: &[u8]) -> Option> { > if sealed.len() < AEAD_OVERHEAD || &sealed[..MAGIC.len()] != MAGIC { > return None; > } > - let nonce: &[u8; NONCE_LEN] = sealed[MAGIC.len()..MAGIC.len() + NONCE_LEN].try_into().ok()?; > + let nonce: &[u8; NONCE_LEN] = sealed[MAGIC.len()..MAGIC.len() + NONCE_LEN] > + .try_into() > + .ok()?; > let ct = &sealed[MAGIC.len() + NONCE_LEN..]; > XChaCha20Poly1305::new((&d.aead_key).into()) > .decrypt( For full logs, run: nix log /nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv error: Cannot build '/nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/p8pd63dcxfryr6dkisxpyasd7hbdr615-treefmt-check