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 main (ff5242), with Swift 6.0 for macOS (SPM) on 12 Oct 2024 06:14:43 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bdbergeron/RemoteImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff52429 Update documentation.yml
Cloned https://github.com/bdbergeron/RemoteImage.git
Revision (git rev-parse @):
ff52429579dd012c9108f9f2454bc6252c61eb45
SUCCESS checkout https://github.com/bdbergeron/RemoteImage.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/bdbergeron/Stubby.git
Fetching https://github.com/nalexn/ViewInspector
Fetching https://github.com/apple/swift-docc-symbolkit
[1/255] Fetching stubby
[167/12374] Fetching stubby, viewinspector
[289/14412] Fetching stubby, viewinspector, swift-docc-plugin
[2905/17555] Fetching stubby, viewinspector, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.31s)
[13985/14412] Fetching stubby, viewinspector, swift-docc-plugin
Fetched https://github.com/bdbergeron/Stubby.git from cache (1.37s)
Fetched https://github.com/nalexn/ViewInspector from cache (1.37s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.37s)
Computing version for https://github.com/bdbergeron/Stubby.git
Computed https://github.com/bdbergeron/Stubby.git at 1.0.0 (0.49s)
Computing version for https://github.com/nalexn/ViewInspector
Computed https://github.com/nalexn/ViewInspector at 0.9.8 (3.54s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.69s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.74s)
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
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-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
========================================
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.42s)
Creating working copy for https://github.com/bdbergeron/RemoteImage.git
Working copy of https://github.com/bdbergeron/RemoteImage.git resolved at main (ff52429)
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] 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(
[6/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(
[7/12] Compiling RemoteImage RemoteImageViewModel.swift
[8/12] Compiling RemoteImage RemoteImage+Helpers.swift
[9/12] Compiling RemoteImage Image+PlatformNativeImage.swift
[10/12] Compiling RemoteImage RemoteImage+InitWithCache.swift
[11/12] Compiling RemoteImage RemoteImageViewModel+InitWithCache.swift
[12/12] Compiling RemoteImage RemoteImage.swift
Build complete! (29.40s)
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.