The Swift Package Index logo.Swift Package Index

Build Information

Successful build of JxlCoder, reference 2.0.2 (d52bc0), with Swift 6.1 for macOS (SPM) on 21 Nov 2026 12:53:48 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awxkee/jxl-coder-swift.git
Reference: 2.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/awxkee/jxl-coder-swift
 * tag               2.0.2      -> FETCH_HEAD
HEAD is now at d52bc0e Prepare JxlCoder 2.0.2
Cloned https://github.com/awxkee/jxl-coder-swift.git
Revision (git rev-parse @):
d52bc0eef35eeb2af4e6dbb159996354d6f6e0c0
SUCCESS checkout https://github.com/awxkee/jxl-coder-swift.git at 2.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/awxkee/jxl-coder-swift.git
https://github.com/awxkee/jxl-coder-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JxlCoder",
  "name" : "JxlCoder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "JxlCoder",
      "targets" : [
        "JxlCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JxlRust",
      "module_type" : "BinaryTarget",
      "name" : "JxlRust",
      "path" : "remote/archive/JxlRust.xcframework.zip",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "JxlCoder",
      "module_type" : "SwiftTarget",
      "name" : "JxlCoder",
      "path" : "Sources/JxlCoder",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
        "JXLAnimatedDecoder.swift",
        "JXLCoder.swift",
        "JXLMetadata.swift",
        "JXLNativeGainMap.swift",
        "JXLRustBridge.swift",
        "JXLSupport.swift"
      ],
      "target_dependencies" : [
        "JxlRust"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/3] Copying libjxl_rust.a
[1/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/10] Compiling JxlCoder JXLSupport.swift
[5/10] Compiling JxlCoder JXLRustBridge.swift
[6/10] Compiling JxlCoder JXLNativeGainMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLNativeGainMap.swift:10:24: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | @available(iOS 18.0, macOS 15.0, *)
  9 | enum JXLNativeGainMap {
 10 |     private static let context = CIContext(options: [.cacheIntermediates: false])
    |                        `- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 |     static func apply(_ map: JXLGainMap, to base: CGImage, headroom: Float) -> CGImage? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
 34 |
 35 | NS_CLASS_AVAILABLE(10_4, 5_0)
 36 | @interface CIContext : NSObject
    |            `- note: class 'CIContext' does not conform to the 'Sendable' protocol
 37 | {
 38 |     void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLNativeGainMap.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  2 |
  3 | #if compiler(>=6.0)
  4 | import CoreImage
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  5 | import Foundation
  6 | import ImageIO
    :
  8 | @available(iOS 18.0, macOS 15.0, *)
  9 | enum JXLNativeGainMap {
 10 |     private static let context = CIContext(options: [.cacheIntermediates: false])
    |                        |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 |     static func apply(_ map: JXLGainMap, to base: CGImage, headroom: Float) -> CGImage? {
[7/10] Compiling JxlCoder JXLAnimatedDecoder.swift
[8/10] Compiling JxlCoder JXLCoder.swift
[9/10] Compiling JxlCoder JXLMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLMetadata.swift:16:23: warning: static property 'loseless' is not concurrency-safe because non-'Sendable' type 'JXLCompressionOption' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | }
 10 |
 11 | public enum JXLCompressionOption: Int {
    |             `- note: consider making enum 'JXLCompressionOption' conform to the 'Sendable' protocol
 12 |     case lossless
 13 |     case lossy
 14 |
 15 |     @available(*, deprecated, renamed: "lossless")
 16 |     public static let loseless = Self.lossless
    |                       |- warning: static property 'loseless' is not concurrency-safe because non-'Sendable' type 'JXLCompressionOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'loseless' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 | }
 18 |
[10/10] Emitting module JxlCoder
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLMetadata.swift:16:23: warning: static property 'loseless' is not concurrency-safe because non-'Sendable' type 'JXLCompressionOption' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | }
 10 |
 11 | public enum JXLCompressionOption: Int {
    |             `- note: consider making enum 'JXLCompressionOption' conform to the 'Sendable' protocol
 12 |     case lossless
 13 |     case lossy
 14 |
 15 |     @available(*, deprecated, renamed: "lossless")
 16 |     public static let loseless = Self.lossless
    |                       |- warning: static property 'loseless' is not concurrency-safe because non-'Sendable' type 'JXLCompressionOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'loseless' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 | }
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLNativeGainMap.swift:10:24: warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | @available(iOS 18.0, macOS 15.0, *)
  9 | enum JXLNativeGainMap {
 10 |     private static let context = CIContext(options: [.cacheIntermediates: false])
    |                        `- warning: static property 'context' is not concurrency-safe because non-'Sendable' type 'CIContext' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 |     static func apply(_ map: JXLGainMap, to base: CGImage, headroom: Float) -> CGImage? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h:36:12: note: class 'CIContext' does not conform to the 'Sendable' protocol
 34 |
 35 | NS_CLASS_AVAILABLE(10_4, 5_0)
 36 | @interface CIContext : NSObject
    |            `- note: class 'CIContext' does not conform to the 'Sendable' protocol
 37 | {
 38 |     void *_priv;
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLNativeGainMap.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  2 |
  3 | #if compiler(>=6.0)
  4 | import CoreImage
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreImage'
  5 | import Foundation
  6 | import ImageIO
    :
  8 | @available(iOS 18.0, macOS 15.0, *)
  9 | enum JXLNativeGainMap {
 10 |     private static let context = CIContext(options: [.cacheIntermediates: false])
    |                        |- note: add '@MainActor' to make static property 'context' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |
 12 |     static func apply(_ map: JXLGainMap, to base: CGImage, headroom: Float) -> CGImage? {
Build complete! (11.26s)
Downloading binary artifact https://github.com/awxkee/jxl-coder-swift/releases/download/2.0.2/JxlRust.xcframework.zip
[16375/28082094] Downloading https://github.com/awxkee/jxl-coder-swift/releases/download/2.0.2/JxlRust.xcframework.zip
Downloaded https://github.com/awxkee/jxl-coder-swift/releases/download/2.0.2/JxlRust.xcframework.zip (1.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JxlCoder",
  "name" : "JxlCoder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "JxlCoder",
      "targets" : [
        "JxlCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JxlRust",
      "module_type" : "BinaryTarget",
      "name" : "JxlRust",
      "path" : "remote/archive/JxlRust.xcframework.zip",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "JxlCoder",
      "module_type" : "SwiftTarget",
      "name" : "JxlCoder",
      "path" : "Sources/JxlCoder",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
        "JXLAnimatedDecoder.swift",
        "JXLCoder.swift",
        "JXLMetadata.swift",
        "JXLNativeGainMap.swift",
        "JXLRustBridge.swift",
        "JXLSupport.swift"
      ],
      "target_dependencies" : [
        "JxlRust"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.