The Swift Package Index logo.Swift Package Index

Build Information

Successful build of JxlCoder, reference 1.9.1 (617f56), with Swift 6.1 for macOS (SPM) on 26 Feb 2026 12:53:55 UTC.

Swift 6 data race errors: 1

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: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awxkee/jxl-coder-swift.git
Reference: 1.9.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/awxkee/jxl-coder-swift
 * tag               1.9.1      -> FETCH_HEAD
HEAD is now at 617f566 Merge pull request #9 from awxkee/dev
Cloned https://github.com/awxkee/jxl-coder-swift.git
Revision (git rev-parse @):
617f566af9c0529d1c3e557fe667ff9b47b68d90
SUCCESS checkout https://github.com/awxkee/jxl-coder-swift.git at 1.9.1
========================================
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
{
  "cxx_language_standard" : "c++20",
  "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" : "libskcms",
      "module_type" : "BinaryTarget",
      "name" : "libskcms",
      "path" : "Sources/Frameworks/libskcms.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjxl_threads",
      "module_type" : "BinaryTarget",
      "name" : "libjxl_threads",
      "path" : "Sources/Frameworks/libjxl_threads.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjxl_cms",
      "module_type" : "BinaryTarget",
      "name" : "libjxl_cms",
      "path" : "Sources/Frameworks/libjxl_cms.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjxl",
      "module_type" : "BinaryTarget",
      "name" : "libjxl",
      "path" : "Sources/Frameworks/libjxl.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjpegli",
      "module_type" : "BinaryTarget",
      "name" : "libjpegli",
      "path" : "Sources/Frameworks/libjpegli.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libhwy",
      "module_type" : "BinaryTarget",
      "name" : "libhwy",
      "path" : "Sources/Frameworks/libhwy.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbrotlienc",
      "module_type" : "BinaryTarget",
      "name" : "libbrotlienc",
      "path" : "Sources/Frameworks/libbrotlienc.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbrotlidec",
      "module_type" : "BinaryTarget",
      "name" : "libbrotlidec",
      "path" : "Sources/Frameworks/libbrotlidec.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbrotlicommon",
      "module_type" : "BinaryTarget",
      "name" : "libbrotlicommon",
      "path" : "Sources/Frameworks/libbrotlicommon.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "jxlc",
      "module_type" : "ClangTarget",
      "name" : "jxlc",
      "path" : "Sources/jxlc",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
        "CJpegXLAnimatedDecoder.mm",
        "CJpegXLAnimatedEncoder.mm",
        "JPEGLIEncoder.cpp",
        "JXLSystemImage.mm",
        "JxlAnimatedDecoder.cpp",
        "JxlAnimatedEncoder.cpp",
        "JxlConstruction.mm",
        "JxlInternalCoder.mm",
        "JxlJpegLiEncoder.mm",
        "JxlWorker.cpp",
        "RgbRgbaConverter.mm",
        "RgbaScaler.mm",
        "algo/sleef-inl.cpp"
      ],
      "target_dependencies" : [
        "libbrotlicommon",
        "libbrotlidec",
        "libbrotlienc",
        "libhwy",
        "libjxl_threads",
        "libjxl",
        "libjxl_cms",
        "libskcms",
        "libjpegli"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JxlCoder",
      "module_type" : "SwiftTarget",
      "name" : "JxlCoder",
      "path" : "Sources/JxlCoder",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
        "JXLAnimatedDecoder.swift",
        "JXLAnimatedEncoder.swift",
        "JXLCoder.swift",
        "JXLSupport.swift",
        "JpegLiEncoder.swift"
      ],
      "target_dependencies" : [
        "jxlc"
      ],
      "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/24] Copying libjxl_cms.a
[0/24] Copying libjxl_threads.a
[1/24] Copying libbrotlicommon.a
[3/24] Copying libskcms.a
[3/24] Copying libhwy.a
[3/24] Copying libjpegli.a
[3/24] Write sources
[4/24] Copying libbrotlienc.a
[4/24] Copying libjxl.a
[6/24] Copying libbrotlidec.a
[10/24] Write swift-version-2F0A5646E1D333AE.txt
[11/24] Compiling jxlc JxlWorker.cpp
[12/24] Compiling jxlc JxlAnimatedEncoder.cpp
[13/24] Compiling jxlc JxlAnimatedDecoder.cpp
[14/24] Compiling jxlc JxlConstruction.mm
[15/24] Compiling sleef-inl.cpp
[16/24] Compiling jxlc RgbRgbaConverter.mm
[17/24] Compiling jxlc RgbaScaler.mm
[18/24] Compiling jxlc JxlJpegLiEncoder.mm
[19/24] Compiling jxlc JXLSystemImage.mm
[20/24] Compiling jxlc JxlInternalCoder.mm
[21/24] Compiling jxlc JPEGLIEncoder.cpp
[22/24] Compiling jxlc CJpegXLAnimatedEncoder.mm
[23/24] Compiling jxlc CJpegXLAnimatedDecoder.mm
[25/30] Compiling JxlCoder JXLCoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLCoder.swift:32:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JxlInternalCoder' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | public class JXLCoder {
 32 |     private static let shared = JxlInternalCoder()
    |                        `- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JxlInternalCoder' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     private static let magic1 = Data([0xFF, 0x0A])
 34 |     private static let magic2 = Data([0x0, 0x0, 0x0, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A])
/Users/admin/builder/spi-builder-workspace/Sources/jxlc/include/../JxlInternalCoder.h:34:12: note: class 'JxlInternalCoder' does not conform to the 'Sendable' protocol
32 | #import "CJpegXLAnimatedDecoder.h"
33 |
34 | @interface JxlInternalCoder: NSObject
   |            `- note: class 'JxlInternalCoder' does not conform to the 'Sendable' protocol
