Get compilation error in scala task.