The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-process-invocation, reference 1.2.0 (76f64c), with Swift 6.2 for Linux on 22 Jun 2025 04:12:10 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/xcode-actions/swift-process-invocation.git
Reference: 1.2.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/xcode-actions/swift-process-invocation
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 76f64c1 Fix a compilation warning on Linux
Cloned https://github.com/xcode-actions/swift-process-invocation.git
Revision (git rev-parse @):
76f64c121839b3f9da5ebddbdcfd82f8ff953c77
SUCCESS checkout https://github.com/xcode-actions/swift-process-invocation.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xcode-actions/swift-process-invocation.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/apple/swift-log.git
Fetching https://github.com/xcode-actions/swift-signal-handling.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/xcode-actions/stream-reader.git
Fetching https://github.com/Frizlab/UnwrapOrThrow.git
[1/788] Fetching clt-logger
[419/819] Fetching clt-logger, unwraporthrow
[450/1870] Fetching clt-logger, unwraporthrow, stream-reader
[1509/2386] Fetching clt-logger, unwraporthrow, stream-reader, swift-signal-handling
[2167/6822] Fetching clt-logger, unwraporthrow, stream-reader, swift-signal-handling, swift-system
[3940/10658] Fetching clt-logger, unwraporthrow, stream-reader, swift-signal-handling, swift-system, swift-log
Fetched https://github.com/Frizlab/UnwrapOrThrow.git from cache (0.34s)
[7340/10627] Fetching clt-logger, stream-reader, swift-signal-handling, swift-system, swift-log
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.45s)
Fetched https://github.com/xcode-actions/stream-reader.git from cache (0.45s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (0.46s)
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
Computing version for https://github.com/Frizlab/UnwrapOrThrow.git
Computed https://github.com/Frizlab/UnwrapOrThrow.git at 1.0.1 (1.58s)
Computing version for https://github.com/xcode-actions/swift-signal-handling.git
Computed https://github.com/xcode-actions/swift-signal-handling.git at 1.1.3 (0.42s)
Computing version for https://github.com/xcode-actions/stream-reader.git
Computed https://github.com/xcode-actions/stream-reader.git at 3.6.1 (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.60s)
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.64s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.9.0 (0.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.38s)
Creating working copy for https://github.com/xcode-actions/stream-reader.git
Working copy of https://github.com/xcode-actions/stream-reader.git resolved at 3.6.1
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.3
Creating working copy for https://github.com/xcode-actions/swift-signal-handling.git
Working copy of https://github.com/xcode-actions/swift-signal-handling.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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/Frizlab/UnwrapOrThrow.git
Working copy of https://github.com/Frizlab/UnwrapOrThrow.git resolved at 1.0.1
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.9.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling CGNUSourceExports exports.c
[13/32] Compiling CMacroExports exports.c
[14/32] Compiling CGNUSourceExportsForTests exports_for_tests.c
[15/32] Compiling CSystem shims.c
[16/32] Write swift-version-24593BA9C3E375BF.txt
[18/79] Emitting module ArgumentParserToolInfo
[19/79] Emitting module UnwrapOrThrow
[20/79] Compiling SystemPackage FilePathParsing.swift
[21/79] Compiling SystemPackage FilePathString.swift
[22/79] Compiling SystemPackage FilePathSyntax.swift
[23/79] Compiling SystemPackage FilePathTemp.swift
[24/82] Compiling SystemPackage MachPort.swift
[25/82] Compiling SystemPackage PlatformString.swift
[26/82] Compiling SystemPackage SystemString.swift
[27/82] Emitting module SystemPackage
[28/82] Compiling SystemPackage Errno.swift
[29/82] Compiling SystemPackage ErrnoWindows.swift
[30/82] Compiling SystemPackage FileDescriptor.swift
[31/82] Compiling SystemPackage FileHelpers.swift
[32/82] Compiling SystemPackage FileOperations.swift
[33/82] Compiling SystemPackage FilePath.swift
[34/82] Compiling SystemPackage FilePathComponentView.swift
[35/82] Compiling SystemPackage FilePathComponents.swift
[36/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[37/83] Wrapping AST for ArgumentParserToolInfo for debugging
[39/121] Compiling Logging MetadataProvider.swift
[40/121] Compiling ArgumentParser OptionGroup.swift
[41/121] Compiling ArgumentParser AsyncParsableCommand.swift
[42/121] Compiling ArgumentParser CommandConfiguration.swift
[43/121] Compiling ArgumentParser CommandGroup.swift
[44/121] Compiling ArgumentParser EnumerableFlag.swift
[45/121] Compiling ArgumentParser ArgumentDefinition.swift
[46/121] Compiling ArgumentParser ArgumentSet.swift
[47/121] Compiling ArgumentParser CommandParser.swift
[48/121] Compiling ArgumentParser InputKey.swift
[49/121] Compiling ArgumentParser InputOrigin.swift
[50/121] Compiling ArgumentParser ExpressibleByArgument.swift
[51/121] Compiling ArgumentParser ParsableArguments.swift
[52/121] Compiling ArgumentParser Name.swift
[53/121] Compiling ArgumentParser Parsed.swift
[54/121] Compiling ArgumentParser ParsedValues.swift
[56/122] Emitting module Logging
[57/122] Compiling Logging LogHandler.swift
[58/122] Compiling Logging Locks.swift
[59/122] Compiling Logging Logging.swift
[60/122] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[61/122] Compiling UnwrapOrThrow UnwrapOrThrowOperator.swift
[67/124] Emitting module StreamReader
[68/124] Compiling ArgumentParser BashCompletionsGenerator.swift
[69/124] Compiling ArgumentParser CompletionsGenerator.swift
[69/130] Wrapping AST for SystemPackage for debugging
[73/130] Compiling StreamReader URLSessionStreamTaskReader.swift
[74/130] Compiling StreamReader InputStreamReader.swift
[75/130] Compiling StreamReader StreamReader.swift
[75/142] Wrapping AST for UnwrapOrThrow for debugging
[76/146] Wrapping AST for Logging for debugging
[78/146] Compiling StreamReader StreamReaderErrors.swift
[79/146] Compiling StreamReader DataReader.swift
[80/146] Compiling StreamReader GenericStreamReader.swift
[81/146] Compiling SignalHandling SignalHandlingConfig.swift
[82/147] Compiling SignalHandling SignalHandlingError.swift
[83/147] Compiling SignalHandling DelayedSigaction.swift
[84/147] Compiling SignalHandling DelayedSigactionHandler.swift
[85/147] Compiling SignalHandling Utils.swift
[86/147] Emitting module ArgumentParser
[87/147] Compiling StreamReader Matching.swift
[88/148] Wrapping AST for StreamReader for debugging
[90/148] Compiling SignalHandling SigactionHandler.swift
[91/148] Compiling SignalHandling Signal.swift
[92/148] Emitting module SignalHandling
[93/148] Compiling SignalHandling Sigaction.swift
[94/148] Compiling SignalHandling SigactionFlag.swift
[95/148] Compiling SignalHandling SigactionDelayer_Block.swift
[96/148] Emitting module CLTLogger
[97/148] Compiling SignalHandling SigactionDelayer_Unsig.swift
[105/149] Compiling ArgumentParser ArgumentVisibility.swift
[106/149] Compiling ArgumentParser CompletionKind.swift
[107/149] Compiling ArgumentParser Errors.swift
[108/149] Compiling ArgumentParser Flag.swift
[109/149] Compiling ArgumentParser NameSpecification.swift
[110/149] Compiling ArgumentParser Option.swift
[110/149] Wrapping AST for SignalHandling for debugging
[112/149] Compiling ArgumentParser CollectionExtensions.swift
[113/149] Compiling ArgumentParser Platform.swift
[114/149] Compiling ArgumentParser SequenceExtensions.swift
[115/149] Compiling ArgumentParser StringExtensions.swift
[116/149] Compiling ArgumentParser Tree.swift
[125/149] Compiling ArgumentParser ParserError.swift
[126/149] Compiling ArgumentParser SplitArguments.swift
[129/149] Compiling ArgumentParser ParsableArgumentsValidation.swift
[130/149] Compiling ArgumentParser ParsableCommand.swift
[131/149] Compiling ArgumentParser ArgumentDecoder.swift
[132/149] Compiling ArgumentParser DumpHelpGenerator.swift
[133/149] Compiling ArgumentParser HelpCommand.swift
[134/149] Compiling ArgumentParser HelpGenerator.swift
[135/149] Compiling ArgumentParser MessageInfo.swift
[136/149] Compiling ArgumentParser UsageGenerator.swift
[137/150] Wrapping AST for ArgumentParser for debugging
[139/150] Compiling CLTLogger NSLock+Linux.swift
[140/150] Compiling CLTLogger CLTLogger.swift
[141/150] Compiling CLTLogger SGR.swift
[142/150] Compiling CLTLogger String+Utils.swift
[143/151] Wrapping AST for CLTLogger for debugging
[145/154] Emitting module ProcessInvocationBridge
[146/154] Compiling ProcessInvocationBridge Utils.swift
[147/154] Compiling ProcessInvocationBridge ProcessInvocationBridge.swift
[148/155] Wrapping AST for ProcessInvocationBridge for debugging
[149/155] Write Objects.LinkFileList
[150/155] Linking swift-process-invocation-bridge
[152/166] Compiling ProcessInvocation OutputRedirectMode.swift
[153/167] Compiling ProcessInvocation Utils.swift
[154/167] Compiling ProcessInvocation ProcessInvocation+Deprecated.swift
[155/167] Compiling ProcessInvocation ProcessInvocation+Pipe.swift
[156/167] Compiling ProcessInvocation ProcessInvocation.swift
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:804:24: error: cannot find 'FileDescriptorReader' in scope
 802 |
 803 | 			for fd in outputFileDescriptors {
 804 | 				let streamReader = FileDescriptorReader(stream: fd, bufferSize: 1024, bufferSizeIncrement: 512)
     |                        `- error: cannot find 'FileDescriptorReader' in scope
 805 | 				streamReader.underlyingStreamReadSizeLimit = 0
 806 |
/host/spi-builder-workspace/Sources/ProcessInvocation/ProcessInvocation.swift:969:112: warning: cast from 'any GenericReadStream' to unrelated type 'FileDescriptor' always fails
 967 | 					return .success(0)
 968 | 				}
 969 | 				if case Errno.ioError = e, platformSpecificInfo.masterPTFileDescriptors.contains(streamReader.sourceStream as! FileDescriptor) {
     |                                                                                                                `- warning: cast from 'any GenericReadStream' to unrelated type 'FileDescriptor' always fails
 970 | 					/* See <https://stackoverflow.com/a/72159292> for more info about why we do this.
 971 | 					 * The link above says the I/O error occurs when every slave is closed, aka. when the process has died.
[157/167] Compiling ProcessInvocation  Errors.swift
[158/167] Compiling ProcessInvocation InputRedirectMode.swift
[159/167] Emitting module ProcessInvocation
[160/167] Compiling ProcessInvocation  Config.swift
[161/167] Compiling ProcessInvocation  Constants.swift
[162/167] Compiling ProcessInvocation LineSeparators.swift
[163/167] Compiling ProcessInvocation LineWithSource.swift
BUILD FAILURE 6.2 linux