Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14590] 5.5 snapshots not compiling SwiftNIO tests on Linux #56942

Open
weissi opened this issue May 4, 2021 · 1 comment
Open

[SR-14590] 5.5 snapshots not compiling SwiftNIO tests on Linux #56942

weissi opened this issue May 4, 2021 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@weissi
Copy link
Member

weissi commented May 4, 2021

Previous ID SR-14590
Radar rdar://problem/78215632
Original Reporter @weissi
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 5.5Regression
Assignee None
Priority Medium

md5: 73db81af58a1df3c32eb79c06385dabd

Issue Description:

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
[...]

Probably the saem as SR-14268

@weissi
Copy link
Member Author

weissi commented May 19, 2021

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant