Build Information
Failed to build swift-utilities, reference main (79aa88
), with Swift 6.1 for Wasm on 5 Jun 2025 01:09:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/danthorpe/swift-utilities.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/danthorpe/swift-utilities
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79aa888 bot: bump github.com/pointfreeco/xctest-dynamic-overlay from 1.5.1 to 1.5.2 (#63)
Cloned https://github.com/danthorpe/swift-utilities.git
Revision (git rev-parse @):
79aa8887a2549c0dfea61952c2b69a0438c38279
SUCCESS checkout https://github.com/danthorpe/swift-utilities.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/danthorpe/swift-utilities.git
https://github.com/danthorpe/swift-utilities.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-concurrency-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-concurrency-extras"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "http://github.com/pointfreeco/xctest-dynamic-overlay"
}
],
"manifest_display_name" : "swift-utilities",
"name" : "swift-utilities",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AssertionExtras",
"targets" : [
"AssertionExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Extensions",
"targets" : [
"Extensions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FileManagerClient",
"targets" : [
"FileManagerClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Protected",
"targets" : [
"Protected"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Reachability",
"targets" : [
"Reachability"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ShortID",
"targets" : [
"ShortID"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShortIDTests",
"module_type" : "SwiftTarget",
"name" : "ShortIDTests",
"path" : "Tests/ShortIDTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"ShortIDTests.swift"
],
"target_dependencies" : [
"ShortID"
],
"type" : "test"
},
{
"c99name" : "ShortID",
"module_type" : "SwiftTarget",
"name" : "ShortID",
"path" : "Sources/ShortID",
"product_dependencies" : [
"Dependencies"
],
"product_memberships" : [
"ShortID"
],
"sources" : [
"ShortID+Dependencies.swift",
"ShortID.swift"
],
"target_dependencies" : [
"Protected"
],
"type" : "library"
},
{
"c99name" : "Reachability",
"module_type" : "SwiftTarget",
"name" : "Reachability",
"path" : "Sources/Reachability",
"product_dependencies" : [
"AsyncAlgorithms",
"Dependencies",
"IssueReporting"
],
"product_memberships" : [
"Reachability"
],
"sources" : [
"Reachability+LiveKey.swift",
"Reachability+TestKey.swift",
"Reachability.swift"
],
"type" : "library"
},
{
"c99name" : "ProtectedTests",
"module_type" : "SwiftTarget",
"name" : "ProtectedTests",
"path" : "Tests/ProtectedTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"ProtectedTests.swift"
],
"target_dependencies" : [
"Protected"
],
"type" : "test"
},
{
"c99name" : "Protected",
"module_type" : "SwiftTarget",
"name" : "Protected",
"path" : "Sources/Protected",
"product_memberships" : [
"Protected",
"ShortID"
],
"sources" : [
"Protected.swift"
],
"type" : "library"
},
{
"c99name" : "FileManagerClient",
"module_type" : "SwiftTarget",
"name" : "FileManagerClient",
"path" : "Sources/FileManagerClient",
"product_dependencies" : [
"Dependencies",
"DependenciesMacros",
"IssueReporting"
],
"product_memberships" : [
"FileManagerClient"
],
"sources" : [
"FileManagerClient.swift"
],
"type" : "library"
},
{
"c99name" : "ExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "ExtensionsTests",
"path" : "Tests/ExtensionsTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"DateGenerator+Tests.swift"
],
"target_dependencies" : [
"Extensions"
],
"type" : "test"
},
{
"c99name" : "Extensions",
"module_type" : "SwiftTarget",
"name" : "Extensions",
"path" : "Sources/Extensions",
"product_dependencies" : [
"Dependencies"
],
"product_memberships" : [
"AssertionExtras",
"Extensions"
],
"sources" : [
"Calendar+.swift",
"DateGenerator+.swift",
"Task+.swift"
],
"type" : "library"
},
{
"c99name" : "AssertionExtras",
"module_type" : "SwiftTarget",
"name" : "AssertionExtras",
"path" : "Sources/AssertionExtras",
"product_dependencies" : [
"CustomDump",
"IssueReporting",
"IssueReportingTestSupport"
],
"product_memberships" : [
"AssertionExtras"
],
"sources" : [
"XCTAssertNoThrows.swift",
"XCTAssertThrowsError.swift"
],
"target_dependencies" : [
"Extensions"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching http://github.com/pointfreeco/xctest-dynamic-overlay
[1/852] Fetching swift-concurrency-extras
[853/5433] Fetching swift-concurrency-extras, swift-custom-dump
[1724/7501] Fetching swift-concurrency-extras, swift-custom-dump, swift-docc-plugin
[4884/24092] Fetching swift-concurrency-extras, swift-custom-dump, swift-docc-plugin, swift-collections
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.37s)
[3133/19511] Fetching swift-concurrency-extras, swift-docc-plugin, swift-collections
Fetching https://github.com/apple/swift-argument-parser
[7069/24969] Fetching swift-concurrency-extras, swift-docc-plugin, swift-collections, xctest-dynamic-overlay
[7124/31218] Fetching swift-concurrency-extras, swift-docc-plugin, swift-collections, xctest-dynamic-overlay, swift-dependencies
Fetched http://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.80s)
[21447/25760] Fetching swift-concurrency-extras, swift-docc-plugin, swift-collections, swift-dependencies
Fetching https://github.com/apple/swift-async-algorithms
[21614/41140] Fetching swift-concurrency-extras, swift-docc-plugin, swift-collections, swift-dependencies, swift-argument-parser
[38988/46125] Fetching swift-concurrency-extras, swift-docc-plugin, swift-collections, swift-dependencies, swift-argument-parser, swift-async-algorithms
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.10s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.10s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.10s)
Fetched https://github.com/apple/swift-collections from cache (1.13s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.35s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.67s)
Computing version for http://github.com/pointfreeco/xctest-dynamic-overlay
Computed http://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.42s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.55s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (0.47s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/2410] Fetching combine-schedulers
[1737/3702] Fetching combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.32s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.32s)
[1/70766] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.97s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (5.43s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.42s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.86s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (3.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.46s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.72s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for http://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of http://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
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-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
warning: 'spi-builder-workspace': dependency 'swift-collections' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-concurrency-extras' is not used by any target
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/61] Write sources
[38/61] Compiling _SwiftSyntaxCShims dummy.c
[39/61] Write swift-version-24593BA9C3E375BF.txt
[41/107] Emitting module SwiftSyntax510
[42/107] Emitting module SwiftSyntax509
[43/107] Emitting module IssueReportingTestSupport
[44/107] Compiling SwiftSyntax509 Empty.swift
[45/108] Emitting module SwiftSyntax600
[46/108] Compiling SwiftSyntax600 Empty.swift
[47/109] Emitting module SwiftSyntax601
[48/109] Compiling SwiftSyntax601 Empty.swift
[50/110] Compiling SwiftSyntax510 Empty.swift
[53/121] Wrapping AST for SwiftSyntax509 for debugging
[54/122] Wrapping AST for SwiftSyntax600 for debugging
[55/122] Wrapping AST for SwiftSyntax601 for debugging
[56/122] Wrapping AST for SwiftSyntax510 for debugging
[58/122] Compiling ConcurrencyExtras MainSerialExecutor.swift
[59/122] Compiling IssueReporting XCTest.swift
[60/122] Compiling IssueReporting IsTesting.swift
[61/122] Compiling IssueReporting IssueReporter.swift
[62/125] Compiling IssueReporting TestContext.swift
[63/125] Compiling IssueReporting Unimplemented.swift
[66/125] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[67/126] Compiling IssueReporting Deprecations.swift
[69/126] Emitting module InternalCollectionsUtilities
[70/126] Compiling ConcurrencyExtras ActorIsolated.swift
[71/126] Compiling ConcurrencyExtras AnyHashableSendable.swift
[72/126] Compiling IssueReporting ErrorReporting.swift
[73/126] Compiling IssueReporting AppHostWarning.swift
[74/151] Compiling SwiftSyntax BumpPtrAllocator.swift
[75/151] Compiling SwiftSyntax CommonAncestor.swift
[76/151] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[77/151] Compiling SwiftSyntax Assert.swift
[78/190] Compiling SwiftSyntax AbsolutePosition.swift
[79/190] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[80/190] Emitting module ConcurrencyExtras
[81/190] Compiling ConcurrencyExtras UncheckedSendable.swift
[82/190] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[84/252] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[85/252] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[86/261] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[87/261] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[88/263] Compiling OrderedCollections _HashTable+Constants.swift
[89/263] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[90/263] Compiling OrderedCollections _HashTable+Bucket.swift
[91/263] Compiling OrderedCollections _HashTable+BucketIterator.swift
[92/263] Compiling OrderedCollections _HashTable.swift
[93/263] Compiling OrderedCollections _Hashtable+Header.swift
[94/263] Compiling DequeModule _DequeSlot.swift
[95/263] Compiling DequeModule _UnsafeWrappedBuffer.swift
[96/263] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[97/263] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[98/263] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[99/263] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[100/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[101/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[102/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[103/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[104/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[105/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[106/263] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[107/270] Compiling ConcurrencyExtras Result.swift
[108/270] Compiling ConcurrencyExtras Task.swift
[109/270] Compiling OrderedCollections OrderedDictionary+Codable.swift
[110/270] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[113/270] Compiling OrderedCollections _HashTable+Testing.swift
[114/270] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[115/270] Compiling ConcurrencyExtras LockIsolated.swift
[116/270] Compiling IssueReportingTestSupport SwiftTesting.swift
[117/270] Compiling IssueReportingTestSupport XCTest.swift
[120/272] Emitting module Protected
[121/272] Compiling Protected Protected.swift
/host/spi-builder-workspace/Sources/Protected/Protected.swift:68:5: error: cannot find 'pthread_mutexattr_init' in scope
66 | init() {
67 | var attr: pthread_mutexattr_t = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
/host/spi-builder-workspace/Sources/Protected/Protected.swift:70:5: error: cannot find 'pthread_mutexattr_settype' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
71 | #endif
72 |
/host/spi-builder-workspace/Sources/Protected/Protected.swift:70:44: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
71 | #endif
72 |
/host/spi-builder-workspace/Sources/Protected/Protected.swift:73:15: error: cannot find 'pthread_mutex_init' in scope
71 | #endif
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | }
/host/spi-builder-workspace/Sources/Protected/Protected.swift:78:15: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 | deinit {
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | mutex.deallocate()
/host/spi-builder-workspace/Sources/Protected/Protected.swift:84:15: error: cannot find 'pthread_mutex_lock' in scope
82 |
83 | fileprivate func lock() {
84 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
85 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/Protected/Protected.swift:89:15: error: cannot find 'pthread_mutex_unlock' in scope
87 |
88 | fileprivate func unlock() {
89 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
90 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
91 | }
[122/272] Emitting module IssueReporting
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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': dependency 'swift-collections' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-concurrency-extras' is not used by any target
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/25] Write swift-version-24593BA9C3E375BF.txt
[5/59] Emitting module SwiftSyntax601
[6/62] Compiling SwiftSyntax600 Empty.swift
[7/65] Compiling SwiftSyntax601 Empty.swift
[8/72] Emitting module SwiftSyntax600
[9/73] Emitting module SwiftSyntax510
[10/73] Compiling SwiftSyntax510 Empty.swift
[11/74] Compiling SwiftSyntax509 Empty.swift
[12/74] Emitting module SwiftSyntax509
[14/74] Compiling IssueReportingTestSupport XCTest.swift
[16/73] Emitting module Protected
[17/73] Compiling Protected Protected.swift
/host/spi-builder-workspace/Sources/Protected/Protected.swift:68:5: error: cannot find 'pthread_mutexattr_init' in scope
66 | init() {
67 | var attr: pthread_mutexattr_t = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
/host/spi-builder-workspace/Sources/Protected/Protected.swift:70:5: error: cannot find 'pthread_mutexattr_settype' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
71 | #endif
72 |
/host/spi-builder-workspace/Sources/Protected/Protected.swift:70:44: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
71 | #endif
72 |
/host/spi-builder-workspace/Sources/Protected/Protected.swift:73:15: error: cannot find 'pthread_mutex_init' in scope
71 | #endif
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | }
/host/spi-builder-workspace/Sources/Protected/Protected.swift:78:15: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 | deinit {
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | mutex.deallocate()
/host/spi-builder-workspace/Sources/Protected/Protected.swift:84:15: error: cannot find 'pthread_mutex_lock' in scope
82 |
83 | fileprivate func lock() {
84 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
85 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/Protected/Protected.swift:89:15: error: cannot find 'pthread_mutex_unlock' in scope
87 |
88 | fileprivate func unlock() {
89 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
90 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
91 | }
[19/72] Emitting module IssueReportingTestSupport
BUILD FAILURE 6.1 wasm