During her headlining set at the San Francisco festival on Saturday (Aug. 10), the 25-year-old pop star welcomed Kacey ...