Neither sentence is correct.
Here are some correct ones.
The bus was supposed to have arrived 10 minutes ago, but it didn't.
The bus was supposed to arrive 10 minutes ago, but it didn't.
Either of these is ok but the second one is better IMHO because it is less awkward.
Student or Learner