The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SpeziFoundation, reference main (6e66cc), with Swift 6.1 for Linux on 1 May 2025 10:54:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFoundation.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/StanfordSpezi/SpeziFoundation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e66cc6 add `Sequence.{flat,compact}MapIntoSet` (#27)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
6e66cc6a843ef3e1273c6370c04183f0c5325e68
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at main
========================================
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" : "1.1.3",
            "upper_bound" : "2.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" : [
        "XCTRuntimeAssertions"
      ],
      "sources" : [
        "AsyncSemaphoreTests.swift",
        "CalendarExtensionsTests.swift",
        "CollectionBuildersTests.swift",
        "DataDescriptorTests.swift",
        "DurationTests.swift",
        "ExceptionHandlingTests.swift",
        "KeyValuePairsTests.swift",
        "MainActorExecutionTests.swift",
        "ManagedAsynchronousAccessTests.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",
        "XCTRuntimeAssertions"
      ],
      "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",
        "Concurrency/AsyncSemaphore.swift",
        "Concurrency/MainActorExecution.swift",
        "Concurrency/ManagedAsynchronousAccess.swift",
        "Concurrency/RWLock.swift",
        "Concurrency/RecursiveRWLock.swift",
        "Misc/AnyArray.swift",
        "Misc/AnyOptional.swift",
        "Misc/BinarySearch.swift",
        "Misc/Calendar.swift",
        "Misc/DataDescriptor.swift",
        "Misc/Duration.swift",
        "Misc/KeyValuePairs.swift",
        "Misc/ObjCExceptionHandling.swift",
        "Misc/OrderedArray.swift",
        "Misc/RuntimeEnvironment.swift",
        "Misc/SequenceExtensions.swift",
        "Misc/StaticString+Hashable.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: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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
[1/534] Fetching xctruntimeassertions
[295/6452] Fetching xctruntimeassertions, swift-algorithms
[3254/8157] Fetching xctruntimeassertions, swift-algorithms, swift-atomics
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.74s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.75s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.76s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (3.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.57s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.69s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.31s)
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
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
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
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
Building for debugging...
[0/12] Write sources
[0/12] Copying Localizable.xcstrings.license
[0/12] Copying Localizable.xcstrings
[0/12] Copying Info.plist
[0/12] Write sources
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.
[8/12] Compiling _AtomicsShims.c
[9/12] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[9/12] Compiling _NumericsShims _NumericsShims.c
[9/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: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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/3] 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.
[1/3] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[1/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux