The Swift Package Index logo.Swift Package Index

Build Information

Successful build of FlexibleDiff, reference master (a51327), with Swift 6.1 for Wasm on 27 May 2025 22:34:22 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RACCommunity/FlexibleDiff.git
Reference: master
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/RACCommunity/FlexibleDiff
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a513271 Bumping minimum deployment target to iOS 9.0 (#18)
Submodule path 'Carthage/Checkouts/Nimble': checked out '43304bf2b1579fd555f2fdd51742771c1e4f2b98'
Submodule path 'Carthage/Checkouts/Quick': checked out '94df9b449508344667e5afc7e80f8bcbff1e4c37'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out '43304bf2b1579fd555f2fdd51742771c1e4f2b98'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out 'd0f8992afad45262cfe3a3cf512e7127fdcf296c'
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/RACCommunity/FlexibleDiff.git
Revision (git rev-parse @):
a5132719a812111ef7eaea647a659a351b15abf4
SUCCESS checkout https://github.com/RACCommunity/FlexibleDiff.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RACCommunity/FlexibleDiff.git
https://github.com/RACCommunity/FlexibleDiff.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "FlexibleDiff",
  "name" : "FlexibleDiff",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FlexibleDiff",
      "targets" : [
        "FlexibleDiff"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FlexibleDiffTests",
      "module_type" : "SwiftTarget",
      "name" : "FlexibleDiffTests",
      "path" : "FlexibleDiffTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "ChangesetSpec.swift",
        "Delta+NimbleMatcher.swift",
        "ReproducibilityTest.swift",
        "SectionedChangesetSpec.swift"
      ],
      "target_dependencies" : [
        "FlexibleDiff"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlexibleDiff",
      "module_type" : "SwiftTarget",
      "name" : "FlexibleDiff",
      "path" : "FlexibleDiff",
      "product_memberships" : [
        "FlexibleDiff"
      ],
      "sources" : [
        "Changeset.swift",
        "SectionedChangeset.swift",
        "Snapshot.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[12691/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.86s)
Fetched https://github.com/Quick/Nimble.git from cache (2.00s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (2.87s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.85s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling FlexibleDiff Snapshot.swift
[4/6] Emitting module FlexibleDiff
/host/spi-builder-workspace/FlexibleDiff/Changeset.swift:437:21: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
428 | 	/// The comparison strategies used by the collection diffing operators on collections
429 | 	/// that contain `Hashable` objects.
430 | 	public struct ObjectDiffStrategy {
    |                `- note: consider making struct 'ObjectDiffStrategy' conform to the 'Sendable' protocol
431 | 		fileprivate enum Kind {
432 | 			case identity
    :
435 |
436 | 		/// Compare the elements by their object identity.
437 | 		public static let identity = ObjectDiffStrategy(kind: .identity)
    |                     |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
438 |
439 | 		/// Compare the elements by their value equality.
/host/spi-builder-workspace/FlexibleDiff/Changeset.swift:440:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
428 | 	/// The comparison strategies used by the collection diffing operators on collections
429 | 	/// that contain `Hashable` objects.
430 | 	public struct ObjectDiffStrategy {
    |                `- note: consider making struct 'ObjectDiffStrategy' conform to the 'Sendable' protocol
431 | 		fileprivate enum Kind {
432 | 			case identity
    :
438 |
439 | 		/// Compare the elements by their value equality.
440 | 		public static let value = ObjectDiffStrategy(kind: .value)
    |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 |
442 | 		fileprivate let kind: Kind
[5/6] Compiling FlexibleDiff Changeset.swift
/host/spi-builder-workspace/FlexibleDiff/Changeset.swift:437:21: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
428 | 	/// The comparison strategies used by the collection diffing operators on collections
429 | 	/// that contain `Hashable` objects.
430 | 	public struct ObjectDiffStrategy {
    |                `- note: consider making struct 'ObjectDiffStrategy' conform to the 'Sendable' protocol
431 | 		fileprivate enum Kind {
432 | 			case identity
    :
435 |
436 | 		/// Compare the elements by their object identity.
437 | 		public static let identity = ObjectDiffStrategy(kind: .identity)
    |                     |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
438 |
439 | 		/// Compare the elements by their value equality.
/host/spi-builder-workspace/FlexibleDiff/Changeset.swift:440:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
428 | 	/// The comparison strategies used by the collection diffing operators on collections
429 | 	/// that contain `Hashable` objects.
430 | 	public struct ObjectDiffStrategy {
    |                `- note: consider making struct 'ObjectDiffStrategy' conform to the 'Sendable' protocol
431 | 		fileprivate enum Kind {
432 | 			case identity
    :
438 |
439 | 		/// Compare the elements by their value equality.
440 | 		public static let value = ObjectDiffStrategy(kind: .value)
    |                     |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Changeset.ObjectDiffStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
441 |
442 | 		fileprivate let kind: Kind
/host/spi-builder-workspace/FlexibleDiff/Changeset.swift:145:7: warning: variable 'oldIdentifiers' was never mutated; consider changing to 'let' constant
143 | 		var table: [Identifier: DiffEntry] = Dictionary(minimumCapacity: Int(current.count))
144 |
145 | 		var oldIdentifiers = ContiguousArray(previous.map(identifier))
    |       `- warning: variable 'oldIdentifiers' was never mutated; consider changing to 'let' constant
146 | 		var newIdentifiers = ContiguousArray(current.map(identifier))
147 |
/host/spi-builder-workspace/FlexibleDiff/Changeset.swift:146:7: warning: variable 'newIdentifiers' was never mutated; consider changing to 'let' constant
144 |
145 | 		var oldIdentifiers = ContiguousArray(previous.map(identifier))
146 | 		var newIdentifiers = ContiguousArray(current.map(identifier))
    |       `- warning: variable 'newIdentifiers' was never mutated; consider changing to 'let' constant
147 |
148 | 		var oldReferences: [DiffReference] = []
[6/6] Compiling FlexibleDiff SectionedChangeset.swift
Build complete! (12.55s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "FlexibleDiff",
  "name" : "FlexibleDiff",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FlexibleDiff",
      "targets" : [
        "FlexibleDiff"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FlexibleDiffTests",
      "module_type" : "SwiftTarget",
      "name" : "FlexibleDiffTests",
      "path" : "FlexibleDiffTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "ChangesetSpec.swift",
        "Delta+NimbleMatcher.swift",
        "ReproducibilityTest.swift",
        "SectionedChangesetSpec.swift"
      ],
      "target_dependencies" : [
        "FlexibleDiff"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlexibleDiff",
      "module_type" : "SwiftTarget",
      "name" : "FlexibleDiff",
      "path" : "FlexibleDiff",
      "product_memberships" : [
        "FlexibleDiff"
      ],
      "sources" : [
        "Changeset.swift",
        "SectionedChangeset.swift",
        "Snapshot.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.