I suspect companies that struggle to hire have basic issues like a complicated or invasive application process, niche skillsets, an out of the way location with no possibility of remote work, or low pay. To be clear I don't mean low pay as in lower than FAANG, but pay so low that you have to wonder if the job is either abusive or something like IT help desk, not software development.
If these regional trucking companies and retail chains were serious about hiring, we'd see posts to HN, Reddit, LinkedIn, and everywhere else like: "I'm the hiring manager at a regional trucking company/retail chain. We've been struggling to hire developers for over a year. If you have over two years experience as a developer in any capacity, email me your resume and I guarantee you a 30 minute phone interview. Pay is a little low but we take care of our employees. We're not used to remote workers but we will make it work for the right person."
Have you seen posts like that? If not, why do you think that is? How are these companies trying to find employees?