Nigeria's military had advanced warning of the April 14 attack by Boko Haram that led to the kidnapping of more than 200 schoolgirls but failed to take immediate action, Amnesty International said Friday.