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

Failed to build Appetizer, reference 1.0.1 (a65eb0), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:40:02 UTC.

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/WilhelmOks/Appetizer.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WilhelmOks/Appetizer
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a65eb04 changed smp util dependency to exact version
Cloned https://github.com/WilhelmOks/Appetizer.git
Revision (git rev-parse @):
a65eb04101c237566a61abca0cfd499a2461dcc1
SUCCESS checkout https://github.com/WilhelmOks/Appetizer.git at 1.0.1
Fetching https://github.com/apple/swift-package-manager.git
Fetching https://github.com/WilhelmOks/HexColor.git
[1/97] Fetching hexcolor
[98/141813] Fetching hexcolor, swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (7.83s)
Fetched https://github.com/WilhelmOks/HexColor.git from cache (7.83s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (0.64s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.4.0 (2.60s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28305] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (6.31s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.65s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.4.0
Creating working copy for https://github.com/WilhelmOks/HexColor.git
Working copy of https://github.com/WilhelmOks/HexColor.git resolved at 1.0.1
========================================
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": "appetizer",
      "name": "Appetizer",
      "url": "https://github.com/WilhelmOks/Appetizer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Appetizer",
      "dependencies": [
        {
          "identity": "swift-package-manager",
          "name": "SwiftPM",
          "url": "https://github.com/apple/swift-package-manager.git",
          "version": "0.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-package-manager",
          "dependencies": [
            {
              "identity": "swift-llbuild",
              "name": "llbuild",
              "url": "https://github.com/apple/swift-llbuild.git",
              "version": "0.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llbuild",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "hexcolor",
          "name": "HexColor",
          "url": "https://github.com/WilhelmOks/HexColor.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HexColor",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/WilhelmOks/Appetizer.git
[1/740] Fetching appetizer
Fetched https://github.com/WilhelmOks/Appetizer.git from cache (1.09s)
Fetching https://github.com/WilhelmOks/HexColor.git from cache
Fetching https://github.com/apple/swift-package-manager.git from cache
Fetched https://github.com/WilhelmOks/HexColor.git from cache (1.18s)
Fetched https://github.com/apple/swift-package-manager.git from cache (1.18s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (0.03s)
Computing version for https://github.com/apple/swift-package-manager.git
Computed https://github.com/apple/swift-package-manager.git at 0.4.0 (0.03s)
Fetching https://github.com/apple/swift-llbuild.git from cache
Fetched https://github.com/apple/swift-llbuild.git from cache (0.93s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.04s)
Creating working copy for https://github.com/WilhelmOks/Appetizer.git
Working copy of https://github.com/WilhelmOks/Appetizer.git resolved at 1.0.1 (a65eb04)
Creating working copy for https://github.com/WilhelmOks/HexColor.git
Working copy of https://github.com/WilhelmOks/HexColor.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at 0.4.0
Found 2 product dependencies
  - SwiftPM
  - HexColor
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/WilhelmOks/Appetizer.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/14] Write sources
[8/14] Write appetizer-entitlement.plist
[9/14] Compiling clibc libc.c
[10/14] Write swift-version--7754E27361AE5C74.txt
[12/20] Emitting module SPMLibc
[13/20] Compiling SPMLibc libc.swift
[14/31] Compiling POSIX rename.swift
[15/32] Compiling POSIX getcwd.swift
[16/32] Compiling POSIX usleep.swift
[17/32] Compiling POSIX exit.swift
[18/32] Compiling POSIX stat.swift
[19/32] Compiling POSIX realpath.swift
[20/32] Emitting module POSIX
[21/32] Compiling POSIX env.swift
[22/32] Compiling HexColor HexColor.swift
[23/32] Emitting module HexColor
[24/32] Emitting module AppetizerCore
/Users/admin/builder/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:93:24: warning: static property 'kernels' is not concurrency-safe because non-'Sendable' type '[CIKernel]' may have shared mutable state; this is an error in the Swift 6 language mode
 91 |     var inputImage: CIImage?
 92 |
 93 |     private static let kernels = CIKernel.makeKernels(source:
    |                        `- warning: static property 'kernels' is not concurrency-safe because non-'Sendable' type '[CIKernel]' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |         """
 95 |         kernel vec4 clearWhite(sampler image) {
CoreImage.CIKernel:2:12: note: class 'CIKernel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class CIKernel : NSObject {
   |            `- note: class 'CIKernel' does not conform to the 'Sendable' protocol
 3 |     @available(macOS, introduced: 10.4, deprecated: 10.14, message: "Core Image Kernel Language API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings)")
 4 |     open class func makeKernels(source string: String) -> [CIKernel]?
/Users/admin/builder/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  6 |
  7 | import Foundation
  8 | import AppKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  9 |
 10 | public extension NSImage {
    :
 91 |     var inputImage: CIImage?
 92 |
 93 |     private static let kernels = CIKernel.makeKernels(source:
    |                        |- note: annotate 'kernels' 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
 94 |         """
 95 |         kernel vec4 clearWhite(sampler image) {
[25/32] Compiling AppetizerCore NSImageExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:93:24: warning: static property 'kernels' is not concurrency-safe because non-'Sendable' type '[CIKernel]' may have shared mutable state; this is an error in the Swift 6 language mode
 91 |     var inputImage: CIImage?
 92 |
 93 |     private static let kernels = CIKernel.makeKernels(source:
    |                        `- warning: static property 'kernels' is not concurrency-safe because non-'Sendable' type '[CIKernel]' may have shared mutable state; this is an error in the Swift 6 language mode
 94 |         """
 95 |         kernel vec4 clearWhite(sampler image) {
CoreImage.CIKernel:2:12: note: class 'CIKernel' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.4, *)
 2 | open class CIKernel : NSObject {
   |            `- note: class 'CIKernel' does not conform to the 'Sendable' protocol
 3 |     @available(macOS, introduced: 10.4, deprecated: 10.14, message: "Core Image Kernel Language API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings)")
 4 |     open class func makeKernels(source string: String) -> [CIKernel]?
/Users/admin/builder/spi-builder-workspace/Sources/AppetizerCore/NSImageExtension.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  6 |
  7 | import Foundation
  8 | import AppKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  9 |
 10 | public extension NSImage {
    :
 91 |     var inputImage: CIImage?
 92 |
 93 |     private static let kernels = CIKernel.makeKernels(source:
    |                        |- note: annotate 'kernels' 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
 94 |         """
 95 |         kernel vec4 clearWhite(sampler image) {
[26/34] Emitting module HexNSColor
[27/34] Compiling HexNSColor NSColorExtensions.swift
[28/34] Compiling POSIX isatty.swift
[29/34] Compiling POSIX readdir.swift
[30/34] Compiling POSIX Error.swift
[31/34] Compiling POSIX chdir.swift
[32/70] Compiling Basic Await.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[33/70] Compiling Basic ByteString.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[34/70] Compiling Basic CStringArray.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[35/70] Compiling Basic CacheableSequence.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/Basic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 |     return try await(body).dematerialize()
   |                            `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'dematerialize'
19 | }
20 |
[36/73] Compiling Basic CollectionAlgorithms.swift
[37/73] Compiling Basic CollectionExtensions.swift
[38/73] Compiling Basic Condition.swift
[39/73] Compiling Basic DeltaAlgorithm.swift
[40/73] Compiling Basic SynchronizedQueue.swift
[41/73] Compiling Basic TemporaryFile.swift
[42/73] Compiling Basic TerminalController.swift
[43/73] Compiling Basic Thread.swift
[44/73] Compiling Basic Tuple.swift
[45/73] Compiling Basic misc.swift
[46/73] Compiling Basic KeyedPair.swift
[47/73] Compiling Basic LazyCache.swift
[48/73] Compiling Basic Lock.swift
[49/73] Compiling Basic ObjectIdentifierProtocol.swift
[50/73] Compiling Basic DiagnosticsEngine.swift
[51/73] Compiling Basic DictionaryExtensions.swift
[52/73] Compiling Basic DictionaryLiteralExtensions.swift
[53/73] Compiling Basic EditDistance.swift
[54/73] Emitting module Basic
[55/73] Compiling Basic Result.swift
[56/73] Compiling Basic SHA256.swift
[57/73] Compiling Basic SortedArray.swift
[58/73] Compiling Basic StringConversions.swift
[59/73] Compiling Basic FileSystem.swift
[60/73] Compiling Basic GraphAlgorithms.swift
[61/73] Compiling Basic JSON.swift
[62/73] Compiling Basic JSONMapper.swift
[63/73] Compiling Basic OrderedDictionary.swift
[64/73] Compiling Basic OrderedSet.swift
[65/73] Compiling Basic OutputByteStream.swift
[66/73] Compiling Basic Path.swift
[67/73] Compiling Basic PathShims.swift
[68/73] Compiling Basic Process.swift
[69/73] Compiling Basic ProcessSet.swift
[70/73] Compiling Basic RegEx.swift
BUILD FAILURE 6.0 macosSpm