The 21-year-old was set to face Roger Federer for a spot in the semifinals. (AP Photo)

Nick Kyrgios was enjoying one of the best weeks of his career and then just like that, he wasn't. The Australian catapulted into the Indian Wells quarterfinals with an upset over Novak Djokovic, setting up a showdown with none other than Roger Federer.

Instead of playing one of the biggest legends of the game for a spot in his second-ever ATP Masters 1000 semifinals, Kyrgios had to pull out with what appears to be food poisoning.

The 21-year-old is understandably heartbroken, like all of the fans.

Some were quick to blame the snack he stole from the stands on Thursday:

But that's really unfair given that a french fry or two is an inconspicuous choice.

This means Federer is the survivor of the "Group of Death" quarter. He moves into the semifinals, awaiting the winner of Jack Sock and Kei Nishikori.