The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-log-sentry, reference 2.1.0 (d523bd), with Swift 6.1 for macOS (SPM) on 31 Aug 2025 16:54:00 UTC.

Swift 6 data race errors: 2

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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/idolize/swift-log-sentry.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/idolize/swift-log-sentry
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at d523bd9 Update version in README
Cloned https://github.com/idolize/swift-log-sentry.git
Revision (git rev-parse @):
d523bd969fa833e3866990d86221e3b8280d18a7
SUCCESS checkout https://github.com/idolize/swift-log-sentry.git at 2.1.0
Fetching https://github.com/getsentry/sentry-cocoa.git
Fetching https://github.com/apple/swift-log.git from cache
[1/178965] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (7.07s)
Fetched https://github.com/apple/swift-log.git from cache (7.10s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 8.55.0 (7.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at 8.55.0
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry.xcframework.zip
Downloading binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic.xcframework.zip
[16375/110592854] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip
[1142558/223240540] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic.xcframework.zip
[1158933/269770338] Downloading https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic.xcframework.zip, https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry.xcframework.zip
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry.xcframework.zip (4.40s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip (7.82s)
Downloaded https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic.xcframework.zip (7.91s)
========================================
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": "swift-log-sentry",
      "name": "swift-log-sentry",
      "url": "https://github.com/idolize/swift-log-sentry.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log-sentry",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "sentry-cocoa",
          "name": "Sentry",
          "url": "https://github.com/getsentry/sentry-cocoa.git",
          "version": "8.55.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sentry-cocoa",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/idolize/swift-log-sentry.git
[1/87] Fetching swift-log-sentry
Fetched https://github.com/idolize/swift-log-sentry.git from cache (0.59s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/getsentry/sentry-cocoa.git from cache
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (0.81s)
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 8.55.0 (0.90s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.03s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/idolize/swift-log-sentry.git
Working copy of https://github.com/idolize/swift-log-sentry.git resolved at 2.1.0 (d523bd9)
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at 8.55.0
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic.xcframework.zip from cache
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry.xcframework.zip from cache
Fetching binary artifact https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip from cache
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry.xcframework.zip from cache (4.21s)
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic-WithARM64e.xcframework.zip from cache (5.74s)
Fetched https://github.com/getsentry/sentry-cocoa/releases/download/8.55.0/Sentry-Dynamic.xcframework.zip from cache (5.77s)
warning: '.resolve-product-dependencies': dependency 'swift-log-sentry' is not used by any target
Found 2 product dependencies
  - swift-log
  - Sentry
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/idolize/swift-log-sentry.git
https://github.com/idolize/swift-log-sentry.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "sentry-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.55.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getsentry/sentry-cocoa.git"
    }
  ],
  "manifest_display_name" : "swift-log-sentry",
  "name" : "swift-log-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" : "LoggingSentry",
      "targets" : [
        "LoggingSentry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingSentryTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingSentryTests",
      "path" : "Tests/LoggingSentryTests",
      "product_dependencies" : [
        "Logging",
        "Sentry"
      ],
      "sources" : [
        "LoggingSentryTests.swift"
      ],
      "target_dependencies" : [
        "LoggingSentry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingSentry",
      "module_type" : "SwiftTarget",
      "name" : "LoggingSentry",
      "path" : "Sources/LoggingSentry",
      "product_dependencies" : [
        "Logging",
        "Sentry"
      ],
      "product_memberships" : [
        "LoggingSentry"
      ],
      "sources" : [
        "BreadcrumbTracker+Live.swift",
        "BreadcrumbTracker.swift",
        "LogHandler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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
[2/4] Copying Sentry.framework
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling Logging MetadataProvider.swift
[6/9] Compiling Logging LogHandler.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging Locks.swift
[9/9] Compiling Logging Logging.swift
[10/13] Emitting module LoggingSentry
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/BreadcrumbTracker+Live.swift:4:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'BreadcrumbTracker' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension BreadcrumbTracker {
4 |     public static let live = BreadcrumbTracker { crumb in
  |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'BreadcrumbTracker' may have shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |         SentrySDK.addBreadcrumb(crumb)
6 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/BreadcrumbTracker.swift:3:15: note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 1 | import Sentry
 2 |
 3 | public struct BreadcrumbTracker {
   |               `- note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 4 |     public var addBreadcrumb: (_ crumb: Breadcrumb) -> Void
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/LogHandler.swift:7:17: warning: stored property 'client' of 'Sendable'-conforming struct 'SentryLogHandler' has non-sendable type 'BreadcrumbTracker'; this is an error in the Swift 6 language mode
 5 | public struct SentryLogHandler: LogHandler {
 6 |     private let label: String
 7 |     private let client: BreadcrumbTracker
   |                 `- warning: stored property 'client' of 'Sendable'-conforming struct 'SentryLogHandler' has non-sendable type 'BreadcrumbTracker'; this is an error in the Swift 6 language mode
 8 |
 9 |     public var metadata = Logger.Metadata()
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/BreadcrumbTracker.swift:3:15: note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 1 | import Sentry
 2 |
 3 | public struct BreadcrumbTracker {
   |               `- note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 4 |     public var addBreadcrumb: (_ crumb: Breadcrumb) -> Void
 5 |
[11/13] Compiling LoggingSentry BreadcrumbTracker+Live.swift
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/BreadcrumbTracker+Live.swift:4:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'BreadcrumbTracker' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension BreadcrumbTracker {
4 |     public static let live = BreadcrumbTracker { crumb in
  |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'BreadcrumbTracker' may have shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |         SentrySDK.addBreadcrumb(crumb)
6 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/BreadcrumbTracker.swift:3:15: note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 1 | import Sentry
 2 |
 3 | public struct BreadcrumbTracker {
   |               `- note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 4 |     public var addBreadcrumb: (_ crumb: Breadcrumb) -> Void
 5 |
[12/13] Compiling LoggingSentry BreadcrumbTracker.swift
[13/13] Compiling LoggingSentry LogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/LogHandler.swift:7:17: warning: stored property 'client' of 'Sendable'-conforming struct 'SentryLogHandler' has non-sendable type 'BreadcrumbTracker'; this is an error in the Swift 6 language mode
 5 | public struct SentryLogHandler: LogHandler {
 6 |     private let label: String
 7 |     private let client: BreadcrumbTracker
   |                 `- warning: stored property 'client' of 'Sendable'-conforming struct 'SentryLogHandler' has non-sendable type 'BreadcrumbTracker'; this is an error in the Swift 6 language mode
 8 |
 9 |     public var metadata = Logger.Metadata()
/Users/admin/builder/spi-builder-workspace/Sources/LoggingSentry/BreadcrumbTracker.swift:3:15: note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 1 | import Sentry
 2 |
 3 | public struct BreadcrumbTracker {
   |               `- note: consider making struct 'BreadcrumbTracker' conform to the 'Sendable' protocol
 4 |     public var addBreadcrumb: (_ crumb: Breadcrumb) -> Void
 5 |
Build complete! (10.89s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "sentry-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.55.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/getsentry/sentry-cocoa.git"
    }
  ],
  "manifest_display_name" : "swift-log-sentry",
  "name" : "swift-log-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" : "LoggingSentry",
      "targets" : [
        "LoggingSentry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingSentryTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingSentryTests",
      "path" : "Tests/LoggingSentryTests",
      "product_dependencies" : [
        "Logging",
        "Sentry"
      ],
      "sources" : [
        "LoggingSentryTests.swift"
      ],
      "target_dependencies" : [
        "LoggingSentry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingSentry",
      "module_type" : "SwiftTarget",
      "name" : "LoggingSentry",
      "path" : "Sources/LoggingSentry",
      "product_dependencies" : [
        "Logging",
        "Sentry"
      ],
      "product_memberships" : [
        "LoggingSentry"
      ],
      "sources" : [
        "BreadcrumbTracker+Live.swift",
        "BreadcrumbTracker.swift",
        "LogHandler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.