The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BluetoothLinux with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.2.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/bluetoothlinux.git
Reference: 5.0.5
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/pureswift/bluetoothlinux
 * tag               5.0.5      -> FETCH_HEAD
HEAD is now at ddd5493 Updated dependencies
Cloned https://github.com/pureswift/bluetoothlinux.git into spi-builder-workspace
ddd5493bd5382ca0132b8ca121dd35c7554ab7d0
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at 5.0.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.2.app" xcrun swift build --arch arm64
Fetching https://github.com/PureSwift/Socket.git from cache
Fetched https://github.com/PureSwift/Socket.git (0.19s)
Fetching https://github.com/PureSwift/swift-system from cache
Fetched https://github.com/PureSwift/swift-system (0.17s)
Fetching https://github.com/PureSwift/Bluetooth.git from cache
Fetched https://github.com/PureSwift/Bluetooth.git (0.20s)
Computing version for https://github.com/PureSwift/Bluetooth.git
Computed https://github.com/PureSwift/Bluetooth.git at 6.4.0 (0.55s)
Creating working copy for https://github.com/PureSwift/swift-system
Working copy of https://github.com/PureSwift/swift-system resolved at feature/dynamic-lib
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at 6.4.0
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main
Building for debugging...
[0/4] Compiling CSystem shims.c
[1/4] Compiling CBluetoothLinuxTest dummy.c
[2/4] Compiling CBluetoothLinux dummy.c
[3/4] Compiling CSocket shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/57] Compiling Bluetooth Address.swift
[6/57] Compiling Bluetooth AsyncIndefiniteStream.swift
[7/57] Compiling Bluetooth BitMaskOption.swift
[8/57] Emitting module SystemPackage
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
[9/60] Compiling SystemPackage RawBuffer.swift
[10/60] Compiling SystemPackage Syscalls.swift
[11/60] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/60] Compiling SystemPackage MachPort.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
[13/60] Compiling SystemPackage PlatformString.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
[14/60] Compiling SystemPackage SystemString.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
[15/60] Compiling SystemPackage Constants.swift
[16/60] Compiling SystemPackage Exports.swift
[17/60] Compiling SystemPackage Mocking.swift
[18/60] Compiling SystemPackage FilePermissions.swift
[19/60] Compiling SystemPackage Backcompat.swift
[20/60] Compiling SystemPackage CInterop.swift
[21/60] Compiling SystemPackage Errno.swift
[22/60] Compiling SystemPackage FileDescriptor.swift
[23/60] Compiling SystemPackage FileHelpers.swift
[24/60] Compiling Bluetooth UInt256.swift
[25/60] Compiling SystemPackage FilePath.swift
[26/60] Compiling SystemPackage FilePathComponentView.swift
[27/60] Compiling SystemPackage FilePathComponents.swift
[28/60] Compiling Bluetooth ByteSwap.swift
[29/60] Compiling SystemPackage Util+StringArray.swift
[30/60] Compiling SystemPackage Util.swift
[31/60] Compiling SystemPackage UtilConsumers.swift
error: fatalError
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/PureSwift/Socket.git from cache
Fetched https://github.com/PureSwift/Socket.git (0.19s)
Fetching https://github.com/PureSwift/swift-system from cache
Fetched https://github.com/PureSwift/swift-system (0.17s)
Fetching https://github.com/PureSwift/Bluetooth.git from cache
Fetched https://github.com/PureSwift/Bluetooth.git (0.20s)
Computing version for https://github.com/PureSwift/Bluetooth.git
Computed https://github.com/PureSwift/Bluetooth.git at 6.4.0 (0.55s)
Creating working copy for https://github.com/PureSwift/swift-system
Working copy of https://github.com/PureSwift/swift-system resolved at feature/dynamic-lib
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at 6.4.0
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main"
Output: "Building for debugging...
[0/4] Compiling CSystem shims.c
[1/4] Compiling CBluetoothLinuxTest dummy.c
[2/4] Compiling CBluetoothLinux dummy.c
[3/4] Compiling CSocket shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/57] Compiling Bluetooth Address.swift
[6/57] Compiling Bluetooth AsyncIndefiniteStream.swift
[7/57] Compiling Bluetooth BitMaskOption.swift
[8/57] Emitting module SystemPackage
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
[9/60] Compiling SystemPackage RawBuffer.swift
[10/60] Compiling SystemPackage Syscalls.swift
[11/60] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/60] Compiling SystemPackage MachPort.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
[13/60] Compiling SystemPackage PlatformString.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
[14/60] Compiling SystemPackage SystemString.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
[15/60] Compiling SystemPackage Constants.swift
[16/60] Compiling SystemPackage Exports.swift
[17/60] Compiling SystemPackage Mocking.swift
[18/60] Compiling SystemPackage FilePermissions.swift
[19/60] Compiling SystemPackage Backcompat.swift
[20/60] Compiling SystemPackage CInterop.swift
[21/60] Compiling SystemPackage Errno.swift
[22/60] Compiling SystemPackage FileDescriptor.swift
[23/60] Compiling SystemPackage FileHelpers.swift
[24/60] Compiling Bluetooth UInt256.swift
[25/60] Compiling SystemPackage FilePath.swift
[26/60] Compiling SystemPackage FilePathComponentView.swift
[27/60] Compiling SystemPackage FilePathComponents.swift
[28/60] Compiling Bluetooth ByteSwap.swift
[29/60] Compiling SystemPackage Util+StringArray.swift
[30/60] Compiling SystemPackage Util.swift
[31/60] Compiling SystemPackage UtilConsumers.swift
error: fatalError"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/33] Compiling SystemPackage PlatformString.swift
[2/33] Compiling SystemPackage SystemString.swift
[3/33] Compiling SystemPackage MachPort.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/33] Emitting module SystemPackage
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
[5/53] Compiling SystemPackage Mocking.swift
[6/53] Compiling SystemPackage RawBuffer.swift
[7/53] Compiling SystemPackage Util.swift
[8/53] Compiling SystemPackage UtilConsumers.swift
[9/53] Compiling SystemPackage Syscalls.swift
[10/53] Compiling SystemPackage Util+StringArray.swift
[11/53] Compiling SystemPackage FilePathSyntax.swift
[12/53] Compiling SystemPackage FilePathWindows.swift
[13/53] Compiling SystemPackage FilePermissions.swift
[14/53] Compiling SystemPackage Backcompat.swift
[15/53] Compiling SystemPackage Exports.swift
[16/53] Compiling SystemPackage Errno.swift
[17/53] Compiling SystemPackage FileDescriptor.swift
[18/53] Compiling SystemPackage FileHelpers.swift
[19/53] Compiling SystemPackage FileOperations.swift
[20/53] Compiling SystemPackage FilePath.swift
[21/53] Compiling SystemPackage FilePathComponentView.swift
[22/53] Compiling SystemPackage FilePathComponents.swift
[23/53] Compiling SystemPackage FilePathParsing.swift
[24/53] Compiling SystemPackage FilePathString.swift
error: fatalError
ShellOut encountered an error
Status code: 1
Message: ""
Output: "[0/1] Planning build
Building for debugging...
[1/33] Compiling SystemPackage PlatformString.swift
[2/33] Compiling SystemPackage SystemString.swift
[3/33] Compiling SystemPackage MachPort.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:141:12: error: tuples with noncopyable elements are not supported
    return (Mach.Port(name: name, context: secret), Mach.Port(name: name))
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/33] Emitting module SystemPackage
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/MachPort.swift:131:20: error: tuples with noncopyable elements are not supported
    (receive: Mach.Port<Mach.ReceiveRight>, send: Mach.Port<Mach.SendRight>) {
                   ^
[5/53] Compiling SystemPackage Mocking.swift
[6/53] Compiling SystemPackage RawBuffer.swift
[7/53] Compiling SystemPackage Util.swift
[8/53] Compiling SystemPackage UtilConsumers.swift
[9/53] Compiling SystemPackage Syscalls.swift
[10/53] Compiling SystemPackage Util+StringArray.swift
[11/53] Compiling SystemPackage FilePathSyntax.swift
[12/53] Compiling SystemPackage FilePathWindows.swift
[13/53] Compiling SystemPackage FilePermissions.swift
[14/53] Compiling SystemPackage Backcompat.swift
[15/53] Compiling SystemPackage Exports.swift
[16/53] Compiling SystemPackage Errno.swift
[17/53] Compiling SystemPackage FileDescriptor.swift
[18/53] Compiling SystemPackage FileHelpers.swift
[19/53] Compiling SystemPackage FileOperations.swift
[20/53] Compiling SystemPackage FilePath.swift
[21/53] Compiling SystemPackage FilePathComponentView.swift
[22/53] Compiling SystemPackage FilePathComponents.swift
[23/53] Compiling SystemPackage FilePathParsing.swift
[24/53] Compiling SystemPackage FilePathString.swift
error: fatalError"
BUILD FAILURE 5.9 macosSpm