use Platform#warn() to dump optimizer logs