Thanks for showing your code.
You may need to use Answers to show additional info well formatted.
I do not have enough time to watch the session video carefully, but your code seems to be taken from the session video or the sample code for the session.
It is intended to be compiled with Swift 5.5/Xcode 13.
Please try changing .listStyle(.carousel) to .listStyle(CarouselListStyle()).
But there may be other parts you need Swift 5.5.
Topic:
App & System Services
SubTopic:
Core OS
Tags: