Migration to new rust compiler