See: https://adventofcode.com/2021
Solved in Swift 5.5.
Xcode seems to have issues building this and doesn't like package resources. Build and run using swift build && swift run.
swift build && swift run