The Swift Package Index logo.Swift Package Index

Build Information

Failed to build execute, reference master (41d351), with Swift 6.1 for Android on 22 Feb 2026 09:07:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-cli/execute.git
Reference: master
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-cli/execute
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 41d3515 Merge branch 'develop'
Cloned https://github.com/swift-cli/execute.git
Revision (git rev-parse @):
41d3515550531fa06ea1795745634427c3605781
SUCCESS checkout https://github.com/swift-cli/execute.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-cli/execute.git
https://github.com/swift-cli/execute.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "execute",
  "name" : "execute",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "Execute",
      "targets" : [
        "Execute"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExecuteTests",
      "module_type" : "SwiftTarget",
      "name" : "ExecuteTests",
      "path" : "Tests/ExecuteTests",
      "sources" : [
        "CommandTests/ShCommandTests.swift",
        "DataHandlerTests/FileHandleDataHandlerTests.swift",
        "Mock/BlockDataHandler.swift",
        "Mock/ProcessMock.swift",
        "ProcessOperationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Execute"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Execute",
      "module_type" : "SwiftTarget",
      "name" : "Execute",
      "path" : "Sources/Execute",
      "product_memberships" : [
        "Execute"
      ],
      "sources" : [
        "Command/Command.swift",
        "Command/ShCommand.swift",
        "DataHandler/DataHandler.swift",
        "DataHandler/FileHandle+DataHandler.swift",
        "Executor.swift",
        "ProcessOperation.swift",
        "Shell.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Execute Command.swift
[4/10] Compiling Execute ShCommand.swift
[5/10] Compiling Execute FileHandle+DataHandler.swift
/host/spi-builder-workspace/Sources/Execute/DataHandler/FileHandle+DataHandler.swift:33:12: error: cannot find 'lseek' in scope
31 |     /// - Parameter data: The data to be appended.
32 |     public func handle(_ data: Data) {
33 |         if lseek(fileDescriptor, 0, SEEK_CUR) != -1 {
   |            `- error: cannot find 'lseek' in scope
34 |             seekToEndOfFile()
35 |         }
[6/10] Emitting module Execute
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:30:12: warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
28 | /// An operation that manages the concurrent execution of
29 | /// [Process](https://developer.apple.com/documentation/foundation/process).
30 | open class ProcessOperation: Operation {
   |            `- warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
31 |
32 |     /// The process execution result.
[7/10] Compiling Execute Shell.swift
[8/10] Compiling Execute DataHandler.swift
[9/10] Compiling Execute ProcessOperation.swift
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:30:12: warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
28 | /// An operation that manages the concurrent execution of
29 | /// [Process](https://developer.apple.com/documentation/foundation/process).
30 | open class ProcessOperation: Operation {
   |            `- warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
31 |
32 |     /// The process execution result.
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:63:17: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
61 |         standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
62 |             dispatchQueue.async {
63 |                 self?.standardOutputDataHandler.handle(fileHandle.availableData)
   |                 `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
64 |             }
65 |         }
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:71:17: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
69 |         standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
70 |             dispatchQueue.async {
71 |                 self?.standardErrorDataHandler.handle(fileHandle.availableData)
   |                 `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
72 |             }
73 |         }
[10/10] Compiling Execute Executor.swift
/host/spi-builder-workspace/Sources/Execute/Executor.swift:79:13: warning: capture of 'completionBlock' with non-sendable type '((Result<Int32, any Error>) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 77 |         operation.completionBlock = {
 78 |             precondition(operation.result != nil, "Operation was not executed.")
 79 |             completionBlock?(operation.result!)
    |             |- warning: capture of 'completionBlock' with non-sendable type '((Result<Int32, any Error>) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 |         }
 81 |         operationQueue.addOperations([operation], waitUntilFinished: false)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Execute DataHandler.swift
[3/9] Compiling Execute Shell.swift
[4/9] Emitting module Execute
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:30:12: warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
28 | /// An operation that manages the concurrent execution of
29 | /// [Process](https://developer.apple.com/documentation/foundation/process).
30 | open class ProcessOperation: Operation {
   |            `- warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
31 |
32 |     /// The process execution result.
[5/9] Compiling Execute Command.swift
[6/9] Compiling Execute ShCommand.swift
[7/9] Compiling Execute Executor.swift
[8/9] Compiling Execute FileHandle+DataHandler.swift
/host/spi-builder-workspace/Sources/Execute/DataHandler/FileHandle+DataHandler.swift:33:12: error: cannot find 'lseek' in scope
31 |     /// - Parameter data: The data to be appended.
32 |     public func handle(_ data: Data) {
33 |         if lseek(fileDescriptor, 0, SEEK_CUR) != -1 {
   |            `- error: cannot find 'lseek' in scope
34 |             seekToEndOfFile()
35 |         }
[9/9] Compiling Execute ProcessOperation.swift
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:30:12: warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
28 | /// An operation that manages the concurrent execution of
29 | /// [Process](https://developer.apple.com/documentation/foundation/process).
30 | open class ProcessOperation: Operation {
   |            `- warning: class 'ProcessOperation' must restate inherited '@unchecked Sendable' conformance
31 |
32 |     /// The process execution result.
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:63:17: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
61 |         standardOutputPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
62 |             dispatchQueue.async {
63 |                 self?.standardOutputDataHandler.handle(fileHandle.availableData)
   |                 `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
64 |             }
65 |         }
/host/spi-builder-workspace/Sources/Execute/ProcessOperation.swift:71:17: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
69 |         standardErrorPipe.fileHandleForReading.readabilityHandler = { [weak self] fileHandle in
70 |             dispatchQueue.async {
71 |                 self?.standardErrorDataHandler.handle(fileHandle.availableData)
   |                 `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
72 |             }
73 |         }
BUILD FAILURE 6.1 android