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 SKClient, reference 4.1.0 (008e10), with Swift 6.2 (beta) for Android on 18 Jun 2025 12:02:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKClient.git
Reference: 4.1.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/SKClient
 * tag               4.1.0      -> FETCH_HEAD
HEAD is now at 008e10a Merge branch 'swift4'
Cloned https://github.com/pvzig/SKClient.git
Revision (git rev-parse @):
008e10a402f17519750a5b94c4cf6b16310abf18
SUCCESS checkout https://github.com/pvzig/SKClient.git at 4.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pvzig/SKClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/SlackKit/SKCore
[1/288] Fetching skcore
Fetched https://github.com/SlackKit/SKCore from cache (0.32s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/SKCore at 4.1.3 (1.14s)
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-8C5A4AE7A8CE2BA.txt
[4/28] Emitting module SKCore
[5/31] Compiling SKCore Topic.swift
[6/31] Compiling SKCore User.swift
[7/31] Compiling SKCore UserGroup.swift
[8/31] Compiling SKCore Reaction.swift
[9/31] Compiling SKCore Reply.swift
[10/31] Compiling SKCore Scope.swift
[11/31] Compiling SKCore SlackError.swift
[12/31] Compiling SKCore Team.swift
[13/31] Compiling SKCore TeamIcon.swift
[14/31] Compiling SKCore Channel.swift
[15/31] Compiling SKCore Comment.swift
[16/31] Compiling SKCore CustomProfile.swift
[17/31] Compiling SKCore CustomProfileField.swift
[18/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 |     }
[19/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 |     }
[20/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 |     }
[21/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 |     }
[22/31] Compiling SKCore File.swift
[23/31] Compiling SKCore History.swift
[24/31] Compiling SKCore Item.swift
[25/31] Compiling SKCore Message.swift
[26/31] Compiling SKCore OAuthConfig.swift
[27/31] Compiling SKCore RTMOptions.swift
[28/31] Compiling SKCore Action.swift
[29/31] Compiling SKCore Attachment.swift
[30/31] Compiling SKCore AttachmentField.swift
[31/31] Compiling SKCore Bot.swift
BUILD FAILURE 6.2 android