Build Information
Successful build of swift-qrcode-generator with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/dagronf/swift-qrcode-generator.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling QRCodeGenerator QRCodeError.swift
[4/10] Compiling QRCodeGenerator QRCodeVersion.swift
/host/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)
/host/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
[5/10] Compiling QRCodeGenerator QRCodeMask.swift
[6/11] Compiling QRCodeGenerator QRCodeECC.swift
[7/11] Compiling QRCodeGenerator QRCodeConstants.swift
[8/11] Compiling QRCodeGenerator BitBuffer.swift
[9/11] Emitting module QRCodeGenerator
/host/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)
/host/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 QRCode.swift
/host/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)
/host/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
[11/11] Compiling QRCodeGenerator QRSegment.swift
Build complete! (13.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-qrcode-generator",
"name" : "swift-qrcode-generator",
"path" : "/host/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.