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 PPMKit, reference 0.5.1 (8c826a), with Swift 6.0 for Linux on 30 Nov 2024 03:44:55 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/PPMKit.git
Reference: 0.5.1
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
 * tag               0.5.1      -> FETCH_HEAD
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 0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dagronf/PPMKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
[4/9] Compiling PPMKit Utils.swift
[5/9] Compiling PPMKit PPMKit.swift
[6/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
[7/9] Compiling PPMKit PPMKit+platform.swift
[8/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)
[9/9] Compiling PPMKit PPMKit+cgimage.swift
Build complete! (16.36s)
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/P3_3x2_L255.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/P3_4x4_L16.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/P6_4x4_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/badly_formatted.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/gps-image.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/p3test_no_eol.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/PPMKitTests/resources/sample_640×426.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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.