The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: 0.3.2
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/Socket
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at 489e63b Sleep between every socket polling
Cloned https://github.com/PureSwift/Socket.git into spi-builder-workspace
489e63b9cf0998f820f9f994f25cd5cb5f602404
SUCCESS checkout https://github.com/PureSwift/Socket.git at 0.3.2
========================================
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.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/PureSwift/swift-system from cache
Fetched https://github.com/PureSwift/swift-system (0.18s)
Creating working copy for https://github.com/PureSwift/swift-system
Working copy of https://github.com/PureSwift/swift-system resolved at feature/dynamic-lib
Building for debugging...
[0/2] Compiling CSocket shims.c
[1/2] Compiling CSystem shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/26] Compiling SystemPackage Errno.swift
[4/26] Compiling SystemPackage FileDescriptor.swift
[5/26] Compiling SystemPackage FileHelpers.swift
[6/26] Compiling SystemPackage FileOperations.swift
[7/26] Emitting module SystemPackage
/Users/builder/builds/TDmZkXJm/0/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>) {
                   ^
[8/29] Compiling SystemPackage RawBuffer.swift
[9/29] Compiling SystemPackage Syscalls.swift
[10/29] Compiling SystemPackage WindowsSyscallAdapters.swift
[11/29] Compiling SystemPackage FilePermissions.swift
[12/29] Compiling SystemPackage Backcompat.swift
[13/29] Compiling SystemPackage CInterop.swift
[14/29] Compiling SystemPackage Constants.swift
[15/29] Compiling SystemPackage Exports.swift
[16/29] Compiling SystemPackage Mocking.swift
[17/29] Compiling SystemPackage FilePath.swift
[18/29] Compiling SystemPackage FilePathComponentView.swift
[19/29] Compiling SystemPackage FilePathComponents.swift
[20/29] Compiling SystemPackage FilePathParsing.swift
[21/29] Compiling SystemPackage FilePathString.swift
[22/29] Compiling SystemPackage FilePathSyntax.swift
[23/29] Compiling SystemPackage FilePathWindows.swift
[24/29] Compiling SystemPackage MachPort.swift
/Users/builder/builds/TDmZkXJm/0/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/0/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))
           ^
[25/29] Compiling SystemPackage PlatformString.swift
/Users/builder/builds/TDmZkXJm/0/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/0/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))
           ^
[26/29] Compiling SystemPackage SystemString.swift
/Users/builder/builds/TDmZkXJm/0/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/0/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))
           ^
[27/29] Compiling SystemPackage Util+StringArray.swift
[28/29] Compiling SystemPackage Util.swift
[29/29] Compiling SystemPackage UtilConsumers.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module SystemPackage
/Users/builder/builds/TDmZkXJm/0/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>) {
                   ^
[2/4] Compiling SystemPackage PlatformString.swift
[3/4] Compiling SystemPackage SystemString.swift
[4/4] Compiling SystemPackage MachPort.swift
/Users/builder/builds/TDmZkXJm/0/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/0/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))
           ^
[5/24] Compiling SystemPackage Syscalls.swift
[6/24] Compiling SystemPackage Util+StringArray.swift
[7/24] Compiling SystemPackage Backcompat.swift
[8/24] Compiling SystemPackage Exports.swift
[9/24] Compiling SystemPackage Mocking.swift
[10/24] Compiling SystemPackage RawBuffer.swift
[11/24] Compiling SystemPackage Util.swift
[12/24] Compiling SystemPackage UtilConsumers.swift
[13/24] Compiling SystemPackage FilePathSyntax.swift
[14/24] Compiling SystemPackage FilePathWindows.swift
[15/24] Compiling SystemPackage FilePermissions.swift
[16/24] Compiling SystemPackage FileOperations.swift
[17/24] Compiling SystemPackage FilePath.swift
[18/24] Compiling SystemPackage FilePathComponentView.swift
[19/24] Compiling SystemPackage FilePathComponents.swift
[20/24] Compiling SystemPackage FilePathParsing.swift
[21/24] Compiling SystemPackage FilePathString.swift
[22/24] Compiling SystemPackage Errno.swift
[23/24] Compiling SystemPackage FileDescriptor.swift
[24/24] Compiling SystemPackage FileHelpers.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm