I would not say "rest on the street". We say "In the street." Don't play in the street. I only say "on the street" when talking about the location of a house or building. My house is on that street. But for moving objects, I say "in the street." I hit report, but I am curious if anyone else says this phrase the same as I do or not. To me, the English here sounds unnatural, and it is my native language
In English speaking communities there is a lot of variation between "in" and "on" the street.
You're exactly the same as me on this. "On" is only used for houses and buildings in my usage. "In" is for just about everything else. The given sentence felt strange.
Remember, everyone who speaks a native language doesn't necessarily speak it correctly.