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 5.9 for Linux on 30 Apr 2025 19:00:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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:             5.9
Building package at path:  $PWD
https://github.com/KazaiMazai/SwiftletModel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
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/16508] Fetching btree, swift-snapshot-testing
[5456/86799] Fetching btree, swift-snapshot-testing, swift-syntax
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.94s)
[60988/73640] Fetching btree, swift-syntax
[73641/89909] Fetching btree, swift-syntax, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.64s)
Fetched https://github.com/attaswift/BTree (5.89s)
Fetched https://github.com/swiftlang/swift-syntax (5.95s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (1.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.48s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.60s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.45s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.42s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (1.06s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.42s)
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/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/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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryFullSchemaFragments_IncludesAllEntities.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_WhenExplicitCoding_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedIdsSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModels_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultEncodingSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultCoding_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_WhenExactEncodingSlice_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedEntitiesEntitiesAndIds_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/AllNestedModelsQueryTest/test_WhenQueryWithNestedFragments_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultCoding_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsAndFilter_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__/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_WhenQueryFullSchema_IncludesAllEntities.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModel_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenExactCoding_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_WhenExactEncodingSlice_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/CodableTests/__Snapshots__/RelationsEncodingDecodingTests/test_WhenDefaultEncodingSlice_EqualExpectedJSON.2.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelIds_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelId_EqualExpectedJSON.1.json
    /host/spi-builder-workspace/Tests/SwiftletModelTests/QueriesTests/__Snapshots__/NestedModelsQueryTest/test_WhenQueryWithNestedModelsAndSort_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_WhenQuerySchemaOlderRange_IncludesEntitiesUpdatedWithinRange.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_WhenQuerySchemaLatestRange_IncludesEntitiesUpdatedWithinRange.1.json
Building for debugging...
[0/19] Compiling _SwiftSyntaxCShims dummy.c
[2/57] Emitting module SwiftSyntax509
[3/57] Emitting module InternalCollectionsUtilities
[4/59] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/59] Compiling InternalCollectionsUtilities Specialize.swift
[6/59] Compiling SwiftSyntax509 Empty.swift
[7/60] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[8/60] Compiling InternalCollectionsUtilities _SortedCollection.swift
[11/62] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/62] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/62] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/63] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[17/63] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[18/63] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/63] Compiling InternalCollectionsUtilities Integer rank.swift
[20/63] Emitting module SwiftSyntax600
[21/63] Compiling SwiftSyntax600 Empty.swift
[23/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/64] Compiling BTree SortedSet.swift
[25/64] Compiling BTree Weak.swift
[28/65] Compiling SwiftSyntax510 Empty.swift
[29/65] Emitting module SwiftSyntax510
[30/65] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[35/66] Compiling InternalCollectionsUtilities UInt+reversed.swift
[36/66] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/69] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
[45/69] Wrapping AST for SwiftSyntax510 for debugging
[45/69] Wrapping AST for SwiftSyntax509 for debugging
[47/69] Wrapping AST for SwiftSyntax600 for debugging
[49/407] Compiling _RopeModule BigString+Debugging.swift
[50/407] Compiling _RopeModule BigString+Index.swift
[51/407] Compiling _RopeModule BigString+Ingester.swift
[52/407] Compiling _RopeModule BigString+Invariants.swift
[53/409] Compiling _RopeModule BigString+Summary.swift
[54/409] Compiling _RopeModule BigString.swift
[55/409] Compiling DequeModule _DequeSlot.swift
[56/409] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/409] Compiling HeapModule Heap.swift
[60/409] Compiling HeapModule _HeapNode.swift
[61/409] Compiling HeapModule Heap+Invariants.swift
[62/409] Compiling HeapModule Heap+Descriptions.swift
[63/409] Compiling HeapModule Heap+UnsafeHandle.swift
[64/409] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[65/409] Compiling _RopeModule BigString+Iterators.swift
[66/409] Compiling _RopeModule BigString+Metrics.swift
[67/409] Emitting module HeapModule
[69/411] Compiling _RopeModule BigString+UnicodeScalarView.swift
[70/411] Compiling _RopeModule BigSubstring+UTF16View.swift
[71/411] Compiling _RopeModule BigSubstring+UTF8View.swift
[72/411] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[73/411] Compiling _RopeModule BigSubstring.swift
[74/411] Compiling _RopeModule Rope+Builder.swift
[75/411] Compiling _RopeModule Rope+Debugging.swift
[76/411] Compiling _RopeModule Rope+Invariants.swift
[77/411] Compiling _RopeModule Rope+_Node.swift
[78/411] Compiling _RopeModule Rope+_Storage.swift
[79/411] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[80/411] Compiling _RopeModule Rope+_UnsafeHandle.swift
[81/411] Compiling _RopeModule Rope.swift
[82/411] Compiling _RopeModule RopeElement.swift
[83/411] Compiling _RopeModule RopeSummary.swift
[84/411] Compiling _RopeModule _RopeItem.swift
[85/411] Compiling _RopeModule _RopePath.swift
[86/411] Compiling _RopeModule _RopeVersion.swift
[87/411] Compiling _RopeModule Rope+Collection.swift
[88/411] Compiling _RopeModule Rope+Index.swift
[89/411] Compiling _RopeModule Rope+Sequence.swift
[90/411] Compiling _RopeModule Rope+Append.swift
[91/411] Compiling _RopeModule Rope+Extract.swift
[92/411] Compiling _RopeModule Rope+Find.swift
[94/428] Compiling _RopeModule BigString+CustomStringConvertible.swift
[95/428] Compiling _RopeModule BigString+Equatable.swift
[96/428] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[97/428] Compiling _RopeModule BigString+Hashing.swift
[98/428] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[99/428] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[100/428] Compiling _RopeModule BigString+Sequence.swift
[101/428] Compiling _RopeModule BigString+TextOutputStream.swift
[104/428] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[105/428] Compiling _RopeModule BigString+Chunk+Breaks.swift
[106/428] Compiling _RopeModule BigString+Chunk+Counts.swift
[107/428] Compiling _RopeModule BigString+Chunk+Description.swift
[110/428] Compiling _RopeModule BigString+Managing Breaks.swift
[111/428] Compiling _RopeModule BigString+RemoveSubrange.swift
[112/428] Compiling _RopeModule BigString+ReplaceSubrange.swift
[113/428] Compiling _RopeModule BigString+Split.swift
[114/428] Compiling _RopeModule Range+BigString.swift
[115/428] Compiling _RopeModule BigString+UTF16View.swift
[116/428] Compiling _RopeModule BigString+UTF8View.swift
[117/435] Emitting module BitCollections
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
error: fatalError
[157/435] Compiling _RopeModule BigString+Comparable.swift
[158/435] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
BUILD FAILURE 5.9 linux