Build Information
Successful build of swift-qrcode-generator with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/swift-qrcode-generator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/swift-qrcode-generator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 61fe7fc Bump version to 2.0.3 for development
Cloned https://github.com/dagronf/swift-qrcode-generator.git
Revision (git rev-parse @):
61fe7fc530cafc90a8cd6291e968520d9f7ad687
SUCCESS checkout https://github.com/dagronf/swift-qrcode-generator.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dagronf/swift-qrcode-generator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/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: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public let value: UInt8
[4/11] Compiling QRCodeGenerator QRCodeMask.swift
[5/11] Compiling QRCodeGenerator QRCodeECC.swift
[6/11] Compiling QRCodeGenerator QRCodeError.swift
[7/11] Compiling QRCodeGenerator QRCodeConstants.swift
[8/11] Compiling QRCodeGenerator QRSegment.swift
[9/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: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public let value: UInt8
[10/11] Compiling QRCodeGenerator BitBuffer.swift
[11/11] Compiling QRCodeGenerator QRCode.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: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public let value: UInt8
Build complete! (18.62s)
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.