The original integral is:
$$\int\limits_{L}z\cos(2\pi z \bar{z})\,dz$$
where $$L = \{|z| = 1; \quad 0 \le \arg \le \pi \}$$
very well seen that integration region is the semi-circle $[0;\pi]$ but I am totally confused how to deal with cosine's arg :(
Notice that because $z\bar z= |z|^2=1$, the integral becomes, $$\int \limits_{L} z \cos 2\pi \, dz = \int \limits_{L} z \, dz = \,?$$