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 1.6.0 (15fa71), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 22:36:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/satoshi-takano/OpenGraph.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/satoshi-takano/OpenGraph
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 15fa71b Merge pull request #74 from satoshi-takano/bump_up_version
Cloned https://github.com/satoshi-takano/OpenGraph.git
Revision (git rev-parse @):
15fa71b31cf85695cf7035a077aaa624f679f53a
SUCCESS checkout https://github.com/satoshi-takano/OpenGraph.git at 1.6.0
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/7900] Fetching ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.18s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (1.77s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
========================================
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/satoshi-takano/OpenGraph.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenGraph",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/satoshi-takano/OpenGraph.git
[1/779] Fetching opengraph
Fetched https://github.com/satoshi-takano/OpenGraph.git from cache (0.71s)
Creating working copy for https://github.com/satoshi-takano/OpenGraph.git
Working copy of https://github.com/satoshi-takano/OpenGraph.git resolved at 1.6.0 (15fa71b)
warning: '.resolve-product-dependencies': dependency 'opengraph' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/satoshi-takano/OpenGraph.git
https://github.com/satoshi-takano/OpenGraph.git
{
  "dependencies" : [
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs"
    }
  ],
  "manifest_display_name" : "OpenGraph",
  "name" : "OpenGraph",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenGraph",
      "targets" : [
        "OpenGraph"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "OpenGraphTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenGraphTests",
      "path" : "Tests",
      "product_dependencies" : [
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/empty_ogp.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/example3.com.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/ogp.html",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "OpenGraphTests.swift"
      ],
      "target_dependencies" : [
        "OpenGraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenGraph",
      "module_type" : "SwiftTarget",
      "name" : "OpenGraph",
      "path" : "Sources/OpenGraph",
      "product_memberships" : [
        "OpenGraph"
      ],
      "sources" : [
        "Extension/Data.swift",
        "Extension/String.swift",
        "Extension/URLSession.swift",
        "OpenGraph.swift",
        "OpenGraphMetadata.swift",
        "OpenGraphParseError.swift",
        "OpenGraphParser.swift",
        "OpenGraphResponseError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/11] Compiling OpenGraph OpenGraphResponseError.swift
[4/11] Compiling OpenGraph OpenGraph.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenGraph/OpenGraph.swift:20:17: warning: capture of 'completion' with non-sendable type '(Result<OpenGraph, any Error>) -> Void' in a '@Sendable' closure
18 |         let task = session.dataTask(with: mutableURLRequest, completionHandler: { data, response, error in
19 |             if let error = error {
20 |                 completion(.failure(error))
   |                 |- warning: capture of 'completion' with non-sendable type '(Result<OpenGraph, any Error>) -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |             } else {
22 |                 handleFetchResult(data: data, response: response, completion: completion)
[5/11] Compiling OpenGraph OpenGraphMetadata.swift
[6/11] Compiling OpenGraph URLSession.swift
[7/11] Compiling OpenGraph OpenGraphParseError.swift
[8/11] Compiling OpenGraph String.swift
[9/11] Emitting module OpenGraph
[10/11] Compiling OpenGraph Data.swift
[11/11] Compiling OpenGraph OpenGraphParser.swift
Build complete! (5.84s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs"
    }
  ],
  "manifest_display_name" : "OpenGraph",
  "name" : "OpenGraph",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenGraph",
      "targets" : [
        "OpenGraph"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "OpenGraphTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenGraphTests",
      "path" : "Tests",
      "product_dependencies" : [
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/empty_ogp.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/example3.com.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/ogp.html",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "OpenGraphTests.swift"
      ],
      "target_dependencies" : [
        "OpenGraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenGraph",
      "module_type" : "SwiftTarget",
      "name" : "OpenGraph",
      "path" : "Sources/OpenGraph",
      "product_memberships" : [
        "OpenGraph"
      ],
      "sources" : [
        "Extension/Data.swift",
        "Extension/String.swift",
        "Extension/URLSession.swift",
        "OpenGraph.swift",
        "OpenGraphMetadata.swift",
        "OpenGraphParseError.swift",
        "OpenGraphParser.swift",
        "OpenGraphResponseError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.