You evaluated dt incorrectly  the power rule only applies when the exponent of x is a constant  in this case it is not. To evaluate its derivative you must first convert it to a exponential form:
[tex] x^x = e^{x\ln x}[/tex]
Then use the chain and product rules.
