Once https://github.com/graalvm/native-build-tools/issues/446 has been addressed and we have upgraded to the new version of org.graalvm.buildtools.native we should update the tests to no longer expect deprecation warnings.