Build Information
Failed to build MicroExpress with Swift 5.8 for Linux.
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 /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: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/swift-server/http
[1/1874] Fetching http
Fetched https://github.com/swift-server/http (0.38s)
Computing version for https://github.com/swift-server/http
Computed https://github.com/swift-server/http at 0.1.0 (0.35s)
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] 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))
~~~~~~~~^~~~~~~~
[4/17] Compiling HTTP PoCSocketConnectionListener.swift
[5/17] Compiling HTTP HTTPCommon.swift
[6/17] Compiling HTTP HTTPHeaders.swift
[7/17] Emitting module HTTP
[8/17] Compiling HTTP PoCSocketSimpleServer.swift
[9/17] Compiling HTTP HTTPResponse.swift
[10/17] Compiling HTTP HTTPServer.swift
[11/17] Compiling HTTP HTTPMethod.swift
[12/17] Compiling HTTP HTTPRequest.swift
[13/17] Compiling HTTP HTTPStreamingParser.swift
[0/1] Planning build
Building for debugging...
[1/6] Emitting module HTTP
[2/6] 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))
~~~~~~~~^~~~~~~~
BUILD FAILURE 5.8 linux