The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProtoKit, reference 8.0.0 (21ef89), with Swift 6.1 for Android on 28 May 2025 13:53:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/moximillian/protokit.git
Reference: 8.0.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/moximillian/protokit
 * tag               8.0.0      -> FETCH_HEAD
HEAD is now at 21ef89f Xcode 14.2: Explicit any annotations
Cloned https://github.com/moximillian/protokit.git
Revision (git rev-parse @):
21ef89f7f0fc6400ed73ce2586d8fe5b16cffe42
SUCCESS checkout https://github.com/moximillian/protokit.git at 8.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/moximillian/protokit.git
https://github.com/moximillian/protokit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "then",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/devxoul/Then"
    }
  ],
  "manifest_display_name" : "ProtoKit",
  "name" : "ProtoKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "ProtoKit",
      "targets" : [
        "ProtoKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProtoKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ProtoKitTests",
      "path" : ".",
      "sources" : [
        "Tests/ClosurableTests.swift",
        "Tests/KVOTests.swift",
        "Tests/NotificationServiceTests.swift",
        "Tests/SelfPresentableTests.swift",
        "Tests/UnifiedCollectionTests.swift"
      ],
      "target_dependencies" : [
        "ProtoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProtoKit",
      "module_type" : "SwiftTarget",
      "name" : "ProtoKit",
      "path" : ".",
      "product_dependencies" : [
        "Then"
      ],
      "product_memberships" : [
        "ProtoKit"
      ],
      "sources" : [
        "Sources/ProtoKit/AssociatedObjectStore.swift",
        "Sources/ProtoKit/Closurable.swift",
        "Sources/ProtoKit/Configurable.swift",
        "Sources/ProtoKit/CoreDataStack.swift",
        "Sources/ProtoKit/Error.swift",
        "Sources/ProtoKit/Extensions.swift",
        "Sources/ProtoKit/Instantiable.swift",
        "Sources/ProtoKit/KVO.swift",
        "Sources/ProtoKit/NotificationService.swift",
        "Sources/ProtoKit/SegueHandlerType.swift",
        "Sources/ProtoKit/SelfPresentable.swift",
        "Sources/ProtoKit/SwiftUI/Arrow.swift",
        "Sources/ProtoKit/SwiftUI/CircleShape.swift",
        "Sources/ProtoKit/SwiftUI/Line.swift",
        "Sources/ProtoKit/SwiftUI/ProgressText.swift",
        "Sources/ProtoKit/SwiftUI/SwiftUIExtensions.swift",
        "Sources/ProtoKit/UnifiedCollection.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/devxoul/Then
[1/815] Fetching then
Fetched https://github.com/devxoul/Then from cache (0.28s)
Computing version for https://github.com/devxoul/Then
Computed https://github.com/devxoul/Then at 3.0.0 (2.21s)
Creating working copy for https://github.com/devxoul/Then
Working copy of https://github.com/devxoul/Then resolved at 3.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Then
/host/spi-builder-workspace/.build/checkouts/Then/Sources/Then/Then.swift:25:10: error: no such module 'CoreGraphics'
23 | import Foundation
24 | #if !os(Linux)
25 |   import CoreGraphics
   |          `- error: no such module 'CoreGraphics'
26 | #endif
27 | #if os(iOS) || os(tvOS)
[5/5] Compiling Then Then.swift
/host/spi-builder-workspace/.build/checkouts/Then/Sources/Then/Then.swift:25:10: error: no such module 'CoreGraphics'
23 | import Foundation
24 | #if !os(Linux)
25 |   import CoreGraphics
   |          `- error: no such module 'CoreGraphics'
26 | #endif
27 | #if os(iOS) || os(tvOS)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Then
/host/spi-builder-workspace/.build/checkouts/Then/Sources/Then/Then.swift:25:10: error: no such module 'CoreGraphics'
23 | import Foundation
24 | #if !os(Linux)
25 |   import CoreGraphics
   |          `- error: no such module 'CoreGraphics'
26 | #endif
27 | #if os(iOS) || os(tvOS)
[3/3] Compiling Then Then.swift
/host/spi-builder-workspace/.build/checkouts/Then/Sources/Then/Then.swift:25:10: error: no such module 'CoreGraphics'
23 | import Foundation
24 | #if !os(Linux)
25 |   import CoreGraphics
   |          `- error: no such module 'CoreGraphics'
26 | #endif
27 | #if os(iOS) || os(tvOS)
BUILD FAILURE 6.1 android