Let's quickly go through the errors related to the AMP boilerplate. Errors related to AMP boilerplate are usually reported as occurring at the end of the document, and usually begin with text: "The manadatory tag...", like in the following two messages:
news.html:2:0 The mandatory attribute '' is missing in tag 'html for top-level html'. (see https://www.ampproject.org/docs/reference/spec#required-markup)
news.html:30:7 The mandatory tag 'html for top-level html' is missing or incorrect. (see https://www.ampproject.org/docs/reference/spec#required-markup) ...