Build Information
Successful build of OpenGraph, reference main (f2b16a
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 09:51:35 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OpenSwiftUIProject/OpenGraph.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OpenSwiftUIProject/OpenGraph
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f2b16a1 Add OGGraphGetWeakValue (#87)
Cloned https://github.com/OpenSwiftUIProject/OpenGraph.git
Revision (git rev-parse @):
f2b16a1145acadd47c708d528f7eb1047d412f78
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/OpenSwiftUIProject/OpenGraph.git at main
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (2.04s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (2.83s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "opengraph",
"name": "OpenGraph",
"url": "https://github.com/OpenSwiftUIProject/OpenGraph.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenGraph",
"dependencies": [
]
}
]
}
Fetching https://github.com/OpenSwiftUIProject/OpenGraph.git
[1/5232] Fetching opengraph
Fetched https://github.com/OpenSwiftUIProject/OpenGraph.git from cache (1.11s)
Creating working copy for https://github.com/OpenSwiftUIProject/OpenGraph.git
Working copy of https://github.com/OpenSwiftUIProject/OpenGraph.git resolved at main (f2b16a1)
warning: '.resolve-product-dependencies': dependency 'opengraph' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/OpenSwiftUIProject/OpenGraph.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin UpdateModule
Building for debugging...
[1/30] Write swift-version--7754E27361AE5C74.txt
[2/30] Compiling AttributeType.cpp
[3/30] Compiling realloc_vector.cpp
[3/30] Compiling OGWeakAttribute.cpp
[3/30] Compiling AttributeID.cpp
[6/30] Compiling metadata.cpp
[7/30] Compiling OGTypeID.cpp
[8/30] Compiling log.cpp
[9/30] Compiling assert.cpp
[10/30] Compiling OGAttribute.cpp
[11/30] Compiling OGTypeApplyField.cpp
[11/30] Compiling OGTypeDescription.cpp
[13/30] Compiling OGTypeApplyEnumData.cpp
[14/30] Compiling OGTupleType.cpp
[15/30] Compiling OGCompareValues.cpp
[16/30] Compiling OGGraphContext.cpp
[17/30] Compiling OGUniqueID.c
[17/30] Write sources
[20/30] Compiling OGDebugServer.cpp
[21/30] Copying AttributeGraph.framework
[22/30] Compiling Graph.cpp
[22/30] Compiling ClosureFunction.cpp
[24/33] Compiling Subgraph.cpp
[25/33] Compiling OGSubgraph.cpp
[26/33] Compiling OGGraph.cpp
[27/33] Compiling GraphContext.cpp
In file included from /Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/og-debug-server.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/og-debug-server.hpp:14:
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/../Util/vector.hpp:149:1: warning: non-void function does not return a value [-Wreturn-type]
149 | }
| ^
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/og-debug-server.mm:225:27: note: in instantiation of member function 'OG::vector<std::unique_ptr<OG::DebugServer::Connection>, 0, unsigned long>::begin' requested here
225 | auto it = connections.begin();
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/og-debug-server.mm:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/og-debug-server.hpp:14:
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/../Util/vector.hpp:156:1: warning: non-void function does not return a value [-Wreturn-type]
156 | }
| ^
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraph_SPI/Debug/og-debug-server.mm:226:30: note: in instantiation of member function 'OG::vector<std::unique_ptr<OG::DebugServer::Connection>, 0, unsigned long>::end' requested here
226 | for (; it != connections.end(); it++) {
| ^
2 warnings generated.
[28/33] Compiling og-debug-server.mm
[29/33] Compiling GraphDescription.mm
[31/57] Emitting module OpenGraph
[32/59] Compiling OpenGraph OGGraph.swift
[33/59] Compiling OpenGraph OGSubgraph.swift
[34/59] Compiling OpenGraph AnyAttribute.swift
[35/59] Compiling OpenGraph Attribute.swift
[36/59] Compiling OpenGraph External.swift
[37/59] Compiling OpenGraph AnyWeakAttribute.swift
[38/59] Compiling OpenGraph WeakAttribute.swift
[39/59] Compiling OpenGraph Rule.swift
[40/59] Compiling OpenGraph RuleContext.swift
[41/59] Compiling OpenGraph StatefulRule.swift
[42/59] Compiling OpenGraph AnyOptionalAttribute.swift
[43/59] Compiling OpenGraph OptionalAttribute.swift
[44/59] Compiling OpenGraph AnyRuleContext.swift
[45/59] Compiling OpenGraph AttributeBodyVisitor.swift
[46/59] Compiling OpenGraph ObservedAttribute.swift
[47/59] Compiling OpenGraph IndirectAttribute.swift
[48/59] Compiling OpenGraph DebugServer.swift
[49/59] Compiling OpenGraph Export.swift
[50/59] Compiling OpenGraph Focus.swift
[51/59] Compiling OpenGraph PointerOffset.swift
[52/59] Compiling OpenGraph AttributeBody.swift
[53/59] Compiling OpenGraph CompareValues.swift
[54/59] Compiling OpenGraph OGTupleType.swift
[55/59] Compiling OpenGraph OGTypeApplyEnumData.swift
[56/59] Compiling OpenGraph OGTypeID.swift
[57/59] Compiling OpenGraphShims GraphShims.swift
[58/59] Compiling OpenGraphShims OGTypeID+Debug.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraphShims/OGTypeID+Debug.swift:12:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | let ignoreStdlib: Bool
11 |
12 | public static var `default` = Option(maxLevel: 3, ignoreStdlib: true)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[59/59] Emitting module OpenGraphShims
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraphShims/OGTypeID+Debug.swift:12:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | let ignoreStdlib: Bool
11 |
12 | public static var `default` = Option(maxLevel: 3, ignoreStdlib: true)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
Build complete! (19.26s)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
}
],
"manifest_display_name" : "OpenGraph",
"name" : "OpenGraph",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "18.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "OpenGraphShims",
"targets" : [
"OpenGraphShims"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenGraph",
"targets" : [
"OpenGraph"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AttributeGraph",
"targets" : [
"AttributeGraph"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UpdateModule",
"module_type" : "PluginTarget",
"name" : "UpdateModule",
"path" : "Plugins/UpdateModule",
"plugin_capability" : {
"intent" : {
"description" : "Update AG xcframework",
"type" : "custom",
"verb" : "update-module"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Update AG xcframework",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"sources" : [
"UpdateModuleCommand.swift"
],
"type" : "plugin"
},
{
"c99name" : "OpenGraph_SPI",
"module_type" : "ClangTarget",
"name" : "OpenGraph_SPI",
"path" : "Sources/OpenGraph_SPI",
"product_memberships" : [
"OpenGraph"
],
"sources" : [
"Attribute/AttributeID.cpp",
"Attribute/AttributeType.cpp",
"Attribute/OGAttribute.cpp",
"Attribute/OGWeakAttribute.cpp",
"Data/ClosureFunction.cpp",
"Data/OGUniqueID.c",
"Debug/OGDebugServer.cpp",
"Debug/og-debug-server.mm",
"Graph/Graph.cpp",
"Graph/GraphContext.cpp",
"Graph/GraphDescription.mm",
"Graph/OGGraph.cpp",
"Graph/OGGraphContext.cpp",
"Graph/OGSubgraph.cpp",
"Graph/Subgraph.cpp",
"Runtime/OGCompareValues.cpp",
"Runtime/OGTupleType.cpp",
"Runtime/OGTypeApplyEnumData.cpp",
"Runtime/OGTypeApplyField.cpp",
"Runtime/OGTypeDescription.cpp",
"Runtime/OGTypeID.cpp",
"Runtime/metadata.cpp",
"Util/assert.cpp",
"Util/log.cpp",
"Util/realloc_vector.cpp"
],
"type" : "library"
},
{
"c99name" : "OpenGraphTests",
"module_type" : "SwiftTarget",
"name" : "OpenGraphTests",
"path" : "Tests/OpenGraphTests",
"sources" : [
"DummyTests.swift"
],
"target_dependencies" : [
"OpenGraph"
],
"type" : "test"
},
{
"c99name" : "OpenGraphShimsTests",
"module_type" : "SwiftTarget",
"name" : "OpenGraphShimsTests",
"path" : "Tests/OpenGraphShimsTests",
"sources" : [
"OGTypeIDDebugTests.swift",
"Scaffolding.swift"
],
"target_dependencies" : [
"OpenGraphShims"
],
"type" : "test"
},
{
"c99name" : "OpenGraphShims",
"module_type" : "SwiftTarget",
"name" : "OpenGraphShims",
"path" : "Sources/OpenGraphShims",
"product_memberships" : [
"OpenGraphShims"
],
"sources" : [
"GraphShims.swift",
"OGTypeID+Debug.swift"
],
"target_dependencies" : [
"AttributeGraph"
],
"type" : "library"
},
{
"c99name" : "OpenGraphCompatibilityTests",
"module_type" : "SwiftTarget",
"name" : "OpenGraphCompatibilityTests",
"path" : "Tests/OpenGraphCompatibilityTests",
"product_dependencies" : [
"RealModule"
],
"sources" : [
"Attribute/Attribute/AnyAttributeTests.swift",
"Attribute/Attribute/AttributeTests.swift",
"Attribute/Attribute/ExternalTests.swift",
"Attribute/Attribute/FocusTests.swift",
"Attribute/Attribute/PointerOffsetTests.swift",
"Attribute/AttributeTestBase.swift",
"Attribute/AttributeTestHelper.swift",
"Attribute/Indirect/IndirectAttributeTests.swift",
"Attribute/Optional/AnyOptionalAttributeTests.swift",
"Attribute/Optional/OptionalAttributeTests.swift",
"Attribute/Rule/RuleTests.swift",
"Attribute/Weak/OGWeakAttributeTests.swift",
"Attribute/Weak/WeakAttributeTests.swift",
"Data/UniqueIDTests.swift",
"Debug/DebugServerTests.swift",
"Graph/GraphDescriptionTests.swift",
"Graph/GraphTests.swift",
"Graph/SubgraphTests.swift",
"GraphShims.swift",
"Runtime/CompareValuesTests.swift",
"Runtime/OGTypeIDTests.swift",
"Runtime/TupleTypeTests.swift",
"Runtime/TypeIDTests.swift",
"Runtime/TypeKindTests.swift",
"Scaffolding.swift"
],
"target_dependencies" : [
"OpenGraph"
],
"type" : "test"
},
{
"c99name" : "OpenGraph",
"module_type" : "SwiftTarget",
"name" : "OpenGraph",
"path" : "Sources/OpenGraph",
"product_memberships" : [
"OpenGraph"
],
"sources" : [
"Attribute/Attribute/AnyAttribute.swift",
"Attribute/Attribute/Attribute.swift",
"Attribute/Attribute/External.swift",
"Attribute/Attribute/Focus.swift",
"Attribute/Attribute/PointerOffset.swift",
"Attribute/Body/AttributeBody.swift",
"Attribute/Body/AttributeBodyVisitor.swift",
"Attribute/Body/ObservedAttribute.swift",
"Attribute/Indirect/IndirectAttribute.swift",
"Attribute/Optional/AnyOptionalAttribute.swift",
"Attribute/Optional/OptionalAttribute.swift",
"Attribute/Rule/AnyRuleContext.swift",
"Attribute/Rule/Rule.swift",
"Attribute/Rule/RuleContext.swift",
"Attribute/Rule/StatefulRule.swift",
"Attribute/Weak/AnyWeakAttribute.swift",
"Attribute/Weak/WeakAttribute.swift",
"Debug/DebugServer.swift",
"Export.swift",
"Graph/OGGraph.swift",
"Graph/OGSubgraph.swift",
"Runtime/CompareValues.swift",
"Runtime/OGTupleType.swift",
"Runtime/OGTypeApplyEnumData.swift",
"Runtime/OGTypeID.swift"
],
"target_dependencies" : [
"OpenGraph_SPI"
],
"type" : "library"
},
{
"c99name" : "AttributeGraph",
"module_type" : "BinaryTarget",
"name" : "AttributeGraph",
"path" : "AG/AttributeGraph.xcframework",
"product_memberships" : [
"OpenGraphShims",
"AttributeGraph"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "6.0"
}
Done.