The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-capstone, reference v7.0.0 (9f892f), with Swift 6.4 for macOS (SPM) on 24 Oct 2026 10:04:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Reference: v7.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MxIris-Reverse-Engineering/swift-capstone
 * tag               v7.0.0     -> FETCH_HEAD
HEAD is now at 9f892f0 build: require capstone 6.0.101, drop the workaround it makes unnecessary
Cloned https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Revision (git rev-parse @):
9f892f09452e92f3d5943a7a656299d24ec19c63
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-capstone.git at v7.0.0
Fetching https://github.com/MxIris-Reverse-Engineering/capstone
Fetching https://github.com/MxIris-DeveloperTool/swift-clang
[1/176] Fetching swift-clang
[68/49181] Fetching swift-clang, capstone
Fetched https://github.com/MxIris-DeveloperTool/swift-clang (28.02s)
Fetched https://github.com/MxIris-Reverse-Engineering/capstone (28.02s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 6.0.101 (28.67s)
Computing version for https://github.com/MxIris-DeveloperTool/swift-clang
Computed https://github.com/MxIris-DeveloperTool/swift-clang at 0.3.0 (0.56s)
Creating working copy for https://github.com/MxIris-DeveloperTool/swift-clang
Working copy of https://github.com/MxIris-DeveloperTool/swift-clang resolved at 0.3.0
Creating working copy for https://github.com/MxIris-Reverse-Engineering/capstone
Working copy of https://github.com/MxIris-Reverse-Engineering/capstone resolved at 6.0.101
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-capstone",
      "name": "swift-capstone",
      "url": "https://github.com/MxIris-Reverse-Engineering/swift-capstone.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-capstone",
      "traits": [
        "AARCH64"
      ],
      "dependencies": [
        {
          "identity": "capstone",
          "name": "capstone",
          "url": "https://github.com/MxIris-Reverse-Engineering/capstone",
          "version": "6.0.101",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/capstone",
          "traits": [
            "AARCH64"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
[1/1848] Fetching swift-capstone
Fetched https://github.com/MxIris-Reverse-Engineering/swift-capstone.git (1.30s)
Fetching https://github.com/MxIris-Reverse-Engineering/capstone from cache
Fetched https://github.com/MxIris-Reverse-Engineering/capstone from cache (0.48s)
Computing version for https://github.com/MxIris-Reverse-Engineering/capstone
Computed https://github.com/MxIris-Reverse-Engineering/capstone at 6.0.101 (0.55s)
Creating working copy for https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Working copy of https://github.com/MxIris-Reverse-Engineering/swift-capstone.git resolved at v7.0.0 (9f892f0)
Creating working copy for https://github.com/MxIris-Reverse-Engineering/capstone
Working copy of https://github.com/MxIris-Reverse-Engineering/capstone resolved at 6.0.101
Found 1 product dependencies
  - capstone
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MxIris-Reverse-Engineering/swift-capstone.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 97]
[Planning deferred tasks]
[23 / 249]
[33 / 250] Ccapstone
[57 / 261]
[102 / 261] Ccapstone
[141 / 262] Ccapstone
[200 / 262] Ccapstone
[233 / 262]
[247 / 262] Ccapstone
[252 / 262] Ccapstone
[261 / 308] Ccapstone
[262 / 308]
[267 / 308]
[270 / 308] Ccapstone
[272 / 308] Ccapstone
[273 / 308]
[277 / 308]
[279 / 308]
[282 / 308]
[285 / 308]
[287 / 308]
[288 / 308]
[299 / 308] Capstone
[305 / 308] Capstone
Build complete! (7.89 sec)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "capstone",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.101",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MxIris-Reverse-Engineering/capstone"
    },
    {
      "identity" : "swift-clang",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MxIris-DeveloperTool/swift-clang"
    }
  ],
  "manifest_display_name" : "swift-capstone",
  "name" : "swift-capstone",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Capstone",
      "targets" : [
        "Capstone"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "capstone-enums-generator",
      "targets" : [
        "capstone-enums-generator"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "capstone_enums_generator",
      "module_type" : "SwiftTarget",
      "name" : "capstone-enums-generator",
      "path" : "Sources/capstone-enums-generator",
      "product_memberships" : [
        "capstone-enums-generator"
      ],
      "sources" : [
        "CapstoneEnumsGeneratorMain.swift"
      ],
      "target_dependencies" : [
        "CapstoneEnumsGenerator"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CapstoneTests",
      "module_type" : "SwiftTarget",
      "name" : "CapstoneTests",
      "path" : "Tests/CapstoneTests",
      "sources" : [
        "AArch64TestSupport.swift",
        "AArch64Tests.swift",
        "ArchitectureTests.swift",
        "DisassemblerOptionsTests.swift",
        "DisassemblerTests.swift",
        "InstructionInformationTests.swift",
        "SendableTests.swift",
        "SnapshotTests.swift"
      ],
      "target_dependencies" : [
        "Capstone"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CapstoneEnumsGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "CapstoneEnumsGeneratorTests",
      "path" : "Tests/CapstoneEnumsGeneratorTests",
      "sources" : [
        "CapstoneEnumsGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "CapstoneEnumsGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CapstoneEnumsGenerator",
      "module_type" : "SwiftTarget",
      "name" : "CapstoneEnumsGenerator",
      "path" : "Sources/CapstoneEnumsGenerator",
      "product_dependencies" : [
        "Clang"
      ],
      "product_memberships" : [
        "capstone-enums-generator"
      ],
      "sources" : [
        "CapstoneEnumsGenerator.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CapstoneEnumsGeneratePlugin",
      "module_type" : "PluginTarget",
      "name" : "CapstoneEnumsGeneratePlugin",
      "path" : "Plugins/CapstoneEnumsGeneratePlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "",
          "type" : "custom",
          "verb" : "generate-enums"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This plugin creates a enum file at the root of the package.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "capstone-enums-generator"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Capstone",
      "module_type" : "SwiftTarget",
      "name" : "Capstone",
      "path" : "Sources/Capstone",
      "product_dependencies" : [
        "Ccapstone"
      ],
      "product_memberships" : [
        "Capstone"
      ],
      "sources" : [
        "AArch64+InstructionView.swift",
        "AArch64+Operands.swift",
        "AArch64.swift",
        "AArch64Enums.swift",
        "AArch64Operand.swift",
        "Access.swift",
        "AlphaEnums.swift",
        "ArcEnums.swift",
        "Architecture+Generated.swift",
        "Architecture.swift",
        "ArmEnums.swift",
        "BpfEnums.swift",
        "Disassembler.swift",
        "DisassemblerOptions.swift",
        "DisassemblyArchitecture.swift",
        "EngineVersion.swift",
        "Error.swift",
        "EvmEnums.swift",
        "HppaEnums.swift",
        "InstructionView.swift",
        "LoongArchEnums.swift",
        "M680xEnums.swift",
        "M68kEnums.swift",
        "MipsEnums.swift",
        "Mos65xxEnums.swift",
        "PpcEnums.swift",
        "RiscvEnums.swift",
        "ShEnums.swift",
        "SparcEnums.swift",
        "SystemZEnums.swift",
        "TMS320C64xEnums.swift",
        "TricoreEnums.swift",
        "Utils.swift",
        "WasmEnums.swift",
        "X86Enums.swift",
        "XcoreEnums.swift",
        "XtensaEnums.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.