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

Failed to build XML with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tayloraswift/swiftxml.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[2/7] Write tests-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/9] Emitting module XML
/Users/admin/builder/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 |     {
/Users/admin/builder/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 |     {
[6/9] Compiling XML swiftxml.swift
/Users/admin/builder/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 |     {
/Users/admin/builder/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 |     {
/Users/admin/builder/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/12] Emitting module XMLTests
/Users/admin/builder/spi-builder-workspace/tests/swiftxml/main.swift:1:8: error: no such module 'Glibc'
 1 | import Glibc
   |        `- error: no such module 'Glibc'
 2 |
 3 | let test_cases:[(String, [Token])] =
[8/12] Compiling XMLTests main.swift
/Users/admin/builder/spi-builder-workspace/tests/swiftxml/main.swift:1:8: error: no such module 'Glibc'
 1 | import Glibc
   |        `- error: no such module 'Glibc'
 2 |
 3 | let test_cases:[(String, [Token])] =
[9/12] Compiling XMLTests tests.swift
/Users/admin/builder/spi-builder-workspace/tests/swiftxml/main.swift:1:8: error: no such module 'Glibc'
 1 | import Glibc
   |        `- error: no such module 'Glibc'
 2 |
 3 | let test_cases:[(String, [Token])] =
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.