setup
checks.x86_64-linux.formatting
· build #116
· raw
1this derivation will be built:2 /nix/store/a834qa8fb98pn1a241w8p6vyc7shy73m-treefmt-check.drv3error: Cannot build '/nix/store/a834qa8fb98pn1a241w8p6vyc7shy73m-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/fd4mzi4pc8yd1z9306w6dqd89nzidmzx-treefmt-check7 Last 25 log lines:8 > ("rsa", "no Ed25519 public key"),9 > ] {10 > let err = invite(&paths, None, who, true, SystemTime::now()).unwrap_err();11 > - assert!(matches!(&err, CmdError::BadInput(m) if m.contains(want)), "{who}: {err}");12 > + assert!(13 > + matches!(&err, CmdError::BadInput(m) if m.contains(want)),14 > + "{who}: {err}"15 > + );16 > }17 > }18 >19 > diff --git a/crates/tinc-tools/src/cmd/join/tests.rs b/crates/tinc-tools/src/cmd/join/tests.rs20 > index 03087db..084f6f0 10064421 > --- a/crates/tinc-tools/src/cmd/join/tests.rs22 > +++ b/crates/tinc-tools/src/cmd/join/tests.rs23 > @@ -496,7 +496,8 @@ fn invite_join_roundtrip_in_process() {24 > .append_conf("Mode = switch\n");25 > let inviter = inviter_cd.paths();26 >27 > - let inv_result = invite::invite(inviter, Some("acme"), "bob", false, SystemTime::now()).unwrap();28 > + let inv_result =29 > + invite::invite(inviter, Some("acme"), "bob", false, SystemTime::now()).unwrap();30 > let parsed = parse_url(&inv_result.url).unwrap();31 >32 > // Load invitation key. Both the server stub and the joiner's33 For full logs, run:34 nix log /nix/store/a834qa8fb98pn1a241w8p6vyc7shy73m-treefmt-check.drv