Question
Let $f_n:[0,1]\to\mathbb R$ be infinitely differentiable functions such that $$\lim_{n\to\infty}\int_0^1\!f_n^2\,dx=0,$$ and for all $\varepsilon>0$ there exists $N\in\mathbb N$ such that for all $n,m\geq N$, $$\int_0^1\!(f'_n-f'_m)^2\,dx<\varepsilon.$$ Must it be true that $$\lim_{n\to\infty}\int_0^1\!{f'_n}^2\,dx=0?$$
Motivation
The following is an exercise for a first course in functional analysis: Let $\Omega\in\mathbb R^n$ be compact. Prove that for all $f\in C(\Omega)$ there exists $u\in H^1(\Omega)$ such that $$\int_\Omega\!\nabla u\cdot\nabla\phi\,dx=\int_\Omega\!f\phi\,dx\quad\text{for all }\phi\in C^\infty(\Omega),$$ where $H^1$ is the completion of $C^\infty$ under the inner product $\langle f,g\rangle=\int_\Omega(fg+\nabla f\cdot\nabla g)\,dx$.
I can solve the question provided that $[f,g]=\int_\Omega fg\,dx$ in $C^\infty$ extends to an inner product on $H^1$. If $(f_n),(g_n)$ are sequences in $C^\infty$ which are Cauchy (with respect to $\langle\cdot,\cdot\rangle$), it is not hard to show that $\lim_{n\to\infty}[f_n,g_n]$ exists and is independent of choice of representative Cauchy sequences, so $[\cdot,\cdot]$ is well-defined in $H^1$.
Most of the axioms of an inner product space for $(H^1,[\cdot,\cdot])$ can be recovered from those in $(C^\infty,[\cdot,\cdot])$, except $[f,f]=0\implies f=0$. This is equivalent to the following statement about Cauchy sequences:
Let $f_n\in C^\infty(\Omega)$ such that $[f_n,f_n]=\int_\Omega\!f_n^2\to0$, and $\forall\varepsilon>0\,\exists N\in\mathbb N\,\forall n,m\geq N$ $$\langle f_n-f_m,f_n-f_m\rangle\to0,\quad\text{ie. }\int_\Omega\!\nabla(f_n-f_m)\cdot\nabla(f_n-f_m)\,dx\to0.$$ Show that $\langle f_n,f_n\rangle\to0$, ie. $\int_\Omega\nabla f_n\cdot\nabla f_n\,dx\to0$.
Taking the simplest case, $\Omega=[0,1]$, gives the question stated above.
Edit
I am looking for solutions with preferably minimal use of tools from functional analysis. In particular, the concept of weak convergence is only covered later in the course, and weak derivatives are not covered at all, so I suppose we are not expected to be familiar with them for this question.
Right now it appears to me that the question is about a sequence of functions in $C^\infty$, or even $L^2$, so there should be a direct solution using tools from real analysis or measure theory. If this is incorrect, it would be very helpful if someone can answer the following (admittedly much more vague) question instead:
Question': why does the above question "live" in $H^1$, instead of $C^\infty$ or $L^2$?
While this question does start to hint at the utility of Sobolev spaces, you do not really require that machinery here. First, recall that convergence in $L^2$ implies convergence pointwise almost everywhere along a subsequence. So there exists $(n_k)$ such that $f_{n_k}(x)\to0$ for all $x\in A$, where $A\subset[0,1]$ has full measure.
Next, we know that $(f_n')$ is a Cauchy sequence in $L^2(0,1)$, so $f_n'\to g$ in $L^2$ for some $g\in L^2(0,1)$. For any $a,b\in(0,1)$, we have
$$\left|\int_a^bf_n'(t)dt-\int_a^bg(t)dt\right|\le\int_0^1|f_n'-g|dt\le\left(\int_a^1|f_n'-g|^2dt\right)^{1/2}\to0$$
as $n\to\infty$. Since $f_n(b)-f_n(a)=\int_a^bf_n'(t)dt$, choosing $a,b\in A$ and $n=n_k$ implies
$$\left|\int_a^bg(t)dt\right|\le|f_{n_k}(b)-f_{n_k}(a)|+\left|\int_a^bf_n'(t)dt-\int_a^bg(t)dt\right|\to0$$
as $k\to\infty$. From here it is straightforward to verify that $\int_Bg(t)dt=0$ for any Borel $B\subset[0,1]$, and so $g=0$ almost everywhere. This completes the proof.