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 pkl-swift, reference 0.5.0 (e581b0), with Swift 6.2 (beta) for Linux on 28 Jul 2025 17:15:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/pkl-swift.git
Reference: 0.5.0
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/apple/pkl-swift
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at e581b00 Update xcode to 16.4.0 (#58)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
e581b0004eccebc55b5b347d5849b6c36022f9b2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/pkl-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-system
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2094] Fetching swift-docc-plugin
[232/2464] Fetching swift-docc-plugin, semanticversion
[575/7147] Fetching swift-docc-plugin, semanticversion, swift-system
[6598/22726] Fetching swift-docc-plugin, semanticversion, swift-system, swift-argument-parser
[7308/73215] Fetching swift-docc-plugin, semanticversion, swift-system, swift-argument-parser, swiftformat
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.99s)
[11446/72845] Fetching swift-docc-plugin, swift-system, swift-argument-parser, swiftformat
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.01s)
[10598/70751] Fetching swift-system, swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (1.86s)
[9732/55172] Fetching swift-system, swiftformat
Fetched https://github.com/apple/swift-system from cache (33.53s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (34.25s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (42.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3436] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.20s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.0 (0.50s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.57.2 (0.57s)
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.57.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/29] Write sources
[10/29] Write embedded_resources.swift
[10/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling PklSwiftInternals Discovery.cpp
[18/66] Compiling SemanticVersion SemanticVersion.swift
[19/66] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[20/66] Compiling SystemPackage FilePath.swift
[21/66] Compiling SystemPackage FilePathComponentView.swift
[22/66] Compiling SystemPackage FilePathComponents.swift
[23/66] Compiling SystemPackage FilePathParsing.swift
[24/66] Compiling SystemPackage FilePathString.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/66] 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)
[26/66] Compiling SystemPackage Errno.swift
[27/66] Compiling SystemPackage ErrnoWindows.swift
[28/66] Compiling SystemPackage FileDescriptor.swift
[29/66] Compiling SystemPackage FileHelpers.swift
[30/66] Compiling SystemPackage FileOperations.swift
[31/70] Emitting module ArgumentParserToolInfo
[32/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[33/71] Wrapping AST for ArgumentParserToolInfo for debugging
[35/115] Compiling ArgumentParser InputOrigin.swift
[36/115] Compiling ArgumentParser Name.swift
[37/115] Compiling ArgumentParser Parsed.swift
[38/115] Compiling ArgumentParser ParsedValues.swift
[39/115] Compiling ArgumentParser Flag.swift
[40/115] Compiling ArgumentParser NameSpecification.swift
[41/115] Compiling ArgumentParser Option.swift
[42/115] Compiling ArgumentParser InputKey.swift
[43/115] Compiling SemanticVersion SemanticVersion+Codable.swift
[44/115] Emitting module SemanticVersion
[45/116] Wrapping AST for SemanticVersion for debugging
[47/116] Compiling ArgumentParser OptionGroup.swift
[48/116] Compiling ArgumentParser AsyncParsableCommand.swift
[49/116] Compiling ArgumentParser CommandConfiguration.swift
[50/116] Compiling ArgumentParser CommandGroup.swift
[51/116] Compiling ArgumentParser EnumerableFlag.swift
[52/116] Compiling ArgumentParser ExpressibleByArgument.swift
[53/122] Compiling ArgumentParser ParserError.swift
[54/122] Compiling ArgumentParser SplitArguments.swift
[55/122] Compiling ArgumentParser DumpHelpGenerator.swift
[56/122] Compiling ArgumentParser HelpCommand.swift
[57/122] Compiling ArgumentParser CollectionExtensions.swift
[58/122] Compiling ArgumentParser Mutex.swift
[59/122] Compiling ArgumentParser Platform.swift
[60/122] Compiling ArgumentParser SequenceExtensions.swift
[61/122] Compiling ArgumentParser StringExtensions.swift
[62/122] Compiling ArgumentParser SwiftExtensions.swift
[63/122] Compiling ArgumentParser Tree.swift
[64/122] Compiling ArgumentParser CodingKeyValidator.swift
[65/122] Compiling ArgumentParser NonsenseFlagsValidator.swift
[66/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[67/122] Compiling ArgumentParser PositionalArgumentsValidator.swift
[68/122] Compiling ArgumentParser UniqueNamesValidator.swift
[69/122] Compiling ArgumentParser BashCompletionsGenerator.swift
[70/122] Compiling ArgumentParser CompletionsGenerator.swift
[71/122] Compiling ArgumentParser FishCompletionsGenerator.swift
[72/122] Compiling ArgumentParser ZshCompletionsGenerator.swift
[73/122] Compiling ArgumentParser Argument.swift
[74/122] Compiling ArgumentParser ArgumentDiscussion.swift
[75/122] Compiling ArgumentParser ArgumentHelp.swift
[85/122] Compiling ArgumentParser HelpGenerator.swift
[86/122] Compiling ArgumentParser MessageInfo.swift
[87/122] Compiling ArgumentParser UsageGenerator.swift
[91/122] Compiling ArgumentParser ParsableArguments.swift
[92/122] Compiling ArgumentParser ParsableCommand.swift
[93/122] Compiling ArgumentParser ArgumentDecoder.swift
[94/122] Compiling ArgumentParser ArgumentDefinition.swift
[95/122] Compiling ArgumentParser ArgumentSet.swift
[96/122] Compiling ArgumentParser CommandParser.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)
[97/122] Compiling ArgumentParser ArgumentVisibility.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)
[98/122] Compiling ArgumentParser CompletionKind.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)
[99/122] Compiling ArgumentParser Errors.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