
Sorry you are feeling sad. High school was a long time ago for me but I do remember that I worried about many of the same things that you did. I remember being sad about not having one boyfriend in high school. All my friends were asked to the prom but I was not. I was ashamed and sad about that, if you someone like you had asked, I might have said "yes". Are you in a position where you could take a girl to a movie something like that? (Would your parents let you borrow their car, etc.?) The boyfriend thing really turned around for me in college. So I do not think that you are doomed to be friendless as an adult if you were friendless in high school.
As far as jobs go, maybe talk to your school counselor about options? And have you considered things like this:
Youth Conservation Corps Opportunities | US Forest Service
Job Positions | Grand Canyon National Park Lodges
You would only be eligible for a non career summer job but as someone who has worked for the Forest Service (Youth Conservation Corps and Young Adult Conservation Corps) during high school and college, I found that it gets you into a different environment and you have the opportunity to make friends while working.
So, I hope some of this might be helpful?

Sincerely, Myst