Scotland’s First Minister said Keir Starmer was ‘sleepwalking’ into an ‘unprecedented energy crisis’.