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 master (bd1655), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 08:31:23 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 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": "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 (3.10s)
Creating working copy for https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git
Working copy of https://github.com/SimformSolutionsPvtLtd/SSSwiftUIGIFView.git resolved at master (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 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 |
[5/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 |
[6/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 |
[7/7] Compiling SSSwiftUIGIFView GIFPlayerView.swift
Build complete! (13.06s)
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/master
Repository:               SimformSolutionsPvtLtd/SSSwiftUIGIFView
Swift version used:       6.0
Target:                   SSSwiftUIGIFView
Extracting symbol information for 'SSSwiftUIGIFView'...
Finished extracting symbol information for 'SSSwiftUIGIFView'. (5.60s)
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' (1.02s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/simformsolutionspvtltd/ssswiftuigifview/master
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.35s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.65s)
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.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
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
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/57] Compiling SymbolKit Symbol.swift
[12/57] Compiling SymbolKit SymbolKind.swift
[13/57] Compiling SymbolKit SymbolGraph.swift
[14/57] Compiling SymbolKit GraphCollector.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] Emitting module Snippets
[20/57] Compiling Snippets Snippet.swift
[21/57] Compiling Snippets SnippetParser.swift
[22/57] Compiling SymbolKit Names.swift
[23/57] Compiling SymbolKit SPI.swift
[24/57] Compiling SymbolKit Snippet.swift
[25/57] Compiling SymbolKit Extension.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 SourceRange.swift
[32/57] Compiling SymbolKit Metadata.swift
[33/57] Compiling SymbolKit Module.swift
[34/57] Compiling SymbolKit OperatingSystem.swift
[35/57] Compiling SymbolKit Platform.swift
[36/57] Emitting module SymbolKit
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.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 SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Compiling snippet_extract URL+Status.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.61s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling SSSwiftUIGIFView GIFPlayerView.swift
[3/6] Compiling SSSwiftUIGIFView GIFImageViewModel.swift
[4/6] Compiling SSSwiftUIGIFView GIFCache.swift
[5/6] Compiling SSSwiftUIGIFView SwiftUIGIFPlayerView.swift
[6/6] Emitting module SSSwiftUIGIFView
Build of target: 'SSSwiftUIGIFView' complete! (0.74s)
    2860
21	/Users/admin/builder/spi-builder-workspace/.docs/simformsolutionspvtltd/ssswiftuigifview/master
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/simformsolutionspvtltd/ssswiftuigifview/master
File count: 2860
Doc size:   21.0MB
Preparing doc bundle ...
Uploading prod-simformsolutionspvtltd-ssswiftuigifview-master-973c5a3d.zip to s3://spi-docs-inbox/prod-simformsolutionspvtltd-ssswiftuigifview-master-973c5a3d.zip
Copying... [11%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [50%]
Copying... [61%]
Copying... [70%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.