The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SKWebAPI, reference 4.1.3 (b5b303), with Swift 6.1 for Wasm on 27 May 2025 18:05:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/SKWebAPI.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/SKWebAPI
 * tag               4.1.3      -> FETCH_HEAD
HEAD is now at b5b303c Merge pull request #13 from NoRespect/slackFormatEscaping
Cloned https://github.com/pvzig/SKWebAPI.git
Revision (git rev-parse @):
b5b303c7e5cdecd587499061a81128ef4d7ed3f1
SUCCESS checkout https://github.com/pvzig/SKWebAPI.git at 4.1.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pvzig/SKWebAPI.git
https://github.com/pvzig/SKWebAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "skcore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SlackKit/SKCore"
    }
  ],
  "manifest_display_name" : "SKWebAPI",
  "name" : "SKWebAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKWebAPI",
      "targets" : [
        "SKWebAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKWebAPI",
      "module_type" : "SwiftTarget",
      "name" : "SKWebAPI",
      "path" : "Sources",
      "product_dependencies" : [
        "SKCore"
      ],
      "product_memberships" : [
        "SKWebAPI"
      ],
      "sources" : [
        "Endpoint.swift",
        "NetworkInterface.swift",
        "WebAPI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/SlackKit/SKCore
[1/288] Fetching skcore
Fetched https://github.com/SlackKit/SKCore from cache (1.85s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/SKCore at 4.1.3 (3.19s)
Creating working copy for https://github.com/SlackKit/SKCore
Working copy of https://github.com/SlackKit/SKCore resolved at 4.1.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/28] Emitting module SKCore
[5/31] Compiling SKCore Action.swift
[6/31] Compiling SKCore Attachment.swift
[7/31] Compiling SKCore AttachmentField.swift
[8/31] Compiling SKCore Bot.swift
[9/31] Compiling SKCore Topic.swift
[10/31] Compiling SKCore User.swift
[11/31] Compiling SKCore UserGroup.swift
[12/31] Compiling SKCore SlackError.swift
[13/31] Compiling SKCore Team.swift
[14/31] Compiling SKCore TeamIcon.swift
[15/31] Compiling SKCore Channel.swift
[16/31] Compiling SKCore Comment.swift
[17/31] Compiling SKCore CustomProfile.swift
[18/31] Compiling SKCore CustomProfileField.swift
[19/31] Compiling SKCore Reaction.swift
[20/31] Compiling SKCore Reply.swift
[21/31] Compiling SKCore Scope.swift
[22/31] Compiling SKCore Message.swift
[23/31] Compiling SKCore OAuthConfig.swift
[24/31] Compiling SKCore RTMOptions.swift
[25/31] Compiling SKCore File.swift
[26/31] Compiling SKCore History.swift
[27/31] Compiling SKCore Item.swift
[28/31] Compiling SKCore DoNotDisturbStatus.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
[29/31] Compiling SKCore Edited.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
[30/31] Compiling SKCore Event.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
[31/31] Compiling SKCore Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling SKCore Message.swift
[3/26] Compiling SKCore OAuthConfig.swift
[4/26] Compiling SKCore RTMOptions.swift
[5/29] Compiling SKCore SlackError.swift
[6/29] Compiling SKCore Team.swift
[7/29] Compiling SKCore TeamIcon.swift
[8/29] Compiling SKCore Reaction.swift
[9/29] Compiling SKCore Reply.swift
[10/29] Compiling SKCore Scope.swift
[11/29] Compiling SKCore Channel.swift
[12/29] Compiling SKCore Comment.swift
[13/29] Compiling SKCore CustomProfile.swift
[14/29] Compiling SKCore CustomProfileField.swift
[15/29] Emitting module SKCore
[16/29] Compiling SKCore Action.swift
[17/29] Compiling SKCore Attachment.swift
[18/29] Compiling SKCore AttachmentField.swift
[19/29] Compiling SKCore Bot.swift
[20/29] Compiling SKCore DoNotDisturbStatus.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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/29] Compiling SKCore Edited.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
[22/29] Compiling SKCore Event.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
[23/29] Compiling SKCore Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SKCore/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 |     }
[24/29] Compiling SKCore File.swift
[25/29] Compiling SKCore History.swift
[26/29] Compiling SKCore Item.swift
[27/29] Compiling SKCore Topic.swift
[28/29] Compiling SKCore User.swift
[29/29] Compiling SKCore UserGroup.swift
BUILD FAILURE 6.1 wasm