nixbot

builds
1this derivation will be built:2 /nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv3error: build of '/nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/p8pd63dcxfryr6dkisxpyasd7hbdr615-treefmt-check7 Last 19 log lines:8 > treefmt v2.5.0traversed 689 files9 > emitted 303 files for processing10 > formatted 303 files (1 changed) in 389ms11 > M crates/tincd/src/discovery/record.rs12 > diff --git a/crates/tincd/src/discovery/record.rs b/crates/tincd/src/discovery/record.rs13 > index 9cb3854..e964d59 10064414 > --- a/crates/tincd/src/discovery/record.rs15 > +++ b/crates/tincd/src/discovery/record.rs16 > @@ -52,7 +52,9 @@ pub fn open_record(d: &Derived, seq: i64, sealed: &[u8]) -> Option<Vec<u8>> {17 > if sealed.len() < AEAD_OVERHEAD || &sealed[..MAGIC.len()] != MAGIC {18 > return None;19 > }20 > - let nonce: &[u8; NONCE_LEN] = sealed[MAGIC.len()..MAGIC.len() + NONCE_LEN].try_into().ok()?;21 > + let nonce: &[u8; NONCE_LEN] = sealed[MAGIC.len()..MAGIC.len() + NONCE_LEN]22 > + .try_into()23 > + .ok()?;24 > let ct = &sealed[MAGIC.len() + NONCE_LEN..];25 > XChaCha20Poly1305::new((&d.aead_key).into())26 > .decrypt(27 For full logs, run:28 nix log /nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv29error: Cannot build '/nix/store/rxnyfnx4an2bz79n2x143gp8n75z23ks-treefmt-check.drv'.30 Reason: builder failed with exit code 1.31 Output paths:32 /nix/store/p8pd63dcxfryr6dkisxpyasd7hbdr615-treefmt-check