I wiped the user data and reset the phone to test if I can use a SIM with it:
$ fastboot flashall -w
ERROR: could not clear output pipe; result e00002ed, ignoring....
--------------------------------------------
ERROR: usb_write failed with status e00002c0
getvar:version-bootloader FAILED (Write to device failed (No such file or directory))
ERROR: usb_write failed with status e00002c0
getvar:version-baseband FAILED (Write to device failed (No such file or directory))
ERROR: usb_write failed with status e00002c0
getvar:serialno FAILED (Write to device failed (No such file or directory))
--------------------------------------------
fastboot: error: ANDROID_PRODUCT_OUT not set
I got to test eSim with fresh GrapheneOS install.
It launcher SIM Manager, scanned the Speedtest QR code, and then complained that it was invalid.
Is my phone SIM locked? I have never put a SIM in it before. It was always on wifi.
I got it second hand from Amazon.de. The phone was sold in Germany, but it could well be SIM locked.
Germany has not got any laws prohibiting SIM locking, but I had thought the practice uncommon. Could this be the problem.