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 SwiftletModel, reference 0.12.3 (2074bb), with Swift 6.1 for Wasm on 30 May 2025 22:49:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/KazaiMazai/SwiftletModel.git
Reference: 0.12.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/KazaiMazai/SwiftletModel
 * tag               0.12.3     -> FETCH_HEAD
HEAD is now at 2074bb0 Minor schema fixes (#94)
Cloned https://github.com/KazaiMazai/SwiftletModel.git
Revision (git rev-parse @):
2074bb06022cd433dfe8ffd6f3f1810f8250b1ee
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/SwiftletModel.git at 0.12.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/KazaiMazai/SwiftletModel.git
https://github.com/KazaiMazai/SwiftletModel.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.12.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "btree",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BTree"
    }
  ],
  "manifest_display_name" : "SwiftletModel",
  "name" : "SwiftletModel",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftletModel",
      "targets" : [
        "SwiftletModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftletModelMacros",
      "targets" : [
        "SwiftletModelMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftletModelTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftletModelTests",
      "path" : "Tests/SwiftletModelTests",
      "product_dependencies" : [
        "SnapshotTesting",
        "SnapshotTestingCustomDump"
      ],
      "sources" : [
        "CodableTests/RelationsEncodingDecodingTests.swift",
        "EntitiesTests/DeleteTests.swift",
        "IndexTests/FilterIndexPerformanceTests.swift",
        "IndexTests/FullTextIndexPerformanceTests.swift",
        "IndexTests/SortIndexPerformanceTests.swift",
        "IndexTests/UniqueIndexTests.swift",
        "ModelTests/MergeStrategyTests.swift",
        "Models/Attachment.swift",
        "Models/Chat.swift",
        "Models/Message.swift",
        "Models/Schema.swift",
        "Models/TestModel.swift",
        "Models/User.swift",
        "ModelsForTesting.swift",
        "QueriesTests/AllNestedModelsQueryTest.swift",
        "QueriesTests/FilterMetadataQueryTests.swift",
        "QueriesTests/FilterQueryTests.swift",
        "QueriesTests/FilterStringQueryTests.swift",
        "QueriesTests/NestedModelsQueryTest.swift",
        "QueriesTests/SortQueryTest.swift",
        "RelationsTests/ManyToManyTests.swift",
        "RelationsTests/ToOneTests.swift"
      ],
      "target_dependencies" : [
        "SwiftletModel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftletModelMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftletModelMacros",
      "path" : "Sources/SwiftletModelMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftletModel",
        "SwiftletModelMacros"
      ],
      "sources" : [
        "EntityModelMacro/Attributes/AccessAttributes.swift",
        "EntityModelMacro/Attributes/IndexAttributes.swift",
        "EntityModelMacro/Attributes/PropertyAttributes.swift",
        "EntityModelMacro/Attributes/PropertyWrapperAttributes.swift",
        "EntityModelMacro/Attributes/RelationshipAttributes.swift",
        "EntityModelMacro/Attributes/SearchIndexAttributes.swift",
        "EntityModelMacro/Attributes/UniqueAttributes.swift",
        "EntityModelMacro/EntityModelMacro.swift",
        "EntityModelMacro/SwiftSyntaxExtensions/LabeledExprSyntaxExtension.swift",
        "Plugins.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SwiftletModel",
      "module_type" : "SwiftTarget",
      "name" : "SwiftletModel",
      "path" : "Sources/SwiftletModel",
      "product_dependencies" : [
        "Collections",
        "BTree"
      ],
      "product_memberships" : [
        "SwiftletModel"
      ],
      "sources" : [
        "Context/Context.swift",
        "Context/EntitiesRepository.swift",
        "Context/RelationsRepository.swift",
        "Index/ArrayExtensions.swift",
        "Index/CollisionResolver.swift",
        "Index/Comparable+SortOrder.swift",
        "Index/Entity+FullTextIndex.swift",
        "Index/Entity+IndexComparable.swift",
        "Index/Entity+IndexHashable&Comparable.swift",
        "Index/Entity+IndexHashable.swift",
        "Index/Entity+Metadata.swift",
        "Index/Entity+UniqueComparable.swift",
        "Index/Entity+UniqueHashable&Comparable.swift",
        "Index/Entity+UniqueHashable.swift",
        "Index/FullTextIndex+Hashable.swift",
        "Index/FullTextIndex.swift",
        "Index/Index+Comparable.swift",
        "Index/Index+Hashable.swift",
        "Index/Index.swift",
        "Index/String+FuzzyMatch.swift",
        "Index/String+IndexName.swift",
        "Index/String+SearchTokens.swift",
        "Index/Tuples.swift",
        "Index/UniqueIndex+Comparable.swift",
        "Index/UniqueIndex+Hashable.swift",
        "Index/UniqueIndex.swift",
        "Macros.swift",
        "Model/DeletedEntity.swift",
        "Model/EntityModelProtocol.swift",
        "Model/Link.swift",
        "Model/MergeStrategy.swift",
        "Model/Metadata.swift",
        "Model/PrettyPrintable.swift",
        "Query/ContextQuery.swift",
        "Query/Nested.swift",
        "Query/Predicate.swift",
        "Query/Query.swift",
        "Query/QueryAllNested.swift",
        "Query/QueryFilter.swift",
        "Query/QueryGroup.swift",
        "Query/QueryList.swift",
        "Query/QueryListFilter.swift",
        "Query/QueryListNested.swift",
        "Query/QueryLogicalFilters.swift",
        "Query/QueryNested.swift",
        "Query/QueryRelated.swift",
        "Query/QuerySchema.swift",
        "Query/QuerySorted.swift",
        "Relationship/DecodingStrategy.swift",
        "Relationship/EncodingStrategy.swift",
        "Relationship/Relation+Codable.swift",
        "Relationship/Relation+Conveniece.swift",
        "Relationship/Relation.swift",
        "Relationship/RelationDelete.swift",
        "Relationship/RelationSave.swift",
        "Relationship/RelationTypes.swift",
        "Relationship/Relationship.swift"
      ],
      "target_dependencies" : [
        "SwiftletModelMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/swiftlang/swift-syntax
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-collections.git
[1/3349] Fetching btree
[403/19940] Fetching btree, swift-collections
[4063/33129] Fetching btree, swift-collections, swift-snapshot-testing
[8324/103670] Fetching btree, swift-collections, swift-snapshot-testing, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (3.23s)
[35299/87079] Fetching btree, swift-snapshot-testing, swift-syntax
Fetched https://github.com/attaswift/BTree from cache (4.39s)
[83730/83730] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.46s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.89s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (11.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.07s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.12s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (1.12s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.54s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.62s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.18s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (2.23s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/attaswift/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/47] Write sources
[25/47] Compiling _SwiftSyntaxCShims dummy.c
[26/47] Write swift-version-24593BA9C3E375BF.txt
[28/82] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/82] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/83] Compiling BTree BTreeComparisons.swift
[31/83] Compiling BTree BTreeCursor.swift
[32/83] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/83] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/86] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[35/86] Compiling BTree BTreeIndex.swift
[36/86] Compiling BTree BTreeIterator.swift
[37/86] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/87] Compiling BTree Map.swift
[39/87] Compiling BTree SortedBag.swift
[40/87] Compiling BTree BTreeMerger.swift
[41/87] Compiling BTree BTreeNode.swift
[42/87] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[46/88] Compiling BTree Compatibility.swift
[47/88] Compiling BTree List.swift
[48/88] Compiling BTree BTree.swift
[49/88] Compiling BTree BTreeBuilder.swift
[50/88] Emitting module InternalCollectionsUtilities
[55/88] Wrapping AST for SwiftSyntax600 for debugging
[57/88] Wrapping AST for SwiftSyntax510 for debugging
[59/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[59/89] Wrapping AST for SwiftSyntax509 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/89] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[65/427] Compiling HeapModule Heap+Invariants.swift
[66/427] Compiling BitCollections BitArray+Descriptions.swift
[67/427] Compiling BitCollections BitArray+Equatable.swift
[68/427] Compiling HeapModule Heap+Descriptions.swift
[69/427] Compiling BitCollections BitArray+Extras.swift
[70/427] Compiling BitCollections BitArray+Fill.swift
[71/429] Compiling BitCollections BitArray+Copy.swift
[72/429] Compiling BitCollections BitArray+CustomReflectable.swift
[73/429] Compiling HeapModule _HeapNode.swift
[74/429] Compiling HeapModule Heap.swift
[75/429] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[76/429] Compiling HeapModule Heap+UnsafeHandle.swift
[77/429] Emitting module HeapModule
[78/430] Compiling BitCollections BitArray+Hashable.swift
[79/430] Compiling BitCollections BitArray+Initializers.swift
[80/430] Compiling DequeModule _DequeSlot.swift
[81/430] Compiling DequeModule _UnsafeWrappedBuffer.swift
[83/430] Compiling BitCollections BitArray+Invariants.swift
[84/430] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[85/430] Compiling BitCollections BitArray+BitwiseOperations.swift
[86/430] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[87/430] Compiling BitCollections BitArray+Codable.swift
[88/430] Compiling BitCollections BitArray+Collection.swift
[89/430] Compiling _RopeModule _RopePath.swift
[90/430] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[91/430] Compiling _RopeModule BigString+Chunk+Breaks.swift
[92/430] Compiling _RopeModule BigString+Chunk+Counts.swift
[93/430] Compiling _RopeModule BigString+Chunk+Description.swift
[94/430] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[95/430] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[96/430] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[97/430] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[98/430] Compiling _RopeModule Rope.swift
[99/430] Compiling _RopeModule RopeElement.swift
[100/430] Compiling _RopeModule RopeMetric.swift
[101/430] Compiling _RopeModule RopeSummary.swift
[102/430] Compiling _RopeModule _RopeItem.swift
[103/437] Compiling _RopeModule Rope+ForEachWhile.swift
[104/437] Compiling _RopeModule Rope+Insert.swift
[105/437] Compiling HashTreeCollections TreeSet+Sequence.swift
[106/437] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[107/437] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[108/437] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[109/437] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[110/437] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[111/437] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[112/437] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[113/447] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[114/447] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[123/454] Compiling _RopeModule BigSubstring.swift
[124/454] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[125/454] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[126/454] Compiling BitCollections BitSet+Equatable.swift
[127/454] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[128/454] Compiling HashTreeCollections TreeDictionary+Merge.swift
[129/454] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[130/454] Compiling _RopeModule BigString+CustomStringConvertible.swift
[131/454] Compiling _RopeModule BigString+Equatable.swift
[132/454] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[133/454] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[134/454] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[135/454] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[136/454] Compiling _RopeModule BigString+Sequence.swift
[143/454] Compiling _RopeModule BigString+TextOutputStream.swift
[144/454] Compiling _RopeModule Rope+_Storage.swift
[145/454] Compiling BitCollections BitArray+RandomBits.swift
[146/454] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[147/454] Compiling BitCollections BitArray+Shifts.swift
[148/454] Compiling BitCollections BitArray+Testing.swift
[149/454] Compiling OrderedCollections OrderedSet+Diffing.swift
[150/454] Compiling OrderedCollections OrderedSet+Equatable.swift
[151/454] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[152/454] Compiling OrderedCollections OrderedSet+Hashable.swift
[161/454] Emitting module BitCollections
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[190/454] Compiling BitCollections BitSet.Index.swift
[191/454] Compiling BitCollections BitSet._UnsafeHandle.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 29 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactEncodingSlice_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultCoding_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntities_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitEncodingSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryFullSchemaFragments_IncludesAllEntities.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedIdsSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactCoding_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsAndFilter_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsAndSort_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedIds_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitCoding_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntitiesAndIds_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultEncodingSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModel_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQuerySchemaOlderRange_IncludesEntitiesUpdatedWithinRange.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultCoding_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactCoding_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultEncodingSlice_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactEncodingSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitEncodingSlice_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntitiesEntitiesAndIds_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelIds_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryFullSchema_IncludesAllEntities.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModels_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelId_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExplicitCoding_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQuerySchemaLatestRange_IncludesEntitiesUpdatedWithinRange.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedFragments_EqualExpectedJSON.1.json
[0/1] Planning build
Building for debugging...
[0/21] Write swift-version-24593BA9C3E375BF.txt
[2/56] Compiling SwiftSyntax600 Empty.swift
[3/56] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[4/57] Compiling SwiftSyntax510 Empty.swift
[5/57] Emitting module SwiftSyntax510
[6/58] Emitting module SwiftSyntax600
[7/59] Compiling SwiftSyntax509 Empty.swift
[8/59] Emitting module SwiftSyntax509
[12/57] Compiling BTree BTree.swift
[13/57] Compiling BTree BTreeBuilder.swift
[14/57] Compiling BTree Compatibility.swift
[15/57] Compiling BTree List.swift
[16/57] Compiling BTree BTreePath.swift
[17/57] Compiling BTree BridgedList.swift
[18/57] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                              `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 |                 s.state += UInt(c)
75 |             }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 |             let c = node.elements.count - slot
72 |             node.elements.withUnsafeBufferPointer { p in
73 |                 s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
   |                                                                            |- error: generic parameter 'Pointee' could not be inferred
   |                                                                            `- note: explicitly specify the generic arguments to fix this issue
74 |                 s.state += UInt(c)
75 |             }
[21/123] Emitting module InternalCollectionsUtilities
[22/123] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[23/123] Compiling SwiftSyntax Assert.swift
[24/123] Compiling SwiftSyntax BumpPtrAllocator.swift
[25/123] Compiling SwiftSyntax CommonAncestor.swift
[26/123] Compiling SwiftSyntax Convenience.swift
[27/123] Compiling SwiftSyntax CustomTraits.swift
[29/200] Compiling _RopeModule BigString+Debugging.swift
[30/200] Compiling _RopeModule BigString+Index.swift
[31/372] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[32/372] Compiling HashTreeCollections _HashNode+Structural filter.swift
[33/398] Compiling HashTreeCollections _Bucket.swift
[34/398] Compiling HashTreeCollections _Hash.swift
[35/400] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[36/400] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[37/400] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[38/400] Compiling HashTreeCollections _HashNode+Storage.swift
[39/400] Compiling HeapModule _HeapNode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/400] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                              `- error: cannot find type 'NSFastEnumerationState' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                                                                                                                       `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[43/400] Compiling HashTreeCollections _AncestorHashSlots.swift
[44/400] Compiling HashTreeCollections _Bitmap.swift
[45/400] Compiling HashTreeCollections _HashNode+Debugging.swift
[46/400] Compiling HashTreeCollections _HashNode+Initializers.swift
[47/400] Compiling HashTreeCollections _HashLevel.swift
[48/400] Compiling HashTreeCollections _HashNode+Builder.swift
[49/400] Compiling HeapModule Heap.swift
[50/400] Compiling HeapModule Heap+Descriptions.swift
[51/400] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[52/400] Compiling HeapModule Heap+Invariants.swift
[53/400] Emitting module HeapModule
BUILD FAILURE 6.1 wasm