Build Information
Successful build of PPMKit with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/PPMKit.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/PPMKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8c826ad Fixed issue with some p3 files which didn't end with a line end
Cloned https://github.com/dagronf/PPMKit.git
Revision (git rev-parse @):
8c826ad5c026b0addcc7e37513d52b69998050c7
SUCCESS checkout https://github.com/dagronf/PPMKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/dagronf/PPMKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/9] Compiling PPMKit PPMKit+platform.swift
[4/9] Compiling PPMKit PPMKit+pixel.swift
/host/spi-builder-workspace/Sources/PPMKit/PPMKit+pixel.swift:32:21: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public extension PPM {
29 | /// An RGB pixel representation
30 | struct RGB: Equatable {
| `- note: consider making struct 'RGB' conform to the 'Sendable' protocol
31 | /// Standard black
32 | public static let black = RGB(r: 0, g: 0, b: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' 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
33 | /// Standard white
34 | public static let white = RGB(r: 255, g: 255, b: 255)
/host/spi-builder-workspace/Sources/PPMKit/PPMKit+pixel.swift:34:21: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public extension PPM {
29 | /// An RGB pixel representation
30 | struct RGB: Equatable {
| `- note: consider making struct 'RGB' conform to the 'Sendable' protocol
31 | /// Standard black
32 | public static let black = RGB(r: 0, g: 0, b: 0)
33 | /// Standard white
34 | public static let white = RGB(r: 255, g: 255, b: 255)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' 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
35 |
36 | /// Create a pixel with rgb values in 0 -> 255
[5/9] Compiling PPMKit PPMKit+cgimage.swift
[6/9] Compiling PPMKit PPMKit+image.swift
/host/spi-builder-workspace/Sources/PPMKit/PPMKit+pixel.swift:32:21: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public extension PPM {
29 | /// An RGB pixel representation
30 | struct RGB: Equatable {
| `- note: consider making struct 'RGB' conform to the 'Sendable' protocol
31 | /// Standard black
32 | public static let black = RGB(r: 0, g: 0, b: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' 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
33 | /// Standard white
34 | public static let white = RGB(r: 255, g: 255, b: 255)
[7/9] Emitting module PPMKit
/host/spi-builder-workspace/Sources/PPMKit/PPMKit+pixel.swift:32:21: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public extension PPM {
29 | /// An RGB pixel representation
30 | struct RGB: Equatable {
| `- note: consider making struct 'RGB' conform to the 'Sendable' protocol
31 | /// Standard black
32 | public static let black = RGB(r: 0, g: 0, b: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' 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
33 | /// Standard white
34 | public static let white = RGB(r: 255, g: 255, b: 255)
/host/spi-builder-workspace/Sources/PPMKit/PPMKit+pixel.swift:34:21: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public extension PPM {
29 | /// An RGB pixel representation
30 | struct RGB: Equatable {
| `- note: consider making struct 'RGB' conform to the 'Sendable' protocol
31 | /// Standard black
32 | public static let black = RGB(r: 0, g: 0, b: 0)
33 | /// Standard white
34 | public static let white = RGB(r: 255, g: 255, b: 255)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'PPM.RGB' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' 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
35 |
36 | /// Create a pixel with rgb values in 0 -> 255
[8/9] Compiling PPMKit Utils.swift
[9/9] Compiling PPMKit PPMKit.swift
Build complete! (10.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PPMKit",
"name" : "PPMKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "PPMKit",
"targets" : [
"PPMKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PPMKitTests",
"module_type" : "SwiftTarget",
"name" : "PPMKitTests",
"path" : "Tests/PPMKitTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/badly_formatted.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/p3test_no_eol.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/gps-image.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/sample_640×426.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/P3_3x2_L255_comment_fail.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/P6_320x200_L255.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/P3_4x4_L16.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/P3_3x2_L255.ppm",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/P6_4x4_L255.ppm",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"SwiftPPMTests.swift",
"TemporaryFilesContainer.swift"
],
"target_dependencies" : [
"PPMKit"
],
"type" : "test"
},
{
"c99name" : "PPMKit",
"module_type" : "SwiftTarget",
"name" : "PPMKit",
"path" : "Sources/PPMKit",
"product_memberships" : [
"PPMKit"
],
"sources" : [
"PPMKit+cgimage.swift",
"PPMKit+image.swift",
"PPMKit+pixel.swift",
"PPMKit+platform.swift",
"PPMKit.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.