A child rapist died after refusing treatment for gangrene, a new report has revealed.