From the output Mathematica has resolved y'[t]==y[t]^2 to True. This is probably because somewhere in the notebook you have made that assignment by y'[t]=y[t]^2 rather than using ==. It may be that was input earlier as you developed the notebook, and then corrected. But the kernel remembers it. If so, quit the kernel and then reevaluate.