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 27 Nov 2024 21:35:19 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 -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.58.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
Fetched https://github.com/WilhelmOks/HexColor.git from cache (0.70s)
[1/142786] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (21.34s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (0.54s)
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.36s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28451] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.64s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.58s)
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-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/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.1.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.10s)
Fetching https://github.com/apple/swift-package-manager.git from cache
Fetching https://github.com/WilhelmOks/HexColor.git from cache
Fetched https://github.com/WilhelmOks/HexColor.git from cache (1.12s)
Fetched https://github.com/apple/swift-package-manager.git from cache (1.12s)
Computing version for https://github.com/WilhelmOks/HexColor.git
Computed https://github.com/WilhelmOks/HexColor.git at 1.0.1 (0.02s)
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.02s)
Fetching https://github.com/apple/swift-llbuild.git from cache
Fetched https://github.com/apple/swift-llbuild.git from cache (0.91s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.1.1 (0.03s)
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/Appetizer.git
Working copy of https://github.com/WilhelmOks/Appetizer.git resolved at 1.0.1 (a65eb04)
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/WilhelmOks/HexColor.git
Working copy of https://github.com/WilhelmOks/HexColor.git resolved at 1.0.1
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/14] Write sources
[2/14] Write appetizer-entitlement.plist
[2/14] Write sources
[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 isatty.swift
[15/32] Compiling POSIX exit.swift
[16/32] Compiling POSIX getcwd.swift
[17/32] Compiling POSIX usleep.swift
[18/32] Emitting module POSIX
[19/32] Compiling POSIX env.swift
[20/32] Compiling POSIX Error.swift
[21/32] Compiling POSIX chdir.swift
[22/32] Emitting module HexColor
[23/32] Compiling HexColor HexColor.swift
[24/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) {
[25/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) {
[26/34] Emitting module HexNSColor
[27/34] Compiling HexNSColor NSColorExtensions.swift
[28/34] Compiling POSIX stat.swift
[29/34] Compiling POSIX rename.swift
[30/34] Compiling POSIX realpath.swift
[31/34] Compiling POSIX readdir.swift
[32/70] Compiling Basic KeyedPair.swift
[33/70] Compiling Basic LazyCache.swift
[34/70] Compiling Basic Lock.swift
[35/70] Compiling Basic ObjectIdentifierProtocol.swift
[36/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 |
[37/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 |
[38/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 |
[39/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 |
[40/73] Compiling Basic DiagnosticsEngine.swift
[41/73] Compiling Basic DictionaryExtensions.swift
[42/73] Compiling Basic DictionaryLiteralExtensions.swift
[43/73] Compiling Basic EditDistance.swift
[44/73] Emitting module Basic
[45/73] Compiling Basic SynchronizedQueue.swift
[46/73] Compiling Basic TemporaryFile.swift
[47/73] Compiling Basic TerminalController.swift
[48/73] Compiling Basic Thread.swift
[49/73] Compiling Basic Tuple.swift
[50/73] Compiling Basic misc.swift
[51/73] Compiling Basic PathShims.swift
[52/73] Compiling Basic Process.swift
[53/73] Compiling Basic ProcessSet.swift
[54/73] Compiling Basic RegEx.swift
[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 CollectionAlgorithms.swift
[60/73] Compiling Basic CollectionExtensions.swift
[61/73] Compiling Basic Condition.swift
[62/73] Compiling Basic DeltaAlgorithm.swift
[63/73] Compiling Basic FileSystem.swift
[64/73] Compiling Basic GraphAlgorithms.swift
[65/73] Compiling Basic JSON.swift
[66/73] Compiling Basic JSONMapper.swift
[67/73] Compiling Basic OrderedDictionary.swift
[68/73] Compiling Basic OrderedSet.swift
[69/73] Compiling Basic OutputByteStream.swift
[70/73] Compiling Basic Path.swift
BUILD FAILURE 6.0 macosSpm