Funny you should mention 'free markets' WRT jobs. The tech industry had the benefit of an ample workforce. In fact, there was such a glut of workers, the tech industry got exemptions from paying overtime into law. Such was the state of the workforce that it became expected that we programmers would work 60 hours/week. If someone didn't want to work that hard, it was easy to find a replacement. No other engineers that I know of would be expected to work such long hours. I was one who discouraged people from attempting a 'career' in tech.
'Free market' forces came into play and the next generation of college students avoided the tech industry with its draconian demands on its workforce. Enrollment in CS dropped off, and supply and demand started to revert to the mean. Of course, H1Bs, another sop to the industry, helped kill off the American tech workforce.
Any wonder that there is now a 'shortage' of workers in tech?
Here's a wacky idea, give people back decent pay, job security, company paid health benefits, decent pay, 401k matching funds, decent pay, and cut back on the hours. Did I mention decent pay? Now get a mature management in place and treat the workforce with respect. Does the industry truly believe there's a shortage of people willing to do the work, or are they just pining for the days when they had it so good?
Reminds me of the claims by the farming industry that there's a shortage of Americans who are willing to work as farm workers. Farmers were sneaking low-paid illegal workers into the country, and pretty soon you had to have a migrant workforce to be competitive. Result? Low pay and job losses for American workers. Money leaving farming communities and ending up south of the border. Rural towns drying up, and nobody willing to be honest about the reasons why. So they blame the victims, they claim that Americans are 'not willing to work'.