The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SocketSwift with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BiAtoms/Socket.swift.git
Reference: 2.4.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/BiAtoms/Socket.swift
 * tag               2.4.0      -> FETCH_HEAD
HEAD is now at 36911c1 Removed .swift_version file
Cloned https://github.com/BiAtoms/Socket.swift.git
Revision (git rev-parse @):
36911c13adfe12859ed43dcba878052b1897fcd3
SUCCESS checkout https://github.com/BiAtoms/Socket.swift.git at 2.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/BiAtoms/Socket.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/10] Compiling SocketSwift TLS.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TLS.swift:165:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func importCert(at path: URL, password: String) -> Certificate {
    ^~~~
    public
[4/11] Compiling SocketSwift Protocol.swift
[5/11] Compiling SocketSwift OS.swift
[6/11] Compiling SocketSwift Option.swift
[7/11] Compiling SocketSwift Family.swift
[8/11] Compiling SocketSwift Error.swift
[9/11] Emitting module SocketSwift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:211:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func tcpListening(port: Port, address: String? = nil, maxPendingConnection: Int32 = SOMAXCONN) throws -> Self {
    ^~~~
    public
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:224:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
    open func write(_ bytes: [Byte]) throws {
    ^~~~
    public
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TLS.swift:165:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func importCert(at path: URL, password: String) -> Certificate {
    ^~~~
    public
[10/11] Compiling SocketSwift Socket.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:211:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func tcpListening(port: Port, address: String? = nil, maxPendingConnection: Int32 = SOMAXCONN) throws -> Self {
    ^~~~
    public
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:224:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
    open func write(_ bytes: [Byte]) throws {
    ^~~~
    public
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:202:19: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
        let ptr = UnsafeMutableRawPointer(&address).assumingMemoryBound(to: sockaddr.self)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:202:43: note: implicit argument conversion from 'sockaddr_in' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        let ptr = UnsafeMutableRawPointer(&address).assumingMemoryBound(to: sockaddr.self)
                                          ^~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:202:43: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
        let ptr = UnsafeMutableRawPointer(&address).assumingMemoryBound(to: sockaddr.self)
                                          ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Socket.swift:97:75: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
        try ing { setsockopt(fileDescriptor, SOL_SOCKET, option.rawValue, &state, socklen_t(size)) }
                                                                          ^
[11/11] Compiling SocketSwift Type.swift
Build complete! (3.28s)
Build complete.
Done.