fn record_failure(status: &mut Result<(), &'static str>, err: &'static str)
最初の失敗だけを保持する(後続はログ済みなので上書きしない)。