The only difficulty here is justifying switching the order of integration and the summation in
$$\int_0^1 \frac{dx}{1+x^3} = \int_0^1 \sum_{n=0}^\infty (-x^3)^n\, dx = \sum_{n=0}^\infty \int_0^1 (-x^3)^n\, dx = \sum_{n=0}^\infty \frac{(-1)^n}{3n+1}$$
We don't have uniform convergence of the series on the interval $[0,1]$ since the series diverges at $x=1$.
One way to justify is to note that
$$\sum_{n=0}^N(-x^3)^n = \frac{1 - (-x^3)^{N+1}}{1+x^3},$$
and
$$\int_0^1\sum_{n=0}^N(-x^3)^n\, dx - \int_0^1 \frac{dx}{1+x^3} = (-1)^{N+2}\int_0^1 \frac{x^{3N+3}}{1+x^3}\, dx$$
Since we can switch the integral and a finite sum , we have
$$\int_0^1\sum_{n=0}^N(-x^3)^n\, dx =\sum_{n=0}^N \int_0^1(-x^3)^n\, dx = \sum_{n=0}^N \frac{(-1)^n}{3n+1},$$
and it follows that
$$\left|\sum_{n=0}^N \frac{(-1)^n}{3n+1}- \int_0^1 \frac{dx}{1+x^3}\right| = \int_0^1 \frac{x^{3N+3}}{1+x^3}\, dx \leqslant \int_0^1 x^{3N+3}\, dx \\= \frac{1}{3N+4} \underset{N \to \infty}\longrightarrow 0$$
Thus,
$$\lim_{N \to \infty}\sum_{n=0}^N \frac{(-1)^n}{3n+1} = \int_0^1 \frac{dx}{1+x^3}$$