This was rejected in the SE-0202 proposal.
Add static .random() to numerical types
.random()
There's also an issue with how UnboundedRange is currently implemented.
UnboundedRange