Wenn nach dem Ausführen des Befehls php bin/magento setup:di:compile Ihre Proxy-Klasse nicht erstellt wurde, kann ein möglicher Grund sein, dass Ihre di.xml Zeilenumbrüche im Feld "argument" enthält.
Wenn Sie etwa Folgendes vorliegen haben:

<type name="Extmag\Shiplab\Model\LabelRepository">
<arguments>
<argument name="trackRepository" xsi:type="object">
Magento\Sales\Api\ShipmentTrackRepositoryInterface\Proxy
</argument>
</arguments>
</type>

müssen Sie die Zeilenumbrüche entfernen:

<type name="Extmag\Shiplab\Model\LabelRepository">
<arguments>
<argument name="trackRepository" xsi:type="object">Magento\Sales\Api\ShipmentTrackRepositoryInterface\Proxy</argument>
</arguments>
</type>

Anschließend wird Ihre Proxy-Klasse korrekt generiert.

Wir haben den Bug bereits hier gemeldet: https://github.com/magento/magento2/issues/32296

Aus demselben Grund kann es zu Problemen bei der Installation Ihres Moduls auf Magento 2.4.0 Commerce on Cloud kommen. Es tritt etwa folgender Fehler auf:

report.CRITICAL: Can't create directory /app/generated/code/Magento/Sales/Model/Order/Shipment/TrackRepository/.
Class Magento\Sales\Model\Order\Shipment\TrackRepository\Proxy generation error: The requested class did not generate properly, because the 'generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only. [] []