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 SpeziFoundation, reference 2.2.0 (759e28), with Swift 6.1 for Android on 24 Jun 2025 18:13:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFoundation.git
Reference: 2.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/StanfordSpezi/SpeziFoundation
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at 759e28c move some APIs into SpeziFoundation (#33)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
759e28cd36338d83900eef3a0839fd9edecf616d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at 2.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordSpezi/SpeziFoundation.git
https://github.com/StanfordSpezi/SpeziFoundation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "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-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    },
    {
      "identity" : "xctruntimeassertions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordBDHG/XCTRuntimeAssertions.git"
    }
  ],
  "manifest_display_name" : "SpeziFoundation",
  "name" : "SpeziFoundation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SpeziFoundation",
      "targets" : [
        "SpeziFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpeziFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFoundationTests",
      "path" : "Tests/SpeziFoundationTests",
      "product_dependencies" : [
        "RuntimeAssertionsTesting",
        "XCTRuntimeAssertions"
      ],
      "sources" : [
        "AsyncSemaphoreTests.swift",
        "CalendarExtensionsTests.swift",
        "CancelableChildTaskTests.swift",
        "CollectionBuildersTests.swift",
        "CompressionAlgorithmTests.swift",
        "DataDescriptorTests.swift",
        "DurationTests.swift",
        "ExceptionHandlingTests.swift",
        "FileManagerTests.swift",
        "FormatStyleTests.swift",
        "KeyValuePairsTests.swift",
        "MainActorExecutionTests.swift",
        "ManagedAsynchronousAccessTests.swift",
        "MarkdownDocumentTests.swift",
        "OrderedArrayTests.swift",
        "RWLockTests.swift",
        "RuntimeEnvironmentTests.swift",
        "SendableSharedRepositoryTests.swift",
        "SequenceExtensionTests.swift",
        "SharedRepositoryTests.swift",
        "StaticStringTests.swift",
        "TimeoutTests.swift",
        "VersionTests.swift"
      ],
      "target_dependencies" : [
        "SpeziFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeziFoundationObjC",
      "module_type" : "ClangTarget",
      "name" : "SpeziFoundationObjC",
      "path" : "Sources/SpeziFoundationObjC",
      "product_memberships" : [
        "SpeziFoundation"
      ],
      "sources" : [
        "ObjCExceptionHandling.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziFoundation",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFoundation",
      "path" : "Sources/SpeziFoundation",
      "product_dependencies" : [
        "Atomics",
        "Algorithms",
        "RuntimeAssertions"
      ],
      "product_memberships" : [
        "SpeziFoundation"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFoundation/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SpeziFoundation/Resources/Localizable.xcstrings.license",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Collection Builders/ArrayBuilder.swift",
        "Collection Builders/RangeReplaceableCollectionBuilder.swift",
        "Collection Builders/SetBuilder.swift",
        "Compression/CompressionAlgorithm.swift",
        "Compression/Zlib.swift",
        "Concurrency/AsyncSemaphore.swift",
        "Concurrency/DiscardTaskGroup+CancellableTask.swift",
        "Concurrency/MainActorExecution.swift",
        "Concurrency/ManagedAsynchronousAccess.swift",
        "Concurrency/RWLock.swift",
        "Concurrency/RecursiveRWLock.swift",
        "Markdown Document/MarkdownDocument+Metadata.swift",
        "Markdown Document/MarkdownDocument+Parser.swift",
        "Markdown Document/MarkdownDocument+Sections.swift",
        "Markdown Document/MarkdownDocument.swift",
        "Misc/AnyArray.swift",
        "Misc/AnyOptional.swift",
        "Misc/BinarySearch.swift",
        "Misc/Calendar.swift",
        "Misc/DataDescriptor.swift",
        "Misc/Duration.swift",
        "Misc/FileManager.swift",
        "Misc/FormatStyle.swift",
        "Misc/KeyValuePairs.swift",
        "Misc/ObjCExceptionHandling.swift",
        "Misc/OrderedArray.swift",
        "Misc/RuntimeEnvironment.swift",
        "Misc/SequenceExtensions.swift",
        "Misc/StaticString+Hashable.swift",
        "Misc/String.swift",
        "Misc/TimeoutError.swift",
        "Misc/TopLevelDecoder.swift",
        "Misc/TopLevelEncoder.swift",
        "Misc/Version.swift",
        "RuntimeConfig/RuntimeConfig.swift",
        "SharedRepository/Builtin/RepositoryValue.swift",
        "SharedRepository/Builtin/SendableValueRepository.swift",
        "SharedRepository/Builtin/ValueRepository.swift",
        "SharedRepository/KnowledgeSource/ComputedKnowledgeSource.swift",
        "SharedRepository/KnowledgeSource/DefaultProvidingKnowledgeSource.swift",
        "SharedRepository/KnowledgeSource/KnowledgeSource.swift",
        "SharedRepository/KnowledgeSource/OptionalComputedKnowledgeSource.swift",
        "SharedRepository/KnowledgeSource/SomeComputedKnowledgeSource.swift",
        "SharedRepository/RepositoryAnchor.swift",
        "SharedRepository/SendableSharedRepository.swift",
        "SharedRepository/SharedRepository.swift"
      ],
      "target_dependencies" : [
        "SpeziFoundationObjC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/1797] Fetching swift-atomics
[595/2380] Fetching swift-atomics, xctruntimeassertions
[1285/8339] Fetching swift-atomics, xctruntimeassertions, swift-algorithms
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.44s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.45s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0 (1.01s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.84s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.81s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.71s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Building for debugging...
[0/12] Write sources
[0/12] Copying Info.plist
[0/12] Copying Localizable.xcstrings.license
[0/12] Write sources
[7/12] Copying Localizable.xcstrings
[8/12] Compiling _NumericsShims _NumericsShims.c
[9/12] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
   12 | #include <Foundation/NSObjCRuntime.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/12] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[10/12] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
   12 | #include <Foundation/NSObjCRuntime.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android