Mate,
Plenty of students fail/partial their IRs an go on to get good airline jobs, it's not the end of the world and if anyone tells you otherwise they must have other motives. i.e. make themselves feel better about their own position. I know you must be gutted totally but have a rest and a couple of beers and things wont seem so bad in a couple of days. You've come this far don't let anything/one get in the way of your career now. You've put in too much I'm sure.
B