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_qrcodejs, reference 2.2.2 (374dc7), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 19:15:40 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ApolloZhu/swift_qrcodejs.git
Reference: 2.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ApolloZhu/swift_qrcodejs
 * tag               2.2.2      -> FETCH_HEAD
HEAD is now at 374dc7f Carthage "workaround"
Cloned https://github.com/ApolloZhu/swift_qrcodejs.git
Revision (git rev-parse @):
374dc7f7b9e76c6aeb393f6a84590c6d387e1ecb
SUCCESS checkout https://github.com/ApolloZhu/swift_qrcodejs.git at 2.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ApolloZhu/swift_qrcodejs.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/16] Compiling QRCodeSwift QRMaskPattern.swift
[4/17] Compiling QRCodeSwift QRMath.swift
[5/17] Compiling QRCodeSwift QRMode.swift
[6/17] Compiling QRCodeSwift QRPatternLocator.swift
[7/17] Compiling QRCodeSwift QRPolynomial.swift
[8/17] Compiling QRCodeSwift QRRSBlock.swift
[9/17] Compiling QRCodeSwift QRCodeType.swift
[10/17] Compiling QRCodeSwift QRErrorCorrectLevel.swift
[11/17] Compiling QRCodeSwift BCH.swift
[12/17] Compiling QRCodeSwift QR8bitByte.swift
[13/17] Emitting module QRCodeSwift
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeError.swift:28:56: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 |     case dataLengthExceedsCapacityLimit
27 |     /// Can not encode the given string using the specified encoding.
28 |     case text(String, incompatibleWithEncoding: String.Encoding)
   |                                                        `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 |     /// Fill a new issue on GitHub, or submit a pull request.
30 |     case internalError(ImplmentationError)
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     public init(rawValue: UInt)
[14/17] Compiling QRCodeSwift QRBitBuffer.swift
[15/17] Compiling QRCodeSwift QRCode.swift
[16/17] Compiling QRCodeSwift QRCodeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeError.swift:28:56: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 |     case dataLengthExceedsCapacityLimit
27 |     /// Can not encode the given string using the specified encoding.
28 |     case text(String, incompatibleWithEncoding: String.Encoding)
   |                                                        `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 |     /// Fill a new issue on GitHub, or submit a pull request.
30 |     case internalError(ImplmentationError)
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     public init(rawValue: UInt)
[17/17] Compiling QRCodeSwift QRCodeModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/QRCodeError.swift:28:56: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 |     case dataLengthExceedsCapacityLimit
27 |     /// Can not encode the given string using the specified encoding.
28 |     case text(String, incompatibleWithEncoding: String.Encoding)
   |                                                        `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 |     /// Fill a new issue on GitHub, or submit a pull request.
30 |     case internalError(ImplmentationError)
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     public init(rawValue: UInt)
Build complete! (3.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift_qrcodejs",
  "name" : "swift_qrcodejs",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "QRCodeSwift",
      "targets" : [
        "QRCodeSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QRCodeSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeSwiftTests",
      "path" : "Tests/QRCodeSwiftTests",
      "sources" : [
        "QRCodeSwiftTests.swift"
      ],
      "target_dependencies" : [
        "QRCodeSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "QRCodeSwift",
      "module_type" : "SwiftTarget",
      "name" : "QRCodeSwift",
      "path" : "Sources",
      "product_memberships" : [
        "QRCodeSwift"
      ],
      "sources" : [
        "BCH.swift",
        "QR8bitByte.swift",
        "QRBitBuffer.swift",
        "QRCode.swift",
        "QRCodeError.swift",
        "QRCodeModel.swift",
        "QRCodeType.swift",
        "QRErrorCorrectLevel.swift",
        "QRMaskPattern.swift",
        "QRMath.swift",
        "QRMode.swift",
        "QRPatternLocator.swift",
        "QRPolynomial.swift",
        "QRRSBlock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.