The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MicroExpress 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/helje5/MicroExpress.git
Reference: 0.0.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/helje5/MicroExpress.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[3/9] Write MicroHelloServer-entitlement.plist
[4/9] Write swift-version--423B1241ED78D482.txt
[5/9] Compiling CHTTPParser http_parser.c
[7/20] Compiling HTTP HTTPVersion.swift
[8/21] Compiling HTTP PoCSocketConnectionListener.swift
[9/21] Compiling HTTP PoCSocket.swift
/Users/builder/builds/UKfvDsi8u/2/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/UKfvDsi8u/2/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)
                                                                        ~~~~~~~~^~~~~~~~
[10/21] Compiling HTTP PoCSocketSimpleServer.swift
[11/21] Compiling HTTP HTTPResponse.swift
[12/21] Compiling HTTP HTTPServer.swift
[13/21] Compiling HTTP HTTPMethod.swift
[14/21] Compiling HTTP HTTPRequest.swift
[15/21] Compiling HTTP HTTPCommon.swift
[16/21] Compiling HTTP HTTPHeaders.swift
[17/21] Emitting module HTTP
[18/21] Compiling HTTP HTTPStreamingParser.swift
error: fatalError
Fetching https://github.com/swift-server/http
[1/1874] Fetching http
Fetched https://github.com/swift-server/http from cache (0.34s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (0.34s)
Creating working copy for https://github.com/swift-server/http
Working copy of https://github.com/swift-server/http resolved at 0.1.0
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling HTTP PoCSocket.swift
/Users/builder/builds/UKfvDsi8u/2/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/UKfvDsi8u/2/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/6] Emitting module HTTP
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7