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 Sake, reference main (9554b6), with Swift 6.2 (beta) for Linux on 24 Jun 2025 12:01:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/kattouf/Sake.git
Reference: main
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/kattouf/Sake
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9554b67 refactor: split SakeCLI into two targets for testing purposes
Cloned https://github.com/kattouf/Sake.git
Revision (git rev-parse @):
9554b673531b6ad9c00364a6b0e208e1d52d8b90
SUCCESS checkout https://github.com/kattouf/Sake.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kattouf/Sake.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swiftlang/swift-subprocess.git
[1/1041] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.45s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/jpsim/Yams.git
[1/4436] Fetching swift-system
[756/15372] Fetching swift-system, yams
Fetched https://github.com/apple/swift-system from cache (0.74s)
[1313/10936] Fetching yams
[6344/81863] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.26s)
[24825/70927] Fetching swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.91s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.97s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (11.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.34s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.2 (0.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.38s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (1038151)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.2
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/80] Write sources
[32/80] Compiling _SwiftSyntaxCShims dummy.c
[33/80] Write swift-version-24593BA9C3E375BF.txt
[34/80] Compiling writer.c
[35/80] Compiling _SubprocessCShims process_shims.c
[36/80] Compiling reader.c
[37/80] Compiling _SubprocessCShims process_shims.c
[38/82] Compiling parser.c
[39/84] Compiling api.c
[40/86] Compiling writer.c
[41/88] Compiling reader.c
[42/88] Compiling emitter.c
[43/88] Compiling scanner.c
[44/108] Compiling parser.c
[45/108] Compiling api.c
[46/108] Compiling emitter.c
[47/108] Compiling CSystem shims.c
[49/108] Write sources
[50/108] Compiling scanner.c
[52/184] Emitting module SystemPackage
[53/187] Emitting module SwiftSyntax601
[54/187] Compiling SwiftSyntax601 Empty.swift
[55/187] Compiling SwiftSyntax509 Empty.swift
[56/187] Emitting module SwiftSyntax509
[57/189] Compiling SystemPackage Util+StringArray.swift
[58/189] Compiling SystemPackage Util.swift
[59/189] Compiling SystemPackage UtilConsumers.swift
[60/189] Emitting module SwiftSyntax600
[61/189] Compiling SwiftSyntax600 Empty.swift
[63/190] Compiling Yams RedundancyAliasingStrategy.swift
[64/190] Compiling Yams Representer.swift
[65/192] Compiling Yams Tag.swift
[66/192] Compiling Yams YamlAnchorProviding.swift
[68/194] Emitting module SwiftSyntax510
[69/194] Compiling SwiftSyntax510 Empty.swift
[71/195] Compiling SystemPackage FilePathTempPosix.swift
[72/195] Compiling SystemPackage FilePathTempWindows.swift
[73/195] Compiling Yams Resolver.swift
[74/195] Compiling Yams String+Yams.swift
[75/195] Wrapping AST for SwiftSyntax601 for debugging
[76/195] Write sources
[78/197] Compiling Yams Decoder.swift
[79/197] Compiling Yams Emitter.swift
[80/197] Compiling Yams Encoder.swift
[81/197] Compiling Yams AliasDereferencingStrategy.swift
[82/197] Emitting module SystemPackage
[83/200] Compiling Yams Anchor.swift
[84/200] Compiling Yams Constructor.swift
[91/200] Compiling SystemPackage FilePathParsing.swift
[92/200] Compiling SystemPackage FilePathString.swift
[93/200] Compiling SystemPackage FilePathSyntax.swift
[94/200] Compiling Yams Node.Scalar.swift
[102/200] Wrapping AST for SwiftSyntax600 for debugging
[103/200] Wrapping AST for SwiftSyntax509 for debugging
[104/203] Wrapping AST for SwiftSyntax510 for debugging
[106/266] Compiling SwiftSyntax AbsolutePosition.swift
[107/266] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[108/266] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[109/266] Emitting module ArgumentParserToolInfo
[110/266] Compiling ArgumentParserToolInfo ToolInfo.swift
[112/267] Emitting module ArgumentParserToolInfo
[113/267] Compiling ArgumentParserToolInfo ToolInfo.swift
[114/268] Compiling SwiftSyntax SourceEdit.swift
[115/268] Compiling SwiftSyntax SourceLength.swift
[116/268] Compiling SwiftSyntax SyntaxIdentifier.swift
[117/268] Compiling SwiftSyntax SyntaxNodeFactory.swift
[118/268] Compiling SwiftSyntax SyntaxNodeStructure.swift
[119/268] Compiling SwiftSyntax SyntaxProtocol.swift
[120/268] Compiling SwiftSyntax SyntaxText.swift
[121/268] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[122/268] Compiling SwiftSyntax TokenDiagnostic.swift
[123/268] Compiling SwiftSyntax TokenSequence.swift
[124/268] Compiling SwiftSyntax TokenSyntax.swift
[124/269] Wrapping AST for ArgumentParserToolInfo for debugging
[130/269] Compiling SwiftSyntax RawSyntax.swift
[131/269] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[132/269] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[133/269] Compiling SwiftSyntax RawSyntaxTokenView.swift
[143/340] Wrapping AST for SystemPackage for debugging
[145/380] Compiling Subprocess Span+Subprocess.swift
[146/380] Compiling ArgumentParser ArgumentHelp.swift
[147/380] Compiling Subprocess Input+Foundation.swift
[148/380] Compiling Subprocess Output+Foundation.swift
[149/380] Compiling Subprocess Result.swift
[150/380] Compiling Subprocess API.swift
[151/380] Compiling Subprocess AsyncBufferSequence.swift
[152/380] Compiling Subprocess Buffer.swift
[153/380] Compiling Subprocess Subprocess+Darwin.swift
[154/380] Compiling Subprocess Subprocess+Linux.swift
[155/380] Compiling Subprocess Input.swift
[156/380] Compiling Subprocess Output.swift
[162/380] Compiling ArgumentParser ExpressibleByArgument.swift
[163/380] Compiling ArgumentParser ParsableArguments.swift
[164/380] Compiling Subprocess Configuration.swift
[165/380] Compiling Subprocess Error.swift
[166/380] Compiling Subprocess Execution.swift
[167/380] Emitting module Yams
[171/380] Compiling Subprocess Subprocess+Unix.swift
[172/380] Compiling Subprocess Subprocess+Windows.swift
[177/380] Compiling ArgumentParser ParsableArgumentsValidation.swift
[178/380] Compiling ArgumentParser ParsableCommand.swift
[184/380] Emitting module Yams
[186/382] Wrapping AST for Yams for debugging
[191/382] Compiling ArgumentParser ArgumentDecoder.swift
[192/382] Compiling ArgumentParser ArgumentDefinition.swift
[193/382] Compiling ArgumentParser ArgumentSet.swift
[194/382] Compiling ArgumentParser CommandParser.swift
[195/382] Compiling ArgumentParser InputKey.swift
[196/382] Compiling ArgumentParser InputOrigin.swift
[207/395] Compiling Subprocess Span+SubprocessFoundation.swift
[209/400] Compiling Subprocess Teardown.swift
[218/400] Compiling ArgumentParser Name.swift
[219/400] Compiling ArgumentParser Parsed.swift
[220/400] Compiling ArgumentParser ParsedValues.swift
[221/400] Compiling ArgumentParser ParserError.swift
[222/400] Compiling ArgumentParser SplitArguments.swift
[250/405] Emitting module ArgumentParser
[258/405] Compiling ArgumentParser CollectionExtensions.swift
[259/405] Compiling ArgumentParser Platform.swift
[260/405] Compiling ArgumentParser SequenceExtensions.swift
[261/405] Compiling ArgumentParser StringExtensions.swift
[262/405] Compiling ArgumentParser Tree.swift
[266/405] Emitting module Subprocess
[289/405] Compiling ArgumentParser DumpHelpGenerator.swift
[290/405] Compiling ArgumentParser HelpCommand.swift
[291/405] Compiling ArgumentParser HelpGenerator.swift
[292/405] Compiling ArgumentParser MessageInfo.swift
[293/405] Compiling ArgumentParser UsageGenerator.swift
[328/407] Wrapping AST for ArgumentParser for debugging
[330/423] Compiling SakeShared ProcessInterruptionTask.swift
[331/423] Compiling SakeShared ProcessMonitor.swift
[332/423] Compiling SakeShared URL+BuildDirectory.swift
[333/423] Compiling SakeShared SakeAppExitCode.swift
[334/423] Compiling SakeShared FileHandle+TextOutputStream.swift
[335/423] Compiling SakeShared ProcessInterruptionTask.swift
[336/423] Compiling SakeShared SakeAppExitCode.swift
[337/423] Compiling SakeShared URL+BuildDirectory.swift
[338/423] Emitting module SakeShared
[340/423] Compiling SakeShared ProcessMonitor.swift
[341/423] Compiling SakeShared FileHandle+TextOutputStream.swift
[342/423] Compiling SakeShared CaseConvertingStrategy.swift
[343/423] Compiling SakeShared CommandGroupsJSON.swift
[346/424] Compiling SakeShared CaseConvertingStrategy.swift
[347/425] Wrapping AST for SakeShared for debugging
[361/426] Emitting module Subprocess
[362/447] Wrapping AST for Subprocess for debugging
[364/467] Compiling SakeCLILibrary PackageDescription.swift
[365/467] Compiling SakeCLILibrary SakeAppContents.swift
[366/467] Compiling SakeCLILibrary SakeAppManager+CommandListGenerator.swift
[367/467] Compiling SakeCLILibrary String+Shell.swift
[368/467] Compiling SakeCLILibrary String+nilIfEmpty.swift
[369/467] Compiling SakeCLILibrary Constants.swift
[370/469] Emitting module SakeCLILibrary
[378/471] Compiling SakeCLILibrary CommonOptions.swift
[379/471] Compiling SakeCLILibrary CLIConfig.swift
[380/471] Compiling SakeCLILibrary Config.swift
[381/471] Compiling SakeCLILibrary SakeAppManager+InitializedMode.swift
[382/471] Compiling SakeCLILibrary SakeAppManager+UnitializedMode.swift
[383/471] Compiling SakeCLILibrary SakeAppManager.swift
[384/471] Compiling SakeCLILibrary SakeAppManagerCommandExecutor.swift
[385/471] Compiling SakeCLILibrary ConfigManager.swift
[386/471] Compiling SakeCLILibrary ENVConfig.swift
[387/471] Compiling SakeCLILibrary FileConfig.swift
[388/471] Compiling SakeCLILibrary DynamicCodingKey.swift
[389/471] Compiling SakeCLILibrary Logger.swift
[390/471] Compiling SakeCLILibrary ShellExecutor.swift
[404/471] Compiling SakeCLILibrary SakeAppManagerError.swift
[405/471] Compiling SakeCLILibrary SakeAppManagerFileHandle.swift
[409/473] Wrapping AST for SakeCLILibrary for debugging
[411/482] Compiling SakeCLI ShellCompletionCommandListGenerator.swift
/host/spi-builder-workspace/Sources/SakeCLI/ShellCompletionCommandListGenerator.swift:12:9: error: sending value of non-Sendable type '() async -> ()' risks causing data races [#SendingRisksDataRace]
10 |         var result: [String] = []
11 |
12 |         Task {
   |         |- error: sending value of non-Sendable type '() async -> ()' risks causing data races [#SendingRisksDataRace]
   |         `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument to initializer 'init(name:priority:operation:)' risks causing races in between local and caller code
13 |             result = await generateAsync(arguments: arguments)
14 |             semaphore.signal()
   :
16 |
17 |         semaphore.wait()
18 |         return result
   |                `- note: access can happen concurrently
19 |     }
20 |
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[412/483] Compiling SakeCLI SakeCLI.swift
/host/spi-builder-workspace/Sources/SakeCLI/SakeCLI.swift:6:24: warning: static property 'subcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
 4 | @main
 5 | struct SakeCLI: AsyncParsableCommand {
 6 |     private static let subcommands: [any ParsableCommand.Type] = [
   |                        |- warning: static property 'subcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                        |- note: add '@MainActor' to make static property 'subcommands' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         InitCommand.self,
 8 |         CleanCommand.self,
/host/spi-builder-workspace/Sources/SakeCLI/SakeCLI.swift:16:28: warning: static property 'platformSpecificSubcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
14 |         private static let platformSpecificSubcommands: [any ParsableCommand.Type] = [EditCommand.self]
15 |     #else
16 |         private static let platformSpecificSubcommands: [any ParsableCommand.Type] = []
   |                            |- warning: static property 'platformSpecificSubcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                            |- note: add '@MainActor' to make static property 'platformSpecificSubcommands' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     #endif
18 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[413/483] Compiling SakeCLI Version.swift
[414/483] Compiling SakeCLI EditCommand.swift
[415/483] Compiling SakeCLI RunCommand.swift
[416/483] Compiling SakeCLI InitCommand.swift
[417/483] Compiling SakeCLI ListCommand.swift
[418/483] Emitting module SakeCLI
/host/spi-builder-workspace/Sources/SakeCLI/SakeCLI.swift:6:24: warning: static property 'subcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
 4 | @main
 5 | struct SakeCLI: AsyncParsableCommand {
 6 |     private static let subcommands: [any ParsableCommand.Type] = [
   |                        |- warning: static property 'subcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                        |- note: add '@MainActor' to make static property 'subcommands' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         InitCommand.self,
 8 |         CleanCommand.self,
/host/spi-builder-workspace/Sources/SakeCLI/SakeCLI.swift:16:28: warning: static property 'platformSpecificSubcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
14 |         private static let platformSpecificSubcommands: [any ParsableCommand.Type] = [EditCommand.self]
15 |     #else
16 |         private static let platformSpecificSubcommands: [any ParsableCommand.Type] = []
   |                            |- warning: static property 'platformSpecificSubcommands' is not concurrency-safe because non-'Sendable' type '[any ParsableCommand.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                            |- note: add '@MainActor' to make static property 'platformSpecificSubcommands' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     #endif
18 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[419/483] Compiling SakeCLI BuildCommand.swift
[420/483] Compiling SakeCLI CleanCommand.swift
BUILD FAILURE 6.2 linux