The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XMLDocument, reference 1.0.0 (5b78bc), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 10:48:58 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kewlbear/XMLDocument.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kewlbear/XMLDocument
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5b78bcc implemented basic functionality
Cloned https://github.com/kewlbear/XMLDocument.git
Revision (git rev-parse @):
5b78bcc99c3810ffdf099c00ce8fc50a20c37577
SUCCESS checkout https://github.com/kewlbear/XMLDocument.git at 1.0.0
========================================
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": "xmldocument",
      "name": "XMLDocument",
      "url": "https://github.com/kewlbear/XMLDocument.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLDocument",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kewlbear/XMLDocument.git
[1/97] Fetching xmldocument
Fetched https://github.com/kewlbear/XMLDocument.git from cache (0.61s)
Creating working copy for https://github.com/kewlbear/XMLDocument.git
Working copy of https://github.com/kewlbear/XMLDocument.git resolved at 1.0.0 (5b78bcc)
warning: '.resolve-product-dependencies': dependency 'xmldocument' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kewlbear/XMLDocument.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/4] Emitting module XMLDocument
[4/4] Compiling XMLDocument XMLDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/XMLDocument/XMLDocument.swift:51:30: warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#TemporaryPointers]
 49 |         let option = 0
 50 |         // FIXME: xmlParseMemory?
 51 |         _docPtr = xmlReadDoc(UnsafeRawPointer(cur).assumingMemoryBound(to: xmlChar.self), url, charsetName, CInt(option))
    |                              |                |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                              |                `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                              `- warning: initialization of 'UnsafeRawPointer' results in a dangling pointer [#TemporaryPointers]
 52 |
 53 |         super.init(nodePtr: nil, owner: nil)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete! (3.81s)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libxml-2.0 using your system-packager:
    brew install libxml2
warning: you may be able to install libxml-2.0 using your system-packager:
    brew install libxml2
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XMLDocument",
  "name" : "XMLDocument",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XMLDocument",
      "targets" : [
        "XMLDocument"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libxml2XMLDocument",
      "module_type" : "SystemLibraryTarget",
      "name" : "libxml2XMLDocument",
      "path" : "Sources/libxml2",
      "product_memberships" : [
        "XMLDocument"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "XMLDocumentTests",
      "module_type" : "SwiftTarget",
      "name" : "XMLDocumentTests",
      "path" : "Tests/XMLDocumentTests",
      "sources" : [
        "XCTestManifests.swift",
        "XMLDocumentTests.swift"
      ],
      "target_dependencies" : [
        "XMLDocument"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XMLDocument",
      "module_type" : "SwiftTarget",
      "name" : "XMLDocument",
      "path" : "Sources/XMLDocument",
      "product_memberships" : [
        "XMLDocument"
      ],
      "sources" : [
        "XMLDocument.swift"
      ],
      "target_dependencies" : [
        "libxml2XMLDocument"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.