In its latest quarter, Starbucks reported a surprise decline in same-store sales and slashed its full-year forecast.