The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Kubrick, reference main (de9b0d), with Swift 6.1 for Android on 28 May 2025 22:37:47 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/outfoxx/Kubrick.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/outfoxx/Kubrick
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at de9b0d8 Add spi.yml
Cloned https://github.com/outfoxx/Kubrick.git
Revision (git rev-parse @):
de9b0d88d3ac6c31d64071fdf58a82f331ce6ef9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/outfoxx/Kubrick.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/outfoxx/Kubrick.git
https://github.com/outfoxx/Kubrick.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "asyncobjects",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyLab/AsyncObjects.git"
    },
    {
      "identity" : "potentcodables",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.0",
            "upper_bound" : "3.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/potentcodables.git"
    },
    {
      "identity" : "swiftfriendlyid",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kdubb/SwiftFriendlyId.git"
    },
    {
      "identity" : "iostreams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/IOStreams.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Kubrick",
  "name" : "Kubrick",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Kubrick",
      "targets" : [
        "Kubrick"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Kubrick",
      "module_type" : "SwiftTarget",
      "name" : "Kubrick",
      "path" : "Sources/Kubrick",
      "product_dependencies" : [
        "AsyncObjects",
        "IOStreams",
        "PotentCodables",
        "FriendlyId"
      ],
      "product_memberships" : [
        "Kubrick"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Kubrick/Kubrick.docc",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AssistantsWatcher.swift",
        "Base64URL.swift",
        "BatchJob.swift",
        "CatchJob.swift",
        "DirectoryWatcher.swift",
        "DynamicJobDirector.swift",
        "ExecutableJob.swift",
        "ExternalJobKey.swift",
        "FileHandles.swift",
        "Job.swift",
        "JobBinding.swift",
        "JobBuilder.swift",
        "JobCodable.swift",
        "JobDirector.swift",
        "JobDirectorID.swift",
        "JobDirectorMode.swift",
        "JobDirectorStore.swift",
        "JobEnvironment.swift",
        "JobEnvironmentValue.swift",
        "JobError.swift",
        "JobErrorBox.swift",
        "JobExecutionError.swift",
        "JobHashable.swift",
        "JobHasher.swift",
        "JobID.swift",
        "JobInject.swift",
        "JobInjectManagable.swift",
        "JobInput.swift",
        "JobInputDescriptor.swift",
        "JobInputResults.swift",
        "JobKey.swift",
        "JobResult.swift",
        "JobTransferError.swift",
        "JobValue.swift",
        "Logging.swift",
        "MapJob.swift",
        "NoValue.swift",
        "RegEx.swift",
        "RegisterCache.swift",
        "ResultJob.swift",
        "RetryJob.swift",
        "SubmittableJob.swift",
        "SubmittableJobStore.swift",
        "Tasks.swift",
        "TimeDuration.swift",
        "TypeResolvers.swift",
        "URLSessionJobManager.swift",
        "UUIDs.swift",
        "UniqueID.swift",
        "UserNotificationJobManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SwiftyLab/AsyncObjects.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/outfoxx/IOStreams.git
Fetching https://github.com/outfoxx/potentcodables.git
Fetching https://github.com/kdubb/SwiftFriendlyId.git
[1/62] Fetching swiftfriendlyid
[63/2111] Fetching swiftfriendlyid, swift-docc-plugin
[309/6530] Fetching swiftfriendlyid, swift-docc-plugin, iostreams
[5661/97732] Fetching swiftfriendlyid, swift-docc-plugin, iostreams, potentcodables
Fetched https://github.com/kdubb/SwiftFriendlyId.git from cache (0.52s)
Fetched https://github.com/outfoxx/IOStreams.git from cache (0.52s)
[11170/93251] Fetching swift-docc-plugin, potentcodables
[19379/97440] Fetching swift-docc-plugin, potentcodables, asyncobjects
Fetched https://github.com/SwiftyLab/AsyncObjects.git from cache (3.45s)
Fetched https://github.com/apple/swift-docc-plugin from cache (3.46s)
Fetched https://github.com/outfoxx/potentcodables.git from cache (3.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (4.29s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.49s)
Computing version for https://github.com/outfoxx/IOStreams.git
Computed https://github.com/outfoxx/IOStreams.git at 1.4.2 (1.10s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Computing version for https://github.com/outfoxx/potentcodables.git
Computed https://github.com/outfoxx/potentcodables.git at 3.2.0 (1.17s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/310] Fetching float16
[311/5086] Fetching float16, bigint
[1267/21677] Fetching float16, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.58s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.59s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.29s)
Computing version for https://github.com/SwiftyLab/AsyncObjects.git
Computed https://github.com/SwiftyLab/AsyncObjects.git at 2.1.0 (2.00s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.82s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.86s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.50s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (1.11s)
Computing version for https://github.com/kdubb/SwiftFriendlyId.git
Computed https://github.com/kdubb/SwiftFriendlyId.git at 1.3.2 (0.60s)
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (1.69s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (3.91s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.58s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/kdubb/SwiftFriendlyId.git
Working copy of https://github.com/kdubb/SwiftFriendlyId.git resolved at 1.3.2
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.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.0.6
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/outfoxx/IOStreams.git
Working copy of https://github.com/outfoxx/IOStreams.git resolved at 1.4.2
Creating working copy for https://github.com/SwiftyLab/AsyncObjects.git
Working copy of https://github.com/SwiftyLab/AsyncObjects.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/outfoxx/potentcodables.git
Working copy of https://github.com/outfoxx/potentcodables.git resolved at 3.2.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/43] Write sources
[14/43] Copying PotentCodables.docc
[15/43] Copying Kubrick.docc
[16/43] Compiling _AtomicsShims.c
[17/43] Compiling fy-utf8.c
[18/43] Compiling fy-utils.c
[19/43] Compiling fy-types.c
[20/43] Compiling fy-token.c
[21/43] Write swift-version-24593BA9C3E375BF.txt
[22/43] Compiling fy-event.c
[23/43] Compiling fy-path.c
[24/43] Compiling xxhash.c
[25/43] Compiling fy-dump.c
[26/62] Compiling fy-walk.c
[27/62] Compiling fy-docstate.c
[28/62] Compiling fy-input.c
[29/62] Compiling fy-docbuilder.c
[30/63] Compiling fy-ctype.c
[31/109] Compiling fy-emit.c
[32/109] Compiling fy-composer.c
[33/109] Write sources
[34/109] Compiling fy-diag.c
[35/109] Write sources
[36/109] Compiling fy-parse.c
[36/109] Write sources
[40/147] Compiling fy-accel.c
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-doc.c:5769:2: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 5769 |         qsort_r(fynpp, count, sizeof(*fynpp), fy_node_mapping_sort_cmp, &ctx);
      |         ^
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-doc.c:5769:2: note: did you mean 'qsort'?
/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/stdlib.h:126:6: note: 'qsort' declared here
  126 | void qsort(void* _Nullable __base, size_t __nmemb, size_t __size, int (* _Nonnull __comparator)(const void* _Nullable __lhs, const void* _Nullable __rhs));
      |      ^
1 error generated.
[41/147] Compiling fy-doc.c
[41/147] Compiling fy-atom.c
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/6] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling fy-atom.c
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-doc.c:5769:2: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 5769 |         qsort_r(fynpp, count, sizeof(*fynpp), fy_node_mapping_sort_cmp, &ctx);
      |         ^
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-doc.c:5769:2: note: did you mean 'qsort'?
/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/stdlib.h:126:6: note: 'qsort' declared here
  126 | void qsort(void* _Nullable __base, size_t __nmemb, size_t __size, int (* _Nonnull __comparator)(const void* _Nullable __lhs, const void* _Nullable __rhs));
      |      ^
1 error generated.
[5/6] Compiling fy-doc.c
BUILD FAILURE 6.1 android