The code is using old compilation functionality with
which is missing some features.
I wouldn’t worry about the warning if you want to use DOLFIN with quadrature elements.
In general I would strongly suggest to use DOLFINx, see: The new DOLFINx solver is now recommended over DOLFIN
See for instance @bleyerj tutorial on: Welcome — Computational Mechanics Numerical Tours with FEniCSx for various topics in solid mechanics