The Swift Package Index logo.Swift Package Index

Build Information

Failed to build clutch, reference 0.5.7 (273c35), with Swift 6.3 for Linux on 16 Apr 2026 15:35:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-nest/clutch.git
Reference: 0.5.7
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/swift-nest/clutch
 * tag               0.5.7      -> FETCH_HEAD
HEAD is now at 273c351 README/dev: 5.10 tests working
Cloned https://github.com/swift-nest/clutch.git
Revision (git rev-parse @):
273c3513dc082bdddd25abc088baca8db9d67d55
SUCCESS checkout https://github.com/swift-nest/clutch.git at 0.5.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swift-nest/clutch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/1820] Fetching swift-atomics
[602/19343] Fetching swift-atomics, swift-argument-parser
[1044/24944] Fetching swift-atomics, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-atomics from cache (0.63s)
[12611/23124] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (1.06s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (1.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.51s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.99s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[10/26] Compiling CSystem shims.c
[11/26] Write swift-version-24593BA9C3E375BF.txt
[13/59] Emitting module SystemPackage
[14/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/63] Emitting module ArgumentParserToolInfo
[16/63] Compiling SystemPackage SystemString.swift
[17/63] Compiling SystemPackage Util+StringArray.swift
[18/63] Compiling SystemPackage Util.swift
[19/63] Compiling SystemPackage UtilConsumers.swift
[21/64] Compiling SystemPackage FilePath.swift
[22/64] Compiling SystemPackage FilePathComponentView.swift
[23/64] Compiling SystemPackage FilePathComponents.swift
[24/64] Compiling SystemPackage FilePathParsing.swift
[25/64] Compiling SystemPackage FilePathString.swift
[26/64] Compiling SystemPackage Errno.swift
[27/64] Compiling SystemPackage ErrnoWindows.swift
[28/64] Compiling SystemPackage FileDescriptor.swift
[29/64] Compiling SystemPackage FileHelpers.swift
[30/64] Compiling SystemPackage FileOperations.swift
[31/64] Compiling SystemPackage FilePathWindows.swift
[32/64] Compiling SystemPackage FilePermissions.swift
[33/64] Compiling SystemPackage IOCompletion.swift
[34/64] Compiling SystemPackage IORequest.swift
[34/64] Wrapping AST for ArgumentParserToolInfo for debugging
[36/110] Compiling ArgumentParser EnumerableFlag.swift
[37/110] Compiling ArgumentParser ExpressibleByArgument.swift
[38/110] Compiling ArgumentParser ParsableArguments.swift
[39/110] Compiling ArgumentParser DumpHelpGenerator.swift
[40/110] Compiling ArgumentParser HelpCommand.swift
[41/110] Compiling ArgumentParser HelpGenerator.swift
[42/110] Compiling ArgumentParser MessageInfo.swift
[43/110] Compiling ArgumentParser UsageGenerator.swift
[44/110] Compiling ArgumentParser Flag.swift
[45/110] Compiling ArgumentParser NameSpecification.swift
[46/110] Compiling ArgumentParser Option.swift
[47/110] Compiling ArgumentParser OptionGroup.swift
[48/110] Emitting module ArgumentParser
[49/116] Compiling ArgumentParser CollectionExtensions.swift
[50/116] Compiling ArgumentParser InputOrigin.swift
[51/116] Compiling ArgumentParser Name.swift
[52/116] Compiling ArgumentParser Parsed.swift
[54/117] Compiling ArgumentParser ParentCommand.swift
[55/117] Compiling ArgumentParser AsyncParsableCommand.swift
[56/117] Compiling ArgumentParser CommandConfiguration.swift
[57/117] Compiling ArgumentParser CommandGroup.swift
[60/119] Wrapping AST for SystemPackage for debugging
[65/119] Compiling ArgumentParser ParsedValues.swift
[66/119] Compiling ArgumentParser ParserError.swift
[67/119] Compiling ArgumentParser SplitArguments.swift
[68/119] Compiling ArgumentParser Tree.swift
[69/119] Compiling ArgumentParser CodingKeyValidator.swift
[70/119] Compiling ArgumentParser NonsenseFlagsValidator.swift
[71/119] Compiling ArgumentParser ParsableArgumentsValidation.swift
[72/119] Compiling ArgumentParser PositionalArgumentsValidator.swift
[73/119] Compiling ArgumentParser UniqueNamesValidator.swift
[74/119] Compiling ArgumentParser Foundation.swift
[75/119] Compiling ArgumentParser Mutex.swift
[76/119] Compiling ArgumentParser Platform.swift
[77/119] Compiling ArgumentParser SequenceExtensions.swift
[78/119] Compiling ArgumentParser StringExtensions.swift
[79/119] Compiling ArgumentParser SwiftExtensions.swift
[80/119] Compiling ArgumentParser ArgumentVisibility.swift
[81/119] Compiling ArgumentParser CompletionKind.swift
[82/119] Compiling ArgumentParser Errors.swift
[87/119] Emitting module MinSys
[88/119] Compiling MinSys MinSys.swift
[89/121] Wrapping AST for MinSys for debugging
[91/142] Compiling clutchLib AskDataBuilder.swift
[92/142] Compiling clutchLib ClutchDriver.swift
[93/142] Compiling clutchLib ClutchDriverErrors.swift
[94/142] Compiling clutchLib PeerNest.swift
[95/142] Compiling clutchLib FoundationScript.swift
[96/142] Compiling clutchLib FoundationScriptSystemCalls.swift
[97/142] Compiling clutchLib AskMode.swift
[104/143] Compiling ArgumentParser ParsableCommand.swift
[105/143] Compiling ArgumentParser ArgumentDecoder.swift
[106/143] Compiling ArgumentParser ArgumentDefinition.swift
[107/143] Compiling ArgumentParser ArgumentSet.swift
[108/143] Compiling ArgumentParser CommandParser.swift
[109/143] Compiling ArgumentParser InputKey.swift
[110/144] Wrapping AST for ArgumentParser for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/144] Emitting module clatch
/host/spi-builder-workspace/Sources/clatch/clatch.swift:47:25: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 45 |     // Exit with error
 46 |     func errExit(_ err: String) throws -> Never {
 47 |       fputs("\(err)\n", stderr)
    |                         `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 48 |       enum Err: Error {
 49 |         case err(String)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[113/144] Emitting module clutchLib
[114/146] Compiling clutchLib ModuleName.swift
[115/146] Compiling clutchLib ModuleNameHelp.swift
[116/146] Compiling clutchLib NestPaths.swift
[117/146] Compiling clutchLib SystemCalls.swift
[118/146] Compiling clutchLib SystemCallsHelp.swift
[119/146] Compiling clutchLib Err.swift
[120/146] Compiling clutchLib StdlibHelp.swift
[121/146] Compiling clutchLib FileItemHelp.swift
[122/146] Compiling clutchLib PeerOp.swift
[123/146] Compiling clutchLib Help.swift
[125/146] Compiling clutchLib DriverConfig.swift
[126/146] Compiling clutchLib Identifier.swift
[127/146] Compiling clutchLib NestPathsStatus.swift
[128/146] Compiling clutchLib UserAskKind.swift
[129/146] Compiling clutchLib FileItem.swift
/host/spi-builder-workspace/Sources/clutch/system-impl/FoundationScript.swift:17:20: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 15 |     //      FileHandle.standardError.write(data) // Foundation
 16 |     //    }
 17 |     fputs(message, stderr)  // Darwin
    |                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 18 |   }
 19 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/clutch/system-impl/FoundationScript.swift:17:20: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 15 |     //      FileHandle.standardError.write(data) // Foundation
 16 |     //    }
 17 |     fputs(message, stderr)  // Darwin
    |                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 18 |   }
 19 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/clutch/system-impl/FoundationScript.swift:17:20: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 15 |     //      FileHandle.standardError.write(data) // Foundation
 16 |     //    }
 17 |     fputs(message, stderr)  // Darwin
    |                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 18 |   }
 19 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[133/146] Compiling clatch clatch.swift
/host/spi-builder-workspace/Sources/clatch/clatch.swift:47:25: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 45 |     // Exit with error
 46 |     func errExit(_ err: String) throws -> Never {
 47 |       fputs("\(err)\n", stderr)
    |                         `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 48 |       enum Err: Error {
 49 |         case err(String)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/clatch/clatch.swift:67:47: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 65 |     defer {
 66 |       if !completedNormally {
 67 |         fputs(traces.joined(separator: "\n"), stderr)
    |                                               `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
 68 |       }
 69 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/clatch/clatch.swift:124:20: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
122 | enum SysCalls {
123 |   static func printErr(_ message: String) {
124 |     fputs(message, stderr)  // Darwin
    |                    `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
125 |   }
126 |   static func exit(withError: any Error) throws -> Never {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
BUILD FAILURE 6.3 linux