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 SSSwiftUIGIFView, reference 2.0.0 (bd1655), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 08:30:57 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at bd16555 Merge pull request #25 from SimformSolutionsPvtLtd/develop
Cloned https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git
Revision (git rev-parse @):
bd16555ae068ec4c01f9bdb913526caa08eb30b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git at 2.0.0
========================================
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": "ssswiftuigifview",
      "name": "SSSwiftUIGIFView",
      "url": "https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SSSwiftUIGIFView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git
[1/239] Fetching ssswiftuigifview
Fetched https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git from cache (5.53s)
Creating working copy for https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git
Working copy of https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git resolved at 2.0.0 (bd16555)
warning: '.resolve-product-dependencies': dependency 'ssswiftuigifview' 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/SimformSolutionsPvtLtd/SSSwiftUIGIFView.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling SSSwiftUIGIFView SwiftUIGIFPlayerView.swift
[4/7] Compiling SSSwiftUIGIFView GIFImageViewModel.swift
/Users/admin/builder/spi-builder-workspace/Source/GIFCache.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GIFCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class GIFCache {
   |       `- note: class 'GIFCache' does not conform to the 'Sendable' protocol
11 |
12 |     // MARK: - Variables
13 |     static let shared = GIFCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GIFCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private let cache = NSCache<NSURL, NSData>()
15 |
[5/7] Compiling SSSwiftUIGIFView GIFPlayerView.swift
[6/7] Compiling SSSwiftUIGIFView GIFCache.swift
/Users/admin/builder/spi-builder-workspace/Source/GIFCache.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GIFCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class GIFCache {
   |       `- note: class 'GIFCache' does not conform to the 'Sendable' protocol
11 |
12 |     // MARK: - Variables
13 |     static let shared = GIFCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GIFCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private let cache = NSCache<NSURL, NSData>()
15 |
[7/7] Emitting module SSSwiftUIGIFView
/Users/admin/builder/spi-builder-workspace/Source/GIFCache.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GIFCache' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class GIFCache {
   |       `- note: class 'GIFCache' does not conform to the 'Sendable' protocol
11 |
12 |     // MARK: - Variables
13 |     static let shared = GIFCache()
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GIFCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'shared' 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
14 |     private let cache = NSCache<NSURL, NSData>()
15 |
Build complete! (13.11s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SSSwiftUIGIFView",
  "name" : "SSSwiftUIGIFView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SSSwiftUIGIFView",
      "targets" : [
        "SSSwiftUIGIFView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SSSwiftUIGIFView",
      "module_type" : "SwiftTarget",
      "name" : "SSSwiftUIGIFView",
      "path" : "Source",
      "product_memberships" : [
        "SSSwiftUIGIFView"
      ],
      "sources" : [
        "GIFCache.swift",
        "GIFImageViewModel.swift",
        "GIFPlayerView.swift",
        "SwiftUIGIFPlayerView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/simformsolutionspvtltd/ssswiftuigifview/2.0.0
Repository:               SimformSolutionsPvtLtd/SSSwiftUIGIFView
Swift version used:       6.0
Target:                   SSSwiftUIGIFView
Extracting symbol information for 'SSSwiftUIGIFView'...
Finished extracting symbol information for 'SSSwiftUIGIFView'. (5.29s)
Building documentation for 'SSSwiftUIGIFView'...
warning: Parameter 'uiView' not found in instance method declaration
  --> Source/GIFPlayerView.swift:61:11-61:69
59 |     ///
60 |     /// - Parameters:
61 +     ///   - uiView: The WKWebView instance that needs to be updated.
   |           ╰─suggestion: Remove 'uiView' parameter documentation
62 |     ///   - context: The context provided by SwiftUI, which contains information about the current state of the view.
63 |     public func updateNSView(_ nsView: WKWebView, context: Context) {
warning: Parameter 'nsView' is missing documentation
  --> Source/GIFPlayerView.swift:62:118-62:118
60 |     /// - Parameters:
61 |     ///   - uiView: The WKWebView instance that needs to be updated.
62 +     ///   - context: The context provided by SwiftUI, which contains information about the current state of the view.
   |           ╰─suggestion: Document 'nsView' parameter
63 |     public func updateNSView(_ nsView: WKWebView, context: Context) {
64 |         nsView.load(gifData, mimeType: "image/gif", characterEncodingName: "", baseURL: URL(fileURLWithPath: ""))Finished building documentation for 'SSSwiftUIGIFView' (0.97s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/simformsolutionspvtltd/ssswiftuigifview/2.0.0
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.28s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Emitting module Snippets
[8/57] Compiling Snippets SnippetParser.swift
[9/57] Compiling Snippets Snippet.swift
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Compiling SymbolKit Relationship.swift
[20/57] Compiling SymbolKit RelationshipKind.swift
[21/57] Compiling SymbolKit SourceOrigin.swift
[22/57] Compiling SymbolKit GenericConstraints.swift
[23/57] Compiling SymbolKit Swift.swift
[24/57] Compiling SymbolKit SourceRange.swift
[25/57] Compiling SymbolKit Metadata.swift
[26/57] Compiling SymbolKit Module.swift
[27/57] Compiling SymbolKit OperatingSystem.swift
[28/57] Compiling SymbolKit Platform.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit Mixin+Equals.swift
[34/57] Compiling SymbolKit Mixin+Hash.swift
[35/57] Compiling SymbolKit Mixin.swift
[36/57] Compiling SymbolKit LineList.swift
[37/57] Compiling SymbolKit Position.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit GenericConstraint.swift
[43/57] Compiling SymbolKit GenericParameter.swift
[44/57] Compiling SymbolKit Generics.swift
[45/57] Compiling SymbolKit Namespace.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.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] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.41s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling SSSwiftUIGIFView GIFCache.swift
[3/6] Compiling SSSwiftUIGIFView GIFPlayerView.swift
[4/6] Compiling SSSwiftUIGIFView GIFImageViewModel.swift
[5/6] Compiling SSSwiftUIGIFView SwiftUIGIFPlayerView.swift
[6/6] Emitting module SSSwiftUIGIFView
Build of target: 'SSSwiftUIGIFView' complete! (0.73s)
    2860
21	/Users/admin/builder/spi-builder-workspace/.docs/simformsolutionspvtltd/ssswiftuigifview/2.0.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/simformsolutionspvtltd/ssswiftuigifview/2.0.0
File count: 2860
Doc size:   21.0MB
Preparing doc bundle ...
Uploading prod-simformsolutionspvtltd-ssswiftuigifview-2.0.0-0c714e09.zip to s3://spi-docs-inbox/prod-simformsolutionspvtltd-ssswiftuigifview-2.0.0-0c714e09.zip
Copying... [11%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [50%]
Copying... [61%]
Copying... [70%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.