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 BluetoothLinux, reference master (077f9d), with Swift 6.2 (beta) for Linux on 30 Jul 2025 04:03:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/bluetoothlinux.git
Reference: master
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/bluetoothlinux
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 077f9d3 Merge pull request #49 from the-braveknight/master
Cloned https://github.com/pureswift/bluetoothlinux.git
Revision (git rev-parse @):
077f9d36afdae57e12c436842db56ef318e2fd23
SUCCESS checkout https://github.com/pureswift/bluetoothlinux.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pureswift/bluetoothlinux.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/PureSwift/Bluetooth.git
[1/23834] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (2.12s)
Fetching https://github.com/PureSwift/Socket.git
[1/1321] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.43s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax.git
[1/4776] Fetching swift-system
[4491/76142] Fetching swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (0.73s)
[6423/71366] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.99s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (12.56s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.72s)
Creating working copy for https://github.com/PureSwift/Bluetooth.git
Working copy of https://github.com/PureSwift/Bluetooth.git resolved at master (52f228b)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/PureSwift/Socket.git
Working copy of https://github.com/PureSwift/Socket.git resolved at main (3a0b240)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
[0/14] Write sources
[0/14] Copying CompanyIdentifier.json
[0/14] Copying CharacteristicUUID.json
[0/14] Write sources
[4/14] Copying UnitIdentifier.json
[4/14] Copying ServiceUUID.json
[4/14] Copying MemberUUID.json
[4/14] Copying DescriptorUUID.json
[4/14] Copying DeclarationUUID.json
[9/14] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling BluetoothMetadata resource_bundle_accessor.swift
[12/19] Compiling BluetoothMetadata BluetoothUUID.swift
[13/19] Compiling BluetoothMetadata BluetoothMetadata.swift
[14/19] Compiling BluetoothMetadata CompanyIdentifier.swift
[15/19] Emitting module BluetoothMetadata
[16/27] Wrapping AST for BluetoothMetadata for debugging
[18/27] Emitting module GenerateBluetooth
[19/27] Compiling GenerateBluetooth CompanyIdentifier.swift
[20/27] Compiling GenerateBluetooth BluetoothUUID.swift
[21/27] Compiling GenerateBluetooth UnitIdentifier.swift
[22/27] Compiling GenerateBluetooth Generate.swift
[23/27] Compiling GenerateBluetooth Hexadecimal.swift
[24/27] Compiling GenerateBluetooth String.swift
[25/28] Wrapping AST for GenerateBluetooth for debugging
[26/28] Write Objects.LinkFileList
[27/28] Linking GenerateBluetooth-tool
[1/1] Compiling plugin GenerateBluetoothDefinitions
Building for debugging...
[1/76] Write sources
[19/76] Copying UnitIdentifier.json
[20/76] Copying ServiceUUID.json
[21/76] Copying MemberUUID.json
[22/76] Copying DescriptorUUID.json
[22/76] Copying DeclarationUUID.json
[24/76] Copying CompanyIdentifier.json
[25/76] Copying CharacteristicUUID.json
[26/76] Copying UnitIdentifier.json
[26/76] Copying ServiceUUID.json
[26/76] Copying MemberUUID.json
[29/76] Copying DescriptorUUID.json
[29/76] Copying DeclarationUUID.json
[31/76] Copying CompanyIdentifier.json
[32/76] Copying CharacteristicUUID.json
[32/76] Write sources
[39/76] Compiling _SwiftSyntaxCShims dummy.c
[40/76] Compiling CBluetoothLinux dummy.c
[41/76] Compiling CSocket android.c
[42/76] Compiling CBluetoothLinuxTest dummy.c
[43/76] Compiling CSystem shims.c
[44/76] Write swift-version-24593BA9C3E375BF.txt
[44/76] Compiling CSocket shims.c
[47/121] Compiling SwiftSyntax509 Empty.swift
[48/121] Compiling SwiftSyntax600 Empty.swift
[49/121] Compiling SwiftSyntax601 Empty.swift
[50/121] Emitting module SwiftSyntax600
[51/121] Compiling SwiftSyntax510 Empty.swift
[52/122] Emitting module SwiftSyntax510
[53/122] Emitting module SwiftSyntax509
[54/122] Emitting module SwiftSyntax601
[56/125] Compiling BluetoothMetadata BluetoothMetadata.swift
[60/125] Compiling BluetoothMetadata resource_bundle_accessor.swift
[61/125] Emitting module BluetoothMetadata
[62/125] Compiling BluetoothMetadata CompanyIdentifier.swift
[63/125] Emitting module BluetoothMetadata
[65/126] Compiling BluetoothMetadata BluetoothUUID.swift
[65/127] Wrapping AST for SwiftSyntax600 for debugging
[66/127] Wrapping AST for SwiftSyntax601 for debugging
[67/127] Wrapping AST for SwiftSyntax510 for debugging
[69/127] Wrapping AST for SwiftSyntax509 for debugging
[70/127] Wrapping AST for BluetoothMetadata for debugging
[72/192] Emitting module GenerateBluetooth
[74/193] Compiling SwiftSyntax SyntaxHashable.swift
[75/193] Compiling SwiftSyntax SyntaxEnum.swift
[76/193] Compiling SwiftSyntax SyntaxKind.swift
[77/193] Compiling SwiftSyntax SyntaxRewriter.swift
[78/197] Compiling SwiftSyntax CommonAncestor.swift
[79/197] Compiling SwiftSyntax Convenience.swift
[80/197] Compiling SwiftSyntax CustomTraits.swift
[81/197] Compiling SwiftSyntax EditorPlaceholder.swift
[82/197] Compiling SwiftSyntax SyntaxArena.swift
[83/197] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[84/197] Compiling SwiftSyntax SyntaxChildren.swift
[85/197] Compiling SwiftSyntax SyntaxCollection.swift
[85/197] Wrapping AST for GenerateBluetooth for debugging
[86/197] Write Objects.LinkFileList
[88/197] Compiling SystemPackage SystemString.swift
[89/197] Compiling SystemPackage Util+StringArray.swift
[90/197] Compiling SystemPackage Util.swift
[91/197] Compiling SystemPackage UtilConsumers.swift
[91/197] Linking GenerateBluetooth-tool
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/UnitIdentifiers.swift
[92/197] Generate Bluetooth Unit Identifier Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/ServiceUUID.swift
[93/197] Generate Bluetooth Service UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DescriptorUUID.swift
[94/197] Generate Bluetooth Descriptor UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/DeclarationUUID.swift
[95/197] Generate Bluetooth Declaration UUID Definitions
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/197] 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)
[98/197] Compiling SwiftSyntax AbsolutePosition.swift
[99/197] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[100/197] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[101/197] Compiling SwiftSyntax Assert.swift
[102/197] Compiling SwiftSyntax BumpPtrAllocator.swift
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CharacteristicUUID.swift
[102/197] Generate Bluetooth Characteristic UUID Definitions
[104/197] Compiling SwiftSyntax Identifier.swift
[105/197] Compiling SwiftSyntax MemoryLayout.swift
[106/197] Compiling SwiftSyntax MissingNodeInitializers.swift
[107/197] Compiling SwiftSyntax RawSyntax.swift
[108/197] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[123/206] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[124/206] Compiling SwiftSyntax RawSyntaxTokenView.swift
[125/206] Compiling SwiftSyntax SourceEdit.swift
[126/206] Compiling SwiftSyntax SourceLength.swift
[131/206] Compiling SwiftSyntax SourceLocation.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)
[132/206] Compiling SwiftSyntax SourcePresence.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)
[133/206] Compiling SwiftSyntax SwiftSyntaxCompatibility.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)
[134/206] Compiling SwiftSyntax Syntax.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)
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/MemberUUID.swift
[134/206] Generate Bluetooth Member UUID Definitions
Generated /host/spi-builder-workspace/.build/plugins/outputs/bluetooth/Bluetooth/destination/GenerateBluetoothDefinitions/CompanyIdentifiers.swift
[135/206] Generate Bluetooth Company Identifier Definitions
[136/206] Write sources
BUILD FAILURE 6.2 linux