A rapist who repeatedly attacked a child and possessed the most serious category of child abuse images has been jailed.