Build Information
Successful build of swift-qrcode-generator, reference v2.0.2 (2b1980
), with Swift 6.1 for Wasm on 29 May 2025 02:04:35 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/swift-qrcode-generator.git
Reference: v2.0.2
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
* 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
========================================
Build
========================================
Selected platform: wasm
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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: 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)
/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: 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
[4/10] Compiling QRCodeGenerator QRCodeMask.swift
[5/10] Compiling QRCodeGenerator BitBuffer.swift
[6/10] Compiling QRCodeGenerator QRCodeError.swift
[7/11] Compiling QRCodeGenerator QRCodeECC.swift
[8/11] Compiling QRCodeGenerator QRCodeConstants.swift
[9/11] Compiling QRCodeGenerator QRSegment.swift
[10/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: 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)
/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: 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! (14.66s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.