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 RemoteImage, reference 1.2.0 (2708e7), with Swift 6.0 for macOS (SPM) on 12 Oct 2024 06:14:53 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdbergeron/RemoteImage.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bdbergeron/RemoteImage
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 2708e7b Add another new initializer (#8)
Cloned https://github.com/bdbergeron/RemoteImage.git
Revision (git rev-parse @):
2708e7b37e7b9ab06c3eb94e94d7f38fd84834ad
SUCCESS checkout https://github.com/bdbergeron/RemoteImage.git at 1.2.0
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/bdbergeron/Stubby.git
Fetching https://github.com/nalexn/ViewInspector
[1/255] Fetching stubby
[137/2293] Fetching stubby, swift-docc-plugin
[219/14412] Fetching stubby, swift-docc-plugin, viewinspector
[2663/17555] Fetching stubby, swift-docc-plugin, viewinspector, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Fetched https://github.com/bdbergeron/Stubby.git from cache (1.27s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.27s)
Fetched https://github.com/nalexn/ViewInspector from cache (1.27s)
Computing version for https://github.com/bdbergeron/Stubby.git
Computed https://github.com/bdbergeron/Stubby.git at 1.0.0 (0.47s)
Computing version for https://github.com/nalexn/ViewInspector
Computed https://github.com/nalexn/ViewInspector at 0.9.8 (3.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.67s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.73s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/nalexn/ViewInspector
Working copy of https://github.com/nalexn/ViewInspector resolved at 0.9.8
Creating working copy for https://github.com/bdbergeron/Stubby.git
Working copy of https://github.com/bdbergeron/Stubby.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.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": "remoteimage",
      "name": "RemoteImage",
      "url": "https://github.com/bdbergeron/RemoteImage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RemoteImage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bdbergeron/RemoteImage.git
[1/1534] Fetching remoteimage
Fetched https://github.com/bdbergeron/RemoteImage.git from cache (1.39s)
Creating working copy for https://github.com/bdbergeron/RemoteImage.git
Working copy of https://github.com/bdbergeron/RemoteImage.git resolved at 1.2.0 (2708e7b)
warning: '.resolve-product-dependencies': dependency 'remoteimage' 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/bdbergeron/RemoteImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--4A847ED0836F2485.txt
[5/12] Compiling RemoteImage RemoteImageViewModel.swift
[6/12] Compiling RemoteImage RemoteImage+InitWithCache.swift
[7/12] Emitting module RemoteImage
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/Extensions/URLSession+CachedData.swift:32:7: warning: stored property 'didLoadFromCache' of 'Sendable'-conforming class 'CacheListener' is mutable; this is an error in the Swift 6 language mode
30 | /// Utility class that serves as a `URLSessionTaskDelegate` for the purpose of capturing response metrics.
31 | final private class CacheListener: NSObject, URLSessionTaskDelegate {
32 |   var didLoadFromCache = false
   |       `- warning: stored property 'didLoadFromCache' of 'Sendable'-conforming class 'CacheListener' is mutable; this is an error in the Swift 6 language mode
33 |
34 |   func urlSession(
[8/12] Compiling RemoteImage RemoteImage.swift
[9/12] Compiling RemoteImage RemoteImageViewModel+InitWithCache.swift
[10/12] Compiling RemoteImage Image+PlatformNativeImage.swift
[11/12] Compiling RemoteImage RemoteImage+Helpers.swift
[12/12] Compiling RemoteImage URLSession+CachedData.swift
/Users/admin/builder/spi-builder-workspace/Sources/RemoteImage/Extensions/URLSession+CachedData.swift:32:7: warning: stored property 'didLoadFromCache' of 'Sendable'-conforming class 'CacheListener' is mutable; this is an error in the Swift 6 language mode
30 | /// Utility class that serves as a `URLSessionTaskDelegate` for the purpose of capturing response metrics.
31 | final private class CacheListener: NSObject, URLSessionTaskDelegate {
32 |   var didLoadFromCache = false
   |       `- warning: stored property 'didLoadFromCache' of 'Sendable'-conforming class 'CacheListener' is mutable; this is an error in the Swift 6 language mode
33 |
34 |   func urlSession(
Build complete! (28.81s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "viewinspector",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nalexn/ViewInspector"
    },
    {
      "identity" : "stubby",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bdbergeron/Stubby.git"
    }
  ],
  "manifest_display_name" : "RemoteImage",
  "name" : "RemoteImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "RemoteImage",
      "targets" : [
        "RemoteImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RemoteImageTests",
      "module_type" : "SwiftTarget",
      "name" : "RemoteImageTests",
      "path" : "Tests/RemoteImageTests",
      "product_dependencies" : [
        "ViewInspector",
        "Stubby"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/RemoteImageTests/Resources/Doggo.jpg",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers/Helpers.swift",
        "Helpers/RemoteImageStubbedURL.swift",
        "RemoteImageTests.swift",
        "RemoteImageViewModelTests.swift",
        "URLSessionDataTests.swift"
      ],
      "target_dependencies" : [
        "RemoteImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RemoteImage",
      "module_type" : "SwiftTarget",
      "name" : "RemoteImage",
      "path" : "Sources/RemoteImage",
      "product_memberships" : [
        "RemoteImage"
      ],
      "sources" : [
        "Extensions/Image+PlatformNativeImage.swift",
        "Extensions/URLSession+CachedData.swift",
        "RemoteImage+Helpers.swift",
        "RemoteImage+InitWithCache.swift",
        "RemoteImage.swift",
        "RemoteImageViewModel+InitWithCache.swift",
        "RemoteImageViewModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.