The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IndexStoreDB, reference main (b429f7), with Swift 6.1 for Wasm on 29 May 2025 10:55:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/tayloraswift/indexstore-db.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/tayloraswift/indexstore-db
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b429f79 Merge pull request #198 from ahoppen/foreach-not-escaping
Cloned https://github.com/tayloraswift/indexstore-db.git
Revision (git rev-parse @):
b429f79ff5189dd9f9a7ee15f42df99d8843ed40
SUCCESS checkout https://github.com/tayloraswift/indexstore-db.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tayloraswift/indexstore-db.git
https://github.com/tayloraswift/indexstore-db.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "IndexStoreDB",
  "name" : "IndexStoreDB",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "IndexStoreDB",
      "targets" : [
        "IndexStoreDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "IndexStoreDB_CXX",
      "targets" : [
        "IndexStoreDB_Index"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ISDBTestSupport",
      "targets" : [
        "ISDBTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "tibs",
      "targets" : [
        "tibs"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "tibs",
      "module_type" : "SwiftTarget",
      "name" : "tibs",
      "path" : "Sources/tibs",
      "product_memberships" : [
        "ISDBTestSupport",
        "tibs"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ISDBTibs"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "IndexStoreDB_Support",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_Support",
      "path" : "lib/Support",
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "Concurrency-Mac.cpp",
        "FilePathWatcher.cpp",
        "Logging-Mac.mm",
        "Logging-NonMac.cpp",
        "Logging.cpp",
        "Path.cpp",
        "PatternMatching.cpp"
      ],
      "target_dependencies" : [
        "IndexStoreDB_LLVMSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_LLVMSupport",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_LLVMSupport",
      "path" : "lib/LLVMSupport",
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "Support/AArch64TargetParser.cpp",
        "Support/APFloat.cpp",
        "Support/APInt.cpp",
        "Support/APSInt.cpp",
        "Support/ARMTargetParser.cpp",
        "Support/Allocator.cpp",
        "Support/Atomic.cpp",
        "Support/Chrono.cpp",
        "Support/CommandLine.cpp",
        "Support/ConvertUTF.cpp",
        "Support/ConvertUTFWrapper.cpp",
        "Support/DJB.cpp",
        "Support/Debug.cpp",
        "Support/Errno.cpp",
        "Support/Error.cpp",
        "Support/ErrorHandling.cpp",
        "Support/FileUtilities.cpp",
        "Support/FoldingSet.cpp",
        "Support/FormatVariadic.cpp",
        "Support/Hashing.cpp",
        "Support/Host.cpp",
        "Support/JSON.cpp",
        "Support/LineIterator.cpp",
        "Support/Locale.cpp",
        "Support/MD5.cpp",
        "Support/ManagedStatic.cpp",
        "Support/MathExtras.cpp",
        "Support/Memory.cpp",
        "Support/MemoryBuffer.cpp",
        "Support/Mutex.cpp",
        "Support/NativeFormatting.cpp",
        "Support/Optional.cpp",
        "Support/Options.cpp",
        "Support/Path.cpp",
        "Support/PrettyStackTrace.cpp",
        "Support/Process.cpp",
        "Support/Program.cpp",
        "Support/Signals.cpp",
        "Support/Signposts.cpp",
        "Support/SmallPtrSet.cpp",
        "Support/SmallVector.cpp",
        "Support/SourceMgr.cpp",
        "Support/Statistic.cpp",
        "Support/StringExtras.cpp",
        "Support/StringMap.cpp",
        "Support/StringRef.cpp",
        "Support/StringSaver.cpp",
        "Support/TargetParser.cpp",
        "Support/Threading.cpp",
        "Support/Timer.cpp",
        "Support/ToolOutputFile.cpp",
        "Support/Triple.cpp",
        "Support/Twine.cpp",
        "Support/Unicode.cpp",
        "Support/UnicodeCaseFold.cpp",
        "Support/Valgrind.cpp",
        "Support/VersionTuple.cpp",
        "Support/Watchdog.cpp",
        "Support/WithColor.cpp",
        "Support/YAMLParser.cpp",
        "Support/YAMLTraits.cpp",
        "Support/circular_raw_ostream.cpp",
        "Support/raw_ostream.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_Index",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_Index",
      "path" : "lib/Index",
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "FilePathIndex.cpp",
        "FileVisibilityChecker.cpp",
        "IndexDatastore.cpp",
        "IndexStoreLibraryProvider.cpp",
        "IndexSystem.cpp",
        "StoreSymbolRecord.cpp",
        "SymbolIndex.cpp"
      ],
      "target_dependencies" : [
        "IndexStoreDB_Database"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_Database",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_Database",
      "path" : "lib/Database",
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "Database.cpp",
        "DatabaseError.cpp",
        "ImportTransaction.cpp",
        "ReadTransaction.cpp",
        "lmdb/mdb.c",
        "lmdb/midl.c"
      ],
      "target_dependencies" : [
        "IndexStoreDB_Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_Core",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_Core",
      "path" : "lib/Core",
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "Symbol.cpp"
      ],
      "target_dependencies" : [
        "IndexStoreDB_Support"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_CIndexStoreDB",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_CIndexStoreDB",
      "path" : "lib/CIndexStoreDB",
      "product_memberships" : [
        "IndexStoreDB",
        "ISDBTestSupport"
      ],
      "sources" : [
        "CIndexStoreDB.cpp"
      ],
      "target_dependencies" : [
        "IndexStoreDB_Index"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDBTests",
      "module_type" : "SwiftTarget",
      "name" : "IndexStoreDBTests",
      "path" : "Tests/IndexStoreDBTests",
      "sources" : [
        "IndexStoreDBTests.swift",
        "IndexTests.swift",
        "LocationScannerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "IndexStoreDB",
        "ISDBTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IndexStoreDB",
      "module_type" : "SwiftTarget",
      "name" : "IndexStoreDB",
      "path" : "Sources/IndexStoreDB",
      "product_memberships" : [
        "IndexStoreDB",
        "ISDBTestSupport"
      ],
      "sources" : [
        "IndexDelegate.swift",
        "IndexStoreDB.swift",
        "IndexStoreDBError.swift",
        "Symbol.swift",
        "SymbolLocation.swift",
        "SymbolOccurrence.swift",
        "SymbolProperty.swift",
        "SymbolRole.swift"
      ],
      "target_dependencies" : [
        "IndexStoreDB_CIndexStoreDB"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ISDBTibsTests",
      "module_type" : "SwiftTarget",
      "name" : "ISDBTibsTests",
      "path" : "Tests/ISDBTibsTests",
      "sources" : [
        "MiscTests.swift",
        "OutputFileMapTests.swift",
        "TibsBuildTests.swift",
        "TibsCompilationDatabaseTests.swift",
        "TibsManifestTests.swift",
        "TibsResolutionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ISDBTibs",
        "ISDBTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ISDBTibs",
      "module_type" : "SwiftTarget",
      "name" : "ISDBTibs",
      "path" : "Sources/ISDBTibs",
      "product_memberships" : [
        "ISDBTestSupport",
        "tibs"
      ],
      "sources" : [
        "Data.swift",
        "JSONCompilationDatabase.swift",
        "Makefile.swift",
        "OutputFileMap.swift",
        "Process.swift",
        "TibsBuilder.swift",
        "TibsManifest.swift",
        "TibsResolvedTarget.swift",
        "TibsToolchain.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ISDBTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "ISDBTestSupport",
      "path" : "Sources/ISDBTestSupport",
      "product_memberships" : [
        "ISDBTestSupport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ISDBTestSupport/INPUTS",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ForwardingIndexDelegate.swift",
        "SourceFileCache.swift",
        "TestLocation.swift",
        "TestLocationScanner.swift",
        "TestSources.swift",
        "TibsTestWorkspace.swift",
        "XCTestAssertions.swift"
      ],
      "target_dependencies" : [
        "IndexStoreDB",
        "ISDBTibs",
        "tibs"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/95] Write sources
[1/95] Compiling IndexStoreDB_Support Logging-Mac.mm
[2/95] Compiling IndexStoreDB_Support Logging-NonMac.cpp
/host/spi-builder-workspace/lib/Support/Concurrency-Mac.cpp:18:10: fatal error: 'dispatch/dispatch.h' file not found
   18 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/95] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[3/95] Write swift-version-24593BA9C3E375BF.txt
[3/95] Compiling circular_raw_ostream.cpp
[3/95] Compiling raw_ostream.cpp
[3/95] Compiling IndexStoreDB_Support Logging.cpp
[3/95] Compiling IndexStoreDB_Support PatternMatching.cpp
[3/95] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[3/95] Compiling IndexStoreDB_Support Path.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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...
[0/92] Write sources
[3/92] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[4/92] Write swift-version-24593BA9C3E375BF.txt
[5/92] Compiling IndexStoreDB_Support PatternMatching.cpp
/host/spi-builder-workspace/lib/Support/Logging.cpp:19:10: fatal error: 'dispatch/dispatch.h' file not found
   19 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/92] Compiling IndexStoreDB_Support Logging.cpp
[6/92] Compiling YAMLTraits.cpp
/host/spi-builder-workspace/lib/Support/Concurrency-Mac.cpp:18:10: fatal error: 'dispatch/dispatch.h' file not found
   18 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
[6/92] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[6/92] Compiling YAMLParser.cpp
[6/92] Compiling IndexStoreDB_Support Path.cpp
[6/92] Compiling raw_ostream.cpp
[6/92] Compiling circular_raw_ostream.cpp
BUILD FAILURE 6.1 wasm