Build Information
Successful build of SocketSwift with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BiAtoms/Socket.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/BiAtoms/Socket.swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "socket.swift",
"name": "SocketSwift",
"url": "https://github.com/BiAtoms/Socket.swift.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Socket.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/BiAtoms/Socket.swift.git from cache
Fetched https://github.com/BiAtoms/Socket.swift.git (0.17s)
Creating working copy for https://github.com/BiAtoms/Socket.swift.git
Working copy of https://github.com/BiAtoms/Socket.swift.git resolved at master
warning: '.resolve-product-dependencies': dependency 'socket.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling SocketSwift Option.swift
[2/8] Compiling SocketSwift Error.swift
[3/8] Compiling SocketSwift Protocol.swift
[4/8] Compiling SocketSwift Socket.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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)) }
^
[5/8] Compiling SocketSwift OS.swift
[6/8] Compiling SocketSwift TLS.swift
/Users/admin/builds/J1XnyXFH/1/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
[7/8] Compiling SocketSwift Family.swift
[8/8] Emitting module SocketSwift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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
[9/9] Compiling SocketSwift Type.swift
Build complete! (8.54s)
Build complete.
Done.