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 DataLife, reference master (54474d), with Swift 6.1 for macOS (SPM) on 1 May 2025 14:16:04 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/heroesofcode/DataLife.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heroesofcode/DataLife
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 54474d2 Update MeilCli/danger-action action to v6.0.28 (#111)
Cloned https://github.com/heroesofcode/DataLife.git
Revision (git rev-parse @):
54474d26be45e8fb324001835aa9c29cee902994
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/DataLife.git at master
========================================
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": "datalife",
      "name": "DataLife",
      "url": "https://github.com/heroesofcode/DataLife.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DataLife",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/heroesofcode/DataLife.git
[1/1305] Fetching datalife
Fetched https://github.com/heroesofcode/DataLife.git from cache (0.95s)
Creating working copy for https://github.com/heroesofcode/DataLife.git
Working copy of https://github.com/heroesofcode/DataLife.git resolved at master (54474d2)
warning: '.resolve-product-dependencies': dependency 'datalife' 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/heroesofcode/DataLife.git
https://github.com/heroesofcode/DataLife.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataLife",
  "name" : "DataLife",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLife",
      "targets" : [
        "DataLife"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataLifeTests",
      "module_type" : "SwiftTarget",
      "name" : "DataLifeTests",
      "path" : "Tests/DataLifeTests",
      "sources" : [
        "DataLifeTests.swift",
        "ViewModel.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataLife"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLife",
      "module_type" : "SwiftTarget",
      "name" : "DataLife",
      "path" : "Sources/DataLife",
      "product_memberships" : [
        "DataLife"
      ],
      "sources" : [
        "DataLife.swift",
        "DataLifeViewModel.swift",
        "ObserverProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/6] Compiling DataLife ObserverProtocol.swift
[4/6] Compiling DataLife DataLifeViewModel.swift
[5/6] Emitting module DataLife
[6/6] Compiling DataLife DataLife.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataLife/DataLife.swift:22:13: warning: capture of 'self' with non-sendable type 'DataLife<T>' in a '@Sendable' closure
 1 | import Foundation
 2 |
 3 | public class DataLife<T> {
   |              `- note: generic class 'DataLife' does not conform to the 'Sendable' protocol
 4 |
 5 |     public typealias CompletionHandler = (T) -> Void
   :
20 |
21 |         queue.async(flags: .barrier) {
22 |             self.observers[id] = completion
   |             `- warning: capture of 'self' with non-sendable type 'DataLife<T>' in a '@Sendable' closure
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataLife/DataLife.swift:22:34: warning: capture of 'completion' with non-sendable type 'DataLife<T>.CompletionHandler' (aka '(T) -> ()') in a '@Sendable' closure
20 |
21 |         queue.async(flags: .barrier) {
22 |             self.observers[id] = completion
   |                                  |- warning: capture of 'completion' with non-sendable type 'DataLife<T>.CompletionHandler' (aka '(T) -> ()') in a '@Sendable' closure
   |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 |         }
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataLife/DataLife.swift:28:13: warning: capture of 'self' with non-sendable type 'DataLife<T>' in a '@Sendable' closure
 1 | import Foundation
 2 |
 3 | public class DataLife<T> {
   |              `- note: generic class 'DataLife' does not conform to the 'Sendable' protocol
 4 |
 5 |     public typealias CompletionHandler = (T) -> Void
   :
26 |     public func removeObserver(_ observer: ObserverProtocol) {
27 |         queue.async(flags: .barrier) {
28 |             self.observers.removeValue(forKey: observer.id)
   |             `- warning: capture of 'self' with non-sendable type 'DataLife<T>' in a '@Sendable' closure
29 |         }
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataLife/DataLife.swift:28:48: warning: capture of 'observer' with non-sendable type 'any ObserverProtocol' in a '@Sendable' closure
26 |     public func removeObserver(_ observer: ObserverProtocol) {
27 |         queue.async(flags: .barrier) {
28 |             self.observers.removeValue(forKey: observer.id)
   |                                                `- warning: capture of 'observer' with non-sendable type 'any ObserverProtocol' in a '@Sendable' closure
29 |         }
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DataLife/ObserverProtocol.swift:3:17: note: protocol 'ObserverProtocol' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol ObserverProtocol: AnyObject {
  |                 `- note: protocol 'ObserverProtocol' does not conform to the 'Sendable' protocol
4 |     var id: UUID { get set }
5 |     func onValueChanged(_ value: Any?)
Build complete! (4.37s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataLife",
  "name" : "DataLife",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DataLife",
      "targets" : [
        "DataLife"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataLifeTests",
      "module_type" : "SwiftTarget",
      "name" : "DataLifeTests",
      "path" : "Tests/DataLifeTests",
      "sources" : [
        "DataLifeTests.swift",
        "ViewModel.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataLife"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLife",
      "module_type" : "SwiftTarget",
      "name" : "DataLife",
      "path" : "Sources/DataLife",
      "product_memberships" : [
        "DataLife"
      ],
      "sources" : [
        "DataLife.swift",
        "DataLifeViewModel.swift",
        "ObserverProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/heroesofcode/datalife/master
Repository:               heroesofcode/DataLife
Swift version used:       6.1
Target:                   DataLife
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            release/6.2 -> FETCH_HEAD
 * [new branch]      release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'DataLife'...
Finished extracting symbol information for 'DataLife'. (2.28s)
Building documentation for 'DataLife'...
Finished building documentation for 'DataLife' (0.09s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/heroesofcode/datalife/master
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.52s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.48s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit DeclarationFragments.swift
[21/57] Compiling SymbolKit Fragment.swift
[22/57] Compiling SymbolKit FragmentKind.swift
[23/57] Compiling SymbolKit FunctionParameter.swift
[24/57] Compiling SymbolKit FunctionSignature.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.20s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling DataLife ObserverProtocol.swift
[3/5] Compiling DataLife DataLife.swift
[4/5] Emitting module DataLife
[5/5] Compiling DataLife DataLifeViewModel.swift
Build of target: 'DataLife' complete! (0.47s)
      80
2	/Users/admin/builder/spi-builder-workspace/.docs/heroesofcode/datalife/master
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/heroesofcode/datalife/master
File count: 80
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-heroesofcode-datalife-master-9d9c6214.zip to s3://spi-docs-inbox/prod-heroesofcode-datalife-master-9d9c6214.zip
Copying... [19%]
Copying... [38%]
Copying... [57%]
Copying... [76%]
Copying... [95%]
Copying... [100%]
Done.