Strange, it's compiling and running successfully on my devices. Are you on the latest beta of Xcode 13 and iOS 15? Once you replace the "async" keyword for the async blocks with "Task" that should be enough to compile and run. You will also have to make the appropriate changes to the Task set and tasks.insert() lines.