Build Information
Failed to build Rester, reference 0.8.1 (2c477e
), with Swift 6.1 for Wasm on 28 May 2025 04:11:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/finestructure/Rester.git
Reference: 0.8.1
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/finestructure/Rester
* tag 0.8.1 -> FETCH_HEAD
HEAD is now at 2c477e6 Merge pull request #100 from finestructure/develop
Cloned https://github.com/finestructure/Rester.git
Revision (git rev-parse @):
2c477e6c6566a952e096a41d6db29f7dfb86ba7b
SUCCESS checkout https://github.com/finestructure/Rester.git at 0.8.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/finestructure/Rester.git
https://github.com/finestructure/Rester.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/crossroadlabs/Regex.git"
},
{
"identity" : "valuecodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/finestructure/ValueCodable"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "commander",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Commander.git"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError.git"
},
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift.git"
},
{
"identity" : "promisekit",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/PromiseKit"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "swift-gen",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-gen.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
},
{
"identity" : "foundation",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PromiseKit/Foundation.git"
}
],
"manifest_display_name" : "Rester",
"name" : "Rester",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "rester",
"targets" : [
"Rester"
],
"type" : {
"executable" : null
}
},
{
"name" : "ResterCore",
"targets" : [
"ResterCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResterTests",
"module_type" : "SwiftTarget",
"name" : "ResterTests",
"path" : "Tests/ResterTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"Dictionary+extTests.swift",
"ExampleTests.swift",
"IssuesTests.swift",
"LaunchTests.swift",
"MatcherTests.swift",
"ParameterTests.swift",
"PathTests.swift",
"RequestLoggingTests.swift",
"RequestTests.swift",
"RequestValidationTests.swift",
"ResponseTests.swift",
"ResterTests.swift",
"RestfileTests.swift",
"StatsTests.swift",
"SubstitutableTests.swift",
"TempDir.swift",
"TestUtils.swift",
"TestUtilsTests.swift",
"UtilsTests.swift",
"ValidationTests.swift",
"ValueTests.swift"
],
"target_dependencies" : [
"ResterCore"
],
"type" : "test"
},
{
"c99name" : "ResterCore",
"module_type" : "SwiftTarget",
"name" : "ResterCore",
"path" : "Sources/ResterCore",
"product_dependencies" : [
"Commander",
"Gen",
"LegibleError",
"Path",
"PMKFoundation",
"PromiseKit",
"Rainbow",
"Regex",
"ValueCodable",
"Yams"
],
"product_memberships" : [
"rester",
"ResterCore"
],
"sources" : [
"App.swift",
"Body.swift",
"Console.swift",
"Extensions/Collection+ext.swift",
"Extensions/Data+ext.swift",
"Extensions/Dictionary+ext.swift",
"Extensions/Double+ext.swift",
"Extensions/KeyedDecodingContainer+ext.swift",
"Extensions/Numeric+ext.swift",
"Extensions/Path+ext.swift",
"Extensions/String+ext.swift",
"Extensions/Value+ext.swift",
"Matcher.swift",
"Method.swift",
"Multipart.swift",
"OrderedDict.swift",
"Parameter.swift",
"Request.swift",
"Response.swift",
"Rester.swift",
"ResterError.swift",
"Restfile.swift",
"Stats.swift",
"StringCodingKeys.swift",
"Substitutable.swift",
"TestResult.swift",
"URLEncoding.swift",
"Utils.swift",
"Validation.swift",
"ValidationResult.swift",
"Version.swift",
"World.swift"
],
"type" : "library"
},
{
"c99name" : "Rester",
"module_type" : "SwiftTarget",
"name" : "Rester",
"path" : "Sources/Rester",
"product_memberships" : [
"rester"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ResterCore"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/mxcl/PromiseKit
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/PromiseKit/Foundation.git
[1/1059] Fetching path.swift
[796/1668] Fetching path.swift, foundation
[1669/2864] Fetching path.swift, foundation, rainbow
[2865/20050] Fetching path.swift, foundation, rainbow, promisekit
[2866/20762] Fetching path.swift, foundation, rainbow, promisekit, swift-gen
Fetched https://github.com/PromiseKit/Foundation.git from cache (0.35s)
Fetching https://github.com/mxcl/LegibleError.git
[5374/20153] Fetching path.swift, rainbow, promisekit, swift-gen
[8468/33335] Fetching path.swift, rainbow, promisekit, swift-gen, swift-snapshot-testing
[8864/33513] Fetching path.swift, rainbow, promisekit, swift-gen, swift-snapshot-testing, legibleerror
Fetched https://github.com/mxcl/LegibleError.git from cache (0.28s)
[12220/33335] Fetching path.swift, rainbow, promisekit, swift-gen, swift-snapshot-testing
Fetching https://github.com/kylef/Commander.git
[22132/34923] Fetching path.swift, rainbow, promisekit, swift-gen, swift-snapshot-testing, commander
Fetched https://github.com/kylef/Commander.git from cache (0.38s)
Fetching https://github.com/jpsim/Yams.git
[24504/33335] Fetching path.swift, rainbow, promisekit, swift-gen, swift-snapshot-testing
[25427/43992] Fetching path.swift, rainbow, promisekit, swift-gen, swift-snapshot-testing, yams
Fetched https://github.com/pointfreeco/swift-gen.git from cache (2.36s)
Fetched https://github.com/onevcat/Rainbow.git from cache (2.37s)
Fetched https://github.com/mxcl/Path.swift.git from cache (2.37s)
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/finestructure/ValueCodable
Fetched https://github.com/mxcl/PromiseKit from cache (2.40s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.45s)
Fetched https://github.com/jpsim/Yams.git from cache (1.51s)
[1/175] Fetching valuecodable
[176/1471] Fetching valuecodable, regex
Fetched https://github.com/finestructure/ValueCodable from cache (0.34s)
[921/1296] Fetching regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.40s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (3.45s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (2.60s)
Computing version for https://github.com/PromiseKit/Foundation.git
Computed https://github.com/PromiseKit/Foundation.git at 3.4.0 (0.83s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.76s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.79s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.84s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.64s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.35s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.80s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.83s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.22.1 (0.64s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.62s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75029] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.47s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.53s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.23s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.81s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (5.21s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.64s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.68s)
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0
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/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
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 https://github.com/PromiseKit/Foundation.git
Working copy of https://github.com/PromiseKit/Foundation.git resolved at 3.4.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.22.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Building for debugging...
[0/33] Write sources
[12/33] Compiling writer.c
[13/33] Compiling reader.c
[14/33] Compiling parser.c
[15/33] Compiling api.c
[16/33] Write swift-version-24593BA9C3E375BF.txt
[17/33] Compiling emitter.c
[18/87] Compiling scanner.c
[20/98] Emitting module ValueCodable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/98] Emitting module Path
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/99] Emitting module PromiseKit
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[23/101] Compiling Gen Zip.swift
[24/101] Compiling Rainbow String+Rainbow.swift
[25/102] Compiling Rainbow StringGenerator.swift
[26/102] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[27/102] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[28/102] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[29/103] Emitting module Rainbow
[30/103] Compiling Commander ArgumentConvertible.swift
[31/103] Compiling Commander ArgumentDescription.swift
[32/103] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/103] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[36/103] Compiling Gen UIKit.swift
[37/103] Compiling Gen LCRNG.swift
[38/103] Compiling Gen Xoshiro.swift
[39/103] Compiling Gen AnyRandomNumberGenerator.swift
[40/103] Emitting module Gen
[41/103] Compiling Gen Gen.swift
[43/104] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[44/104] Compiling Rainbow XcodeColorsSupport.swift
[45/104] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[46/104] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[47/119] Emitting module Yams
[48/121] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
4 | import CRT
5 | #else
6 | import Darwin
| `- error: no such module 'Darwin'
7 | #endif
8 |
[49/121] Emitting module LegibleError
[50/121] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 | let foo: Any = self
62 | let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 | let selfClassName = String(cString: object_getClassName(self))
| `- error: cannot find 'object_getClassName' in scope
64 | let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 | // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[51/121] Compiling Rainbow Rainbow.swift
[52/121] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[53/121] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[54/121] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[55/121] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[56/121] Compiling Regex MatchSequence.swift
[57/121] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[58/121] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[59/121] Compiling Path Path.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[60/121] Compiling Regex GroupRangeUtils.swift
[61/121] Emitting module Regex
[64/121] Compiling ValueCodable Value.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
[0/15] Write swift-version-24593BA9C3E375BF.txt
[2/72] Compiling Gen AnyRandomNumberGenerator.swift
[3/82] Compiling Gen Zip.swift
[4/86] Compiling Path Path->Bool.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[5/87] Compiling Path Path+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[6/87] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[7/87] Compiling Path Path+StringConvertibles.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[8/87] Compiling Path Path+ls.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[9/87] Compiling Regex String+Regex.swift
[10/88] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/88] Emitting module Path
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[12/88] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[13/88] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path->Bool.swift:5:8: error: no such module 'Darwin'
3 | import func Glibc.access
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[14/88] Compiling Rainbow StringGenerator.swift
[15/88] Compiling Rainbow Style.swift
[16/89] Compiling Regex MatchSequence.swift
[17/89] Emitting module LegibleError
[18/89] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 | let foo: Any = self
62 | let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 | let selfClassName = String(cString: object_getClassName(self))
| `- error: cannot find 'object_getClassName' in scope
64 | let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 | // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[19/89] Compiling ValueCodable Utils.swift
[20/89] Compiling ValueCodable Value.swift
[21/89] Compiling Rainbow Rainbow.swift
BUILD FAILURE 6.1 wasm