Vending machines will almost certainly have cameras. And incautious use could still leave DNA or fingerprints. Best anonymity is to mail cash to a LocalBitcoin seller. Take care to get unregistered bills (ATMs and bank withdrawals could trace serial numbers, though WF claims they do not).
Question: Do vending machines have cameras in them?