I need to evaluate this integral: $$I=\int_0^\infty x^2\,e^{-x^2}\operatorname{erf}(x)\,\log(x)\,dx\tag1$$ I tried to do this in Mathematica and it returned a result of the form $$I=\frac{(\pi+2)\,(1-\gamma)}{16\,\sqrt\pi}+\frac1{2\,\sqrt\pi}\left.\frac{d}{d\xi}\Bigg({_2F_1}\left(\tfrac12,\xi;\tfrac32;-1\right)\Bigg)\right|_{\xi=2}\tag2$$ I tried to find a closed form for the derivative using an integral representation of the hypergeometric function, but this way returned me back to my original integral.
Is it possible to represent $I$ in a closed form that does not contain unevaluated integrals or derivatives?
Below is almost a copypaste of my answer to equivalent question - which was asked one month earlier than this one.
We start with the standard integral representation of the hypergeometric function: \begin{align} _2F_1\left(\frac12,a,\frac32,-1\right)=\frac12\int_0^1\frac{dt}{\sqrt{t}\left(1+t\right)^{a}}. \end{align} Differentiating it w.r.t. $a$, one finds \begin{align} S:=\left[\frac{d}{da} {}_2F_1\left(\frac12,a,\frac32,-1\right)\right]_{a=2}= -\frac12\int_0^1\frac{\ln\left(1+t\right)dt}{\sqrt{t}\left(1+t\right)^{2}}. \end{align} After the change of variables $t=s^2$ the last integral can be expressed in terms of dilogarithms: \begin{align} S&=-\int_0^1\frac{\ln\left(1+s^2\right)ds}{\left(1+s^2\right)^2}=\\&= \frac{\pi}{8}\left[1-3\ln 2 +\ln\left(2+\sqrt{2}\right)\right]-\frac{1+\ln 2}{4}+\Im\left(\operatorname{Li}_2\left(-e^{i\pi/4}\right)-\operatorname{Li}_2\left(1-e^{i\pi/4}\right)\right)=\\ &=\frac{\pi\left(1-2\ln 2\right)}{8}-\frac{1+\ln 2}{4}+\frac12 \Im\operatorname{Li}_2\left(i\right)=\\ &=\frac{G}{2}+\frac{\pi\left(1-2\ln 2\right)}{8}-\frac{1+\ln 2}{4}. \end{align} where $G$ denotes the Catalan's constant. Note that $S$ is precisely what we need to compute.
Explanation: At the first step, the only nontrivial integrals (producing dilogarithms) are $\displaystyle \int\frac{\ln(1\pm i s)}{1\mp is}ds$. The other integrals are elementary. At the last step we used the formula $\operatorname{Li}_2(i)=iG-\frac{\pi^2}{48}$ from here.