The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of OperatingSystemVersion, reference main (bd3c70), with Swift 6.1 for Linux on 28 Apr 2025 11:13:25 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/OperatingSystemVersion.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/brightdigit/OperatingSystemVersion
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bd3c70e v1.0.0(#2)
Cloned https://github.com/brightdigit/OperatingSystemVersion.git
Revision (git rev-parse @):
bd3c70eb38da109ec6be9958e80ee495125d3232
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/OperatingSystemVersion.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/OperatingSystemVersion.git
https://github.com/brightdigit/OperatingSystemVersion.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OperatingSystemVersion",
  "name" : "OperatingSystemVersion",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "OperatingSystemVersion",
      "targets" : [
        "OperatingSystemVersion"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OperatingSystemVersionTests",
      "module_type" : "SwiftTarget",
      "name" : "OperatingSystemVersionTests",
      "path" : "Tests/OperatingSystemVersionTests",
      "sources" : [
        "OperatingSystemVersionTest.swift"
      ],
      "target_dependencies" : [
        "OperatingSystemVersion"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OperatingSystemVersion",
      "module_type" : "SwiftTarget",
      "name" : "OperatingSystemVersion",
      "path" : "Sources/OperatingSystemVersion",
      "product_memberships" : [
        "OperatingSystemVersion"
      ],
      "sources" : [
        "OperatingSystemVersion+Codable.swift",
        "OperatingSystemVersion+Hashable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling OperatingSystemVersion OperatingSystemVersion+Hashable.swift
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Hashable.swift:32:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
30 | import Foundation
31 |
32 | extension OperatingSystemVersion:
   | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
33 |   Hashable,
34 |   Equatable,
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Hashable.swift:33:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Hashable' was already stated in the type's module 'FoundationEssentials'
31 |
32 | extension OperatingSystemVersion:
33 |   Hashable,
   |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Hashable' was already stated in the type's module 'FoundationEssentials'
34 |   Equatable,
35 |   Comparable {
   :
56 |   }
57 |
58 |   public func hash(into hasher: inout Hasher) {
   |               `- note: instance method 'hash(into:)' will not be used to satisfy the conformance to 'Hashable'
59 |     majorVersion.hash(into: &hasher)
60 |     minorVersion.hash(into: &hasher)
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Hashable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Hashable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Hashable.swift:34:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
32 | extension OperatingSystemVersion:
33 |   Hashable,
34 |   Equatable,
   |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
35 |   Comparable {
36 |   public static func == (
   |                      `- note: operator function '==' will not be used to satisfy the conformance to 'Equatable'
37 |     lhs: OperatingSystemVersion,
38 |     rhs: OperatingSystemVersion
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
[4/5] Emitting module OperatingSystemVersion
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Codable.swift:32:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'CustomDebugStringConvertible', 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 30 | import Foundation
 31 |
 32 | extension OperatingSystemVersion:
    | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'CustomDebugStringConvertible', 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 33 |   Codable,
 34 |   CustomDebugStringConvertible,
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Codable.swift:33:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
 31 |
 32 | extension OperatingSystemVersion:
 33 |   Codable,
    |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
 34 |   CustomDebugStringConvertible,
 35 |   CustomStringConvertible {
    :
106 |
107 |   // swiftlint:disable:next function_body_length
108 |   public init(from decoder: any Decoder) throws {
    |          `- note: initializer 'init(from:)' will not be used to satisfy the conformance to 'Decodable'
109 |     let throwingError: (any Swift.Error)?
110 |     if let container = Self.singleStringDecodingContainer(from: decoder) {
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Codable.swift:33:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
 31 |
 32 | extension OperatingSystemVersion:
 33 |   Codable,
    |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
 34 |   CustomDebugStringConvertible,
 35 |   CustomStringConvertible {
    :
135 |   }
136 |
137 |   public func encode(to encoder: any Encoder) throws {
    |               `- note: instance method 'encode(to:)' will not be used to satisfy the conformance to 'Encodable'
138 |     let throwingError: any Swift.Error
139 |     do {
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Hashable.swift:32:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
30 | import Foundation
31 |
32 | extension OperatingSystemVersion:
   | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
33 |   Hashable,
34 |   Equatable,
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Hashable.swift:33:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Hashable' was already stated in the type's module 'FoundationEssentials'
31 |
32 | extension OperatingSystemVersion:
33 |   Hashable,
   |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Hashable' was already stated in the type's module 'FoundationEssentials'
34 |   Equatable,
35 |   Comparable {
   :
56 |   }
57 |
58 |   public func hash(into hasher: inout Hasher) {
   |               `- note: instance method 'hash(into:)' will not be used to satisfy the conformance to 'Hashable'
59 |     majorVersion.hash(into: &hasher)
60 |     minorVersion.hash(into: &hasher)
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Hashable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Hashable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Hashable.swift:34:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
32 | extension OperatingSystemVersion:
33 |   Hashable,
34 |   Equatable,
   |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Equatable' was already stated in the type's module 'FoundationEssentials'
35 |   Comparable {
36 |   public static func == (
   |                      `- note: operator function '==' will not be used to satisfy the conformance to 'Equatable'
37 |     lhs: OperatingSystemVersion,
38 |     rhs: OperatingSystemVersion
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Equatable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
[5/5] Compiling OperatingSystemVersion OperatingSystemVersion+Codable.swift
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Codable.swift:32:1: warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'CustomDebugStringConvertible', 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 30 | import Foundation
 31 |
 32 | extension OperatingSystemVersion:
    | |- warning: extension declares a conformance of imported type 'OperatingSystemVersion' to imported protocols 'CustomDebugStringConvertible', 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 33 |   Codable,
 34 |   CustomDebugStringConvertible,
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Codable.swift:33:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
 31 |
 32 | extension OperatingSystemVersion:
 33 |   Codable,
    |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Decodable' was already stated in the type's module 'FoundationEssentials'
 34 |   CustomDebugStringConvertible,
 35 |   CustomStringConvertible {
    :
106 |
107 |   // swiftlint:disable:next function_body_length
108 |   public init(from decoder: any Decoder) throws {
    |          `- note: initializer 'init(from:)' will not be used to satisfy the conformance to 'Decodable'
109 |     let throwingError: (any Swift.Error)?
110 |     if let container = Self.singleStringDecodingContainer(from: decoder) {
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Decodable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
/host/spi-builder-workspace/Sources/OperatingSystemVersion/OperatingSystemVersion+Codable.swift:33:3: warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
 31 |
 32 | extension OperatingSystemVersion:
 33 |   Codable,
    |   `- warning: conformance of 'OperatingSystemVersion' to protocol 'Encodable' was already stated in the type's module 'FoundationEssentials'
 34 |   CustomDebugStringConvertible,
 35 |   CustomStringConvertible {
    :
135 |   }
136 |
137 |   public func encode(to encoder: any Encoder) throws {
    |               `- note: instance method 'encode(to:)' will not be used to satisfy the conformance to 'Encodable'
138 |     let throwingError: any Swift.Error
139 |     do {
FoundationEssentials.OperatingSystemVersion:1:15: note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
 1 | public struct OperatingSystemVersion : Hashable, Codable, Sendable {
   |               `- note: 'OperatingSystemVersion' declares conformance to protocol 'Encodable' here
 2 |     public let majorVersion: Int
 3 |     public let minorVersion: Int
Build complete! (8.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OperatingSystemVersion",
  "name" : "OperatingSystemVersion",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "OperatingSystemVersion",
      "targets" : [
        "OperatingSystemVersion"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OperatingSystemVersionTests",
      "module_type" : "SwiftTarget",
      "name" : "OperatingSystemVersionTests",
      "path" : "Tests/OperatingSystemVersionTests",
      "sources" : [
        "OperatingSystemVersionTest.swift"
      ],
      "target_dependencies" : [
        "OperatingSystemVersion"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OperatingSystemVersion",
      "module_type" : "SwiftTarget",
      "name" : "OperatingSystemVersion",
      "path" : "Sources/OperatingSystemVersion",
      "product_memberships" : [
        "OperatingSystemVersion"
      ],
      "sources" : [
        "OperatingSystemVersion+Codable.swift",
        "OperatingSystemVersion+Hashable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.