set -u
ROOT="C:/Users/decid/Documents/projects/spt-core"
for lane in a-04e32c8c b-f6110c2a; do
  d="$ROOT/.worktrees/hertz-disc-$lane"
  echo "===== BUILD $lane  $(date -u +%H:%M:%SZ) ====="
  ( cd "$d" && cargo build -p spt-store -p spt-daemon --tests 2>&1 | tail -25 )
  echo "----- $lane build exit=${PIPESTATUS[0]:-?} rc=$? $(date -u +%H:%M:%SZ) -----"
done
echo "ALL BUILDS DONE $(date -u +%H:%M:%SZ)"
