This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of XML with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swiftxml.git
Reference: master
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/tayloraswift/swiftxml
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 91ae89c unfail build
Cloned https://github.com/tayloraswift/swiftxml.git
Revision (git rev-parse @):
91ae89c58e5a478191c27d44c31bd9bae281fefd
SUCCESS checkout https://github.com/tayloraswift/swiftxml.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tayloraswift/swiftxml.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module XML
/host/spi-builder-workspace/swiftxml/swiftxml.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 |     }
366 |
367 |     public mutating
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 |     func parse(_ str:String)
369 |     {
/host/spi-builder-workspace/swiftxml/swiftxml.swift:911:5: warning: 'public' modifier is redundant for instance method declared in a public extension
909 |     }
910 |
911 |     public mutating
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
912 |     func parse(path:String)
913 |     {
[5/9] Compiling XML swiftxml.swift
/host/spi-builder-workspace/swiftxml/swiftxml.swift:367:5: warning: 'public' modifier is redundant for instance method declared in a public extension
365 |     }
366 |
367 |     public mutating
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
368 |     func parse(_ str:String)
369 |     {
/host/spi-builder-workspace/swiftxml/swiftxml.swift:911:5: warning: 'public' modifier is redundant for instance method declared in a public extension
909 |     }
910 |
911 |     public mutating
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
912 |     func parse(path:String)
913 |     {
/host/spi-builder-workspace/swiftxml/swiftxml.swift:353:24: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
351 |
352 |         let buffer:UnsafeMutablePointer<CChar> = UnsafeMutablePointer<CChar>.allocate(capacity: n + 1) // leave room for sentinel
353 |         defer { buffer.deallocate(capacity: n + 1) }
    |                        `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
354 |
355 |         let n_read = fread(buffer, MemoryLayout<CChar>.size, n, f)
[6/10] Wrapping AST for XML for debugging
[8/13] Emitting module XMLTests
[9/13] Compiling XMLTests main.swift
[10/13] Compiling XMLTests tests.swift
[11/14] Wrapping AST for XMLTests for debugging
[12/14] Write Objects.LinkFileList
[13/14] Linking tests
Build complete! (10.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XML",
  "name" : "XML",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XML",
      "targets" : [
        "XML"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "tests",
      "targets" : [
        "XMLTests"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "XMLTests",
      "module_type" : "SwiftTarget",
      "name" : "XMLTests",
      "path" : "tests/swiftxml",
      "product_memberships" : [
        "tests"
      ],
      "sources" : [
        "main.swift",
        "tests.swift"
      ],
      "target_dependencies" : [
        "XML"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XML",
      "module_type" : "SwiftTarget",
      "name" : "XML",
      "path" : "swiftxml",
      "product_memberships" : [
        "XML",
        "tests"
      ],
      "sources" : [
        "swiftxml.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.