The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MicroExpress, reference 0.0.1 (06f66c), with Swift 6.2 (beta) for Linux on 19 Jun 2025 13:04:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.git
Reference: 0.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/helje5/MicroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swift-server/http
[1/1874] Fetching http
Fetched https://github.com/swift-server/http from cache (0.37s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (1.66s)
Creating working copy for https://github.com/swift-server/http
Working copy of https://github.com/swift-server/http resolved at 0.1.0
Building for debugging...
[0/10] Write sources
[3/10] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling CHTTPParser http_parser.c
[6/21] Compiling HTTP HTTPVersion.swift
[7/21] Compiling HTTP PoCSocketConnectionListener.swift
[8/21] Compiling HTTP PoCSocket.swift
/host/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
228 |         var addr_in = sockaddr_in()
229 |
230 |         listeningPort = try withUnsafePointer(to: &addr_in) { pointer in
    |                                                   `- error: overlapping accesses to 'addr_in', but modification requires exclusive access; consider copying to a local variable
231 |             var len = socklen_t(MemoryLayout<sockaddr_in>.size)
232 |             if getsockname(socketfd, UnsafeMutablePointer(OpaquePointer(pointer)), &len) != 0 {
    :
234 |             }
235 |             #if os(Linux)
236 |                 return Int32(ntohs(addr_in.sin_port))
    |                                            `- note: conflicting access is here
237 |             #else
238 |                 return Int32(Int(OSHostByteOrder()) != OSLittleEndian ? addr_in.sin_port.littleEndian : addr_in.sin_port.bigEndian)
[9/22] Compiling HTTP HTTPResponse.swift
[10/22] Compiling HTTP HTTPServer.swift
[11/22] Compiling HTTP HTTPMethod.swift
[12/22] Compiling HTTP HTTPRequest.swift
[13/22] Compiling HTTP HTTPCommon.swift
[14/22] Compiling HTTP HTTPHeaders.swift
[15/22] Compiling HTTP HTTPStreamingParser.swift
[16/22] Emitting module HTTP
[17/22] Compiling HTTP PoCSocketSimpleServer.swift
BUILD FAILURE 6.2 linux