$f'=x^2+p$
$f'=0,p=-3x^2$
Using $p=-3x^2,f=x^3-3x^3+q$
$f=0,q=2x^3$
Then the discriminant is: $$D=-108\cdot\big((2x^3/2)^2+(-3x^2/3)^3\big)=-108\cdot(x^6-x^6)=0$$
Even if it's correct, can you give me some explanation? I just don't know why I get this result.