Implement a function calculate_rectangle_area that calculates the area of a rectangle given its vertices. The function should accept a list of tuples representing the coordinates of the vertices.
Function Signature
python
def calculate_rectangle_area(vertices):
Requirements
Input: A list of tuples, where each tuple contains two integers representing the x and y coordinates of a vertex. The list may contain duplicate vertices.
Return the area of the rectangle formed by the unique x and y coordinates.
If the input list has fewer than 2 vertices or if all vertices are on the same line (creating a rectangle with zero area), return -1.
Edge Cases:
The function should handle scenarios where the input list is empty or contains only one vertex appropriately.
Implementation
The solution must be written in a file called /app/solution.py. Ensure that the code is properly tested for various cases to verify the correctness of the area calculation.