Rising oil prices slash earnings