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 Sentry, reference 8.50.0 (491c87), with Swift 6.1 for macOS (SPM) on 5 May 2025 15:45:28 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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getsentry/sentry-cocoa.git
Reference: 8.50.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getsentry/sentry-cocoa
 * tag               8.50.0     -> FETCH_HEAD
HEAD is now at 491c87a release: 8.50.0
Cloned https://github.com/getsentry/sentry-cocoa.git
Revision (git rev-parse @):
491c87a32af58414bd03825b3029526640d3e73d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getsentry/sentry-cocoa.git at 8.50.0
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry-Dynamic.xcframework.zip
[16375/40269189] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry.xcframework.zip
[4373248/138682407] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry-Dynamic.xcframework.zip
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry.xcframework.zip (3.59s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry-Dynamic.xcframework.zip (6.07s)
========================================
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": "sentry-cocoa",
      "name": "Sentry",
      "url": "https://github.com/getsentry/sentry-cocoa.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sentry-cocoa",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/getsentry/sentry-cocoa.git
[1/152277] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (4.46s)
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at 8.50.0 (491c87a)
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry-Dynamic.xcframework.zip from cache
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry.xcframework.zip from cache
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry.xcframework.zip from cache (3.36s)
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.50.0/Sentry-Dynamic.xcframework.zip from cache (4.59s)
warning: '.resolve-product-dependencies': dependency 'sentry-cocoa' 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/getsentry/sentry-cocoa.git
https://github.com/getsentry/sentry-cocoa.git
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "Sentry",
  "name" : "Sentry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Sentry",
      "targets" : [
        "Sentry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sentry-Dynamic",
      "targets" : [
        "Sentry-Dynamic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SentrySwiftUI",
      "targets" : [
        "Sentry",
        "SentrySwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SentrySwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "SentrySwiftUI",
      "path" : "Sources/SentrySwiftUI",
      "product_memberships" : [
        "SentrySwiftUI"
      ],
      "sources" : [
        "Preview/PreviewRedactOptions.swift",
        "Preview/SentryReplayMaskPreview.swift",
        "Preview/SentryReplayMaskPreviewUIView.swift",
        "SentryReplayView.swift",
        "SentrySpanOperation.swift",
        "SentryTraceOrigin.swift",
        "SentryTracedView.swift"
      ],
      "target_dependencies" : [
        "Sentry",
        "SentryInternal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SentryInternal",
      "module_type" : "ClangTarget",
      "name" : "SentryInternal",
      "path" : "Sources/SentrySwiftUI",
      "product_memberships" : [
        "SentrySwiftUI"
      ],
      "sources" : [
        "SentryInternal/SentryInternal.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sentry_Dynamic",
      "module_type" : "BinaryTarget",
      "name" : "Sentry-Dynamic",
      "path" : "remote/archive/Sentry-Dynamic.xcframework.zip",
      "product_memberships" : [
        "Sentry-Dynamic"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Sentry",
      "module_type" : "BinaryTarget",
      "name" : "Sentry",
      "path" : "remote/archive/Sentry.xcframework.zip",
      "product_memberships" : [
        "Sentry",
        "SentrySwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "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/4] Write sources
[1/4] Copying Sentry.framework
[2/4] Compiling SentryInternal.m
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/12] Compiling SentrySwiftUI SentryTraceOrigin.swift
[6/12] Compiling SentrySwiftUI SentryReplayMaskPreview.swift
[7/12] Compiling SentrySwiftUI PreviewRedactOptions.swift
[8/12] Compiling SentrySwiftUI SentryReplayMaskPreviewUIView.swift
[9/12] Emitting module SentrySwiftUI
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:8:22: warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
  6 |
  7 | #if CARTHAGE || SWIFT_PACKAGE
  8 | @_implementationOnly import SentryInternal
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
  9 | #endif
 10 |
[10/12] Compiling SentrySwiftUI SentryReplayView.swift
[11/12] Compiling SentrySwiftUI SentrySpanOperation.swift
[12/12] Compiling SentrySwiftUI SentryTracedView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:8:22: warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
  6 |
  7 | #if CARTHAGE || SWIFT_PACKAGE
  8 | @_implementationOnly import SentryInternal
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'SentrySwiftUI' may lead to instability during execution
  9 | #endif
 10 |
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:83:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 81 |             // because it may happen before other view `body` property get called.
 82 |             DispatchQueue.main.async {
 83 |                 self.finishSpan(transactionId)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 84 |             }
 85 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SentrySwiftUI/SentryTracedView.swift:83:33: warning: sending 'transactionId' risks causing data races; this is an error in the Swift 6 language mode
 81 |             // because it may happen before other view `body` property get called.
 82 |             DispatchQueue.main.async {
 83 |                 self.finishSpan(transactionId)
    |                                 |- warning: sending 'transactionId' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: task-isolated 'transactionId' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 84 |             }
 85 |         }
Build complete! (10.90s)
Build complete.
{
  "cxx_language_standard" : "c++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "Sentry",
  "name" : "Sentry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Sentry",
      "targets" : [
        "Sentry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sentry-Dynamic",
      "targets" : [
        "Sentry-Dynamic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SentrySwiftUI",
      "targets" : [
        "Sentry",
        "SentrySwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SentrySwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "SentrySwiftUI",
      "path" : "Sources/SentrySwiftUI",
      "product_memberships" : [
        "SentrySwiftUI"
      ],
      "sources" : [
        "Preview/PreviewRedactOptions.swift",
        "Preview/SentryReplayMaskPreview.swift",
        "Preview/SentryReplayMaskPreviewUIView.swift",
        "SentryReplayView.swift",
        "SentrySpanOperation.swift",
        "SentryTraceOrigin.swift",
        "SentryTracedView.swift"
      ],
      "target_dependencies" : [
        "Sentry",
        "SentryInternal"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SentryInternal",
      "module_type" : "ClangTarget",
      "name" : "SentryInternal",
      "path" : "Sources/SentrySwiftUI",
      "product_memberships" : [
        "SentrySwiftUI"
      ],
      "sources" : [
        "SentryInternal/SentryInternal.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sentry_Dynamic",
      "module_type" : "BinaryTarget",
      "name" : "Sentry-Dynamic",
      "path" : "remote/archive/Sentry-Dynamic.xcframework.zip",
      "product_memberships" : [
        "Sentry-Dynamic"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Sentry",
      "module_type" : "BinaryTarget",
      "name" : "Sentry",
      "path" : "remote/archive/Sentry.xcframework.zip",
      "product_memberships" : [
        "Sentry",
        "SentrySwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
Done.