The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Socket, reference 0.5.1 (9d27d8), with Swift 6.2 (beta) for Linux on 25 Jul 2025 20:25:56 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/Socket.git
Reference: 0.5.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/PureSwift/Socket
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 9d27d8b Update GitHub CI
Cloned https://github.com/PureSwift/Socket.git
Revision (git rev-parse @):
9d27d8b6619e80f4e7966acd23bf3663f1374f64
SUCCESS checkout https://github.com/PureSwift/Socket.git at 0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PureSwift/Socket.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system
[1/3867] Fetching swift-log
[504/8526] Fetching swift-log, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Fetched https://github.com/apple/swift-system from cache (0.49s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.95s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.48s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
Building for debugging...
[0/6] Write sources
[2/6] Compiling CSocket android.c
[3/6] Compiling CSystem shims.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling CSocket shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/37] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:874:18: error: a mutating method cannot return a ~Escapable result
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
874 |         mutating get {
    |                  `- error: a mutating method cannot return a ~Escapable result
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
876 |             return unsafe _overrideLifetime(span, mutating: &self)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:873:10: error: unknown attribute '_lifetime'
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
    |          `- error: unknown attribute '_lifetime'
874 |         mutating get {
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:872:27: error: the '_read' accessor cannot return a ~Escapable result
870 |     }
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
    |                           `- error: the '_read' accessor cannot return a ~Escapable result
873 |         @_lifetime(&self)
874 |         mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:880:42: error: a method cannot return a ~Escapable result
878 |     }
879 |
880 |     @inlinable public var bytes: RawSpan {
    |                                          `- error: a method cannot return a ~Escapable result
881 |         let span = RawSpan(_unsafeBytes: UnsafeRawBufferPointer(unsafeBuffer))
882 |         return unsafe _overrideLifetime(span, borrowing: self)
[8/41] Compiling SystemPackage FilePathSyntax.swift
[9/41] Compiling SystemPackage FilePathTemp.swift
[10/41] Compiling SystemPackage FilePathTempPosix.swift
[11/41] Compiling SystemPackage FilePathTempWindows.swift
[12/41] Compiling SystemPackage SystemString.swift
[13/41] Compiling SystemPackage Util+StringArray.swift
[14/41] Compiling SystemPackage Util.swift
[15/41] Compiling SystemPackage UtilConsumers.swift
[16/41] Compiling SystemPackage Syscalls.swift
[17/41] Compiling SystemPackage WindowsSyscallAdapters.swift
[18/41] Compiling SystemPackage MachPort.swift
[19/41] Compiling SystemPackage PlatformString.swift
[20/41] Compiling SystemPackage FilePathWindows.swift
[21/41] Compiling SystemPackage FilePermissions.swift
[22/41] Compiling SystemPackage IOCompletion.swift
[23/41] Compiling SystemPackage IORequest.swift
[24/41] Compiling SystemPackage Constants.swift
[25/41] Compiling SystemPackage Exports.swift
[26/41] Compiling SystemPackage Mocking.swift
[27/41] Compiling SystemPackage RawBuffer.swift
[28/41] Compiling SystemPackage Errno.swift
[29/41] Compiling SystemPackage ErrnoWindows.swift
[30/41] Compiling SystemPackage FileDescriptor.swift
[31/41] Compiling SystemPackage FileHelpers.swift
[32/41] Compiling SystemPackage FileOperations.swift
[33/41] Compiling SystemPackage FilePath.swift
[34/41] Compiling SystemPackage FilePathComponentView.swift
[35/41] Compiling SystemPackage FilePathComponents.swift
[36/41] Compiling SystemPackage FilePathParsing.swift
[37/41] Compiling SystemPackage FilePathString.swift
[38/41] Compiling SystemPackage IORing.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:874:18: error: a mutating method cannot return a ~Escapable result
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
874 |         mutating get {
    |                  `- error: a mutating method cannot return a ~Escapable result
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
876 |             return unsafe _overrideLifetime(span, mutating: &self)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:873:10: error: unknown attribute '_lifetime'
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
    |          `- error: unknown attribute '_lifetime'
874 |         mutating get {
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:872:27: error: the '_read' accessor cannot return a ~Escapable result
870 |     }
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
    |                           `- error: the '_read' accessor cannot return a ~Escapable result
873 |         @_lifetime(&self)
874 |         mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:880:42: error: a method cannot return a ~Escapable result
878 |     }
879 |
880 |     @inlinable public var bytes: RawSpan {
    |                                          `- error: a method cannot return a ~Escapable result
881 |         let span = RawSpan(_unsafeBytes: UnsafeRawBufferPointer(unsafeBuffer))
882 |         return unsafe _overrideLifetime(span, borrowing: self)
[39/41] Compiling SystemPackage RawIORequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:874:18: error: a mutating method cannot return a ~Escapable result
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
874 |         mutating get {
    |                  `- error: a mutating method cannot return a ~Escapable result
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
876 |             return unsafe _overrideLifetime(span, mutating: &self)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:873:10: error: unknown attribute '_lifetime'
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
    |          `- error: unknown attribute '_lifetime'
874 |         mutating get {
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:872:27: error: the '_read' accessor cannot return a ~Escapable result
870 |     }
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
    |                           `- error: the '_read' accessor cannot return a ~Escapable result
873 |         @_lifetime(&self)
874 |         mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:880:42: error: a method cannot return a ~Escapable result
878 |     }
879 |
880 |     @inlinable public var bytes: RawSpan {
    |                                          `- error: a method cannot return a ~Escapable result
881 |         let span = RawSpan(_unsafeBytes: UnsafeRawBufferPointer(unsafeBuffer))
882 |         return unsafe _overrideLifetime(span, borrowing: self)
[40/41] Compiling SystemPackage Backcompat.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:874:18: error: a mutating method cannot return a ~Escapable result
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
874 |         mutating get {
    |                  `- error: a mutating method cannot return a ~Escapable result
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
876 |             return unsafe _overrideLifetime(span, mutating: &self)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:873:10: error: unknown attribute '_lifetime'
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
    |          `- error: unknown attribute '_lifetime'
874 |         mutating get {
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:872:27: error: the '_read' accessor cannot return a ~Escapable result
870 |     }
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
    |                           `- error: the '_read' accessor cannot return a ~Escapable result
873 |         @_lifetime(&self)
874 |         mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:880:42: error: a method cannot return a ~Escapable result
878 |     }
879 |
880 |     @inlinable public var bytes: RawSpan {
    |                                          `- error: a method cannot return a ~Escapable result
881 |         let span = RawSpan(_unsafeBytes: UnsafeRawBufferPointer(unsafeBuffer))
882 |         return unsafe _overrideLifetime(span, borrowing: self)
[41/41] Compiling SystemPackage CInterop.swift
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:874:18: error: a mutating method cannot return a ~Escapable result
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
874 |         mutating get {
    |                  `- error: a mutating method cannot return a ~Escapable result
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
876 |             return unsafe _overrideLifetime(span, mutating: &self)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:873:10: error: unknown attribute '_lifetime'
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
873 |         @_lifetime(&self)
    |          `- error: unknown attribute '_lifetime'
874 |         mutating get {
875 |             let span = MutableRawSpan(_unsafeBytes: unsafeBuffer)
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:872:27: error: the '_read' accessor cannot return a ~Escapable result
870 |     }
871 |
872 |     @inlinable public var mutableBytes: MutableRawSpan {
    |                           `- error: the '_read' accessor cannot return a ~Escapable result
873 |         @_lifetime(&self)
874 |         mutating get {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/IORing/IORing.swift:880:42: error: a method cannot return a ~Escapable result
878 |     }
879 |
880 |     @inlinable public var bytes: RawSpan {
    |                                          `- error: a method cannot return a ~Escapable result
881 |         let span = RawSpan(_unsafeBytes: UnsafeRawBufferPointer(unsafeBuffer))
882 |         return unsafe _overrideLifetime(span, borrowing: self)
BUILD FAILURE 6.2 linux