The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= -0.4142\\[1 em]x_2 &= 2.4142\\[1 em]x_3 &= 0.134+0.5i\\[1 em]x_4 &= 0.134-0.5i\\[1 em]x_5 &= 1.866+0.5i\\[1 em]x_6 &= 1.866-0.5i \end{aligned} $$Polynomial $ x^6-6x^5+12x^4-8x^3-1 $ has no rational roots that can be found using Rational Root Test, so the roots were found using Newton method.