The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-qrcode-generator, reference v2.0.2 (2b1980), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 04:57:42 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: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/swift-qrcode-generator.git
Reference: v2.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/swift-qrcode-generator
 * tag               v2.0.2     -> FETCH_HEAD
HEAD is now at 2b1980b Bump iOS deployment target to 11.0
Cloned https://github.com/dagronf/swift-qrcode-generator.git
Revision (git rev-parse @):
2b1980b825f08a81ccc762b0c4d17fcde9d5e953
SUCCESS checkout https://github.com/dagronf/swift-qrcode-generator.git at v2.0.2
========================================
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": "swift-qrcode-generator",
      "name": "swift-qrcode-generator",
      "url": "https://github.com/dagronf/swift-qrcode-generator.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-qrcode-generator",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/swift-qrcode-generator.git
[1/345] Fetching swift-qrcode-generator
Fetched https://github.com/dagronf/swift-qrcode-generator.git from cache (0.71s)
Creating working copy for https://github.com/dagronf/swift-qrcode-generator.git
Working copy of https://github.com/dagronf/swift-qrcode-generator.git resolved at v2.0.2 (2b1980b)
warning: '.resolve-product-dependencies': dependency 'swift-qrcode-generator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/swift-qrcode-generator.git
https://github.com/dagronf/swift-qrcode-generator.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-qrcode-generator",
  "name" : "swift-qrcode-generator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "QRCodeGenerator",
      "targets" : [
        "QRCodeGenerator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QRCodeGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeGeneratorTests",
      "path" : "Tests/QRCodeGeneratorTests",
      "sources" : [
        "QRCodeGeneratorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "QRCodeGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "QRCodeGenerator",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeGenerator",
      "path" : "Sources/QRCodeGenerator",
      "product_memberships" : [
        "QRCodeGenerator"
      ],
      "sources" : [
        "BitBuffer.swift",
        "QRCode.swift",
        "QRCodeConstants.swift",
        "QRCodeECC.swift",
        "QRCodeError.swift",
        "QRCodeMask.swift",
        "QRCodeVersion.swift",
        "QRSegment.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/11] Compiling QRCodeGenerator QRCodeECC.swift
[4/11] Compiling QRCodeGenerator QRCodeConstants.swift
[5/11] Compiling QRCodeGenerator BitBuffer.swift
[6/11] Compiling QRCodeGenerator QRCodeError.swift
[7/11] Compiling QRCodeGenerator QRSegment.swift
[8/11] Emitting module QRCodeGenerator
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeGenerator/QRCodeVersion.swift:28:23: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A number between 1 and 40 (inclusive).
26 | public struct QRCodeVersion: Hashable, Comparable {
   |               `- note: consider making struct 'QRCodeVersion' conform to the 'Sendable' protocol
27 |     /// The minimum version number supported in the QR Code Model 2 standard.
28 |     public static let min = QRCodeVersion(1)
   |                       |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     /// The maximum version number supported in the QR Code Model 2 standard.
30 |     public static let max = QRCodeVersion(40)
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeGenerator/QRCodeVersion.swift:30:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A number between 1 and 40 (inclusive).
26 | public struct QRCodeVersion: Hashable, Comparable {
   |               `- note: consider making struct 'QRCodeVersion' conform to the 'Sendable' protocol
27 |     /// The minimum version number supported in the QR Code Model 2 standard.
28 |     public static let min = QRCodeVersion(1)
29 |     /// The maximum version number supported in the QR Code Model 2 standard.
30 |     public static let max = QRCodeVersion(40)
   |                       |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     public let value: UInt8
[9/11] Compiling QRCodeGenerator QRCodeMask.swift
[10/11] Compiling QRCodeGenerator QRCodeVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeGenerator/QRCodeVersion.swift:28:23: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A number between 1 and 40 (inclusive).
26 | public struct QRCodeVersion: Hashable, Comparable {
   |               `- note: consider making struct 'QRCodeVersion' conform to the 'Sendable' protocol
27 |     /// The minimum version number supported in the QR Code Model 2 standard.
28 |     public static let min = QRCodeVersion(1)
   |                       |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'min' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     /// The maximum version number supported in the QR Code Model 2 standard.
30 |     public static let max = QRCodeVersion(40)
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeGenerator/QRCodeVersion.swift:30:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A number between 1 and 40 (inclusive).
26 | public struct QRCodeVersion: Hashable, Comparable {
   |               `- note: consider making struct 'QRCodeVersion' conform to the 'Sendable' protocol
27 |     /// The minimum version number supported in the QR Code Model 2 standard.
28 |     public static let min = QRCodeVersion(1)
29 |     /// The maximum version number supported in the QR Code Model 2 standard.
30 |     public static let max = QRCodeVersion(40)
   |                       |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'QRCodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'max' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     public let value: UInt8
[11/11] Compiling QRCodeGenerator QRCode.swift
Build complete! (4.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-qrcode-generator",
  "name" : "swift-qrcode-generator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "QRCodeGenerator",
      "targets" : [
        "QRCodeGenerator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QRCodeGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeGeneratorTests",
      "path" : "Tests/QRCodeGeneratorTests",
      "sources" : [
        "QRCodeGeneratorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "QRCodeGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "QRCodeGenerator",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeGenerator",
      "path" : "Sources/QRCodeGenerator",
      "product_memberships" : [
        "QRCodeGenerator"
      ],
      "sources" : [
        "BitBuffer.swift",
        "QRCode.swift",
        "QRCodeConstants.swift",
        "QRCodeECC.swift",
        "QRCodeError.swift",
        "QRCodeMask.swift",
        "QRCodeVersion.swift",
        "QRSegment.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.