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 retry-policy-service, reference main (6258bb), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 18:30:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/retry-policy-service.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/retry-policy-service
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6258bb4 Update LICENSE
Cloned https://github.com/swiftuiux/retry-policy-service.git
Revision (git rev-parse @):
6258bb46a7475afcd612261102b87c9851461cd8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/retry-policy-service.git at main
========================================
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": "retry-policy-service",
      "name": "retry-policy-service",
      "url": "https://github.com/swiftuiux/retry-policy-service.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/retry-policy-service",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/swiftuiux/retry-policy-service.git
[1/101] Fetching retry-policy-service
Fetched https://github.com/swiftuiux/retry-policy-service.git from cache (0.65s)
Creating working copy for https://github.com/swiftuiux/retry-policy-service.git
Working copy of https://github.com/swiftuiux/retry-policy-service.git resolved at main (6258bb4)
warning: '.resolve-product-dependencies': dependency 'retry-policy-service' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftuiux/retry-policy-service.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "retry-policy-service",
  "name" : "retry-policy-service",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "retry-policy-service",
      "targets" : [
        "retry-policy-service"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "retry_policy_serviceTests",
      "module_type" : "SwiftTarget",
      "name" : "retry-policy-serviceTests",
      "path" : "Tests/retry-policy-serviceTests",
      "sources" : [
        "retry_policy_serviceTests.swift"
      ],
      "target_dependencies" : [
        "retry-policy-service"
      ],
      "type" : "test"
    },
    {
      "c99name" : "retry_policy_service",
      "module_type" : "SwiftTarget",
      "name" : "retry-policy-service",
      "path" : "Sources/retry-policy-service",
      "product_memberships" : [
        "retry-policy-service"
      ],
      "sources" : [
        "RetryService.swift",
        "Strategy.swift",
        "ext/DispatchTimeInterval.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/6] Compiling retry_policy_service DispatchTimeInterval.swift
[4/6] Compiling retry_policy_service Strategy.swift
[5/6] Compiling retry_policy_service RetryService.swift
/Users/admin/builder/spi-builder-workspace/Sources/retry-policy-service/RetryService.swift:16:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryService' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // RetryService Definition and Implementation
12 | @available(iOS 14.0, macOS 11.0, tvOS 15.0, watchOS 8.0, *)
13 | public struct RetryService: Sequence {
   |               `- note: consider making struct 'RetryService' conform to the 'Sendable' protocol
14 |
15 |     /// Default service
16 |     static let `default` = RetryService(strategy: .exponential())
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryService' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- 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
17 |
18 |     /// Retry strategy
[6/6] Emitting module retry_policy_service
/Users/admin/builder/spi-builder-workspace/Sources/retry-policy-service/RetryService.swift:16:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryService' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // RetryService Definition and Implementation
12 | @available(iOS 14.0, macOS 11.0, tvOS 15.0, watchOS 8.0, *)
13 | public struct RetryService: Sequence {
   |               `- note: consider making struct 'RetryService' conform to the 'Sendable' protocol
14 |
15 |     /// Default service
16 |     static let `default` = RetryService(strategy: .exponential())
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'RetryService' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- 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
17 |
18 |     /// Retry strategy
Build complete! (6.35s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "retry-policy-service",
  "name" : "retry-policy-service",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "retry-policy-service",
      "targets" : [
        "retry-policy-service"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "retry_policy_serviceTests",
      "module_type" : "SwiftTarget",
      "name" : "retry-policy-serviceTests",
      "path" : "Tests/retry-policy-serviceTests",
      "sources" : [
        "retry_policy_serviceTests.swift"
      ],
      "target_dependencies" : [
        "retry-policy-service"
      ],
      "type" : "test"
    },
    {
      "c99name" : "retry_policy_service",
      "module_type" : "SwiftTarget",
      "name" : "retry-policy-service",
      "path" : "Sources/retry-policy-service",
      "product_memberships" : [
        "retry-policy-service"
      ],
      "sources" : [
        "RetryService.swift",
        "Strategy.swift",
        "ext/DispatchTimeInterval.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftuiux/retry-policy-service/main
Repository:               swiftuiux/retry-policy-service
Swift version used:       6.0
Target:                   retry-policy-service
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            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'retry-policy-service'...
Finished extracting symbol information for 'retry-policy-service'. (2.26s)
Building documentation for 'retry-policy-service'...
warning: 'RetryService.Strategy' doesn't exist at '/retry_policy_service/RetryService/init(strategy:)'
  --> Sources/retry-policy-service/RetryService.swift:21:48-21:69
19 |     public let strategy: Strategy
20 |
21 +     /// - Parameter strategy: Retry strategy ``RetryService.Strategy``
22 |     public init(strategy: Strategy) {
23 |         self.strategy = strategyFinished building documentation for 'retry-policy-service' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftuiux/retry-policy-service/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
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
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Mixin+Equals.swift
[8/57] Compiling SymbolKit Mixin+Hash.swift
[9/57] Compiling SymbolKit Mixin.swift
[10/57] Compiling SymbolKit LineList.swift
[11/57] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit SemanticVersion.swift
[13/57] Compiling SymbolKit AccessControl.swift
[14/57] Compiling SymbolKit Availability.swift
[15/57] Compiling SymbolKit AvailabilityItem.swift
[16/57] Compiling SymbolKit Domain.swift
[17/57] Compiling SymbolKit Identifier.swift
[18/57] Compiling SymbolKit KindIdentifier.swift
[19/57] Compiling SymbolKit Location.swift
[20/57] Compiling SymbolKit Mutability.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit DeclarationFragments.swift
[27/57] Compiling SymbolKit Fragment.swift
[28/57] Compiling SymbolKit FragmentKind.swift
[29/57] Compiling SymbolKit FunctionParameter.swift
[30/57] Compiling SymbolKit FunctionSignature.swift
[31/57] Emitting module Snippets
[32/57] Compiling Snippets SnippetParser.swift
[33/57] Compiling Snippets Snippet.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Names.swift
[40/57] Compiling SymbolKit SPI.swift
[41/57] Compiling SymbolKit Snippet.swift
[42/57] Compiling SymbolKit Extension.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[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.01s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/5] Compiling retry_policy_service DispatchTimeInterval.swift
[3/5] Compiling retry_policy_service Strategy.swift
[4/5] Compiling retry_policy_service RetryService.swift
[5/5] Emitting module retry_policy_service
Build of target: 'retry-policy-service' complete! (0.44s)
     172
2	/Users/admin/builder/spi-builder-workspace/.docs/swiftuiux/retry-policy-service/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftuiux/retry-policy-service/main
File count: 172
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-swiftuiux-retry-policy-service-main-8989ab6f.zip to s3://spi-docs-inbox/prod-swiftuiux-retry-policy-service-main-8989ab6f.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [70%]
Copying... [84%]
Copying... [99%]
Copying... [100%]
Done.