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 SKCore, reference 4.1.3 (b50637), with Swift 6.1 for Android on 27 May 2025 17:59:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pvzig/SKCore.git
https://github.com/pvzig/SKCore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SKCore",
  "name" : "SKCore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKCore",
      "targets" : [
        "SKCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SKCoreTests",
      "path" : "Tests/SKCoreTests",
      "sources" : [
        "Helper.swift",
        "SKCoreTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SKCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SKCore",
      "module_type" : "SwiftTarget",
      "name" : "SKCore",
      "path" : "Sources",
      "product_memberships" : [
        "SKCore"
      ],
      "sources" : [
        "SKCore/Action.swift",
        "SKCore/Attachment.swift",
        "SKCore/AttachmentField.swift",
        "SKCore/Bot.swift",
        "SKCore/Channel.swift",
        "SKCore/Comment.swift",
        "SKCore/CustomProfile.swift",
        "SKCore/CustomProfileField.swift",
        "SKCore/DoNotDisturbStatus.swift",
        "SKCore/Edited.swift",
        "SKCore/Event.swift",
        "SKCore/Extensions.swift",
        "SKCore/File.swift",
        "SKCore/History.swift",
        "SKCore/Item.swift",
        "SKCore/Message.swift",
        "SKCore/OAuthConfig.swift",
        "SKCore/RTMOptions.swift",
        "SKCore/Reaction.swift",
        "SKCore/Reply.swift",
        "SKCore/Scope.swift",
        "SKCore/SlackError.swift",
        "SKCore/Team.swift",
        "SKCore/TeamIcon.swift",
        "SKCore/Topic.swift",
        "SKCore/User.swift",
        "SKCore/UserGroup.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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 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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[8/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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[9/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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[10/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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[11/30] Compiling SKCore SlackError.swift
[12/30] Compiling SKCore Team.swift
[13/30] Compiling SKCore TeamIcon.swift
[14/30] Compiling SKCore Reaction.swift
[15/30] Compiling SKCore Reply.swift
[16/30] Compiling SKCore Scope.swift
[17/30] Compiling SKCore Channel.swift
[18/30] Compiling SKCore Comment.swift
[19/30] Compiling SKCore CustomProfile.swift
[20/30] Compiling SKCore CustomProfileField.swift
[21/30] Compiling SKCore Message.swift
[22/30] Compiling SKCore OAuthConfig.swift
[23/30] Compiling SKCore RTMOptions.swift
[24/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 |     }
[25/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 |     }
[26/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 |     }
[27/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 |     }
[28/30] Compiling SKCore File.swift
[29/30] Compiling SKCore History.swift
[30/30] Compiling SKCore Item.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling SKCore Reaction.swift
[3/26] Compiling SKCore Reply.swift
[4/26] Compiling SKCore Scope.swift
[5/29] Emitting module SKCore
[6/29] Compiling SKCore Message.swift
[7/29] Compiling SKCore OAuthConfig.swift
[8/29] Compiling SKCore RTMOptions.swift
[9/29] Compiling SKCore SlackError.swift
[10/29] Compiling SKCore Team.swift
[11/29] Compiling SKCore TeamIcon.swift
[12/29] Compiling SKCore Channel.swift
[13/29] Compiling SKCore Comment.swift
[14/29] Compiling SKCore CustomProfile.swift
[15/29] Compiling SKCore CustomProfileField.swift
[16/29] 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 |     }
[17/29] 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 |     }
[18/29] 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 |     }
[19/29] 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 |     }
[20/29] Compiling SKCore File.swift
[21/29] Compiling SKCore History.swift
[22/29] Compiling SKCore Item.swift
[23/29] Compiling SKCore Topic.swift
[24/29] Compiling SKCore User.swift
[25/29] Compiling SKCore UserGroup.swift
[26/29] 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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[27/29] 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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[28/29] 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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
[29/29] 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
 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
    |                                                                                      `- note: use 'compactMap(_:)' instead
 65 |     }
 66 |
BUILD FAILURE 6.1 android