pub(crate) fn prepare_rotation( input: &RotationCompileInput<'_>, ) -> Result<RotationPreparation, Error>