The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of OpenGraph, reference main (f2b16a), with Swift 6.0 for Linux on 5 Nov 2024 09:42:07 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OpenSwiftUIProject/OpenGraph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (3.10s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (1.79s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
[1/1] Compiling plugin UpdateModule
Building for debugging...
[1/29] Compiling OGUniqueID.c
[2/29] Compiling og-debug-server.mm
[3/29] Compiling AttributeType.cpp
[4/29] Compiling OGDebugServer.cpp
[5/29] Write swift-version-24593BA9C3E375BF.txt
[6/29] Compiling OGWeakAttribute.cpp
[7/29] Compiling OGAttribute.cpp
[8/29] Compiling realloc_vector.cpp
[9/29] Compiling ClosureFunction.cpp
[10/29] Compiling log.cpp
[11/29] Compiling metadata.cpp
[11/29] Compiling assert.cpp
[13/29] Compiling OGTypeID.cpp
[14/29] Compiling OGTypeDescription.cpp
[15/29] Compiling OGTypeApplyField.cpp
[16/29] Compiling OGTypeApplyEnumData.cpp
[17/29] Compiling OGTupleType.cpp
[18/29] Compiling OGCompareValues.cpp
[19/29] Compiling OGGraphContext.cpp
[20/29] Write sources
[22/29] Compiling Subgraph.cpp
[23/29] Compiling GraphDescription.mm
[24/29] Compiling AttributeID.cpp
[25/29] Compiling OGGraph.cpp
[26/29] Compiling OGSubgraph.cpp
[27/29] Compiling GraphContext.cpp
[28/29] Compiling Graph.cpp
[30/52] Emitting module OpenGraph
[31/55] Compiling OpenGraph ObservedAttribute.swift
[32/55] Compiling OpenGraph IndirectAttribute.swift
[33/55] Compiling OpenGraph AnyOptionalAttribute.swift
[34/55] Compiling OpenGraph OGGraph.swift
[35/55] Compiling OpenGraph OGSubgraph.swift
[36/55] Compiling OpenGraph CompareValues.swift
[37/55] Compiling OpenGraph RuleContext.swift
[38/55] Compiling OpenGraph StatefulRule.swift
[39/55] Compiling OpenGraph AnyWeakAttribute.swift
[40/55] Compiling OpenGraph OptionalAttribute.swift
[41/55] Compiling OpenGraph AnyRuleContext.swift
[42/55] Compiling OpenGraph Rule.swift
[43/55] Compiling OpenGraph WeakAttribute.swift
[44/55] Compiling OpenGraph DebugServer.swift
[45/55] Compiling OpenGraph Export.swift
[46/55] Compiling OpenGraph PointerOffset.swift
[47/55] Compiling OpenGraph AttributeBody.swift
[48/55] Compiling OpenGraph AttributeBodyVisitor.swift
[49/55] Compiling OpenGraph OGTupleType.swift
[50/55] Compiling OpenGraph OGTypeApplyEnumData.swift
[51/55] Compiling OpenGraph OGTypeID.swift
[52/55] Compiling OpenGraph AnyAttribute.swift
[53/55] Compiling OpenGraph Attribute.swift
[54/55] Compiling OpenGraph External.swift
[55/55] Compiling OpenGraph Focus.swift
[57/59] Compiling OpenGraphShims GraphShims.swift
[58/59] Emitting module OpenGraphShims
/host/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] Compiling OpenGraphShims OGTypeID+Debug.swift
/host/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! (18.21s)
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" : "/host/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"
        ]
      }
    }
  ],
  "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" : [
        "OpenGraphShims",
        "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" : [
        "OpenGraph"
      ],
      "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" : [
        "OpenGraphShims",
        "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"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.