The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftXML, reference main (fc1c6f), with Swift 6.1 for Wasm on 27 Jun 2025 09:29:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stefanspringer1/SwiftXML.git
Reference: main
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/stefanspringer1/SwiftXML
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fc1c6fb README (edited the "Limitations" section)
Cloned https://github.com/stefanspringer1/SwiftXML.git
Revision (git rev-parse @):
fc1c6fbbd7376860f06b41da7e0d862f8315c13a
SUCCESS checkout https://github.com/stefanspringer1/SwiftXML.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stefanspringer1/SwiftXML.git
https://github.com/stefanspringer1/SwiftXML.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftxmlparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.2",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stefanspringer1/SwiftXMLParser"
    },
    {
      "identity" : "autoreleasepoolshim",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stefanspringer1/AutoreleasepoolShim"
    }
  ],
  "manifest_display_name" : "SwiftXML",
  "name" : "SwiftXML",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftXML",
      "targets" : [
        "SwiftXML"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftXMLTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftXMLTests",
      "path" : "Tests/SwiftXMLTests",
      "sources" : [
        "FromReadme.swift",
        "NamespacesTests.swift",
        "SequenceTypesTest.swift",
        "SwiftXMLTests.swift",
        "ToolsTests.swift"
      ],
      "target_dependencies" : [
        "SwiftXML"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftXML",
      "module_type" : "SwiftTarget",
      "name" : "SwiftXML",
      "path" : "Sources/SwiftXML",
      "product_dependencies" : [
        "SwiftXMLParser",
        "AutoreleasepoolShim"
      ],
      "product_memberships" : [
        "SwiftXML"
      ],
      "sources" : [
        "Builder/XParseBuilder.swift",
        "Iteration/BasicIterators.swift",
        "Iteration/ChainedIterators.swift",
        "Iteration/ConvenienceExtensions.swift",
        "Iteration/IterationExtensions.swift",
        "Iteration/IteratorProtocols.swift",
        "Iteration/SequenceConcatenation.swift",
        "Iteration/Sequences.swift",
        "Iteration/WrappingIterators.swift",
        "Parsing/Parsing.swift",
        "Util.swift",
        "XML/Document.swift",
        "XML/Namespaces.swift",
        "XML/Nodes.swift",
        "XML/Production.swift",
        "XML/Tools.swift",
        "XML/Transformation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/stefanspringer1/SwiftXMLParser
Fetching https://github.com/stefanspringer1/AutoreleasepoolShim
[1/803] Fetching swiftxmlparser
Fetched https://github.com/stefanspringer1/SwiftXMLParser from cache (0.24s)
[1/27] Fetching autoreleasepoolshim
Fetched https://github.com/stefanspringer1/AutoreleasepoolShim from cache (0.27s)
Computing version for https://github.com/stefanspringer1/AutoreleasepoolShim
Computed https://github.com/stefanspringer1/AutoreleasepoolShim at 1.0.3 (2.14s)
Computing version for https://github.com/stefanspringer1/SwiftXMLParser
Computed https://github.com/stefanspringer1/SwiftXMLParser at 3.0.2 (0.54s)
Fetching https://github.com/stefanspringer1/SwiftXMLInterfaces
[1/581] Fetching swiftxmlinterfaces
Fetched https://github.com/stefanspringer1/SwiftXMLInterfaces from cache (0.88s)
Computing version for https://github.com/stefanspringer1/SwiftXMLInterfaces
Computed https://github.com/stefanspringer1/SwiftXMLInterfaces at 5.0.3 (1.37s)
Creating working copy for https://github.com/stefanspringer1/AutoreleasepoolShim
Working copy of https://github.com/stefanspringer1/AutoreleasepoolShim resolved at 1.0.3
Creating working copy for https://github.com/stefanspringer1/SwiftXMLParser
Working copy of https://github.com/stefanspringer1/SwiftXMLParser resolved at 3.0.2
Creating working copy for https://github.com/stefanspringer1/SwiftXMLInterfaces
Working copy of https://github.com/stefanspringer1/SwiftXMLInterfaces resolved at 5.0.3
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Compiling AutoreleasepoolShim AutoreleasepoolShim.swift
[7/7] Emitting module AutoreleasepoolShim
[9/13] Compiling SwiftXMLInterfaces Utilities.swift
[10/13] Compiling SwiftXMLInterfaces Events.swift
[11/13] Compiling SwiftXMLInterfaces Errors.swift
[12/13] Emitting module SwiftXMLInterfaces
[13/13] Compiling SwiftXMLInterfaces Parser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXMLInterfaces/Sources/SwiftXMLInterfaces/Parser.swift:95:13: error: cannot find 'autoreleasepool' in scope
 93 |         immediateTextHandlingNearEntities: ImmediateTextHandlingNearEntities = .atExternalEntities
 94 |     ) throws {
 95 |         try autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 96 |             let data: Data = try Data(contentsOf: url/*, options: [.alwaysMapped]*/)
 97 |             try parse(
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module AutoreleasepoolShim
[3/3] Compiling AutoreleasepoolShim AutoreleasepoolShim.swift
[5/9] Compiling SwiftXMLInterfaces Utilities.swift
[6/9] Compiling SwiftXMLInterfaces Parser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftXMLInterfaces/Sources/SwiftXMLInterfaces/Parser.swift:95:13: error: cannot find 'autoreleasepool' in scope
 93 |         immediateTextHandlingNearEntities: ImmediateTextHandlingNearEntities = .atExternalEntities
 94 |     ) throws {
 95 |         try autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 96 |             let data: Data = try Data(contentsOf: url/*, options: [.alwaysMapped]*/)
 97 |             try parse(
[7/9] Compiling SwiftXMLInterfaces Errors.swift
[8/9] Emitting module SwiftXMLInterfaces
[9/9] Compiling SwiftXMLInterfaces Events.swift
BUILD FAILURE 6.1 wasm