The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MicroExpress with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/MicroExpress.git
Reference: 0.0.1
Cloned https://github.com/helje5/MicroExpress.git into spi-builder-workspace
SUCCESS checkout https://github.com/helje5/MicroExpress.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/swift-server/http
[1/1874] Fetching http
Fetched https://github.com/swift-server/http (0.28s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (0.27s)
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/5] Compiling CHTTPParser http_parser.c
[2/16] Compiling HTTP HTTPVersion.swift
[3/17] Emitting module HTTP
[4/17] Compiling HTTP PoCSocketConnectionListener.swift
[5/17] 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
        listeningPort = try withUnsafePointer(to: &addr_in) { pointer in
                                                  ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http/Sources/HTTP/PoCSocket/PoCSocket.swift:236:44: note: conflicting access is here
                return Int32(ntohs(addr_in.sin_port))
                                   ~~~~~~~~^~~~~~~~
[6/17] Compiling HTTP PoCSocketSimpleServer.swift
[7/17] Compiling HTTP HTTPMethod.swift
[8/17] Compiling HTTP HTTPRequest.swift
[9/17] Compiling HTTP HTTPCommon.swift
[10/17] Compiling HTTP HTTPHeaders.swift
[11/17] Compiling HTTP HTTPResponse.swift
[12/17] Compiling HTTP HTTPServer.swift
[13/17] Compiling HTTP HTTPStreamingParser.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1