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 AsyncDownSamplingImage, reference 1.2.0 (f1d659), with Swift 6.0 for macOS (SPM) on 2 Feb 2025 06:35:35 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/AsyncDownSamplingImage.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fummicc1/AsyncDownSamplingImage
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at f1d659c Merge pull request #16 from fummicc1/feature/improve-loading-view-size
Cloned https://github.com/fummicc1/AsyncDownSamplingImage.git
Revision (git rev-parse @):
f1d659cbc58d0ae6bc541ab4ea3187ad00e54253
SUCCESS checkout https://github.com/fummicc1/AsyncDownSamplingImage.git at 1.2.0
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2048] Fetching swift-docc-plugin
[227/5327] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.37s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.37s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.56s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.59s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.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": "asyncdownsamplingimage",
      "name": "AsyncDownSamplingImage",
      "url": "https://github.com/fummicc1/AsyncDownSamplingImage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncDownSamplingImage",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fummicc1/AsyncDownSamplingImage.git
[1/4311] Fetching asyncdownsamplingimage
Fetched https://github.com/fummicc1/AsyncDownSamplingImage.git from cache (1.38s)
Creating working copy for https://github.com/fummicc1/AsyncDownSamplingImage.git
Working copy of https://github.com/fummicc1/AsyncDownSamplingImage.git resolved at 1.2.0 (f1d659c)
warning: '.resolve-product-dependencies': dependency 'asyncdownsamplingimage' 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/fummicc1/AsyncDownSamplingImage.git
https://github.com/fummicc1/AsyncDownSamplingImage.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AsyncDownSamplingImage",
  "name" : "AsyncDownSamplingImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncDownSamplingImage",
      "targets" : [
        "AsyncDownSamplingImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncDownSamplingImageTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImageTests",
      "path" : "Tests/AsyncDownSamplingImageTests",
      "sources" : [
        "AsyncDownSamplingImageTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDownSamplingImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDownSamplingImage",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImage",
      "path" : "Sources/AsyncDownSamplingImage",
      "product_memberships" : [
        "AsyncDownSamplingImage"
      ],
      "sources" : [
        "AsyncDownSamplingImage.swift",
        "Downsampling.swift",
        "Incremental.swift",
        "IncrementalImage.swift",
        "TypeCompatibility.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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
[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-5BDAB9E9C0126B9D.txt
[5/10] Compiling AsyncDownSamplingImage Incremental.swift
[6/10] Compiling AsyncDownSamplingImage IncrementalImage.swift
[7/10] Compiling AsyncDownSamplingImage Downsampling.swift
[8/10] Emitting module AsyncDownSamplingImage
[9/10] Compiling AsyncDownSamplingImage AsyncDownSamplingImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:186:27: warning: non-sendable type 'DownSamplingSize' in implicitly asynchronous access to main actor-isolated property 'downsampleSize' cannot cross actor boundary; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | public enum DownSamplingSize {
    |             `- note: consider making enum 'DownSamplingSize' conform to the 'Sendable' protocol
 28 |     case size(CGSize, scale: Double = 1)
 29 |     case width(Double, scale: Double = 1)
    :
184 |                 let cgImage = try await DownSampling.perform(
185 |                     at: url,
186 |                     size: downsampleSize
    |                           `- warning: non-sendable type 'DownSamplingSize' in implicitly asynchronous access to main actor-isolated property 'downsampleSize' cannot cross actor boundary; this is an error in the Swift 6 language mode
187 |                 )
188 |             #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:190:49: warning: non-sendable type 'DownSamplingSize' in implicitly asynchronous access to main actor-isolated property 'downsampleSize' cannot cross actor boundary; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | public enum DownSamplingSize {
    |             `- note: consider making enum 'DownSamplingSize' conform to the 'Sendable' protocol
 28 |     case size(CGSize, scale: Double = 1)
 29 |     case width(Double, scale: Double = 1)
    :
188 |             #if os(macOS)
189 |                 let aspectRatio = Double(cgImage.height) / Double(cgImage.width)
190 |                 let downsampleSize = await self.downsampleSize
    |                                                 `- warning: non-sendable type 'DownSamplingSize' in implicitly asynchronous access to main actor-isolated property 'downsampleSize' cannot cross actor boundary; this is an error in the Swift 6 language mode
191 |                 let width = downsampleSize.width ?? downsampleSize.height! / aspectRatio
192 |                 let height = downsampleSize.height ?? downsampleSize.width! * aspectRatio
[10/10] Compiling AsyncDownSamplingImage TypeCompatibility.swift
Build complete! (22.64s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AsyncDownSamplingImage",
  "name" : "AsyncDownSamplingImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncDownSamplingImage",
      "targets" : [
        "AsyncDownSamplingImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncDownSamplingImageTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImageTests",
      "path" : "Tests/AsyncDownSamplingImageTests",
      "sources" : [
        "AsyncDownSamplingImageTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDownSamplingImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDownSamplingImage",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImage",
      "path" : "Sources/AsyncDownSamplingImage",
      "product_memberships" : [
        "AsyncDownSamplingImage"
      ],
      "sources" : [
        "AsyncDownSamplingImage.swift",
        "Downsampling.swift",
        "Incremental.swift",
        "IncrementalImage.swift",
        "TypeCompatibility.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.