What version of erase-install.pkg are you using, and what is your command that you're running to execute the upgrade?
Edit - Actually, it looks like you're using version 25? If so, you should get at least version 27.2 from the Github site
Did the user see the popup prompt for them to enter their password? It looks like in the script it says user cancelled so I'm guessing the prompt was exited or the password was not supplied. Make sure you're using the --current-user flag so they don't have to enter their account name - described here: https://github.com/grahampugh/erase-install/wiki/Legacy-6.-Upgrading-or-reinstalling-macOS