Fix warnings for finagle-5.x