The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-pjsip-gen, reference main (36b4a6), with Swift 6.1 for macOS (SPM) on 18 Oct 2026 07:27:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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/laconicman/swift-pjsip-gen.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/laconicman/swift-pjsip-gen
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 36b4a69 Merge pull request #11 from laconicman/docs/6-release-0.2.0
Cloned https://github.com/laconicman/swift-pjsip-gen.git
Revision (git rev-parse @):
36b4a69974bbc34e12fafeabe8e7ef09e284a77f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/laconicman/swift-pjsip-gen.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/laconicman/swift-pjsip-gen.git
https://github.com/laconicman/swift-pjsip-gen.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-pjsip-gen",
  "name" : "swift-pjsip-gen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PJSIPSwiftGenCore",
      "targets" : [
        "PJSIPSwiftGenCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "pjsip-swift-gen",
      "targets" : [
        "pjsip-swift-gen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PJSIPSwiftGenPlugin",
      "targets" : [
        "PJSIPSwiftGenPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "PJSIPSwiftGenCommand",
      "targets" : [
        "PJSIPSwiftGenCommand"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pjsip_swift_gen",
      "module_type" : "SwiftTarget",
      "name" : "pjsip-swift-gen",
      "path" : "Sources/pjsip-swift-gen",
      "product_memberships" : [
        "pjsip-swift-gen",
        "PJSIPSwiftGenPlugin",
        "PJSIPSwiftGenCommand"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PJSIPSwiftGenCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PJSIPSwiftGenPlugin",
      "module_type" : "PluginTarget",
      "name" : "PJSIPSwiftGenPlugin",
      "path" : "Plugins/PJSIPSwiftGenPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "PJSIPSwiftGenPlugin"
      ],
      "sources" : [
        "CHeaderParser.swift",
        "Config.swift",
        "Plugin.swift",
        "TypeDiscoverer.swift"
      ],
      "target_dependencies" : [
        "pjsip-swift-gen"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "PJSIPSwiftGenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "PJSIPSwiftGenCoreTests",
      "path" : "Tests/PJSIPSwiftGenCoreTests",
      "sources" : [
        "PJSIPSwiftGenCoreTests.swift"
      ],
      "target_dependencies" : [
        "PJSIPSwiftGenCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PJSIPSwiftGenCore",
      "module_type" : "SwiftTarget",
      "name" : "PJSIPSwiftGenCore",
      "path" : "Sources/PJSIPSwiftGenCore",
      "product_memberships" : [
        "PJSIPSwiftGenCore",
        "pjsip-swift-gen",
        "PJSIPSwiftGenPlugin",
        "PJSIPSwiftGenCommand"
      ],
      "sources" : [
        "CHeaderParser.swift",
        "Config.swift",
        "EnumGenerator.swift",
        "GeneratorUtils.swift",
        "MacroResolver.swift",
        "StructGenerator.swift",
        "TypeDiscoverer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PJSIPSwiftGenCommand",
      "module_type" : "PluginTarget",
      "name" : "PJSIPSwiftGenCommand",
      "path" : "Plugins/PJSIPSwiftGenCommand",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate Swift helpers (extensions, conformances) from PJSIP C headers.",
          "type" : "custom",
          "verb" : "generate-pjsip-helpers"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Write generated Swift files back into the package source directory.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PJSIPSwiftGenCommand"
      ],
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "pjsip-swift-gen"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin PJSIPSwiftGenCommand
[2/2] Compiling plugin PJSIPSwiftGenPlugin
Building for debugging...
[2/15] Write sources
[4/15] Write pjsip-swift-gen-tool-entitlement.plist
[5/15] Write pjsip-swift-gen-entitlement.plist
[8/15] Write swift-version-2F0A5646E1D333AE.txt
[10/31] Emitting module PJSIPSwiftGenCore
[11/31] Compiling PJSIPSwiftGenCore StructGenerator.swift
[12/31] Compiling PJSIPSwiftGenCore MacroResolver.swift
[13/31] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[14/31] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[15/31] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[16/31] Compiling PJSIPSwiftGenCore Config.swift
[17/31] Compiling PJSIPSwiftGenCore StructGenerator.swift
[18/31] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[19/31] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[20/31] Compiling PJSIPSwiftGenCore MacroResolver.swift
[21/31] Compiling PJSIPSwiftGenCore Config.swift
[22/31] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[23/31] Emitting module PJSIPSwiftGenCore
[24/31] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[25/31] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[26/35] Emitting module pjsip_swift_gen
[27/35] Compiling pjsip_swift_gen main.swift
/Users/admin/builder/spi-builder-workspace/Sources/pjsip-swift-gen/main.swift:37:29: error: main actor-isolated var 'rawArgs' can not be referenced from a nonisolated context
 34 | }
 35 |
 36 | var rawArgs = Array(CommandLine.arguments.dropFirst())
    |     `- note: var declared here
 37 | func nextArg() -> String? { rawArgs.isEmpty ? nil : rawArgs.removeFirst() }
    |      |                      `- error: main actor-isolated var 'rawArgs' can not be referenced from a nonisolated context
    |      `- note: add '@MainActor' to make global function 'nextArg()' part of global actor 'MainActor'
 38 |
 39 | guard let verbRaw = nextArg(),
/Users/admin/builder/spi-builder-workspace/Sources/pjsip-swift-gen/main.swift:37:53: error: main actor-isolated var 'rawArgs' can not be mutated from a nonisolated context
 34 | }
 35 |
 36 | var rawArgs = Array(CommandLine.arguments.dropFirst())
    |     `- note: mutation of this var is only permitted within the actor
 37 | func nextArg() -> String? { rawArgs.isEmpty ? nil : rawArgs.removeFirst() }
    |      |                                              `- error: main actor-isolated var 'rawArgs' can not be mutated from a nonisolated context
    |      `- note: add '@MainActor' to make global function 'nextArg()' part of global actor 'MainActor'
 38 |
 39 | guard let verbRaw = nextArg(),
[28/35] Emitting module pjsip_swift_gen
[29/35] Compiling pjsip_swift_gen main.swift
/Users/admin/builder/spi-builder-workspace/Sources/pjsip-swift-gen/main.swift:37:29: error: main actor-isolated var 'rawArgs' can not be referenced from a nonisolated context
 34 | }
 35 |
 36 | var rawArgs = Array(CommandLine.arguments.dropFirst())
    |     `- note: var declared here
 37 | func nextArg() -> String? { rawArgs.isEmpty ? nil : rawArgs.removeFirst() }
    |      |                      `- error: main actor-isolated var 'rawArgs' can not be referenced from a nonisolated context
    |      `- note: add '@MainActor' to make global function 'nextArg()' part of global actor 'MainActor'
 38 |
 39 | guard let verbRaw = nextArg(),
/Users/admin/builder/spi-builder-workspace/Sources/pjsip-swift-gen/main.swift:37:53: error: main actor-isolated var 'rawArgs' can not be mutated from a nonisolated context
 34 | }
 35 |
 36 | var rawArgs = Array(CommandLine.arguments.dropFirst())
    |     `- note: mutation of this var is only permitted within the actor
 37 | func nextArg() -> String? { rawArgs.isEmpty ? nil : rawArgs.removeFirst() }
    |      |                                              `- error: main actor-isolated var 'rawArgs' can not be mutated from a nonisolated context
    |      `- note: add '@MainActor' to make global function 'nextArg()' part of global actor 'MainActor'
 38 |
 39 | guard let verbRaw = nextArg(),
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin PJSIPSwiftGenCommand
[2/2] Compiling plugin PJSIPSwiftGenPlugin
Building for debugging...
[2/9] Write swift-version-2F0A5646E1D333AE.txt
[4/25] Compiling PJSIPSwiftGenCore MacroResolver.swift
[5/25] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[6/25] Compiling PJSIPSwiftGenCore Config.swift
[7/25] Compiling PJSIPSwiftGenCore StructGenerator.swift
[8/25] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[9/25] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[10/25] Compiling PJSIPSwiftGenCore GeneratorUtils.swift
[11/25] Emitting module PJSIPSwiftGenCore
[12/25] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[13/25] Compiling PJSIPSwiftGenCore EnumGenerator.swift
[14/25] Compiling PJSIPSwiftGenCore StructGenerator.swift
[15/25] Compiling PJSIPSwiftGenCore MacroResolver.swift
[16/25] Compiling PJSIPSwiftGenCore Config.swift
[17/25] Compiling PJSIPSwiftGenCore TypeDiscoverer.swift
[18/25] Compiling PJSIPSwiftGenCore CHeaderParser.swift
[19/25] Emitting module PJSIPSwiftGenCore
[20/29] Emitting module pjsip_swift_gen
[21/29] Compiling pjsip_swift_gen main.swift
[21/29] Write Objects.LinkFileList
[23/29] Emitting module pjsip_swift_gen
[24/29] Compiling pjsip_swift_gen main.swift
[24/29] Write Objects.LinkFileList
[25/29] Linking pjsip-swift-gen
[26/29] Linking pjsip-swift-gen-tool
[27/29] Applying pjsip-swift-gen-tool
[27/29] Applying pjsip-swift-gen
Build complete! (2.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-pjsip-gen",
  "name" : "swift-pjsip-gen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PJSIPSwiftGenCore",
      "targets" : [
        "PJSIPSwiftGenCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "pjsip-swift-gen",
      "targets" : [
        "pjsip-swift-gen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PJSIPSwiftGenPlugin",
      "targets" : [
        "PJSIPSwiftGenPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "PJSIPSwiftGenCommand",
      "targets" : [
        "PJSIPSwiftGenCommand"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pjsip_swift_gen",
      "module_type" : "SwiftTarget",
      "name" : "pjsip-swift-gen",
      "path" : "Sources/pjsip-swift-gen",
      "product_memberships" : [
        "pjsip-swift-gen",
        "PJSIPSwiftGenPlugin",
        "PJSIPSwiftGenCommand"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PJSIPSwiftGenCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PJSIPSwiftGenPlugin",
      "module_type" : "PluginTarget",
      "name" : "PJSIPSwiftGenPlugin",
      "path" : "Plugins/PJSIPSwiftGenPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "PJSIPSwiftGenPlugin"
      ],
      "sources" : [
        "CHeaderParser.swift",
        "Config.swift",
        "Plugin.swift",
        "TypeDiscoverer.swift"
      ],
      "target_dependencies" : [
        "pjsip-swift-gen"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "PJSIPSwiftGenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "PJSIPSwiftGenCoreTests",
      "path" : "Tests/PJSIPSwiftGenCoreTests",
      "sources" : [
        "PJSIPSwiftGenCoreTests.swift"
      ],
      "target_dependencies" : [
        "PJSIPSwiftGenCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PJSIPSwiftGenCore",
      "module_type" : "SwiftTarget",
      "name" : "PJSIPSwiftGenCore",
      "path" : "Sources/PJSIPSwiftGenCore",
      "product_memberships" : [
        "PJSIPSwiftGenCore",
        "pjsip-swift-gen",
        "PJSIPSwiftGenPlugin",
        "PJSIPSwiftGenCommand"
      ],
      "sources" : [
        "CHeaderParser.swift",
        "Config.swift",
        "EnumGenerator.swift",
        "GeneratorUtils.swift",
        "MacroResolver.swift",
        "StructGenerator.swift",
        "TypeDiscoverer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PJSIPSwiftGenCommand",
      "module_type" : "PluginTarget",
      "name" : "PJSIPSwiftGenCommand",
      "path" : "Plugins/PJSIPSwiftGenCommand",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate Swift helpers (extensions, conformances) from PJSIP C headers.",
          "type" : "custom",
          "verb" : "generate-pjsip-helpers"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Write generated Swift files back into the package source directory.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PJSIPSwiftGenCommand"
      ],
      "sources" : [
        "Plugin.swift"
      ],
      "target_dependencies" : [
        "pjsip-swift-gen"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.9"
}
Done.