Why not? You have a deprecation note for any use of `mod`, so the compiler saying that it is expecting `mod` is peculiar.