It compiles fine without deprecated method

2 jobs for master