Console warnings not stopping execution of rules unless the specific methods / functions you have used in your build code.
Above warning messages just showing you that container.buildInfo.environment method is deprecated.
I think you have installed adobe analytics extension that needs to be upgraded to latest version so that console warning disappear.
See the release notes adobe team removes this bug under extension version 1.8.7
Hope this helps.