The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncProcess, reference 0.0.5 (3a506b), with Swift 6.1 for Android on 30 May 2025 12:17:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gregcotten/AsyncProcess.git
Reference: 0.0.5
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/gregcotten/AsyncProcess
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 3a506bb don't explicitly unwrap pid for interrupt/terminate
Cloned https://github.com/gregcotten/AsyncProcess.git
Revision (git rev-parse @):
3a506bb36e4aa54eb3f1b13f15e636c68ee3eb19
SUCCESS checkout https://github.com/gregcotten/AsyncProcess.git at 0.0.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gregcotten/AsyncProcess.git
https://github.com/gregcotten/AsyncProcess.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.65.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "AsyncProcess",
  "name" : "AsyncProcess",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AsyncProcess",
      "targets" : [
        "AsyncProcess"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProcessSpawnSync",
      "targets" : [
        "ProcessSpawnSync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProcessSpawnSync",
      "module_type" : "SwiftTarget",
      "name" : "ProcessSpawnSync",
      "path" : "Sources/ProcessSpawnSync",
      "product_dependencies" : [
        "Atomics",
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "AsyncProcess",
        "ProcessSpawnSync"
      ],
      "sources" : [
        "ProcessSpawner.swift"
      ],
      "target_dependencies" : [
        "CProcessSpawnSync"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CProcessSpawnSync",
      "module_type" : "ClangTarget",
      "name" : "CProcessSpawnSync",
      "path" : "Sources/CProcessSpawnSync",
      "product_memberships" : [
        "AsyncProcess",
        "ProcessSpawnSync"
      ],
      "sources" : [
        "spawner.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AsyncProcessTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncProcessTests",
      "path" : "Tests/AsyncProcessTests",
      "product_dependencies" : [
        "Atomics",
        "AsyncAlgorithms",
        "NIO",
        "NIOConcurrencyHelpers",
        "Logging"
      ],
      "sources" : [
        "AsyncByteBufferLineSequenceTests.swift",
        "Helpers+LogRecorderHandler.swift",
        "IntegrationTests.swift"
      ],
      "target_dependencies" : [
        "AsyncProcess"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncProcess",
      "module_type" : "SwiftTarget",
      "name" : "AsyncProcess",
      "path" : "Sources/AsyncProcess",
      "product_dependencies" : [
        "Atomics",
        "AsyncAlgorithms",
        "Logging",
        "NIO",
        "DequeModule",
        "SystemPackage"
      ],
      "product_memberships" : [
        "AsyncProcess"
      ],
      "sources" : [
        "ChunkSequence.swift",
        "EOFSequence.swift",
        "FileContentStream.swift",
        "NIOAsyncPipeWriter.swift",
        "ProcessExecutor+Convenience.swift",
        "ProcessExecutor.swift",
        "ProcessExit.swift"
      ],
      "target_dependencies" : [
        "ProcessSpawnSync"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
[1/4985] Fetching swift-async-algorithms
[2/8821] Fetching swift-async-algorithms, swift-log
[255/10531] Fetching swift-async-algorithms, swift-log, swift-atomics
[2777/27122] Fetching swift-async-algorithms, swift-log, swift-atomics, swift-collections
[10438/31513] Fetching swift-async-algorithms, swift-log, swift-atomics, swift-collections, swift-system
[15788/107624] Fetching swift-async-algorithms, swift-log, swift-atomics, swift-collections, swift-system, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
[17518/103788] Fetching swift-async-algorithms, swift-atomics, swift-collections, swift-system, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.59s)
Fetched https://github.com/apple/swift-system from cache (1.59s)
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
[46616/77821] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (5.64s)
Fetched https://github.com/apple/swift-nio.git from cache (5.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (6.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.38s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.19s)
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-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.23s)
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/28] Write sources
[13/28] Compiling _AtomicsShims.c
[14/28] Compiling CNIOWASI CNIOWASI.c
[15/28] Compiling CNIOWindows WSAStartup.c
[16/28] Compiling CNIOWindows shim.c
[17/28] Compiling CNIODarwin shim.c
[18/28] Compiling CSystem shims.c
[19/28] Write sources
[19/28] Compiling CNIOLinux liburing_shims.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:26:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:61:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   61 |         hi = getdtablesize();
      |              ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:61:14: note: did you mean 'getpagesize'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
  380 | int getpagesize(void) __attribute_const__;
      |     ^
1 error generated.
[23/28] Compiling CProcessSpawnSync spawner.c
[23/28] Compiling c-atomics.c
[23/28] Compiling c-nioatomics.c
[23/28] Compiling CNIOLinux shim.c
[23/28] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:26:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:61:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   61 |         hi = getdtablesize();
      |              ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:61:14: note: did you mean 'getpagesize'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
  380 | int getpagesize(void) __attribute_const__;
      |     ^
1 error generated.
[0/5] Compiling CProcessSpawnSync spawner.c
[0/5] Compiling c-nioatomics.c
[0/5] Compiling c-atomics.c
[0/5] Compiling CNIOLinux shim.c
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android