This error is legitimate, the transmute is not (in general) safe.