35 | - (nullable JXLSystemImage *)decode:(nonnull NSInputStream *)inputStream
36 |                              rescale:(CGSize)rescale
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLCoder.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'jxlc'
 26 | import Foundation
 27 | #if canImport(jxlc)
 28 | import jxlc
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'jxlc'
 29 | #endif
 30 |
 31 | public class JXLCoder {
 32 |     private static let shared = JxlInternalCoder()
    |                        |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     private static let magic1 = Data([0xFF, 0x0A])
 34 |     private static let magic2 = Data([0x0, 0x0, 0x0, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A])
[26/30] Compiling JxlCoder JpegLiEncoder.swift
[27/30] Compiling JxlCoder JXLAnimatedDecoder.swift
[28/30] Compiling JxlCoder JXLAnimatedEncoder.swift
[29/30] Emitting module JxlCoder
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLCoder.swift:32:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JxlInternalCoder' may have shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | public class JXLCoder {
 32 |     private static let shared = JxlInternalCoder()
    |                        `- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'JxlInternalCoder' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     private static let magic1 = Data([0xFF, 0x0A])
 34 |     private static let magic2 = Data([0x0, 0x0, 0x0, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A])
/Users/admin/builder/spi-builder-workspace/Sources/jxlc/include/../JxlInternalCoder.h:34:12: note: class 'JxlInternalCoder' does not conform to the 'Sendable' protocol
32 | #import "CJpegXLAnimatedDecoder.h"
33 |
34 | @interface JxlInternalCoder: NSObject
   |            `- note: class 'JxlInternalCoder' does not conform to the 'Sendable' protocol
35 | - (nullable JXLSystemImage *)decode:(nonnull NSInputStream *)inputStream
36 |                              rescale:(CGSize)rescale
/Users/admin/builder/spi-builder-workspace/Sources/JxlCoder/JXLCoder.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'jxlc'
 26 | import Foundation
 27 | #if canImport(jxlc)
 28 | import jxlc
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'jxlc'
 29 | #endif
 30 |
 31 | public class JXLCoder {
 32 |     private static let shared = JxlInternalCoder()
    |                        |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     private static let magic1 = Data([0xFF, 0x0A])
 34 |     private static let magic2 = Data([0x0, 0x0, 0x0, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A])
[30/30] Compiling JxlCoder JXLSupport.swift
Build complete! (8.65s)
Build complete.
{
  "cxx_language_standard" : "c++20",
  "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" : "libskcms",
      "module_type" : "BinaryTarget",
      "name" : "libskcms",
      "path" : "Sources/Frameworks/libskcms.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjxl_threads",
      "module_type" : "BinaryTarget",
      "name" : "libjxl_threads",
      "path" : "Sources/Frameworks/libjxl_threads.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjxl_cms",
      "module_type" : "BinaryTarget",
      "name" : "libjxl_cms",
      "path" : "Sources/Frameworks/libjxl_cms.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjxl",
      "module_type" : "BinaryTarget",
      "name" : "libjxl",
      "path" : "Sources/Frameworks/libjxl.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libjpegli",
      "module_type" : "BinaryTarget",
      "name" : "libjpegli",
      "path" : "Sources/Frameworks/libjpegli.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libhwy",
      "module_type" : "BinaryTarget",
      "name" : "libhwy",
      "path" : "Sources/Frameworks/libhwy.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbrotlienc",
      "module_type" : "BinaryTarget",
      "name" : "libbrotlienc",
      "path" : "Sources/Frameworks/libbrotlienc.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbrotlidec",
      "module_type" : "BinaryTarget",
      "name" : "libbrotlidec",
      "path" : "Sources/Frameworks/libbrotlidec.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "libbrotlicommon",
      "module_type" : "BinaryTarget",
      "name" : "libbrotlicommon",
      "path" : "Sources/Frameworks/libbrotlicommon.xcframework",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "jxlc",
      "module_type" : "ClangTarget",
      "name" : "jxlc",
      "path" : "Sources/jxlc",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
        "CJpegXLAnimatedDecoder.mm",
        "CJpegXLAnimatedEncoder.mm",
        "JPEGLIEncoder.cpp",
        "JXLSystemImage.mm",
        "JxlAnimatedDecoder.cpp",
        "JxlAnimatedEncoder.cpp",
        "JxlConstruction.mm",
        "JxlInternalCoder.mm",
        "JxlJpegLiEncoder.mm",
        "JxlWorker.cpp",
        "RgbRgbaConverter.mm",
        "RgbaScaler.mm",
        "algo/sleef-inl.cpp"
      ],
      "target_dependencies" : [
        "libbrotlicommon",
        "libbrotlidec",
        "libbrotlienc",
        "libhwy",
        "libjxl_threads",
        "libjxl",
        "libjxl_cms",
        "libskcms",
        "libjpegli"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JxlCoder",
      "module_type" : "SwiftTarget",
      "name" : "JxlCoder",
      "path" : "Sources/JxlCoder",
      "product_memberships" : [
        "JxlCoder"
      ],
      "sources" : [
        "JXLAnimatedDecoder.swift",
        "JXLAnimatedEncoder.swift",
        "JXLCoder.swift",
        "JXLSupport.swift",
        "JpegLiEncoder.swift"
      ],
      "target_dependencies" : [
        "jxlc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.