It was actually succeeding, but giving warnings about non conformant return types.  I am surprised it wasn't reported as an error.