I am trying to show that
$$ \lim_{R\to\infty}\int_{C_R} \frac{e^{iz}}{z} dz=0,\quad C_R(t)=Re^{it},\ \ t\in [0,\pi]. $$
I know we can do the following
$$\left| \int \frac{e^{iz}}{z} dz \right| \leq \frac{1}{R} \int \lvert e^{iz} \rvert \lvert dz \rvert$$
the integral is bounded and as $R$ goes to infinity it is zero. My question is what if I do the following
$$\left| \int_{0}^{\pi} \frac{e^{iR e^{it}}}{Re^{it}}\dot iRe^{it} dt \right|\leq \int_0^{\pi} |e^{-R\sin t} | dt$$
which is not zero as $R$ goes to infinity!
In fact, that integral does approach $0$ as $R\to\infty$. It is immediate from the dominated convergence theorem. However, an elementary estimate can be given as follows. For $t\in [0,\pi/2]$ note that $\sin t\ge \frac2{\pi}t$, and so $e^{-R\sin t} \le e^{-2Rt/\pi}$. Now you can do the integral estimate. (Oh, and note that $\int_0^\pi = 2\int_0^{\pi/2}$.)
By the way, your first approach is flawed. The integral is not bounded: It's the length of the semicircle, which is, of course, $\pi R$.