Fixes a few warnings and depracations

4 jobs for warnings-and-deprecations in 8 minutes and 3 seconds
Status Name Job ID Coverage
  Build
passed build_linux_36 #201074
docker

00:02:55

73.0%
passed build_linux_37 #201075
docker

00:02:55

73.0%
passed build_macosx_36 #201072
macosx

00:08:03

73.0%
passed build_macosx_37 #201073
macosx

00:07:56

73.0%