If you are given the task to fail, but you do it correctly, you have failed the assignment, but by failing, you successfully completed the task to fail, but by being successful, you have failed thus creating an infinite paradox.
If you are given the task to fail, but you do it correctly, you have failed the assignment, but by failing, you successfully completed the task to fail, but by being successful, you have failed thus creating an infinite paradox.