But there are also existing truck drivers from whom you can poach from another company. If that other company cannot afford the new rate that you've offered, they're no longer in the market for a truck driver, and are no longer counted.
It's like of like software developers. At, let's say, $150,000 per year, there are only so many companies who can afford them. A place that can only afford $30,000 per year for a developer isn't in the market for developers in the first place, no matter how much they claim they are. So as price rises, the need for drivers also declines.
Technically speaking, the definition of shortage is a situation where an external mechanism, such as government intervention, prevents price from rising. That does not seem to be the case here.
There is likely a gap between the salary a current truck driver will take and the one a potential truck driver will take, because the people who are not already doing it not only need some training but are likely to view it as a dying industry due to publicity about self-driving vehicles. So it seems like there could be substantial inelasticity just above the typical wage.