petsc!5923 (merged) changed PetscErrorCode into an enum, breaking petsc-rs's generated bindings.
PetscErrorCode
enum
petsc-rs