Build Information
Failed to build SKCore, reference 4.1.3 (b50637), with Swift 6.3 for Wasm on 11 Apr 2026 13:31:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKCore.git
Reference: 4.1.3
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/SKCore
* tag 4.1.3 -> FETCH_HEAD
HEAD is now at b50637b Correct version number, project level deploy targets
Cloned https://github.com/pvzig/SKCore.git
Revision (git rev-parse @):
b50637bb233308e15869c1aef77d20f4e1e10e2e
SUCCESS checkout https://github.com/pvzig/SKCore.git at 4.1.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/pvzig/SKCore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/27] Emitting module SKCore
[4/30] Compiling SKCore Topic.swift
[5/30] Compiling SKCore User.swift
[6/30] Compiling SKCore UserGroup.swift
[7/30] Compiling SKCore SlackError.swift
[8/30] Compiling SKCore Team.swift
[9/30] Compiling SKCore TeamIcon.swift
[10/30] Compiling SKCore Reaction.swift
[11/30] Compiling SKCore Reply.swift
[12/30] Compiling SKCore Scope.swift
[13/30] Compiling SKCore Action.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
62 | fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
63 | actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
64 | markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
65 | }
66 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/30] Compiling SKCore Attachment.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
62 | fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
63 | actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
64 | markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
65 | }
66 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/30] Compiling SKCore AttachmentField.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
62 | fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
63 | actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
64 | markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
65 | }
66 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/30] Compiling SKCore Bot.swift
/host/spi-builder-workspace/Sources/SKCore/Attachment.swift:64:86: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
62 | fields = (attachment?["fields"] as? [[String: Any]])?.map { AttachmentField(field: $0) }
63 | actions = (attachment?["actions"] as? [[String: Any]])?.map { Action(action: $0) }
64 | markdownEnabledFields = (attachment?["mrkdwn_in"] as? [String]).map { Set($0.flatMap(AttachmentTextField.init)) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
| `- note: use 'compactMap(_:)' instead
65 | }
66 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/30] Compiling SKCore DoNotDisturbStatus.swift
/host/spi-builder-workspace/Sources/SKCore/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 | }
[18/30] Compiling SKCore Edited.swift
/host/spi-builder-workspace/Sources/SKCore/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 | }
[19/30] Compiling SKCore Event.swift
/host/spi-builder-workspace/Sources/SKCore/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 | }
[20/30] Compiling SKCore Extensions.swift
/host/spi-builder-workspace/Sources/SKCore/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 | }
[21/30] Compiling SKCore Message.swift
[22/30] Compiling SKCore OAuthConfig.swift
[23/30] Compiling SKCore RTMOptions.swift
[24/30] Compiling SKCore Channel.swift
[25/30] Compiling SKCore Comment.swift
[26/30] Compiling SKCore CustomProfile.swift
[27/30] Compiling SKCore CustomProfileField.swift
[28/30] Compiling SKCore File.swift
[29/30] Compiling SKCore History.swift
[30/30] Compiling SKCore Item.swift
BUILD FAILURE 6.3 wasm