I use the continuous time model to compute the cost of carry.
F = S * e^(r*T/365)
Rearrange the above equation to find r.
r = ln(F/S) * (365/T)
This r is the annualized cost of carry, and had to be greater than your incremental borrowing cost, to justify the arbitrage.