Build Information
Successful build of IndexStore, reference 1.10.0 (7edb9a), with Swift 6.1 for macOS (SPM) on 25 Apr 2026 22:59:38 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MobileNativeFoundation/swift-index-store.git
Reference: 1.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MobileNativeFoundation/swift-index-store
* tag 1.10.0 -> FETCH_HEAD
HEAD is now at 7edb9a6 Expose symbol language in the Swift API (#83)
Cloned https://github.com/MobileNativeFoundation/swift-index-store.git
Revision (git rev-parse @):
7edb9a64e084ed64f83b84fb9269d3d1a20c0687
SUCCESS checkout https://github.com/MobileNativeFoundation/swift-index-store.git at 1.10.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MobileNativeFoundation/swift-index-store.git
https://github.com/MobileNativeFoundation/swift-index-store.git
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "IndexStore",
"name" : "IndexStore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "IndexStore",
"targets" : [
"IndexStore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CSwiftDemangle",
"targets" : [
"CSwiftDemangle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftDemangle",
"targets" : [
"SwiftDemangle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "indexutil-export",
"targets" : [
"indexutil-export"
],
"type" : {
"executable" : null
}
},
{
"name" : "unnecessary-testable",
"targets" : [
"unnecessary-testable"
],
"type" : {
"executable" : null
}
},
{
"name" : "unused-imports",
"targets" : [
"unused-imports"
],
"type" : {
"executable" : null
}
},
{
"name" : "indexutil-annotate",
"targets" : [
"indexutil-annotate"
],
"type" : {
"executable" : null
}
},
{
"name" : "tycat",
"targets" : [
"tycat"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "unused_imports",
"module_type" : "SwiftTarget",
"name" : "unused-imports",
"path" : "Sources/unused-imports",
"product_memberships" : [
"unused-imports"
],
"sources" : [
"Reporters/JSONReporter.swift",
"Reporters/SedCommandReporter.swift",
"Reporters/UnusedImportReporter.swift",
"SourceFileWithUnusedImports.swift",
"UnusedImportStatement.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "unnecessary_testable",
"module_type" : "SwiftTarget",
"name" : "unnecessary-testable",
"path" : "Sources/unnecessary-testable",
"product_memberships" : [
"unnecessary-testable"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "tycat",
"module_type" : "SwiftTarget",
"name" : "tycat",
"path" : "Sources/tycat",
"product_memberships" : [
"tycat"
],
"sources" : [
"TypeGraph.swift",
"Xcode.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "indexutil_export",
"module_type" : "SwiftTarget",
"name" : "indexutil-export",
"path" : "Sources/indexutil-export",
"product_memberships" : [
"indexutil-export"
],
"sources" : [
"TSVWriter.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "indexutil_annotate",
"module_type" : "SwiftTarget",
"name" : "indexutil-annotate",
"path" : "Sources/indexutil-annotate",
"product_memberships" : [
"indexutil-annotate"
],
"sources" : [
"Annotation.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "SwiftDemangleTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDemangleTests",
"path" : "Tests/SwiftDemangleTests",
"sources" : [
"SwiftDemangleTests.swift"
],
"target_dependencies" : [
"SwiftDemangle"
],
"type" : "test"
},
{
"c99name" : "SwiftDemangle",
"module_type" : "SwiftTarget",
"name" : "SwiftDemangle",
"path" : "Sources/SwiftDemangle",
"product_memberships" : [
"SwiftDemangle"
],
"sources" : [
"DemangledNode.swift",
"Demangler.swift"
],
"target_dependencies" : [
"CSwiftDemangle"
],
"type" : "library"
},
{
"c99name" : "IndexStoreTests",
"module_type" : "SwiftTarget",
"name" : "IndexStoreTests",
"path" : "Tests/IndexStoreTests",
"sources" : [
"DetermineIndexStorePath.swift",
"IndexStoreTests.swift",
"dummy.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "test"
},
{
"c99name" : "IndexStore",
"module_type" : "SwiftTarget",
"name" : "IndexStore",
"path" : "Sources/IndexStore",
"product_memberships" : [
"IndexStore",
"indexutil-export",
"unnecessary-testable",
"unused-imports",
"indexutil-annotate",
"tycat"
],
"sources" : [
"Constants.swift",
"IndexStore.swift",
"IndexStoreError.swift",
"StandardStream.swift",
"String+IndexStore.swift"
],
"target_dependencies" : [
"CIndexStore"
],
"type" : "library"
},
{
"c99name" : "CSwiftDemangle",
"module_type" : "ClangTarget",
"name" : "CSwiftDemangle",
"path" : "Sources/CSwiftDemangle",
"product_memberships" : [
"CSwiftDemangle",
"SwiftDemangle"
],
"sources" : [
"CSwiftDemangle.cpp"
],
"type" : "library"
},
{
"c99name" : "CIndexStore",
"module_type" : "ClangTarget",
"name" : "CIndexStore",
"path" : "Sources/CIndexStore",
"product_memberships" : [
"IndexStore",
"indexutil-export",
"unnecessary-testable",
"unused-imports",
"indexutil-annotate",
"tycat"
],
"sources" : [
"dummy.c"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/30] Write sources
[2/30] Write unused-imports-entitlement.plist
[2/30] Write sources
[2/30] Write tycat-entitlement.plist
[2/30] Write sources
[2/30] Write unnecessary-testable-entitlement.plist
[9/30] Write indexutil-annotate-entitlement.plist
[9/30] Write indexutil-export-entitlement.plist
[11/30] Write sources
[12/30] Compiling CIndexStore dummy.c
[13/30] Write swift-version-2F0A5646E1D333AE.txt
/Users/admin/builder/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:29:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
29 | char true_symbol[strlen(symbol) + 1];
| ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:29:29: note: function parameter 'symbol' with unknown value cannot be used in a constant expression
29 | char true_symbol[strlen(symbol) + 1];
| ^
/Users/admin/builder/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:26:75: note: declared here
26 | demangle_node_t demangle_symbolAsNode(demangle_context_t ctx, const char *symbol) {
| ^
1 warning generated.
[14/36] Compiling CSwiftDemangle CSwiftDemangle.cpp
[16/39] Compiling IndexStore IndexStoreError.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndexStore/IndexStoreError.swift:4:17: warning: stored property 'error' of 'Sendable'-conforming class 'IndexStoreError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | public final class IndexStoreError: Error, CustomStringConvertible {
4 | private var error: indexstore_error_t
| `- warning: stored property 'error' of 'Sendable'-conforming class 'IndexStoreError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ error: indexstore_error_t) {
[17/39] Compiling IndexStore IndexStore.swift
[18/39] Emitting module IndexStore
/Users/admin/builder/spi-builder-workspace/Sources/IndexStore/IndexStoreError.swift:4:17: warning: stored property 'error' of 'Sendable'-conforming class 'IndexStoreError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | public final class IndexStoreError: Error, CustomStringConvertible {
4 | private var error: indexstore_error_t
| `- warning: stored property 'error' of 'Sendable'-conforming class 'IndexStoreError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ error: indexstore_error_t) {
/Users/admin/builder/spi-builder-workspace/Sources/IndexStore/StandardStream.swift:20:5: warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | var stderr = StandardStream(Foundation.stderr)
| |- warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[19/39] Compiling IndexStore Constants.swift
[20/39] Compiling IndexStore StandardStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndexStore/StandardStream.swift:20:5: warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | var stderr = StandardStream(Foundation.stderr)
| |- warning: var 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
[21/39] Compiling IndexStore String+IndexStore.swift
[22/39] Emitting module SwiftDemangle
[23/39] Compiling SwiftDemangle DemangledNode.swift
[24/39] Compiling SwiftDemangle Demangler.swift
[25/58] Compiling indexutil_export main.swift
/Users/admin/builder/spi-builder-workspace/Sources/indexutil-export/main.swift:13:84: error: main actor-isolated var 'stderr' can not be used 'inout' from a nonisolated context
8 | }
9 |
10 | var stderr = StandardErrorStream()
| `- note: mutation of this var is only permitted within the actor
11 |
12 | func usage() -> Never {
| `- note: add '@MainActor' to make global function 'usage()' part of global actor 'MainActor'
13 | print("Usage: indexutil export <format> <index-store-path> <output-dir>", to: &stderr)
| `- error: main actor-isolated var 'stderr' can not be used 'inout' from a nonisolated context
14 | exit(EXIT_FAILURE)
15 | }
[26/58] Emitting module indexutil_export
[27/58] Compiling indexutil_export TSVWriter.swift
[28/58] Compiling unused_imports UnusedImportReporter.swift
[29/58] Compiling unused_imports SourceFileWithUnusedImports.swift
[30/58] Compiling unused_imports JSONReporter.swift
[31/58] Emitting module unnecessary_testable
[32/58] Emitting module indexutil_annotate
[33/58] Compiling indexutil_annotate Annotation.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/16] Write swift-version-2F0A5646E1D333AE.txt
[2/25] Compiling SwiftDemangle Demangler.swift
[3/25] Compiling SwiftDemangle DemangledNode.swift
[4/25] Emitting module SwiftDemangle
[5/25] Compiling IndexStore String+IndexStore.swift
[6/25] Emitting module IndexStore
[7/25] Compiling IndexStore IndexStoreError.swift
[8/25] Compiling IndexStore StandardStream.swift
[9/25] Compiling IndexStore Constants.swift
[10/25] Compiling IndexStore IndexStore.swift
[11/44] Compiling indexutil_annotate main.swift
[12/44] Compiling indexutil_annotate Annotation.swift
[13/44] Emitting module indexutil_annotate
[13/44] Write Objects.LinkFileList
[15/44] Compiling tycat main.swift
[16/44] Compiling unused_imports JSONReporter.swift
[17/44] Compiling unused_imports UnusedImportReporter.swift
[18/44] Compiling unused_imports SourceFileWithUnusedImports.swift
[19/44] Emitting module tycat
[20/44] Compiling tycat Xcode.swift
[21/44] Compiling tycat TypeGraph.swift
[22/44] Compiling unused_imports SedCommandReporter.swift
[22/44] Write Objects.LinkFileList
[24/44] Emitting module unused_imports
[25/44] Emitting module unnecessary_testable
[26/44] Compiling unnecessary_testable main.swift
[26/44] Write Objects.LinkFileList
[28/44] Compiling indexutil_export TSVWriter.swift
[29/44] Emitting module indexutil_export
[30/44] Compiling indexutil_export main.swift
[30/44] Write Objects.LinkFileList
[32/44] Compiling unused_imports UnusedImportStatement.swift
[33/44] Compiling unused_imports main.swift
[33/44] Write Objects.LinkFileList
[34/44] Linking indexutil-annotate
[34/44] Linking tycat
[36/44] Linking unnecessary-testable
[37/44] Linking indexutil-export
[38/44] Applying tycat
[38/44] Applying indexutil-annotate
[40/44] Applying unnecessary-testable
[41/44] Applying indexutil-export
[42/44] Linking unused-imports
[43/44] Applying unused-imports
Build complete! (3.30s)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "IndexStore",
"name" : "IndexStore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "IndexStore",
"targets" : [
"IndexStore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CSwiftDemangle",
"targets" : [
"CSwiftDemangle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftDemangle",
"targets" : [
"SwiftDemangle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "indexutil-export",
"targets" : [
"indexutil-export"
],
"type" : {
"executable" : null
}
},
{
"name" : "unnecessary-testable",
"targets" : [
"unnecessary-testable"
],
"type" : {
"executable" : null
}
},
{
"name" : "unused-imports",
"targets" : [
"unused-imports"
],
"type" : {
"executable" : null
}
},
{
"name" : "indexutil-annotate",
"targets" : [
"indexutil-annotate"
],
"type" : {
"executable" : null
}
},
{
"name" : "tycat",
"targets" : [
"tycat"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "unused_imports",
"module_type" : "SwiftTarget",
"name" : "unused-imports",
"path" : "Sources/unused-imports",
"product_memberships" : [
"unused-imports"
],
"sources" : [
"Reporters/JSONReporter.swift",
"Reporters/SedCommandReporter.swift",
"Reporters/UnusedImportReporter.swift",
"SourceFileWithUnusedImports.swift",
"UnusedImportStatement.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "unnecessary_testable",
"module_type" : "SwiftTarget",
"name" : "unnecessary-testable",
"path" : "Sources/unnecessary-testable",
"product_memberships" : [
"unnecessary-testable"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "tycat",
"module_type" : "SwiftTarget",
"name" : "tycat",
"path" : "Sources/tycat",
"product_memberships" : [
"tycat"
],
"sources" : [
"TypeGraph.swift",
"Xcode.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "indexutil_export",
"module_type" : "SwiftTarget",
"name" : "indexutil-export",
"path" : "Sources/indexutil-export",
"product_memberships" : [
"indexutil-export"
],
"sources" : [
"TSVWriter.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "indexutil_annotate",
"module_type" : "SwiftTarget",
"name" : "indexutil-annotate",
"path" : "Sources/indexutil-annotate",
"product_memberships" : [
"indexutil-annotate"
],
"sources" : [
"Annotation.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "SwiftDemangleTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDemangleTests",
"path" : "Tests/SwiftDemangleTests",
"sources" : [
"SwiftDemangleTests.swift"
],
"target_dependencies" : [
"SwiftDemangle"
],
"type" : "test"
},
{
"c99name" : "SwiftDemangle",
"module_type" : "SwiftTarget",
"name" : "SwiftDemangle",
"path" : "Sources/SwiftDemangle",
"product_memberships" : [
"SwiftDemangle"
],
"sources" : [
"DemangledNode.swift",
"Demangler.swift"
],
"target_dependencies" : [
"CSwiftDemangle"
],
"type" : "library"
},
{
"c99name" : "IndexStoreTests",
"module_type" : "SwiftTarget",
"name" : "IndexStoreTests",
"path" : "Tests/IndexStoreTests",
"sources" : [
"DetermineIndexStorePath.swift",
"IndexStoreTests.swift",
"dummy.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "test"
},
{
"c99name" : "IndexStore",
"module_type" : "SwiftTarget",
"name" : "IndexStore",
"path" : "Sources/IndexStore",
"product_memberships" : [
"IndexStore",
"indexutil-export",
"unnecessary-testable",
"unused-imports",
"indexutil-annotate",
"tycat"
],
"sources" : [
"Constants.swift",
"IndexStore.swift",
"IndexStoreError.swift",
"StandardStream.swift",
"String+IndexStore.swift"
],
"target_dependencies" : [
"CIndexStore"
],
"type" : "library"
},
{
"c99name" : "CSwiftDemangle",
"module_type" : "ClangTarget",
"name" : "CSwiftDemangle",
"path" : "Sources/CSwiftDemangle",
"product_memberships" : [
"CSwiftDemangle",
"SwiftDemangle"
],
"sources" : [
"CSwiftDemangle.cpp"
],
"type" : "library"
},
{
"c99name" : "CIndexStore",
"module_type" : "ClangTarget",
"name" : "CIndexStore",
"path" : "Sources/CIndexStore",
"product_memberships" : [
"IndexStore",
"indexutil-export",
"unnecessary-testable",
"unused-imports",
"indexutil-annotate",
"tycat"
],
"sources" : [
"dummy.c"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.