def METHOD_NAME(self, line):
    # type: (str) -> ErrorAnalysis
    # N.B.: Pip --log output looks like:
    # 2021-06-20T19:06:00,981 pip._vendor.packaging.markers.UndefinedEnvironmentName: 'python_full_version' does not exist in evaluation environment.
    match = re.match(
        r"^[^ ]+ pip._vendor.packaging.markers.UndefinedEnvironmentName: "
        r"(?P<missing_marker>.*)\.$",
        line,
    )
    if match:
        return self.Complete(
            ErrorMessage(
                "Failed to resolve for platform {}. Resolve requires evaluation of unknown "
                "environment marker: {}.".format(self._platform, match.group("missing_marker"))
            )
        )
    return self.Continue()