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 Vexil, reference v2.2.3 (9e07b2), with Swift 6.0 for Linux on 5 Nov 2024 11:36:53 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unsignedapps/Vexil.git
Reference: v2.2.3
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/unsignedapps/Vexil
 * tag               v2.2.3     -> FETCH_HEAD
HEAD is now at 9e07b28 Test support for Vision Pro
Cloned https://github.com/unsignedapps/Vexil.git
Revision (git rev-parse @):
9e07b284465effe2ababb8b2c2c16831cdca493f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/unsignedapps/Vexil.git at v2.2.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/unsignedapps/Vexil.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 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
Fetching https://github.com/nicklockwood/SwiftFormat
[1/45161] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (21.89s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.6 (0.47s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.54.6
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/29] Emitting module Vexil
/host/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
   |               `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 |     // MARK: - Properties
   :
56 |
57 |     /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 |     static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
   |                |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'hidden' 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
59 | }
60 |
[6/32] Compiling Vexil CollectionDifference.Change+Element.swift
[7/32] Compiling Vexil Locks.swift
[8/32] Compiling Vexil Value.swift
[9/32] Compiling Vexil FlagValueDictionary+FlagValueSource.swift
[10/32] Compiling Vexil FlagValueDictionary.swift
[11/32] Compiling Vexil FlagValueSource.swift
[12/32] Compiling Vexil Snapshot+Extensions.swift
[13/32] Compiling Vexil Snapshot+FlagValueSource.swift
[14/32] Compiling Vexil Snapshot+Lookup.swift
[15/32] Compiling Vexil Pole.swift
[16/32] Compiling Vexil AnyFlag.swift
[17/32] Compiling Vexil LocatedFlagValue.swift
[18/32] Compiling Vexil MutableFlagGroup.swift
[19/32] Compiling Vexil NSUbiquitousKeyValueStore+FlagValueSource.swift
[20/32] Compiling Vexil UserDefaults+FlagValueSource.swift
[21/32] Compiling Vexil BoxedFlagValue+Codable.swift
[22/32] Compiling Vexil Snapshot.swift
[23/32] Compiling Vexil BoxedFlagValue+NSObject.swift
[24/32] Compiling Vexil FlagValueDictionary+Collection.swift
[25/32] Compiling Vexil Flag.swift
/host/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
   |               `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 |     // MARK: - Properties
   :
56 |
57 |     /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 |     static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
   |                |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'hidden' 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
59 | }
60 |
[26/32] Compiling Vexil FlagInfo.swift
/host/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
   |               `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 |     // MARK: - Properties
   :
56 |
57 |     /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 |     static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
   |                |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'hidden' 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
59 | }
60 |
[27/32] Compiling Vexil Group.swift
/host/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
   |               `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 |     // MARK: - Properties
   :
56 |
57 |     /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 |     static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
   |                |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'hidden' 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
