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 main (2d6dd7), with Swift 6.1 for Wasm on 25 Jun 2025 18:14:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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 2d6dd7c improve docs, improve parsing, improve tests (#34)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
2d6dd7c77634b676320a2fc16cea80237daed4d0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at main
========================================
Build
========================================
Selected platform:         wasm
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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/583] Fetching xctruntimeassertions
[509/2380] Fetching xctruntimeassertions, swift-atomics
[1178/8339] Fetching xctruntimeassertions, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.46s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.48s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0 (1.32s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.37s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.97s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.61s)
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/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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Building for debugging...
[0/12] Write sources
[3/12] Copying Localizable.xcstrings
[3/12] Copying Localizable.xcstrings.license
[3/12] Copying Info.plist
[4/12] Write sources
[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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 wasm