The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftUPnP with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/katoemba/SwiftUPnP.git
Reference: main
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/katoemba/SwiftUPnP
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d86f60e Allow to specify custom types to be discovered in UPnPRegistry.startDiscovery.
Cloned https://github.com/katoemba/SwiftUPnP.git
Revision (git rev-parse @):
d86f60e5fdaabb81c9734177778b4a9893b94179
SUCCESS checkout https://github.com/katoemba/SwiftUPnP.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/katoemba/SwiftUPnP.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/httpswift/swifter
[1/6032] Fetching swifter
Fetched https://github.com/httpswift/swifter (0.70s)
Fetching https://github.com/robbiehanson/CocoaAsyncSocket
[1/6417] Fetching cocoaasyncsocket
Fetched https://github.com/robbiehanson/CocoaAsyncSocket (0.70s)
Fetching https://github.com/WeTransfer/Mocker.git
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/1850] Fetching mocker
[593/11861] Fetching mocker, xmlcoder
Fetched https://github.com/WeTransfer/Mocker.git (0.48s)
Fetched https://github.com/CoreOffice/XMLCoder.git (0.49s)
Computing version for https://github.com/WeTransfer/Mocker.git
Computed https://github.com/WeTransfer/Mocker.git at 3.0.2 (0.40s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.15.0 (0.39s)
Creating working copy for https://github.com/robbiehanson/CocoaAsyncSocket
Working copy of https://github.com/robbiehanson/CocoaAsyncSocket resolved at master
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.15.0
Creating working copy for https://github.com/httpswift/swifter
Working copy of https://github.com/httpswift/swifter resolved at stable
Creating working copy for https://github.com/WeTransfer/Mocker.git
Working copy of https://github.com/WeTransfer/Mocker.git resolved at 3.0.2
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling CocoaAsyncSocket GCDAsyncUdpSocket.m
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/5] Compiling CocoaAsyncSocket GCDAsyncSocket.m
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling CocoaAsyncSocket GCDAsyncSocket.m
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.m:11:
/host/spi-builder-workspace/.build/checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncUdpSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/5] Compiling CocoaAsyncSocket GCDAsyncUdpSocket.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2