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 Updeto, reference main (62f770), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 20:11:05 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manasv/Updeto.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/manasv/Updeto
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62f7707 doc: updates documentation on enum
Cloned https://github.com/manasv/Updeto.git
Revision (git rev-parse @):
62f7707eaf76c353f9f3a423e341b2d9d61bbeff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/manasv/Updeto.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": "updeto",
      "name": "Updeto",
      "url": "https://github.com/manasv/Updeto.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Updeto",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/manasv/Updeto.git
[1/161] Fetching updeto
Fetched https://github.com/manasv/Updeto.git from cache (0.68s)
Creating working copy for https://github.com/manasv/Updeto.git
Working copy of https://github.com/manasv/Updeto.git resolved at main (62f7707)
warning: '.resolve-product-dependencies': dependency 'updeto' 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/manasv/Updeto.git
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/4] Compiling Updeto Updeto.swift
/Users/admin/builder/spi-builder-workspace/Sources/Updeto/Updeto.swift:143:39: warning: capture of 'self' with non-sendable type 'Updeto' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 43 | // MARK: - Updeto
 44 |
 45 | public final class Updeto: UpdetoType {
    |                    `- note: class 'Updeto' does not conform to the 'Sendable' protocol
 46 |     // MARK: - Private Properties
 47 |
    :
141 |             .dataTask(with: lookupRequest) { data, _, _ in
142 |                 guard let data = data,
143 |                     let lookup = try? self.decoder.decode(AppStoreLookup.self, from: data)
    |                                       `- warning: capture of 'self' with non-sendable type 'Updeto' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |                 else {
145 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Updeto/Updeto.swift:151:25: warning: capture of 'completion' with non-sendable type '(AppStoreLookupResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                     self.appId = appStore.appId
150 |                     DispatchQueue.main.async {
151 |                         completion(
    |                         |- warning: capture of 'completion' with non-sendable type '(AppStoreLookupResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 |                             self.compareVersions(appStore.version, self.installedAppVersion).appstoreLookupResult
153 |                         )
[4/4] Emitting module Updeto
Build complete! (5.45s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Updeto",
  "name" : "Updeto",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Updeto",
      "targets" : [
        "Updeto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UpdetoTests",
      "module_type" : "SwiftTarget",
      "name" : "UpdetoTests",
      "path" : "Tests/UpdetoTests",
      "sources" : [
        "UpdetoMock.swift",
        "UpdetoTests.swift"
      ],
      "target_dependencies" : [
        "Updeto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Updeto",
      "module_type" : "SwiftTarget",
      "name" : "Updeto",
      "path" : "Sources/Updeto",
      "product_memberships" : [
        "Updeto"
      ],
      "sources" : [
        "Updeto.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/manasv/updeto/main
Repository:               manasv/Updeto
Swift version used:       6.0
Target:                   Updeto
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 'Updeto'...
Finished extracting symbol information for 'Updeto'. (2.40s)
Building documentation for 'Updeto'...
warning: Return value documented for instance method returning void
   --> Sources/Updeto/Updeto.swift:138:9-138:83
136 |     /// Retrieves metadata from the App Store for the Bundle ID provided and compares versions to determine if an update is needed.
137 |     /// - parameter completion: The completion block to be called on the main thread when the validation has finished.
138 +     /// - returns: `AppStoreLookupResult` with the status of the lookup operation.
    |         ╰─suggestion: Remove return value documentation
139 |     public func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void) {
140 |         urlSessionFinished building documentation for 'Updeto' (0.09s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/manasv/updeto/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.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3186] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
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
[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 Names.swift
[13/57] Compiling SymbolKit SPI.swift
[14/57] Compiling SymbolKit Snippet.swift
[15/57] Compiling SymbolKit Extension.swift
[16/57] Compiling SymbolKit DeclarationFragments.swift
[17/57] Compiling SymbolKit Fragment.swift
[18/57] Compiling SymbolKit FragmentKind.swift
[19/57] Compiling SymbolKit FunctionParameter.swift
[20/57] Compiling SymbolKit FunctionSignature.swift
[21/57] Compiling SymbolKit SourceRange.swift
[22/57] Compiling SymbolKit Metadata.swift
[23/57] Compiling SymbolKit Module.swift
[24/57] Compiling SymbolKit OperatingSystem.swift
[25/57] Compiling SymbolKit Platform.swift
[26/57] Compiling SymbolKit Relationship.swift
[27/57] Compiling SymbolKit RelationshipKind.swift
[28/57] Compiling SymbolKit SourceOrigin.swift
[29/57] Compiling SymbolKit GenericConstraints.swift
[30/57] Compiling SymbolKit Swift.swift
[31/57] Compiling SymbolKit SemanticVersion.swift
[32/57] Compiling SymbolKit AccessControl.swift
[33/57] Compiling SymbolKit Availability.swift
[34/57] Compiling SymbolKit AvailabilityItem.swift
[35/57] Compiling SymbolKit Domain.swift
[36/57] Compiling SymbolKit GenericConstraint.swift
[37/57] Compiling SymbolKit GenericParameter.swift
[38/57] Compiling SymbolKit Generics.swift
[39/57] Compiling SymbolKit Namespace.swift
[40/57] Compiling SymbolKit Identifier.swift
[41/57] Compiling SymbolKit KindIdentifier.swift
[42/57] Compiling SymbolKit Location.swift
[43/57] Compiling SymbolKit Mutability.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] Compiling Snippets Snippet.swift
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.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.04s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling Updeto Updeto.swift
[3/3] Emitting module Updeto
Build of target: 'Updeto' complete! (0.51s)
      80
2	/Users/admin/builder/spi-builder-workspace/.docs/manasv/updeto/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/manasv/updeto/main
File count: 80
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-manasv-updeto-main-ec223783.zip to s3://spi-docs-inbox/prod-manasv-updeto-main-ec223783.zip
Copying... [19%]
Copying... [38%]
Copying... [57%]
Copying... [75%]
Copying... [94%]
Copying... [100%]
Done.