the second one could just be the join when the rim was welded together and the first could be a deep scratch but the rim itself does look pretty worn in both pics.
i have worn through two rims and it does make you jump when the innertube pops out and goes bang !