Closed vojtarylko closed 2 years ago
What version of Soto are you using?
I'm using 6.1.2
.
And what version of SotoCore are you using. Maybe you need to run a package update. I've been compiling with both 5.6 and 5.7 for ages without issue.
The latest async-http-client set that callback to be Sendable, which is really a breaking change for swift 5.6 and shouldn't have been implemented. swift-log did the same thing as well. I think this is general teething problems with adopting Sendable. I'll fix it for Soto as well
This should be fixed by https://github.com/soto-project/soto-core/pull/518 when it gets merged. I would like to get the NIOLock warnings fixed as well before doing a merge, but swift-nio missed one method, which has just been rectified. Once they include that in a release I can do a release for SotoCore
@adam-fowler Thanks for the fix!
Fixed in v6.1.3
Current
AWSHTTPClient.shutdown
doesn't requireSendable
callback:but corresponding function in
HTTPClient
does.This fails the compilation with (on Swift 5.6)
or produces warning (on Swift 5.7)