You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to compile the SwiftNIO test suite on today's 5.5 snapshot, I get loads of errors:
root@2e4fb5587921:/Users/johannes/devel/swift-nio# /tmp/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a-ubuntu18.04/usr/bin/swift build --build-tests
/Users/johannes/devel/swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:276:25: error: value of type 'sockaddr_in' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/TestUtils.swift:279:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
return addr.addressDescription()
~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:89:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
let s = address.addressDescription()
~~~~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:180:40: error: value of type 'sockaddr_in' has no member 'withMutableSockAddr'
var firstCopy = firstIPAddress.withMutableSockAddr { (addr, size) -> sockaddr_in in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:184:42: error: value of type 'sockaddr_in6' has no member 'withMutableSockAddr'
var secondCopy = secondIPAddress.withMutableSockAddr { (addr, size) -> sockaddr_in6 in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:225:24: error: value of type 'sockaddr_in' has no member 'withMutableSockAddr'
firstIPAddress.withMutableSockAddr { (addr, size) -> Void in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:230:25: error: value of type 'sockaddr_in6' has no member 'withMutableSockAddr'
secondIPAddress.withMutableSockAddr { (addr, size) -> Void in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:275:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:281:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:287:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:318:28: error: value of type 'sockaddr_in' has no member 'withSockAddr'
firstIPAddress.withSockAddr { innerAddr, innerSize in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:325:29: error: value of type 'sockaddr_in6' has no member 'withSockAddr'
secondIPAddress.withSockAddr { innerAddr, innerSize in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:455:17: error: value of type 'sockaddr_storage' has no member 'withMutableSockAddr'
storage.withMutableSockAddr { (addr, _) in
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:89:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
let s = address.addressDescription()
~~~~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:180:40: error: value of type 'sockaddr_in' has no member 'withMutableSockAddr'
var firstCopy = firstIPAddress.withMutableSockAddr { (addr, size) -> sockaddr_in in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:184:42: error: value of type 'sockaddr_in6' has no member 'withMutableSockAddr'
var secondCopy = secondIPAddress.withMutableSockAddr { (addr, size) -> sockaddr_in6 in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:225:24: error: value of type 'sockaddr_in' has no member 'withMutableSockAddr'
firstIPAddress.withMutableSockAddr { (addr, size) -> Void in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:230:25: error: value of type 'sockaddr_in6' has no member 'withMutableSockAddr'
secondIPAddress.withMutableSockAddr { (addr, size) -> Void in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:275:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:281:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:287:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:318:28: error: value of type 'sockaddr_in' has no member 'withSockAddr'
firstIPAddress.withSockAddr { innerAddr, innerSize in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:325:29: error: value of type 'sockaddr_in6' has no member 'withSockAddr'
secondIPAddress.withSockAddr { innerAddr, innerSize in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:455:17: error: value of type 'sockaddr_storage' has no member 'withMutableSockAddr'
storage.withMutableSockAddr { (addr, _) in
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:89:25: error: value of type 'sockaddr_in6' has no member 'addressDescription'
let s = address.addressDescription()
~~~~~~~ ^~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:180:40: error: value of type 'sockaddr_in' has no member 'withMutableSockAddr'
var firstCopy = firstIPAddress.withMutableSockAddr { (addr, size) -> sockaddr_in in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:184:42: error: value of type 'sockaddr_in6' has no member 'withMutableSockAddr'
var secondCopy = secondIPAddress.withMutableSockAddr { (addr, size) -> sockaddr_in6 in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:225:24: error: value of type 'sockaddr_in' has no member 'withMutableSockAddr'
firstIPAddress.withMutableSockAddr { (addr, size) -> Void in
~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:230:25: error: value of type 'sockaddr_in6' has no member 'withMutableSockAddr'
secondIPAddress.withMutableSockAddr { (addr, size) -> Void in
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:275:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:281:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:287:28: error: value of type 'sockaddr_storage' has no member 'convert'
return storage.convert()
~~~~~~~ ^~~~~~~
/Users/johannes/devel/swift-nio/Tests/NIOTests/SocketAddressTest.swift:318:28: error: value of type 'sockaddr_in' has no member 'withSockAddr'
firstIPAddress.withSockAddr { innerAddr, innerSize in
[...]
Additional Detail from JIRA
md5: 73db81af58a1df3c32eb79c06385dabd
Issue Description:
When trying to compile the SwiftNIO test suite on today's 5.5 snapshot, I get loads of errors:
Probably the saem as SR-14268
The text was updated successfully, but these errors were encountered: