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.4.1 (eaf89f), with Swift 6.1 for Linux on 5 Sep 2025 09:40:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFoundation.git
Reference: 2.4.1
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.4.1      -> FETCH_HEAD
HEAD is now at eaf89f7 improve `LocalizationKey` initializers; add more tests (#39)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
eaf89f70c255f21cafabdca5c731fa15f618432b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at 2.4.1
========================================
Build
========================================
Selected platform:         linux
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.2.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" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SpeziFoundation",
      "targets" : [
        "SpeziFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeziLocalization",
      "targets" : [
        "SpeziLocalization"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpeziLocalizationTests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziLocalizationTests",
      "path" : "Tests/SpeziLocalizationTests",
      "sources" : [
        "LocalizationBundleTests.swift",
        "LocalizationTests.swift"
      ],
      "target_dependencies" : [
        "SpeziLocalization",
        "SpeziFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpeziLocalization",
      "module_type" : "SwiftTarget",
      "name" : "SpeziLocalization",
      "path" : "Sources/SpeziLocalization",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "SpeziLocalization"
      ],
      "sources" : [
        "Bundle+LocalizableString.swift",
        "LocalizedFileResources/LocaleMatchingBehaviour.swift",
        "LocalizedFileResources/LocalizationKey.swift",
        "LocalizedFileResources/LocalizedFileResolution.swift",
        "LocalizedFileResources/LocalizedFileResources.swift",
        "Other.swift"
      ],
      "target_dependencies" : [
        "SpeziFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFoundationTests",
      "path" : "Tests/SpeziFoundationTests",
      "product_dependencies" : [
        "RuntimeAssertionsTesting",
        "XCTRuntimeAssertions"
      ],
      "sources" : [
        "AnyAsyncSequenceTests.swift",
        "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",
        "SpeziLocalization"
      ],
      "sources" : [
        "ObjCExceptionHandling.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeziFoundation",
      "module_type" : "SwiftTarget",
      "name" : "SpeziFoundation",
      "path" : "Sources/SpeziFoundation",
      "product_dependencies" : [
        "Atomics",
        "Algorithms",
        "RuntimeAssertions"
      ],
      "product_memberships" : [
        "SpeziFoundation",
        "SpeziLocalization"
      ],
      "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/AnyAsyncIterator.swift",
        "Concurrency/AnyAsyncSequence.swift",
        "Concurrency/AsyncSemaphore.swift",
        "Concurrency/DiscardTaskGroup+CancellableTask.swift",
        "Concurrency/MainActorExecution.swift",
        "Concurrency/ManagedAsynchronousAccess.swift",
        "Concurrency/RWLock/RWLock.swift",
        "Concurrency/RWLock/RecursiveRWLock.swift",
        "Concurrency/RWLock/_PThreadReadWriteLockProtocol.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/BidirectionalCollection.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/SendableMetatype.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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
[1/735] Fetching xctruntimeassertions
[736/6720] Fetching xctruntimeassertions, swift-algorithms
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.23s)
[659/5985] Fetching swift-algorithms
[3832/7799] Fetching swift-algorithms, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
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.2.0 (1.05s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.29s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (1.30s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/13] Write sources
[0/13] Copying Localizable.xcstrings
[0/13] Write sources
[0/13] Copying Info.plist
[0/13] Copying Localizable.xcstrings.license
[0/13] Write sources
[9/13] Compiling _NumericsShims _NumericsShims.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/13] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[10/13] Compiling _AtomicsShims.c
[10/13] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SpeziLocalizationTests/Resources/Localizable.xcstrings
    /host/spi-builder-workspace/Tests/SpeziLocalizationTests/Resources/Localizable.xcstrings.license
[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/3] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[0/3] Compiling _AtomicsShims.c
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux