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

Failed to build Datastore, reference v1.2.4 (3f6921), with Swift 6.1 for Wasm on 27 May 2025 08:17:05 UTC.

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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Datastore.git
Reference: v1.2.4
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/elegantchaos/Datastore
 * tag               v1.2.4     -> FETCH_HEAD
HEAD is now at 3f6921e use newer view extensions
Cloned https://github.com/elegantchaos/Datastore.git
Revision (git rev-parse @):
3f6921ed4a4aeb5b3ace8dbcd467b6168d668356
SUCCESS checkout https://github.com/elegantchaos/Datastore.git at v1.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Datastore.git
https://github.com/elegantchaos/Datastore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "logger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Logger.git"
    },
    {
      "identity" : "layoutextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/LayoutExtensions.git"
    },
    {
      "identity" : "viewextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/ViewExtensions.git"
    },
    {
      "identity" : "collectionextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/CollectionExtensions.git"
    },
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    },
    {
      "identity" : "performance",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Performance.git"
    }
  ],
  "manifest_display_name" : "Datastore",
  "name" : "Datastore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Datastore",
      "targets" : [
        "Datastore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DatastoreKit",
      "targets" : [
        "DatastoreKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DatastoreTests",
      "module_type" : "SwiftTarget",
      "name" : "DatastoreTests",
      "path" : "Tests/DatastoreTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "DatastoreCombineTests.swift",
        "DatastoreTests.swift",
        "PropertyKeyTests.swift",
        "Support/DatastoreTestCase.swift"
      ],
      "target_dependencies" : [
        "Datastore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DatastoreKit",
      "module_type" : "SwiftTarget",
      "name" : "DatastoreKit",
      "path" : "Sources/DatastoreKit",
      "product_dependencies" : [
        "CollectionExtensions",
        "LayoutExtensions",
        "Logger",
        "ViewExtensions"
      ],
      "product_memberships" : [
        "DatastoreKit"
      ],
      "sources" : [
        "DatastoreDocument.swift",
        "DatastoreIndexController.swift",
        "DatastoreIndexFilterButton.swift",
        "DatastoreIndexSearchButton.swift",
        "DatastoreIndexSortButton.swift",
        "DatastoreKit.swift",
        "DatastorePropertyController.swift",
        "DatastorePropertyLayout.swift",
        "DatastorePropertyViews/BooleanPropertyView.swift",
        "DatastorePropertyViews/DatastorePropertyView.swift",
        "DatastorePropertyViews/DatePropertyView.swift",
        "DatastorePropertyViews/DoublePropertyView.swift",
        "DatastorePropertyViews/GenericPropertyView.swift",
        "DatastorePropertyViews/IntegerPropertyView.swift",
        "DatastorePropertyViews/RelationshipPropertyView.swift",
        "DatastorePropertyViews/StringPropertyView.swift",
        "DatastoreViewContextSupplier.swift"
      ],
      "target_dependencies" : [
        "Datastore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Datastore",
      "module_type" : "SwiftTarget",
      "name" : "Datastore",
      "path" : "Sources/Datastore",
      "product_dependencies" : [
        "Logger",
        "Performance"
      ],
      "product_memberships" : [
        "Datastore",
        "DatastoreKit"
      ],
      "sources" : [
        "ConformanceMap.swift",
        "CoreData/DatastoreModel.swift",
        "CoreData/EntityRecord.swift",
        "CoreData/Properties/BooleanProperty.swift",
        "CoreData/Properties/DataProperty.swift",
        "CoreData/Properties/DateProperty.swift",
        "CoreData/Properties/DoubleProperty.swift",
        "CoreData/Properties/IntegerProperty.swift",
        "CoreData/Properties/NamedProperty.swift",
        "CoreData/Properties/RelationshipProperty.swift",
        "CoreData/Properties/StringProperty.swift",
        "Datastore+Combine.swift",
        "Datastore.swift",
        "DatastoreContainer.swift",
        "DatastoreType.swift",
        "Extensions/NSEntityDescriptionExtensions.swift",
        "Extensions/NSManagedObjectContextExtensions.swift",
        "Extensions/NSManagedObjectExtensions.swift",
        "Interchange/Datastore+Interchange.swift",
        "Interchange/InterchangeDecoder.swift",
        "Interchange/InterchangeEncoder.swift",
        "Interchange/JSONDecoder.swift",
        "Interchange/JSONEncoder.swift",
        "Properties/PropertyDictionary.swift",
        "Properties/PropertyKey.swift",
        "Properties/PropertyValue.swift",
        "References/CustomReference.swift",
        "References/EntityReference.swift",
        "References/InitialisingReference.swift",
        "Resolvers/CachedResolver.swift",
        "Resolvers/EntityResolver.swift",
        "Resolvers/MatchingResolver.swift",
        "Resolvers/NullResolver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/elegantchaos/Performance.git
Fetching https://github.com/elegantchaos/CollectionExtensions.git
Fetching https://github.com/elegantchaos/LayoutExtensions.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/ViewExtensions.git
[1/21] Fetching performance
[22/60] Fetching performance, layoutextensions
[61/179] Fetching performance, layoutextensions, viewextensions
[180/579] Fetching performance, layoutextensions, viewextensions, collectionextensions
[272/1150] Fetching performance, layoutextensions, viewextensions, collectionextensions, xctestextensions
Fetched https://github.com/elegantchaos/Performance.git from cache (0.32s)
Fetching https://github.com/elegantchaos/Logger.git
Fetched https://github.com/elegantchaos/ViewExtensions.git from cache (0.32s)
Fetched https://github.com/elegantchaos/CollectionExtensions.git from cache (0.33s)
Fetched https://github.com/elegantchaos/LayoutExtensions.git from cache (0.34s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.35s)
[1/2051] Fetching logger
Fetched https://github.com/elegantchaos/Logger.git from cache (0.36s)
Computing version for https://github.com/elegantchaos/Performance.git
Computed https://github.com/elegantchaos/Performance.git at 1.0.2 (1.39s)
Computing version for https://github.com/elegantchaos/ViewExtensions.git
Computed https://github.com/elegantchaos/ViewExtensions.git at 1.0.4 (0.62s)
Computing version for https://github.com/elegantchaos/LayoutExtensions.git
Computed https://github.com/elegantchaos/LayoutExtensions.git at 1.0.3 (0.60s)
Computing version for https://github.com/elegantchaos/CollectionExtensions.git
Computed https://github.com/elegantchaos/CollectionExtensions.git at 1.1.10 (2.30s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.2 (1.09s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (1.46s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.80s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (1.41s)
Creating working copy for https://github.com/elegantchaos/LayoutExtensions.git
Working copy of https://github.com/elegantchaos/LayoutExtensions.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Performance.git
Working copy of https://github.com/elegantchaos/Performance.git resolved at 1.0.2
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.2
Creating working copy for https://github.com/elegantchaos/ViewExtensions.git
Working copy of https://github.com/elegantchaos/ViewExtensions.git resolved at 1.0.4
Creating working copy for https://github.com/elegantchaos/CollectionExtensions.git
Working copy of https://github.com/elegantchaos/CollectionExtensions.git resolved at 1.1.10
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/38] Emitting module Performance
/host/spi-builder-workspace/.build/checkouts/Performance/Sources/Performance/Profiler.swift:6:8: error: no such module 'Darwin'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Darwin
   |        `- error: no such module 'Darwin'
 7 |
 8 | public struct Profiler {
[10/38] Compiling Logger NSLogHandler.swift
[11/38] Compiling Logger OSLogHandler.swift
[12/39] Compiling Logger PrintHandler.swift
[13/39] Compiling ViewExtensions UIViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[14/39] Compiling ViewExtensions UIStackViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[15/39] Compiling Performance Profiler.swift
/host/spi-builder-workspace/.build/checkouts/Performance/Sources/Performance/Profiler.swift:6:8: error: no such module 'Darwin'
 4 | // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 5 |
 6 | import Darwin
   |        `- error: no such module 'Darwin'
 7 |
 8 | public struct Profiler {
[16/39] Compiling ViewExtensions UINavigationViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[17/39] Compiling ViewExtensions PopoverMenuButtonWithFixedItems.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[18/39] Compiling ViewExtensions PopoverMenuButton.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[19/39] Compiling ViewExtensions PopoverButton.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/39] Emitting module LayoutExtensions
/host/spi-builder-workspace/.build/checkouts/LayoutExtensions/Sources/LayoutExtensions/UIViewExtensions.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public extension UIView {
[21/39] Compiling LayoutExtensions UIViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/LayoutExtensions/Sources/LayoutExtensions/UIViewExtensions.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public extension UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/39] Emitting module ViewExtensions
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[23/39] Compiling ViewExtensions EnhancedTableView.swift
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/39] Emitting module Logger
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:33:16: error: cannot find type 'DispatchQueue' in scope
 31 |     var associatedData: AssociatedHandlerData = [:]
 32 |     var fatalHandler: FatalHandler = defaultFatalHandler
 33 |     var queue: DispatchQueue = .init(label: "com.elegantchaos.logger", qos: .utility, attributes: [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit)
    |                `- error: cannot find type 'DispatchQueue' in scope
 34 |
 35 |     /**
[25/39] Emitting module CollectionExtensions
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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/13] Emitting module LayoutExtensions
/host/spi-builder-workspace/.build/checkouts/LayoutExtensions/Sources/LayoutExtensions/UIViewExtensions.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public extension UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module ViewExtensions
/host/spi-builder-workspace/.build/checkouts/ViewExtensions/Sources/ViewExtensions/EnhancedTableView.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public class EnhancedTableView: UITableView {
[4/22] Compiling LayoutExtensions UIViewExtensions.swift
/host/spi-builder-workspace/.build/checkouts/LayoutExtensions/Sources/LayoutExtensions/UIViewExtensions.swift:7:8: error: no such module 'UIKit'
 5 |
 6 | #if targetEnvironment(macCatalyst) || !os(macOS)
 7 | import UIKit
   |        `- error: no such module 'UIKit'
 8 |
 9 | public extension UIView {
BUILD FAILURE 6.1 wasm