The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AXSwift, reference 0.3.2 (81dcc3), with Swift 6.1 for Android on 28 May 2025 01:42:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/tmandry/AXSwift.git
Reference: 0.3.2
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/tmandry/AXSwift
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at 81dcc36 v0.3.2
Cloned https://github.com/tmandry/AXSwift.git
Revision (git rev-parse @):
81dcc36aced905d6464cc25e35f8d13184bbf21c
SUCCESS checkout https://github.com/tmandry/AXSwift.git at 0.3.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tmandry/AXSwift.git
https://github.com/tmandry/AXSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AXSwift",
  "name" : "AXSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AXSwift",
      "targets" : [
        "AXSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AXSwiftObserverExample",
      "targets" : [
        "AXSwiftObserverExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AXSwiftExample",
      "targets" : [
        "AXSwiftExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AXSwiftObserverExample",
      "module_type" : "SwiftTarget",
      "name" : "AXSwiftObserverExample",
      "path" : "AXSwiftObserverExample",
      "product_memberships" : [
        "AXSwiftObserverExample"
      ],
      "sources" : [
        "AppDelegate.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AXSwift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AXSwiftExample",
      "module_type" : "SwiftTarget",
      "name" : "AXSwiftExample",
      "path" : "AXSwiftExample",
      "product_memberships" : [
        "AXSwiftExample"
      ],
      "sources" : [
        "AppDelegate.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AXSwift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AXSwift",
      "module_type" : "SwiftTarget",
      "name" : "AXSwift",
      "path" : "Sources",
      "product_memberships" : [
        "AXSwift",
        "AXSwiftObserverExample",
        "AXSwiftExample"
      ],
      "sources" : [
        "AXSwift.swift",
        "Application.swift",
        "Constants.swift",
        "Error.swift",
        "Observer.swift",
        "SystemWideElement.swift",
        "UIElement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/19] Compiling AXSwift Application.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[6/19] Compiling AXSwift Constants.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[7/19] Compiling AXSwift AXSwift.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[8/19] Emitting module AXSwift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[9/19] Compiling AXSwift Error.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[10/19] Compiling AXSwift UIElement.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[11/19] Compiling AXSwift SystemWideElement.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[12/19] Compiling AXSwift Observer.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/8] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling AXSwift AXSwift.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Emitting module AXSwift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[4/16] Compiling AXSwift Application.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[5/16] Compiling AXSwift Constants.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[6/16] Compiling AXSwift Observer.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[7/16] Compiling AXSwift Error.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[8/16] Compiling AXSwift UIElement.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
[9/16] Compiling AXSwift SystemWideElement.swift
/host/spi-builder-workspace/Sources/AXSwift.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
  |        `- error: no such module 'Cocoa'
2 |
3 | @discardableResult
BUILD FAILURE 6.1 android