Some of the attributes for lightning:input are different from ui:inputText
ui:inputText attribute specification
lightning:input attribute specification
The following attributes from your markup for lightning:input is not supported:
This is why it is throwing an error.
There are different attributes for handling these changes like:
The type attribute is the type of resource that the component depends on. The default value is COMPONENT.
The most commonly used values are:
Use a comma-separated list for multiple types; for example: COMPONENT,
The type, date you need to pass into the attributes of the component which is opt in your ...