Sri Lanka failed to act on prior warnings of attacks