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.1 for macOS (SPM) on 27 Apr 2025 23:22:44 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/PPMKit.git
Reference: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "ppmkit",
      "name": "PPMKit",
      "url": "https://github.com/dagronf/PPMKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PPMKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dagronf/PPMKit.git
[1/198] Fetching ppmkit
Fetched https://github.com/dagronf/PPMKit.git from cache (0.88s)
Creating working copy for https://github.com/dagronf/PPMKit.git
Working copy of https://github.com/dagronf/PPMKit.git resolved at 0.5.1 (8c826ad)
warning: '.resolve-product-dependencies': dependency 'ppmkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/PPMKit.git
https://github.com/dagronf/PPMKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PPMKit",
  "name" : "PPMKit",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P3_3x2_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P3_3x2_L255_comment_fail.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P3_4x4_L16.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P6_320x200_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P6_4x4_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/badly_formatted.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/gps-image.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/p3test_no_eol.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling PPMKit Utils.swift
[4/9] Compiling PPMKit PPMKit+platform.swift
[5/9] Compiling PPMKit PPMKit+image.swift
[6/9] Compiling PPMKit PPMKit+cgimage.swift
[7/9] Compiling PPMKit PPMKit.swift
[8/9] Emitting module PPMKit
/Users/admin/builder/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: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
   |                     `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
   |                     `- 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
[9/9] Compiling PPMKit PPMKit+pixel.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
   |                     `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
   |                     `- 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
Build complete! (6.74s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PPMKit",
  "name" : "PPMKit",
  "path" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P3_3x2_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P3_3x2_L255_comment_fail.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P3_4x4_L16.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P6_320x200_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/P6_4x4_L255.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/badly_formatted.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/gps-image.jpg",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PPMKitTests/resources/p3test_no_eol.ppm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/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"
}
Done.