The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.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/TDmZkXJm/3/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 into spi-builder-workspace
36911c13adfe12859ed43dcba878052b1897fcd3
SUCCESS checkout https://github.com/BiAtoms/Socket.swift.git at 2.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[1/8] Compiling SocketSwift Protocol.swift
[2/8] Compiling SocketSwift TLS.swift
/Users/builder/builds/TDmZkXJm/3/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
[3/9] Compiling SocketSwift Option.swift
[4/9] Emitting module SocketSwift
/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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
[5/9] Compiling SocketSwift OS.swift
[6/9] Compiling SocketSwift Family.swift
[7/9] Compiling SocketSwift Socket.swift
/Users/builder/builds/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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/TDmZkXJm/3/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)) }
                                                                          ^
[8/9] Compiling SocketSwift Error.swift
[9/9] Compiling SocketSwift Type.swift
Build complete! (3.32s)
Build complete.
Done.