Build Information
Failed to build MicroExpress with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.git
Reference: 0.0.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/helje5/MicroExpress
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 06f66cf Language tag
Cloned https://github.com/helje5/MicroExpress.git
Revision (git rev-parse @):
06f66cf05a8cd8a1e0dca120d615afbc470bde10
SUCCESS checkout https://github.com/helje5/MicroExpress.git at 0.0.1
Fetching https://github.com/swift-server/http from cache
Fetched https://github.com/swift-server/http (0.19s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (0.02s)
Creating working copy for https://github.com/swift-server/http
Working copy of https://github.com/swift-server/http resolved at 0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "microexpress",
"name": "MicroExpress",
"url": "https://github.com/helje5/MicroExpress.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MicroExpress",
"dependencies": [
{
"identity": "http",
"name": "SwiftServerHttp",
"url": "https://github.com/swift-server/http",
"version": "0.1.0",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/http",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/helje5/MicroExpress.git from cache
Fetched https://github.com/helje5/MicroExpress.git (0.15s)
Fetching https://github.com/swift-server/http from cache
Fetched https://github.com/swift-server/http (0.25s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (0.02s)
Creating working copy for https://github.com/swift-server/http
Working copy of https://github.com/swift-server/http resolved at 0.1.0
Creating working copy for https://github.com/helje5/MicroExpress.git
Working copy of https://github.com/helje5/MicroExpress.git resolved at 0.0.1
warning: '.resolve-product-dependencies': dependency 'microexpress' is not used by any target
Found 1 product dependencies
- SwiftServerHttp
========================================
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...
[0/2] Compiling CHTTPParser http_parser.c
[2/13] Compiling HTTP PoCSocket.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/PoCSocket/PoCSocket.swift:230:51: error: overlapping accesses to 'addr_in', but modification requires exclusive access; consider copying to a local variable
listeningPort = try withUnsafePointer(to: &addr_in) { pointer in
^~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/PoCSocket/PoCSocket.swift:238:81: note: conflicting access is here
return Int32(Int(OSHostByteOrder()) != OSLittleEndian ? addr_in.sin_port.littleEndian : addr_in.sin_port.bigEndian)
~~~~~~~~^~~~~~~~
[3/14] Compiling HTTP PoCSocketConnectionListener.swift
[4/14] Compiling HTTP HTTPVersion.swift
[5/14] Compiling HTTP HTTPMethod.swift
[6/14] Compiling HTTP HTTPRequest.swift
[7/14] Compiling HTTP HTTPCommon.swift
[8/14] Compiling HTTP HTTPHeaders.swift
[9/14] Compiling HTTP HTTPStreamingParser.swift
[10/14] Compiling HTTP HTTPResponse.swift
[11/14] Compiling HTTP HTTPServer.swift
[12/14] Emitting module HTTP
[13/14] Compiling HTTP PoCSocketSimpleServer.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Emitting module HTTP
[2/3] Compiling HTTP PoCSocket.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/PoCSocket/PoCSocket.swift:230:51: error: overlapping accesses to 'addr_in', but modification requires exclusive access; consider copying to a local variable
listeningPort = try withUnsafePointer(to: &addr_in) { pointer in
^~~~~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/PoCSocket/PoCSocket.swift:238:81: note: conflicting access is here
return Int32(Int(OSHostByteOrder()) != OSLittleEndian ? addr_in.sin_port.littleEndian : addr_in.sin_port.bigEndian)
~~~~~~~~^~~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm