Writing a single-threaded program difficult under the Swift 6 language mode | Hacker News Reader