Build Information
Failed to build Subprocess, reference main (103815
), with Swift 6.1 for Android on 24 Jun 2025 07:04:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-subprocess.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/swiftlang/swift-subprocess
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1038151 Merge pull request #88 from swiftlang/teardown-improvements
Cloned https://github.com/swiftlang/swift-subprocess.git
Revision (git rev-parse @):
10381511e5436e83854749516ca53468f448f0ea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-subprocess.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-subprocess.git
https://github.com/swiftlang/swift-subprocess.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
[1/4436] Fetching swift-system
[179/6518] Fetching swift-system, swift-docc-plugin
Fetched https://github.com/apple/swift-system from cache (0.93s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.94s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.96s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.04s)
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-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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[2/9] Copying Resources
[6/9] Compiling CSystem shims.c
[7/9] Compiling _SubprocessCShims process_shims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/37] Compiling SystemPackage MachPort.swift
[11/37] Compiling SystemPackage PlatformString.swift
[12/37] Compiling SystemPackage SystemString.swift
[13/40] Emitting module SystemPackage
[14/40] Compiling SystemPackage FileOperations.swift
[15/40] Compiling SystemPackage FilePath.swift
[16/40] Compiling SystemPackage FilePathComponentView.swift
[17/40] Compiling SystemPackage FilePathComponents.swift
[18/40] Compiling SystemPackage Errno.swift
[19/40] Compiling SystemPackage ErrnoWindows.swift
[20/40] Compiling SystemPackage FileDescriptor.swift
[21/40] Compiling SystemPackage FileHelpers.swift
[22/40] Compiling SystemPackage FilePathParsing.swift
[23/40] Compiling SystemPackage FilePathString.swift
[24/40] Compiling SystemPackage FilePathSyntax.swift
[25/40] Compiling SystemPackage FilePathTemp.swift
[26/40] Compiling SystemPackage Util+StringArray.swift
[27/40] Compiling SystemPackage Util.swift
[28/40] Compiling SystemPackage UtilConsumers.swift
[29/40] Compiling SystemPackage Mocking.swift
[30/40] Compiling SystemPackage RawBuffer.swift
[31/40] Compiling SystemPackage Syscalls.swift
[32/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/40] Compiling SystemPackage Backcompat.swift
[34/40] Compiling SystemPackage CInterop.swift
[35/40] Compiling SystemPackage Constants.swift
[36/40] Compiling SystemPackage Exports.swift
[37/40] Compiling SystemPackage FilePathTempPosix.swift
[38/40] Compiling SystemPackage FilePathTempWindows.swift
[39/40] Compiling SystemPackage FilePathWindows.swift
[40/40] Compiling SystemPackage FilePermissions.swift
[42/61] Emitting module TestResources
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/61] Emitting module Subprocess
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
[44/63] Compiling Subprocess Subprocess+Unix.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/63] Compiling Subprocess Subprocess+Windows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/63] Compiling Subprocess Result.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/63] Compiling Subprocess Span+Subprocess.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/63] Compiling Subprocess Input+Foundation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/63] Compiling Subprocess Output+Foundation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/63] Compiling Subprocess Input.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/63] Compiling Subprocess Output.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/63] Compiling Subprocess Span+SubprocessFoundation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/63] Compiling Subprocess Teardown.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/63] Compiling TestResources resource_bundle_accessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/63] Compiling TestResources TestResources.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/64] Compiling Subprocess Configuration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/64] Compiling Subprocess Error.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/64] Compiling Subprocess Execution.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/64] Compiling Subprocess API.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/64] Compiling Subprocess AsyncBufferSequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/64] Compiling Subprocess Buffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/64] Compiling Subprocess Subprocess+Darwin.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
[64/64] Compiling Subprocess Subprocess+Linux.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling SystemPackage Mocking.swift
[5/31] Compiling SystemPackage RawBuffer.swift
[6/31] Compiling SystemPackage Syscalls.swift
[7/31] Compiling SystemPackage WindowsSyscallAdapters.swift
[8/31] Compiling SystemPackage Backcompat.swift
[9/31] Compiling SystemPackage CInterop.swift
[10/31] Compiling SystemPackage Constants.swift
[11/31] Compiling SystemPackage Exports.swift
[12/31] Compiling SystemPackage MachPort.swift
[13/31] Compiling SystemPackage PlatformString.swift
[14/31] Compiling SystemPackage SystemString.swift
[15/34] Emitting module SystemPackage
[16/34] Compiling SystemPackage FilePathTempPosix.swift
[17/34] Compiling SystemPackage FilePathTempWindows.swift
[18/34] Compiling SystemPackage FilePathWindows.swift
[19/34] Compiling SystemPackage FilePermissions.swift
[20/34] Compiling SystemPackage FileOperations.swift
[21/34] Compiling SystemPackage FilePath.swift
[22/34] Compiling SystemPackage FilePathComponentView.swift
[23/34] Compiling SystemPackage FilePathComponents.swift
[24/34] Compiling SystemPackage Errno.swift
[25/34] Compiling SystemPackage ErrnoWindows.swift
[26/34] Compiling SystemPackage FileDescriptor.swift
[27/34] Compiling SystemPackage FileHelpers.swift
[28/34] Compiling SystemPackage FilePathParsing.swift
[29/34] Compiling SystemPackage FilePathString.swift
[30/34] Compiling SystemPackage FilePathSyntax.swift
[31/34] Compiling SystemPackage FilePathTemp.swift
[32/34] Compiling SystemPackage Util+StringArray.swift
[33/34] Compiling SystemPackage Util.swift
[34/34] Compiling SystemPackage UtilConsumers.swift
[36/55] Compiling TestResources TestResources.swift
[37/55] Emitting module TestResources
[38/55] Compiling TestResources resource_bundle_accessor.swift
[39/56] Compiling Subprocess Input+Foundation.swift
[40/56] Compiling Subprocess Output+Foundation.swift
[42/58] Compiling Subprocess Span+SubprocessFoundation.swift
[43/58] Compiling Subprocess Teardown.swift
[44/58] Compiling Subprocess Subprocess+Unix.swift
[45/58] Compiling Subprocess Subprocess+Windows.swift
[46/58] Compiling Subprocess Subprocess+Darwin.swift
/host/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
[47/58] Compiling Subprocess Subprocess+Linux.swift
/host/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
[48/58] Compiling Subprocess Input.swift
[49/58] Compiling Subprocess Output.swift
[50/58] Compiling Subprocess Result.swift
[51/58] Compiling Subprocess Span+Subprocess.swift
[52/58] Compiling Subprocess Configuration.swift
[53/58] Compiling Subprocess Error.swift
[54/58] Compiling Subprocess Execution.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/58] Compiling Subprocess API.swift
[56/58] Compiling Subprocess AsyncBufferSequence.swift
[57/58] Compiling Subprocess Buffer.swift
[58/58] Emitting module Subprocess
/host/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Linux.swift:347:16: error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
345 | &thread,
346 | nil,
347 | { _ -> UnsafeMutableRawPointer? in
| `- error: declared closure result 'UnsafeMutableRawPointer?' is incompatible with contextual type 'UnsafeMutableRawPointer'
348 | // Run an infinite loop that waits for child processes to terminate and
349 | // captures their exit statuses.
BUILD FAILURE 6.1 android