When trying to find fix for this issue I came across 2 useful flags for Swift concurrency - -Xfrontend -warn-concurrency -Xfrontend -enable-actor-data-race-checks (https://twitter.com/olebegemann/status/1421144304127463427)
These flags add additional code checks, which are not enabled by default, and they found 55 errors in our current code.
Originally posted by @sosnovsky in #1022 (comment)
After fixing, could we set these as errors instead of warnings? Also in CI.