A particle is moving in a system of reference $S$. In its proper system of reference, say $S'$, the particle is still and it is described by the event $(c\tau,0,0,0)$. In the inertial frame $S$, the same event is described by $(ct,x,y,z)$.
First attempt
Using the metric $\mathrm ds^2 = -c^2\mathrm dt^2 + \mathrm dx^2 + \mathrm dy^2 + \mathrm dz^2$ it is easy to work out the derivative $\mathrm dt/\mathrm d\tau$ which is $$\frac{\mathrm dt}{\mathrm d\tau} = \gamma(u)$$ where $u$ is the velocity of the particle in $S$.
Second attempt
The Lorentz transformations from $S'$ to $S$ are $$ t = \gamma(u)(t' + ux'/c^2), \qquad x = \gamma(u)(x' + ut') $$ Applying them to the events considered, we get $$ t = \gamma(u)\tau, \qquad x = \gamma(u)u\tau $$ and working out the derivative of the first with respect to $\tau$ one gets $$ \frac{\mathrm dt}{\mathrm d\tau} = \gamma(u)$$
Conclusion
I feel that the second argument is wrong but I cannot understand why. Can someone explain to me the fallacy? Of course, if the argument is right, can someone explain to me why it is right?
Edit
Watching the second equation of the LT ($x=\gamma(u)u\tau$) this formula suggests that, according to frame $S$, the particle is moving with uniform motion, but this is not the case. I do not understand, however, why.