To avoid the build errors, the package manager has to be set to Branch:main instead of latest.
The code now builds without errors.
Topic:
Machine Learning & AI
SubTopic:
Core AI