Allow deprecation warnings

If deprecation warnings fail the build, then there's no point in
deprecation (in place of outright removal) in the first place.