59 | }
60 |
[28/32] Compiling Vexil Lookup.swift
/host/spi-builder-workspace/Sources/Vexil/FlagInfo.swift:58:16: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// This is mostly used by flag editors like Vexillographer.
17 | ///
18 | public struct FlagInfo {
   |               `- note: consider making struct 'FlagInfo' conform to the 'Sendable' protocol
19 |
20 |     // MARK: - Properties
   :
56 |
57 |     /// Hides the `Flag` or `FlagGroup` from flag editors like Vexillographer
58 |     static let hidden = FlagInfo(name: nil, description: "", shouldDisplay: false)
   |                |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'FlagInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'hidden' 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
59 | }
60 |
[29/32] Compiling Vexil Configuration.swift
[30/32] Compiling Vexil Container.swift
[31/32] Compiling Vexil Decorator.swift
[32/32] Compiling Vexil Diagnostics.swift
[34/60] Emitting module Vexillographer
[35/63] Compiling Vexillographer Binding.swift
[36/63] Compiling Vexillographer EditableBoxedFlagValues.swift
[37/63] Compiling Vexillographer LosslessStringTransformer.swift
[38/63] Compiling Vexillographer OptionalTransformer.swift
[39/63] Compiling Vexillographer FlagSectionView.swift
[40/63] Compiling Vexillographer FlagValueManager.swift
[41/63] Compiling Vexillographer FlagView.swift
[42/63] Compiling Vexillographer Unfurlable.swift
[43/63] Compiling Vexillographer BooleanFlagControl.swift
[44/63] Compiling Vexillographer CaseIterableFlagControl.swift
[45/63] Compiling Vexillographer OptionalCaseIterableFlagControl.swift
[46/63] Compiling Vexillographer StringFlagControl.swift
[47/63] Compiling Vexillographer FlagDetailSection.swift
[48/63] Compiling Vexillographer FlagDetailView.swift
[49/63] Compiling Vexillographer FlagDisplayValueView.swift
[50/63] Compiling Vexillographer FlagGroupView.swift
[51/63] Compiling Vexillographer UnfurledFlagItem.swift
[52/63] Compiling Vexillographer AnyView.swift
[53/63] Compiling Vexillographer DisplayName.swift
[54/63] Compiling Vexillographer UnfurledFlag.swift
[55/63] Compiling Vexillographer UnfurledFlagGroup.swift
[56/63] Compiling Vexillographer UnfurledFlagInfo.swift
[57/63] Compiling Vexillographer PassthroughTransformer.swift
[58/63] Compiling Vexillographer CopyButton.swift
[59/63] Compiling Vexillographer DetailButton.swift
[60/63] Compiling Vexillographer NSApplication+Sidebar.swift
[61/63] Compiling Vexillographer OptionalFlagValues.swift
[62/63] Compiling Vexillographer Pasteboard.swift
[63/63] Compiling Vexillographer Vexillographer.swift
Build complete! (35.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftformat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.51.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "Vexil",
  "name" : "Vexil",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Vexil",
      "targets" : [
        "Vexil"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Vexillographer",
      "targets" : [
        "Vexillographer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Vexillographer",
      "module_type" : "SwiftTarget",
      "name" : "Vexillographer",
      "path" : "Sources/Vexillographer",
      "product_memberships" : [
        "Vexillographer"
      ],
      "sources" : [
        "Bindings/Binding.swift",
        "Bindings/EditableBoxedFlagValues.swift",
        "Bindings/LosslessStringTransformer.swift",
        "Bindings/OptionalTransformer.swift",
        "Bindings/PassthroughTransformer.swift",
        "CopyButton.swift",
        "DetailButton.swift",
        "Extensions/NSApplication+Sidebar.swift",
        "Flag Value Controls/BooleanFlagControl.swift",
        "Flag Value Controls/CaseIterableFlagControl.swift",
        "Flag Value Controls/OptionalCaseIterableFlagControl.swift",
        "Flag Value Controls/StringFlagControl.swift",
        "FlagDetailSection.swift",
        "FlagDetailView.swift",
        "FlagDisplayValueView.swift",
        "FlagGroupView.swift",
        "FlagSectionView.swift",
        "FlagValueManager.swift",
        "FlagView.swift",
        "Unfurling/Unfurlable.swift",
        "Unfurling/UnfurledFlag.swift",
        "Unfurling/UnfurledFlagGroup.swift",
        "Unfurling/UnfurledFlagInfo.swift",
        "Unfurling/UnfurledFlagItem.swift",
        "Utilities/AnyView.swift",
        "Utilities/DisplayName.swift",
        "Utilities/OptionalFlagValues.swift",
        "Utilities/Pasteboard.swift",
        "Vexillographer.swift"
      ],
      "target_dependencies" : [
        "Vexil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "VexilTests",
      "module_type" : "SwiftTarget",
      "name" : "VexilTests",
      "path" : "Tests/VexilTests",
      "sources" : [
        "BoxedFlagValueDecodingTests.swift",
        "BoxedFlagValueEncodingTests.swift",
        "DiagnosticsTests.swift",
        "EquatableTests.swift",
        "FlagPoleTests.swift",
        "FlagValueBoxingTests.swift",
        "FlagValueCompilationTests.swift",
        "FlagValueDictionaryTests.swift",
        "FlagValueSourceTests.swift",
        "FlagValueUnboxingTests.swift",
        "KeyEncodingTests.swift",
        "PublisherTests.swift",
        "SnapshotTests.swift",
        "TestHelpers.swift",
        "UserDefaultPublisherTests.swift",
        "UserDefaultsDecodingTests.swift",
        "UserDefaultsEncodingTests.swift"
      ],
      "target_dependencies" : [
        "Vexil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Vexil",
      "module_type" : "SwiftTarget",
      "name" : "Vexil",
      "path" : "Sources/Vexil",
      "product_memberships" : [
        "Vexil",
        "Vexillographer"
      ],
      "sources" : [
        "Configuration.swift",
        "Container.swift",
        "Decorator.swift",
        "Diagnostics.swift",
        "Flag.swift",
        "FlagInfo.swift",
        "Group.swift",
        "Lookup.swift",
        "Pole.swift",
        "Snapshots/AnyFlag.swift",
        "Snapshots/LocatedFlagValue.swift",
        "Snapshots/MutableFlagGroup.swift",
        "Snapshots/Snapshot+Extensions.swift",
        "Snapshots/Snapshot+FlagValueSource.swift",
        "Snapshots/Snapshot+Lookup.swift",
        "Snapshots/Snapshot.swift",
        "Sources/BoxedFlagValue+NSObject.swift",
        "Sources/FlagValueDictionary+Collection.swift",
        "Sources/FlagValueDictionary+FlagValueSource.swift",
        "Sources/FlagValueDictionary.swift",
        "Sources/FlagValueSource.swift",
        "Sources/NSUbiquitousKeyValueStore+FlagValueSource.swift",
        "Sources/UserDefaults+FlagValueSource.swift",
        "Utilities/BoxedFlagValue+Codable.swift",
        "Utilities/CollectionDifference.Change+Element.swift",
        "Utilities/Locks.swift",
        "Value.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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.