This problem is similar to the one solved here except for an additional term in $u$:
$$ \int_0^1 (1-u)^{(n-i)} u^i (\log(-\log(1-u)))^2 \mathrm{d}u $$
in which $0 \le i \le n$ and both $i$ and $n \in \mathbb{N}$. In the specific case where $i=0$ we are back to the solution given in the above link. However, is there a solution in this more general problem?
This equation shows up when trying to solve an estimator for the Weibull distribution.