The problem is, as stated:
$$\int\frac{1}{x^3+1}dx$$
I tried using substitution: $t^3 = x^3 + 1$ but didn't get far with that. I also tried setting: $t = x^3 + 1$, with no luck again.
I tried partial decomposition but I didn't know how to integrate $$\int\frac{1}{x^2-x+1}$$ and I kept getting that term when expanding $x^3 + 1$
Any help would be much appreciated.
Hint for the last integral
$$I=\int\frac{1}{x^2-x+1}=\int\frac{1}{(x-1/2)^2+3/4}=\int\frac{du}{u^2+3/4}$$