Build Information
Failed to build SlackKit, reference 4.8.0 (3823ae
), with Swift 6.1 for Wasm on 28 May 2025 11:20:48 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/pvzig/SlackKit.git
Reference: 4.8.0
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/pvzig/SlackKit
* tag 4.8.0 -> FETCH_HEAD
HEAD is now at 3823aee Revert oauth endpoint change and query params fix (#207)
Cloned https://github.com/pvzig/SlackKit.git
Revision (git rev-parse @):
3823aee4cfd05d618d2aaf334681b9bc4db89a63
SUCCESS checkout https://github.com/pvzig/SlackKit.git at 4.8.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pvzig/SlackKit.git
https://github.com/pvzig/SlackKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swifter",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/httpswift/swifter.git"
},
{
"identity" : "websocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket"
},
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.4",
"upper_bound" : "4.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream"
}
],
"manifest_display_name" : "SlackKit",
"name" : "SlackKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SlackKit",
"targets" : [
"SlackKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKClient",
"targets" : [
"SKClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKCore",
"targets" : [
"SKCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKRTMAPI",
"targets" : [
"SKRTMAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKServer",
"targets" : [
"SKServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKWebAPI",
"targets" : [
"SKWebAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SlackKitTests",
"module_type" : "SwiftTarget",
"name" : "SlackKitTests",
"path" : "SlackKitTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/SlackKitTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SKClient/SKClientTests.swift",
"SKCore/SKCoreTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SlackKit",
"SKCore",
"SKClient",
"SKRTMAPI",
"SKServer"
],
"type" : "test"
},
{
"c99name" : "SlackKit",
"module_type" : "SwiftTarget",
"name" : "SlackKit",
"path" : "SlackKit/Sources",
"product_memberships" : [
"SlackKit"
],
"sources" : [
"ClientConnection.swift",
"SlackKit.swift"
],
"target_dependencies" : [
"SKCore",
"SKClient",
"SKRTMAPI",
"SKServer"
],
"type" : "library"
},
{
"c99name" : "SKWebAPI",
"module_type" : "SwiftTarget",
"name" : "SKWebAPI",
"path" : "SKWebAPI/Sources",
"product_memberships" : [
"SlackKit",
"SKRTMAPI",
"SKServer",
"SKWebAPI"
],
"sources" : [
"Endpoint.swift",
"NetworkInterface.swift",
"WebAPI.swift"
],
"target_dependencies" : [
"SKCore"
],
"type" : "library"
},
{
"c99name" : "SKServer",
"module_type" : "SwiftTarget",
"name" : "SKServer",
"path" : "SKServer/Sources",
"product_dependencies" : [
"Swifter"
],
"product_memberships" : [
"SlackKit",
"SKServer"
],
"sources" : [
"Conformers/SwifterServer.swift",
"Middleware/MessageActionMiddleware.swift",
"Middleware/OAuthMiddleware.swift",
"Middleware/RedirectMiddleware.swift",
"Middleware/ResponseMiddleware.swift",
"Model/AuthorizeResponse.swift",
"Model/IncomingWebhook.swift",
"Model/MessageActionRequest.swift",
"Model/MessageActionRoute.swift",
"Model/OAuthResponse.swift",
"Model/RequestRoute.swift",
"Model/SKResponse.swift",
"Model/WebhookRequest.swift",
"SKServer.swift",
"SlackKitResponder.swift",
"Titan/Titan/Titan.swift",
"Titan/Titan404/Titan404.swift",
"Titan/TitanCORS/TitanCORS.swift",
"Titan/TitanCore/TitanCore.swift",
"Titan/TitanCore/TitanError.swift",
"Titan/TitanCore/TitanHeader.swift",
"Titan/TitanCore/TitanLogs.swift",
"Titan/TitanCore/TitanMethod.swift",
"Titan/TitanCore/TitanRequest.swift",
"Titan/TitanCore/TitanResponse.swift",
"Titan/TitanErrorHandling/TitanErrorHandling.swift",
"Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift",
"Titan/TitanHealthz/TitanHealthz.swift",
"Titan/TitanJSON/TitanJSONRequestBody.swift",
"Titan/TitanJSON/TitanJSONResponseBody.swift",
"Titan/TitanQueryString/TitanQueryString.swift",
"Titan/TitanRouter/InitializerOverloads.swift",
"Titan/TitanRouter/PathParameterSupport.swift",
"Titan/TitanRouter/TitanParameterizedRoutes.swift",
"Titan/TitanRouter/TitanRoutesByMethod.swift",
"Titan/TitanRouter/TitanRoutingExtension.swift"
],
"target_dependencies" : [
"SKCore",
"SKWebAPI"
],
"type" : "library"
},
{
"c99name" : "SKRTMAPI",
"module_type" : "SwiftTarget",
"name" : "SKRTMAPI",
"path" : "SKRTMAPI/Sources",
"product_dependencies" : [
"Starscream",
"WebSocket"
],
"product_memberships" : [
"SlackKit",
"SKRTMAPI"
],
"sources" : [
"Conformers/StarscreamRTM.swift",
"Conformers/VaporEngineRTM.swift",
"SKRTMAPI.swift"
],
"target_dependencies" : [
"SKCore",
"SKWebAPI"
],
"type" : "library"
},
{
"c99name" : "SKCore",
"module_type" : "SwiftTarget",
"name" : "SKCore",
"path" : "SKCore/Sources",
"product_memberships" : [
"SlackKit",
"SKClient",
"SKCore",
"SKRTMAPI",
"SKServer",
"SKWebAPI"
],
"sources" : [
"Action.swift",
"Attachment.swift",
"AttachmentField.swift",
"BlockComposition.swift",
"BlockElement.swift",
"BlockLayout.swift",
"Bot.swift",
"Channel.swift",
"Comment.swift",
"CustomProfile.swift",
"CustomProfileField.swift",
"DoNotDisturbStatus.swift",
"Edited.swift",
"Event.swift",
"Extensions.swift",
"File.swift",
"History.swift",
"Item.swift",
"Message.swift",
"OAuthConfig.swift",
"RTMOptions.swift",
"Reaction.swift",
"Reply.swift",
"Scope.swift",
"SlackError.swift",
"Team.swift",
"TeamIcon.swift",
"Topic.swift",
"User.swift",
"UserGroup.swift"
],
"type" : "library"
},
{
"c99name" : "SKClient",
"module_type" : "SwiftTarget",
"name" : "SKClient",
"path" : "SKClient/Sources",
"product_memberships" : [
"SlackKit",
"SKClient"
],
"sources" : [
"Client.swift"
],
"target_dependencies" : [
"SKCore"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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 -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/daltoniam/Starscream
Fetching https://github.com/vapor/websocket
Fetching https://github.com/httpswift/swifter.git
[1/5033] Fetching starscream
[203/7642] Fetching starscream, websocket
[280/13692] Fetching starscream, websocket, swifter
Fetched https://github.com/vapor/websocket from cache (0.78s)
Fetched https://github.com/daltoniam/Starscream from cache (0.79s)
Fetched https://github.com/httpswift/swifter.git from cache (0.80s)
Computing version for https://github.com/vapor/websocket
Computed https://github.com/vapor/websocket at 1.1.2 (3.56s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/2786] Fetching crypto
[2787/17629] Fetching crypto, swift-nio-ssl
[2936/93713] Fetching crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/crypto.git from cache (0.65s)
[1486/90927] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/http.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.00s)
[55542/76084] Fetching swift-nio
[58586/96227] Fetching swift-nio, core
[62369/121694] Fetching swift-nio, core, http
Fetched https://github.com/vapor/core.git from cache (1.13s)
Fetched https://github.com/vapor/http.git from cache (1.34s)
Fetched https://github.com/apple/swift-nio.git from cache (7.76s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (10.12s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (1.41s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.36s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (1.20s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.92s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.61s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.33s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.19s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.55s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.70s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/websocket
Working copy of https://github.com/vapor/websocket resolved at 1.1.2
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/55] Emitting module Swifter
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[10/57] Compiling SKCore SlackError.swift
[11/57] Compiling SKCore Team.swift
[12/57] Compiling SKCore TeamIcon.swift
[13/60] Compiling SKCore Action.swift
[14/60] Compiling SKCore Attachment.swift
[15/60] Compiling SKCore AttachmentField.swift
[16/60] Compiling SKCore BlockComposition.swift
[17/60] Emitting module SKCore
[18/60] Compiling SKCore BlockElement.swift
[19/60] Compiling SKCore BlockLayout.swift
[20/60] Compiling SKCore Bot.swift
[21/60] Compiling SKCore Channel.swift
[22/60] Compiling SKCore Topic.swift
[23/60] Compiling SKCore User.swift
[24/60] Compiling SKCore UserGroup.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[27/60] Compiling Swifter String+SHA1.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[28/60] Compiling Swifter WebSockets.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[29/60] Compiling SKCore History.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[30/60] Compiling SKCore Item.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[33/60] Compiling SKCore CustomProfileField.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[34/60] Compiling SKCore DoNotDisturbStatus.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[35/60] Compiling SKCore Edited.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[40/60] Compiling SKCore Comment.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[41/60] Compiling SKCore CustomProfile.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[42/60] Compiling SKCore Event.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[43/60] Compiling SKCore Extensions.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[44/60] Compiling SKCore File.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[53/60] Compiling SKCore RTMOptions.swift
[54/60] Compiling SKCore Reaction.swift
[55/60] Compiling SKCore Reply.swift
[56/60] Compiling SKCore Scope.swift
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
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: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for openssl
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/48] Emitting module Swifter
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[3/50] Compiling SKCore Edited.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[4/50] Compiling SKCore Event.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[5/50] Compiling SKCore BlockElement.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[6/50] Compiling SKCore BlockLayout.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[7/50] Compiling SKCore Bot.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[8/50] Compiling SKCore RTMOptions.swift
[9/50] Compiling SKCore Reaction.swift
[10/50] Compiling SKCore Reply.swift
[11/50] Compiling SKCore Scope.swift
[12/53] Compiling SKCore SlackError.swift
[13/53] Compiling SKCore Team.swift
[14/53] Compiling SKCore TeamIcon.swift
[15/53] Compiling SKCore Message.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[16/53] Compiling SKCore OAuthConfig.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[17/53] Compiling SKCore History.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[18/53] Compiling SKCore Item.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[19/53] Compiling SKCore Channel.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[20/53] Compiling SKCore Action.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[21/53] Compiling SKCore Attachment.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[22/53] Compiling SKCore AttachmentField.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[23/53] Compiling SKCore BlockComposition.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[28/53] Emitting module SKCore
[29/53] Compiling Swifter String+SHA1.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[30/53] Compiling Swifter WebSockets.swift
/host/spi-builder-workspace/.build/checkouts/swifter/XCode/Sources/HttpServerIO.swift:9:8: error: no such module 'Dispatch'
7 |
8 | import Foundation
9 | import Dispatch
| `- error: no such module 'Dispatch'
10 |
11 | public protocol HttpServerIODelegate: class {
[31/53] Compiling SKCore Comment.swift
[32/53] Compiling SKCore CustomProfile.swift
[33/53] Compiling SKCore CustomProfileField.swift
[34/53] Compiling SKCore DoNotDisturbStatus.swift
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
/host/spi-builder-workspace/SKCore/Sources/Extensions.swift:37:20: error: cannot find 'NSEC_PER_SEC' in scope
35 | return UInt64(CLOCKS_PER_SEC)
36 | #else
37 | return NSEC_PER_SEC
| `- error: cannot find 'NSEC_PER_SEC' in scope
38 | #endif
39 | }
BUILD FAILURE 6.1 wasm