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 SwiftSpellbook, reference 1.1.7 (9a4146), with Swift 6.1 for Wasm on 30 May 2025 02:48:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alkenso/SwiftSpellbook.git
Reference: 1.1.7
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/Alkenso/SwiftSpellbook
 * tag               1.1.7      -> FETCH_HEAD
HEAD is now at 9a41465 Introduce FileManager.uniqueFile to generate file with unique name
Cloned https://github.com/Alkenso/SwiftSpellbook.git
Revision (git rev-parse @):
9a4146535182c660f0d91248cad98d8f7fceb9e6
SUCCESS checkout https://github.com/Alkenso/SwiftSpellbook.git at 1.1.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Alkenso/SwiftSpellbook.git
https://github.com/Alkenso/SwiftSpellbook.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftSpellbook",
  "name" : "SwiftSpellbook",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SpellbookFoundation",
      "targets" : [
        "SpellbookFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpellbookHTTP",
      "targets" : [
        "SpellbookHTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpellbookBinaryParsing",
      "targets" : [
        "SpellbookBinaryParsing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpellbookTestUtils",
      "targets" : [
        "SpellbookTestUtils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_SpellbookFoundationObjC",
      "module_type" : "ClangTarget",
      "name" : "_SpellbookFoundationObjC",
      "path" : "Sources/SpellbookFoundationObjC",
      "product_memberships" : [
        "SpellbookFoundation",
        "SpellbookHTTP",
        "SpellbookBinaryParsing",
        "SpellbookTestUtils"
      ],
      "sources" : [
        "SpellbookObjC.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpellbookTests",
      "module_type" : "SwiftTarget",
      "name" : "SpellbookTests",
      "path" : "Tests/SpellbookTests",
      "sources" : [
        "BinaryParsing/BinaryParsingTests.swift",
        "Common/BlockingQueueTests.swift",
        "Common/CancellationTokenTests.swift",
        "Common/ObjectBuilderTests.swift",
        "Common/OtherCommonTests.swift",
        "Common/SBLogTests.swift",
        "Common/SBUnitTests.swift",
        "Common/UtilsTests.swift",
        "Common/WildcardExpressionTests.swift",
        "DictionaryParsing/DictionaryParsingTests.swift",
        "Errors/CommonErrorTests.swift",
        "Errors/ErrorExtensionsTests.swift",
        "Errors/NSErrorTests.swift",
        "Extensions Tests/CodableTests.swift",
        "Extensions Tests/CollectionsTests.swift",
        "Extensions Tests/StandardTypesTests.swift",
        "Filesystem & Bundle/FileEnumeratorTests.swift",
        "Filesystem & Bundle/FileManagerTests.swift",
        "Filesystem & Bundle/FileStoreTests.swift",
        "Filesystem & Bundle/TemporaryDirectoryTests.swift",
        "GUITests/GUITests.swift",
        "LowLevel/AuditTokenTests.swift",
        "LowLevel/MachTests.swift",
        "LowLevel/UnsafeTests.swift",
        "Observing/EventAskTests.swift",
        "Observing/EventNotifyTests.swift",
        "Observing/ObservableTests.swift",
        "Observing/ValueObservingTests.swift",
        "Observing/ValueStoreTests.swift",
        "Other/ObjCTests.swift",
        "Threading & Concurrency/ConcurrentBlockOperationTests.swift",
        "Threading & Concurrency/DispatchQueueExtensionsTests.swift",
        "Threading & Concurrency/SynchronousExecutorTests.swift",
        "Types & PropertyWrappers/PropertyWrapperTests.swift",
        "Types & PropertyWrappers/RefreshableTests.swift",
        "Types & PropertyWrappers/ResourceTests.swift",
        "Types & PropertyWrappers/TypesTests.swift"
      ],
      "target_dependencies" : [
        "SpellbookFoundation",
        "SpellbookBinaryParsing",
        "SpellbookTestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpellbookTestUtilsTests",
      "module_type" : "SwiftTarget",
      "name" : "SpellbookTestUtilsTests",
      "path" : "Tests/SpellbookTestUtilsTests",
      "sources" : [
        "TestingTests.swift"
      ],
      "target_dependencies" : [
        "SpellbookFoundation",
        "SpellbookTestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpellbookTestUtils",
      "module_type" : "SwiftTarget",
      "name" : "SpellbookTestUtils",
      "path" : "Sources/SpellbookTestUtils",
      "product_memberships" : [
        "SpellbookTestUtils"
      ],
      "sources" : [
        "Extensions - XCTestCase.swift",
        "TestError.swift",
        "Testing.swift"
      ],
      "target_dependencies" : [
        "SpellbookFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpellbookHTTP",
      "module_type" : "SwiftTarget",
      "name" : "SpellbookHTTP",
      "path" : "Sources/SpellbookHTTP",
      "product_memberships" : [
        "SpellbookHTTP"
      ],
      "sources" : [
        "HTTPClient.swift",
        "HTTPRequest.swift",
        "HTTPResult.swift",
        "HTTPTypes.swift"
      ],
      "target_dependencies" : [
        "SpellbookFoundation"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpellbookFoundation",
      "module_type" : "SwiftTarget",
      "name" : "SpellbookFoundation",
      "path" : "Sources/SpellbookFoundation",
      "product_memberships" : [
        "SpellbookFoundation",
        "SpellbookHTTP",
        "SpellbookBinaryParsing",
        "SpellbookTestUtils"
      ],
      "sources" : [
        "Combine/Extensions - Combine.swift",
        "Combine/Proxies - Combine.swift",
        "Common/Benchmark.swift",
        "Common/CancellationToken.swift",
        "Common/Environment.swift",
        "Common/Exceptions.swift",
        "Common/Extensions - Codable.swift",
        "Common/Extensions - Collections.swift",
        "Common/Extensions - Comparable.swift",
        "Common/Extensions - Formatters.swift",
        "Common/Extensions - StandardTypes.swift",
        "Common/SBUnit.swift",
        "Common/SpellbookLog.swift",
        "Common/Utils.swift",
        "Common/ValueBuilder.swift",
        "Common/WildcardExpression.swift",
        "DictionaryParsing/DictionaryCodingKey.swift",
        "DictionaryParsing/DictionaryReader.swift",
        "DictionaryParsing/DictionaryWriter.swift",
        "Errors/CommonError.swift",
        "Errors/CustomErrorUpdating.swift",
        "Errors/Extensions - Error.swift",
        "Errors/Extensions - NSError.swift",
        "Errors/IOKitError.swift",
        "Filesystem & Bundle/Extensions - Bundle.swift",
        "Filesystem & Bundle/Extensions - FileManager.swift",
        "Filesystem & Bundle/FileEnumerator.swift",
        "Filesystem & Bundle/FileStore.swift",
        "Filesystem & Bundle/TemporaryDirectory.swift",
        "GUI/Extensions - CoreGraphics.swift",
        "Internal.swift",
        "Low Level/AuditToken.swift",
        "Low Level/BridgedCEnum.swift",
        "Low Level/MachTime.swift",
        "Low Level/POD+Swift.swift",
        "Low Level/Unsafe.swift",
        "Private/_ValueUpdateWrapping.swift",
        "System & Hardware/DeviceInfo.swift",
        "System & Hardware/Extensions - ProcessInfo.swift",
        "Threading & Concurrency/Atomic.swift",
        "Threading & Concurrency/BlockingQueue.swift",
        "Threading & Concurrency/ConcurrentBlockOperation.swift",
        "Threading & Concurrency/Extensions - DispatchQueue.swift",
        "Threading & Concurrency/Extensions - Locks.swift",
        "Threading & Concurrency/Extensions - Task.swift",
        "Threading & Concurrency/PosixLocks.swift",
        "Threading & Concurrency/Synchronized.swift",
        "Threading & Concurrency/SynchronizedObjC.swift",
        "Threading & Concurrency/SynchronousExecutor.swift",
        "Types & PropertyWrappers/Boxing.swift",
        "Types & PropertyWrappers/Closure.swift",
        "Types & PropertyWrappers/Refreshable.swift",
        "Types & PropertyWrappers/Resource (RAII).swift",
        "Types & PropertyWrappers/Types.swift",
        "ValueObserving/EventAsk.swift",
        "ValueObserving/EventNotify.swift",
        "ValueObserving/ValueObservable.swift",
        "ValueObserving/ValueObserving.swift",
        "ValueObserving/ValueStore.swift",
        "ValueObserving/ValueView.swift"
      ],
      "target_dependencies" : [
        "_SpellbookFoundationObjC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpellbookBinaryParsing",
      "module_type" : "SwiftTarget",
      "name" : "SpellbookBinaryParsing",
      "path" : "Sources/SpellbookBinaryParsing",
      "product_memberships" : [
        "SpellbookBinaryParsing"
      ],
      "sources" : [
        "BinaryParsingError.swift",
        "BinaryReader.swift",
        "BinaryReaderInput.swift",
        "BinaryWriter.swift",
        "BinaryWriterOutput.swift"
      ],
      "target_dependencies" : [
        "SpellbookFoundation"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/6] Write sources
In file included from /host/spi-builder-workspace/Sources/SpellbookFoundationObjC/SpellbookObjC.mm:23:
/host/spi-builder-workspace/Sources/SpellbookFoundationObjC/SpellbookObjC.h:23:9: fatal error: 'Foundation/Foundation.h' file not found
   23 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/6] Compiling _SpellbookFoundationObjC SpellbookObjC.mm
[4/6] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/SpellbookFoundationObjC/SpellbookObjC.mm:23:
/host/spi-builder-workspace/Sources/SpellbookFoundationObjC/SpellbookObjC.h:23:9: fatal error: 'Foundation/Foundation.h' file not found
   23 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling _SpellbookFoundationObjC SpellbookObjC.mm
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm