A patient receiving hemodialysis begins experiencing chest pain, back pain, and the dialysate appears pink-tinged.The most likely cause is: