The problem is the integration of $$I=\int_{\left\lvert z-1\right\rvert=1} f(z) dz$$ where $$f(z)=\frac{1}{z^3-1}$$ and the path goes $1$ loop in positive direction.
I tried to solve the problem using Cauchy's Theorem by finding $z$ that makes $f(z)$ denominator be $0$. That was $z=1$.
And I got struck.
I think the integral is needed to be treat somehow so that
$$\int_{C_a}\frac{1}{(z-\alpha)^n}dz = 2{\pi}i \text{ when } n=1$$
can be used.
My question is how should I continue with the integral?
The only pole of $f(z)$ on the circle is $z=1$
According to residue theorem $$\oint _{\gamma }f(z)\,dz=2\pi i \operatorname {Res} (f,1)$$ And we have $\operatorname {Res} (f,1)=\lim_{z\to 1} \, \dfrac{z-1}{z^3-1}=\lim_{z\to 1} \, \dfrac{1}{z^2+z+1}=\dfrac{1}{3}$
Thus $\oint _{\gamma }f(z)\,dz=\dfrac{2 i \pi }{3}$
Hope this helps