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

Failed to build SwiftletModel, reference main (1aa89f), with Swift 6.0 for Linux on 30 Apr 2025 19:24:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KazaiMazai/SwiftletModel.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/KazaiMazai/SwiftletModel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1aa89f5 Update README.md (#96)
Cloned https://github.com/KazaiMazai/SwiftletModel.git
Revision (git rev-parse @):
1aa89f5786163ccb49d9635734c2e8164e51aa28
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/KazaiMazai/SwiftletModel.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/KazaiMazai/SwiftletModel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/3349] Fetching btree
[3350/19618] Fetching btree, swift-collections
[4327/32777] Fetching btree, swift-collections, swift-snapshot-testing
[12282/103068] Fetching btree, swift-collections, swift-snapshot-testing, swift-syntax
Fetched https://github.com/attaswift/BTree from cache (4.77s)
Fetched https://github.com/apple/swift-collections.git from cache (4.80s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.83s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.83s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (2.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.86s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.63s)
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.32s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.60s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.76s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.58s)
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/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/attaswift/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
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.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Building for debugging...
[0/47] Write sources
[25/47] Compiling _SwiftSyntaxCShims dummy.c
[26/47] Write swift-version-24593BA9C3E375BF.txt
[28/85] Emitting module InternalCollectionsUtilities
[29/87] Emitting module SwiftSyntax600
[30/87] Compiling SwiftSyntax600 Empty.swift
[32/88] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/88] Compiling BTree BTreeIterator.swift
[35/88] Compiling BTree Map.swift
[36/88] Compiling BTree SortedBag.swift
[37/88] Emitting module SwiftSyntax509
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/88] Compiling BTree BTreeComparisons.swift
[39/88] Compiling BTree BTreeCursor.swift
[40/88] Compiling SwiftSyntax509 Empty.swift
[41/88] 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)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
58 |         precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 |         precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[42/88] Compiling BTree BTree.swift
[43/88] Compiling BTree BTreeBuilder.swift
[44/91] Emitting module SwiftSyntax510
[45/91] Compiling SwiftSyntax510 Empty.swift
[48/91] Compiling BTree Compatibility.swift
[49/91] Compiling BTree List.swift
[50/91] Compiling BTree BTreeMerger.swift
[51/91] Compiling BTree BridgedList.swift
[52/91] Compiling BTree BTreeIndex.swift
[53/91] Compiling BTree SortedSet.swift
[54/91] Compiling BTree Weak.swift
[55/91] Compiling BTree BTreeNode.swift
[56/91] Compiling BTree BTreePath.swift
[63/93] Wrapping AST for SwiftSyntax600 for debugging
[66/93] Wrapping AST for SwiftSyntax510 for debugging
[67/93] Wrapping AST for SwiftSyntax509 for debugging
[69/425] Compiling HashTreeCollections _Hash.swift
[70/425] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[71/431] Compiling DequeModule Deque+CustomReflectable.swift
[72/431] Compiling DequeModule Deque+Descriptions.swift
[73/431] Emitting module HeapModule
[74/433] Compiling HeapModule Heap.swift
[75/433] Compiling HeapModule _HeapNode.swift
[76/433] Compiling DequeModule _DequeBuffer.swift
[77/433] Compiling DequeModule _DequeBufferHeader.swift
[78/433] Compiling HeapModule Heap+Invariants.swift
[79/433] Compiling HeapModule Heap+Descriptions.swift
[80/433] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[81/433] Compiling HeapModule Heap+UnsafeHandle.swift
[83/434] Compiling DequeModule Deque+Equatable.swift
[84/434] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/434] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[86/434] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[87/434] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[88/434] Compiling HashTreeCollections _HashNode+Structural merge.swift
[89/434] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[90/434] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[91/434] Compiling HashTreeCollections TreeDictionary+Filter.swift
[92/441] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[93/441] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[94/441] Compiling HashTreeCollections TreeDictionary+Keys.swift
[95/441] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[96/441] Compiling HashTreeCollections TreeDictionary+Merge.swift
[97/441] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[98/441] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[99/441] Compiling DequeModule Deque+Extras.swift
[100/441] Compiling DequeModule Deque+Hashable.swift
[101/441] Emitting module BitCollections
[102/448] Compiling HashTreeCollections TreeSet+Hashable.swift
[103/448] Compiling HashTreeCollections TreeSet+Sendable.swift
[104/448] Compiling HashTreeCollections TreeSet+Sequence.swift
[105/448] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[106/448] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[107/448] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[108/448] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[109/448] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[110/448] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[111/448] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[112/458] Compiling DequeModule Deque+Codable.swift
[113/458] Compiling DequeModule Deque+Collection.swift
[119/458] Compiling DequeModule _DequeSlot.swift
[120/458] Compiling DequeModule _UnsafeWrappedBuffer.swift
[121/458] Compiling BitCollections Range+Utilities.swift
[122/458] Compiling BitCollections Slice+Utilities.swift
[123/458] Compiling BitCollections UInt+Tricks.swift
[124/458] Compiling BitCollections _Word.swift
[125/458] Compiling OrderedCollections OrderedSet.swift
[126/458] Compiling OrderedCollections _UnsafeBitset.swift
[127/458] Compiling HashTreeCollections TreeSet+Equatable.swift
[128/458] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[129/458] Compiling HashTreeCollections TreeSet+Extras.swift
[130/458] Compiling HashTreeCollections TreeSet+Filter.swift
[132/458] Compiling HashTreeCollections _HashNode+Builder.swift
[133/458] Compiling HashTreeCollections _HashNode+Debugging.swift
[134/458] Compiling HashTreeCollections _HashNode+Initializers.swift
[135/458] Compiling HashTreeCollections _HashNode+Invariants.swift
[136/458] Compiling HashTreeCollections _HashNode+Lookups.swift
[137/458] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[138/458] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[139/458] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[140/458] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[141/458] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[142/458] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[143/458] Compiling HashTreeCollections _HashNode+Storage.swift
[144/458] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[156/458] Compiling BitCollections BitSet.Index.swift
[157/458] Compiling BitCollections BitSet._UnsafeHandle.swift
[158/458] Compiling BitCollections BitSet.swift
[162/467] Compiling DequeModule Deque+Testing.swift
[163/467] Compiling DequeModule Deque._Storage.swift
[164/467] Compiling DequeModule Deque._UnsafeHandle.swift
[165/467] Compiling DequeModule Deque.swift
[177/467] Compiling HashTreeCollections _HashNode+Structural filter.swift
[178/467] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[179/467] Compiling HashTreeCollections _HashNode+Structural isDisjoint.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:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
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:57:26: error: method does not override any method from its superclass
55 |     }
56 |
57 |     public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
   |                          `- error: method does not override any method from its superclass
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 |             }
[200/467] Compiling HashTreeCollections _HashTreeIterator.swift
[201/467] Compiling HashTreeCollections _HashTreeStatistics.swift
[202/467] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[203/467] Compiling HashTreeCollections _RawHashNode.swift
[204/467] Compiling HashTreeCollections _UnmanagedHashNode.swift
[205/467] Compiling HashTreeCollections _UnsafePath.swift
[206/467] Compiling HashTreeCollections TreeDictionary+Codable.swift
[207/467] Compiling HashTreeCollections TreeDictionary+Collection.swift
BUILD FAILURE 6.0 linux