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 Kass, reference main (27082a), with Swift 6.1 for Android on 10 Jun 2025 00:40:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/nmggithub/Kass.git
Reference: main
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/nmggithub/Kass
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 27082ae actually fix kernel object compatiblity, clean up whitespace
Cloned https://github.com/nmggithub/Kass.git
Revision (git rev-parse @):
27082aee231dfa6ac25da2841e37ed2b64da971d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nmggithub/Kass.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nmggithub/Kass.git
https://github.com/nmggithub/Kass.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Kass",
  "name" : "Kass",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "KassHelpers",
      "targets" : [
        "KassHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KassC",
      "targets" : [
        "KassC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Linking",
      "targets" : [
        "Linking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MachCore",
      "targets" : [
        "MachCore",
        "KassHelpers",
        "KassC",
        "Linking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BSDCore",
      "targets" : [
        "BSDCore",
        "KassHelpers",
        "MachCore",
        "KassC",
        "Linking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OSCore",
      "targets" : [
        "OSCore",
        "KassHelpers",
        "KassC",
        "BSDCore",
        "MachCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LibNotify",
      "targets" : [
        "LibNotify",
        "KassHelpers",
        "BSDCore",
        "MachCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Shellcode",
      "targets" : [
        "Shellcode",
        "KassHelpers",
        "MachCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Kass",
      "targets" : [
        "Kass",
        "KassHelpers",
        "BSDCore",
        "MachCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Shellcode",
      "module_type" : "SwiftTarget",
      "name" : "Shellcode",
      "path" : "Sources/Shellcode",
      "product_memberships" : [
        "Shellcode"
      ],
      "sources" : [
        "InstructionSets/A64.swift",
        "InstructionSets/InstructionSet.swift",
        "Shellcode.swift",
        "TaskInjection.swift"
      ],
      "target_dependencies" : [
        "KassHelpers",
        "MachCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OSCore",
      "module_type" : "SwiftTarget",
      "name" : "OSCore",
      "path" : "Sources/OS/Core",
      "product_memberships" : [
        "OSCore"
      ],
      "sources" : [
        "IOKit.swift",
        "OS.swift",
        "Variant.swift"
      ],
      "target_dependencies" : [
        "KassHelpers",
        "KassC",
        "BSDCore",
        "MachCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MachCore",
      "module_type" : "SwiftTarget",
      "name" : "MachCore",
      "path" : "Sources/Mach/Core",
      "product_memberships" : [
        "MachCore",
        "BSDCore",
        "OSCore",
        "LibNotify",
        "Shellcode",
        "Kass"
      ],
      "sources" : [
        "Exception/ExceptionMessages.swift",
        "Exception/ExceptionPort.swift",
        "Exception/ExceptionPorts.swift",
        "FlavoredDataManager.swift",
        "Host/Host.swift",
        "Host/HostInfo.swift",
        "Host/HostInfoPrivate.swift",
        "Host/HostSpecialPorts.swift",
        "Host/HostStatistics.swift",
        "Host/KextRequest.swift",
        "Host/LockGroupInfo.swift",
        "Mach.swift",
        "Messaging/Communication.swift",
        "Messaging/Descriptors.swift",
        "Messaging/Header.swift",
        "Messaging/MIG/MIGClient.swift",
        "Messaging/MIG/MIGError.swift",
        "Messaging/MIG/MIGPayload.swift",
        "Messaging/MIG/MIGReply.swift",
        "Messaging/MIG/MIGReplyPort.swift",
        "Messaging/MIG/MIGRequest.swift",
        "Messaging/MIG/MIGServer.swift",
        "Messaging/Message.swift",
        "Messaging/Options.swift",
        "Messaging/Payload.swift",
        "Messaging/PayloadSegment.swift",
        "Messaging/Queues.swift",
        "Port/Bootstrap/BoostrapPort.swift",
        "Port/Bootstrap/ConnectionPort.swift",
        "Port/Bootstrap/InitializableByServiceName.swift",
        "Port/Bootstrap/ServicePort.swift",
        "Port/KernelObject.swift",
        "Port/Port.swift",
        "Port/PortAttributes.swift",
        "Port/PortDisposition.swift",
        "Port/PortLifecycle.swift",
        "Port/PortSet.swift",
        "Port/PortUserRefs.swift",
        "Processor/Processor.swift",
        "Processor/ProcessorBasicInfo.swift",
        "Processor/ProcessorInfo.swift",
        "Processor/ProcessorSet/ProcessorSet.swift",
        "Processor/ProcessorSet/ProcessorSetControl.swift",
        "Processor/ProcessorSet/ProcessorSetFlavored.swift",
        "Processor/ProcessorSet/ProcessorSetInfo.swift",
        "Processor/ProcessorSet/ProcessorSetInfoPrivate.swift",
        "Processor/ProcessorSet/ProcessorSetStatistics.swift",
        "Synchronization/Eventlink.swift",
        "Task/Task.swift",
        "Task/TaskCorpse.swift",
        "Task/TaskDyldInfo.swift",
        "Task/TaskFlavored.swift",
        "Task/TaskForPID.swift",
        "Task/TaskIdentityToken.swift",
        "Task/TaskInfo.swift",
        "Task/TaskInspectInfo.swift",
        "Task/TaskPolicy.swift",
        "Task/TaskPolicyPrivate.swift",
        "Task/TaskSpecialPorts.swift",
        "Thread/Thread.swift",
        "Thread/ThreadFlavored.swift",
        "Thread/ThreadInfo.swift",
        "Thread/ThreadPolicy.swift",
        "Thread/ThreadPolicyPrivate.swift",
        "Thread/ThreadSpecialPorts.swift",
        "Thread/ThreadState.swift",
        "Thread/ThreadStateConvert.swift",
        "Thread/ThreadStatePrivate.swift",
        "Thread/ThreadSwitchPrivate.swift",
        "Timing/Clock/Alarm.swift",
        "Timing/Clock/Clock.swift",
        "Timing/Clock/Extensions/ClockAttributes.swift",
        "Timing/Clock/Extensions/ClockControl.swift",
        "Timing/Clock/Extensions/HostClocks.swift",
        "Timing/Clock/Extensions/Sleeping.swift",
        "Timing/Clock/Extensions/SwiftClock.swift",
        "Timing/Semaphore/Semaphore.swift",
        "Timing/Timer/Timer.swift",
        "Timing/TimingExtensions.swift",
        "VirtualMemory/MemoryInfo.swift",
        "VirtualMemory/VirtualMemoryManager.swift",
        "VirtualMemory/Zone.swift",
        "Voucher/AttributeRecipe.swift",
        "Voucher/ForTask.swift",
        "Voucher/ForThread.swift",
        "Voucher/Voucher.swift",
        "WithSpecialPorts.swift"
      ],
      "target_dependencies" : [
        "KassHelpers",
        "KassC",
        "Linking"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Linking",
      "module_type" : "SwiftTarget",
      "name" : "Linking",
      "path" : "Sources/Linking",
      "product_memberships" : [
        "Linking",
        "MachCore",
        "BSDCore",
        "OSCore",
        "LibNotify",
        "Shellcode",
        "Kass"
      ],
      "sources" : [
        "common.swift",
        "linking.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LibNotify",
      "module_type" : "SwiftTarget",
      "name" : "LibNotify",
      "path" : "Sources/LibNotify",
      "product_memberships" : [
        "LibNotify"
      ],
      "sources" : [
        "Extensions.swift",
        "LibNotify.swift",
        "LibNotifyError.swift",
        "LibNotifyFlags.swift"
      ],
      "target_dependencies" : [
        "KassHelpers",
        "BSDCore",
        "MachCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KassHelpers",
      "module_type" : "SwiftTarget",
      "name" : "KassHelpers",
      "path" : "Sources/KassHelpers",
      "product_memberships" : [
        "KassHelpers",
        "MachCore",
        "BSDCore",
        "OSCore",
        "LibNotify",
        "Shellcode",
        "Kass"
      ],
      "sources" : [
        "KassHelpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KassC",
      "module_type" : "ClangTarget",
      "name" : "KassC",
      "path" : "Sources/KassC",
      "product_memberships" : [
        "KassC",
        "MachCore",
        "BSDCore",
        "OSCore",
        "LibNotify",
        "Shellcode",
        "Kass"
      ],
      "sources" : [
        "include/libproc.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Kass",
      "module_type" : "SwiftTarget",
      "name" : "Kass",
      "path" : "Sources/Kass",
      "product_memberships" : [
        "Kass"
      ],
      "sources" : [
        "Kass.swift"
      ],
      "target_dependencies" : [
        "KassHelpers",
        "BSDCore",
        "MachCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BSDCore",
      "module_type" : "SwiftTarget",
      "name" : "BSDCore",
      "path" : "Sources/BSD/Core",
      "product_memberships" : [
        "BSDCore",
        "OSCore",
        "LibNotify",
        "Kass"
      ],
      "sources" : [
        "BSD.swift",
        "Extensions/CSOps.swift",
        "Extensions/CSR.swift",
        "Extensions/Fileport.swift",
        "Extensions/KernelDebug.swift",
        "Extensions/SetPrivExec.swift",
        "Extensions/Sysctl.swift",
        "Extensions/TaskForPID.swift",
        "FS/Attributes/AttributeBuffer.swift",
        "FS/Attributes/AttributeList.swift",
        "FS/Attributes/AttributeSet.swift",
        "FS/Attributes/Attributes.swift",
        "FS/Attributes/Parsing/AttributeParsing.swift",
        "FS/Attributes/Parsing/AttributeReference.swift",
        "FS/Attributes/Parsing/CommonExtended.swift",
        "FS/Attributes/Parsing/FinderInfoParser.swift",
        "FS/Attributes/Parsing/ParsedCommonAttributes.swift",
        "FS/Attributes/Parsing/ParsedDirectoryAttributes.swift",
        "FS/Attributes/Parsing/ParsedFileAttributes.swift",
        "FS/Attributes/Parsing/ParsedVolumeAttributes.swift",
        "FS/FS.swift",
        "KQueue/KQueue.swift",
        "POSIXSpawn/POSIXSpawn.swift",
        "POSIXSpawn/POSIXSpawnPrivate.swift",
        "Proc/ListPIDs.swift",
        "Proc/PIDFDInfo.swift",
        "Proc/PIDFileportInfo.swift",
        "Proc/PIDInfo.swift",
        "Proc/ProcInfo.swift",
        "Proc/SetControl.swift",
        "Resource/IOPolicy/IOPolicy.swift",
        "Resource/Resource.swift",
        "Resource/ResourcePrivate.swift",
        "Syscall.swift"
      ],
      "target_dependencies" : [
        "KassHelpers",
        "MachCore",
        "KassC",
        "Linking"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 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/swiftlang/swift-docc-plugin
[1/2068] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (3.78s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3406] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.03s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/12] Write sources
/host/spi-builder-workspace/Sources/KassC/include/libproc.c:30:123: error: unknown type name 'user_addr_t'
   30 | int __proc_info_extended_id(int32_t callnum, int32_t pid, uint32_t flavor, uint32_t flags, uint64_t ext_id, uint64_t arg, user_addr_t buffer, int32_t buffersize);
      |                                                                                                                           ^
1 error generated.
[10/12] Compiling libproc.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
/host/spi-builder-workspace/Sources/KassC/include/libproc.c:30:123: error: unknown type name 'user_addr_t'
   30 | int __proc_info_extended_id(int32_t callnum, int32_t pid, uint32_t flavor, uint32_t flags, uint64_t ext_id, uint64_t arg, user_addr_t buffer, int32_t buffersize);
      |                                                                                                                           ^
1 error generated.
[2/4] Compiling libproc.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android