reduce deprecation and other warnings introduced by recent changes in dune 2.8

Merged Praetorius, Simon requested to merge issue/resuce_warnings into master

Merge request reports