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 EFQRCode, reference main (3a6c50), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 04:56:59 UTC.

Swift 6 data race errors: 0

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/EFPrefix/EFQRCode.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EFPrefix/EFQRCode
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3a6c501 Bumped the minimum supported OS version
Cloned https://github.com/EFPrefix/EFQRCode.git
Revision (git rev-parse @):
3a6c5012f1a0df404a92e55bb01b4b685ff5a2d1
SUCCESS checkout https://github.com/EFPrefix/EFQRCode.git at main
Fetching https://github.com/EFPrefix/swift_qrcodejs.git
[1/893] Fetching swift_qrcodejs
Fetched https://github.com/EFPrefix/swift_qrcodejs.git from cache (0.96s)
Computing version for https://github.com/EFPrefix/swift_qrcodejs.git
Computed https://github.com/EFPrefix/swift_qrcodejs.git at 2.3.0 (0.83s)
Creating working copy for https://github.com/EFPrefix/swift_qrcodejs.git
Working copy of https://github.com/EFPrefix/swift_qrcodejs.git resolved at 2.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": "efqrcode",
      "name": "EFQRCode",
      "url": "https://github.com/EFPrefix/EFQRCode.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EFQRCode",
      "dependencies": [
        {
          "identity": "swift_qrcodejs",
          "name": "swift_qrcodejs",
          "url": "https://github.com/EFPrefix/swift_qrcodejs.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift_qrcodejs",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/EFPrefix/EFQRCode.git
[1/6824] Fetching efqrcode
Fetched https://github.com/EFPrefix/EFQRCode.git from cache (8.07s)
Fetching https://github.com/EFPrefix/swift_qrcodejs.git from cache
Fetched https://github.com/EFPrefix/swift_qrcodejs.git from cache (0.48s)
Computing version for https://github.com/EFPrefix/swift_qrcodejs.git
Computed https://github.com/EFPrefix/swift_qrcodejs.git at 2.3.0 (0.03s)
Creating working copy for https://github.com/EFPrefix/swift_qrcodejs.git
Working copy of https://github.com/EFPrefix/swift_qrcodejs.git resolved at 2.3.0
Creating working copy for https://github.com/EFPrefix/EFQRCode.git
Working copy of https://github.com/EFPrefix/EFQRCode.git resolved at main (3a6c501)
warning: '.resolve-product-dependencies': dependency 'efqrcode' is not used by any target
Found 1 product dependencies
  - swift_qrcodejs
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/EFPrefix/EFQRCode.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/23] Emitting module EFQRCode
[4/25] Compiling EFQRCode UIColor+.swift
[5/25] Compiling EFQRCode UIImage+.swift
[6/25] Compiling EFQRCode EFQRCode+Migration-v6.swift
[7/25] Compiling EFQRCode EFQRCode+ObjC.swift
[8/25] Compiling EFQRCode EFInputCorrectionLevel.swift
[9/25] Compiling EFQRCode EFIntSize.swift
[10/25] Compiling EFQRCode CGImage+.swift
[11/25] Compiling EFQRCode CIColor+.swift
[12/25] Compiling EFQRCode CIImage+.swift
[13/25] Compiling EFQRCode BinaryFloatingPoint+.swift
[14/25] Compiling EFQRCode BinaryInteger+.swift
[15/25] Compiling EFQRCode CGColor+.swift
[16/25] Compiling EFQRCode EFPointStyle.swift
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:102:68: warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     group.enter()
101 |                     DispatchQueue.global(qos: .default).async {
102 |                         batchWatermark(frames: &frames, generator: generator, start: local * framesPerSecond, end: (local + 1) * framesPerSecond - 1)
    |                                                                    `- warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                         group.leave()
104 |                     }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCodeGenerator.swift:37:14: note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  35 | /// Class for generating QR code images.
  36 | @objcMembers
  37 | public class EFQRCodeGenerator: NSObject {
     |              `- note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  38 |     /// Update the property specified the key path to have a new value.
  39 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:102:49: warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
100 |                     group.enter()
101 |                     DispatchQueue.global(qos: .default).async {
102 |                         batchWatermark(frames: &frames, generator: generator, start: local * framesPerSecond, end: (local + 1) * framesPerSecond - 1)
    |                                                 `- warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
103 |                         group.leave()
104 |                     }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:64: warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                                                `- warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCodeGenerator.swift:37:14: note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  35 | /// Class for generating QR code images.
  36 | @objcMembers
  37 | public class EFQRCodeGenerator: NSObject {
     |              `- note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  38 |     /// Update the property specified the key path to have a new value.
  39 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:45: warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                             `- warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:82: warning: reference to captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                                                                  `- warning: reference to captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:95: warning: reference to captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                                                                               `- warning: reference to captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
[17/25] Compiling EFQRCode EFQRCode+GIF.swift
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:102:68: warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     group.enter()
101 |                     DispatchQueue.global(qos: .default).async {
102 |                         batchWatermark(frames: &frames, generator: generator, start: local * framesPerSecond, end: (local + 1) * framesPerSecond - 1)
    |                                                                    `- warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                         group.leave()
104 |                     }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCodeGenerator.swift:37:14: note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  35 | /// Class for generating QR code images.
  36 | @objcMembers
  37 | public class EFQRCodeGenerator: NSObject {
     |              `- note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  38 |     /// Update the property specified the key path to have a new value.
  39 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:102:49: warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
100 |                     group.enter()
101 |                     DispatchQueue.global(qos: .default).async {
102 |                         batchWatermark(frames: &frames, generator: generator, start: local * framesPerSecond, end: (local + 1) * framesPerSecond - 1)
    |                                                 `- warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
103 |                         group.leave()
104 |                     }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:64: warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                                                `- warning: capture of 'generator' with non-sendable type 'EFQRCodeGenerator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCodeGenerator.swift:37:14: note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  35 | /// Class for generating QR code images.
  36 | @objcMembers
  37 | public class EFQRCodeGenerator: NSObject {
     |              `- note: class 'EFQRCodeGenerator' does not conform to the 'Sendable' protocol
  38 |     /// Update the property specified the key path to have a new value.
  39 |     /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:45: warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                             `- warning: mutation of captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:82: warning: reference to captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                                                                  `- warning: reference to captured var 'i' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
/Users/admin/builder/spi-builder-workspace/Source/EFQRCode+GIF.swift:110:95: warning: reference to captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
108 |                 group.enter()
109 |                 DispatchQueue.global(qos: .default).async {
110 |                     batchWatermark(frames: &frames, generator: generator, start: i * 20, end: frames.count - 1)
    |                                                                                               `- warning: reference to captured var 'frames' in concurrently-executing code; this is an error in the Swift 6 language mode
111 |                     group.leave()
112 |                 }
[18/25] Compiling EFQRCode EFQRCodeMode.swift
[19/25] Compiling EFQRCode EFQRCodeRecognizer.swift
[20/25] Compiling EFQRCode NSColor+.swift
[21/25] Compiling EFQRCode NSImage+.swift
[22/25] Compiling EFQRCode EFQRCode.swift
[23/25] Compiling EFQRCode EFQRCodeGenerator.swift
[24/25] Compiling EFQRCode EFUIntPixel.swift
[25/25] Compiling EFQRCode EFWatermarkMode.swift
Build complete! (17.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift_qrcodejs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "2.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EFPrefix/swift_qrcodejs.git"
    }
  ],
  "manifest_display_name" : "EFQRCode",
  "name" : "EFQRCode",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EFQRCode",
      "targets" : [
        "EFQRCode"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "EFQRCodeSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "EFQRCodeSwiftTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/eyrefree.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "EFQRCode"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EFQRCodeObjCTests",
      "module_type" : "ClangTarget",
      "name" : "EFQRCodeObjCTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/Resources/eyrefree.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ObjCTests.m"
      ],
      "target_dependencies" : [
        "EFQRCode"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EFQRCode",
      "module_type" : "SwiftTarget",
      "name" : "EFQRCode",
      "path" : "Source",
      "product_dependencies" : [
        "QRCodeSwift"
      ],
      "product_memberships" : [
        "EFQRCode"
      ],
      "sources" : [
        "BinaryFloatingPoint+.swift",
        "BinaryInteger+.swift",
        "CGColor+.swift",
        "CGImage+.swift",
        "CIColor+.swift",
        "CIImage+.swift",
        "EFInputCorrectionLevel.swift",
        "EFIntSize.swift",
        "EFPointStyle.swift",
        "EFQRCode+GIF.swift",
        "EFQRCode+Migration-v6.swift",
        "EFQRCode+ObjC.swift",
        "EFQRCode.swift",
        "EFQRCodeGenerator.swift",
        "EFQRCodeMode.swift",
        "EFQRCodeRecognizer.swift",
        "EFUIntPixel.swift",
        "EFWatermarkMode.swift",
        "NSColor+.swift",
        "NSImage+.swift",
        "UIColor+.swift",
        "UIImage+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.