The upstream image crate removed enum variants relating to BGR8 from the DynamicImage enum. Upstream issue:
image-rs/image#1671
It might be possible to tell Pdfium to render using a different pixel format, or just perform some conversion ourselves. In the meantime, locked image version to ^0.23 in Cargo.toml.