Open
Description
Description
Failure first reported here: https://ci.swift.org/job/swift-main-source-compat-suite-debug/854/console
Reproduction
Error:
/Users/ec2-user/jenkins/workspace/swift-main-source-compat-suite-debug/swift-source-compat-suite/project_cache/vapor_websocket-kit/Tests/WebSocketKitTests/SSLTestHelpers.swift:79:70: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutableRawPointer?'
77 |
78 | let pkey = CNIOBoringSSL_EVP_PKEY_new()!
79 | let assignRC = CNIOBoringSSL_EVP_PKEY_assign(pkey, EVP_PKEY_RSA, rsa)
| `- error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutableRawPointer?'
80 |
81 | precondition(assignRC == 1)
/Users/ec2-user/jenkins/workspace/swift-main-source-compat-suite-debug/swift-source-compat-suite/project_cache/vapor_websocket-kit/Tests/WebSocketKitTests/SSLTestHelpers.swift:128:54: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ossl_ssize_t' (aka 'Int')
126 | MBSTRING_UTF8,
127 | UnsafeMutablePointer(mutating: pointer),
128 | CInt(commonName.lengthOfBytes(using: .utf8)),
| `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'ossl_ssize_t' (aka 'Int')
129 | -1,
130 | 0)
Expected behavior
The project builds without errors.
Environment
Reported on the main, 6.0 and 5.10 bots.
Additional information
No response