The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcutility, reference 0.2.0 (04d0e3), with Swift 6.1 for Wasm on 27 May 2025 08:51:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jeffctown/xcutility.git
Reference: 0.2.0
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/jeffctown/xcutility
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 04d0e32 Merge pull request #23 from jeffctown/feature/FixingMakefile
Cloned https://github.com/jeffctown/xcutility.git
Revision (git rev-parse @):
04d0e32feb504e2b8af31bf21cdb64de6094ac4e
SUCCESS checkout https://github.com/jeffctown/xcutility.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jeffctown/xcutility.git
https://github.com/jeffctown/xcutility.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.5.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/xcodeproj.git"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "xcutility",
  "name" : "xcutility",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCUtilityFramework",
      "targets" : [
        "XCUtilityFramework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "xcutility",
      "targets" : [
        "xcutility"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "xcutility",
      "module_type" : "SwiftTarget",
      "name" : "xcutility",
      "path" : "Sources/xcutility",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "xcutility"
      ],
      "sources" : [
        "Commands/FindAllCommand.swift",
        "Commands/FindUnbuiltCommand.swift",
        "Commands/FindUnreferencedCommand.swift",
        "Commands/VersionCommand.swift",
        "Extensions/CommandProtocol+Extension.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "XCUtilityFramework"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCUtilityFrameworkTests",
      "module_type" : "SwiftTarget",
      "name" : "XCUtilityFrameworkTests",
      "path" : "Tests/XCUtilityFrameworkTests",
      "sources" : [
        "Extensions/Path+ExtensionTests.swift",
        "Extensions/String+ExtensionTests.swift",
        "Fixtures.swift",
        "Model/ConfigurationTests.swift",
        "Model/FileTests.swift",
        "Model/XcodeProjectTests.swift",
        "Pipeline/PipelineTests.swift",
        "Pipeline/StepFactory/FindAllStepFactoryTests.swift",
        "Pipeline/StepFactory/FindUnbuiltStepFactoryTests.swift",
        "Pipeline/StepFactory/FindUnreferencedStepFactoryTests.swift",
        "Pipeline/StepFactory/StepFactoryTests.swift",
        "Pipeline/Steps/DeleteUnbuiltFilesTests.swift",
        "Pipeline/Steps/DeleteUnreferencedFilesTests.swift",
        "Pipeline/Steps/FindFilesTests.swift",
        "Pipeline/Steps/FindUnbuiltFilesTests.swift",
        "Pipeline/Steps/FindUnreferencedFilesTests.swift",
        "Pipeline/Steps/FindXcodeFilesTests.swift",
        "Pipeline/Steps/FindXcodeProjectsTests.swift",
        "Pipeline/Steps/FindXcodeReferencesTests.swift",
        "Pipeline/Steps/FindXcodeSourceBuildFilesTests.swift",
        "Yaml/YamlParserTests.swift"
      ],
      "target_dependencies" : [
        "XCUtilityFramework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCUtilityFramework",
      "module_type" : "SwiftTarget",
      "name" : "XCUtilityFramework",
      "path" : "Sources/XCUtilityFramework",
      "product_dependencies" : [
        "xcodeproj",
        "Yams"
      ],
      "product_memberships" : [
        "XCUtilityFramework",
        "xcutility"
      ],
      "sources" : [
        "Extensions/Path+Extension.swift",
        "Extensions/String+Extension.swift",
        "Log/Log.swift",
        "Log/PrintLogAdapter.swift",
        "Model/Configuration.swift",
        "Model/File.swift",
        "Model/Files.swift",
        "Model/Version.swift",
        "Model/XcodeFile.swift",
        "Model/XcodeProject.swift",
        "Pipeline/Pipeline.swift",
        "Pipeline/PipelineState.swift",
        "Pipeline/StepFactory/FindAllStepFactory.swift",
        "Pipeline/StepFactory/FindUnbuiltStepFactory.swift",
        "Pipeline/StepFactory/FindUnreferencedStepFactory.swift",
        "Pipeline/StepFactory/StepFactory.swift",
        "Pipeline/Steps/DeleteUnbuiltFiles.swift",
        "Pipeline/Steps/DeleteUnreferencedFiles.swift",
        "Pipeline/Steps/FindFiles.swift",
        "Pipeline/Steps/FindUnbuiltFiles.swift",
        "Pipeline/Steps/FindUnreferencedFiles.swift",
        "Pipeline/Steps/FindXcodeFiles.swift",
        "Pipeline/Steps/FindXcodeProjects.swift",
        "Pipeline/Steps/FindXcodeReferences.swift",
        "Pipeline/Steps/FindXcodeSourceBuildFiles.swift",
        "Yaml/YamlParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/jpsim/Yams.git
[1/2329] Fetching commandant
[2330/12976] Fetching commandant, yams
[2543/36266] Fetching commandant, yams, xcodeproj
Fetched https://github.com/Carthage/Commandant.git from cache (1.55s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.60s)
Fetched https://github.com/jpsim/Yams.git from cache (1.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.29s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (2.91s)
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/tadija/AEXML
[1/4863] Fetching swiftshell
[342/6990] Fetching swiftshell, aexml
[2709/8401] Fetching swiftshell, aexml, pathkit
Fetched https://github.com/tadija/AEXML from cache (0.63s)
Fetched https://github.com/kylef/PathKit from cache (0.81s)
Fetched https://github.com/kareman/SwiftShell from cache (0.82s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (3.62s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.86s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (1.59s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (1.10s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (1.11s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Building for debugging...
[0/23] Write sources
[7/23] Compiling reader.c
[8/23] Compiling writer.c
[9/23] Compiling parser.c
[10/23] Compiling api.c
[11/23] Write swift-version-24593BA9C3E375BF.txt
[12/23] Compiling emitter.c
[13/39] Compiling scanner.c
[15/56] Compiling Commandant Result+Additions.swift
[16/57] Compiling Yams Mark.swift
[17/57] Compiling Yams Node.Mapping.swift
[18/57] Compiling Commandant OrderedSet.swift
[19/59] Compiling Commandant Switch.swift
[20/59] Compiling Yams YamlError.swift
[21/59] Compiling Yams shim.swift
[22/59] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 |     // MARK: - XMLParserDelegate
57 |
58 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 |                 didStartElement elementName: String,
60 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 |     }
67 |
68 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 |         currentValue.append(string)
70 |         currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 |     }
72 |
73 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 |                 didEndElement elementName: String,
75 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 |     }
83 |
84 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 |         self.parseError = parseError
86 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:41:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |
40 |     func parse() throws {
41 |         let parser = XMLParser(data: data)
   |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
42 |         parser.delegate = self
43 |
[23/59] Compiling AEXML Error.swift
[24/59] Compiling AEXML Element.swift
[25/59] Compiling AEXML Options.swift
[26/59] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | 			let components = unwrappedStringValue.split(
238 | 				omittingEmptySubsequences: true,
239 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | 			)
241 | 			var resultValues: [T] = []
_StringProcessing.Collection.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |   public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element}
  |               `- note: where 'C' = 'String.Element' (aka 'Character')
4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/59] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[28/59] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[29/59] Compiling Yams String+Yams.swift
[30/59] Compiling Yams Tag.swift
[31/59] Compiling Yams Constructor.swift
[32/59] Compiling Yams Decoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/59] Emitting module Commandant
[34/59] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 |     // MARK: - XMLParserDelegate
57 |
58 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 |                 didStartElement elementName: String,
60 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 |     }
67 |
68 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 |         currentValue.append(string)
70 |         currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 |     }
72 |
73 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 |                 didEndElement elementName: String,
75 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 |     }
83 |
84 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 |         self.parseError = parseError
86 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[35/59] Compiling Commandant HelpCommand.swift
[36/59] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[37/59] Compiling Commandant Errors.swift
[38/59] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[39/59] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[40/59] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[43/59] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/10] Write swift-version-24593BA9C3E375BF.txt
[2/43] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 |     // MARK: - XMLParserDelegate
57 |
58 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 |                 didStartElement elementName: String,
60 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 |     }
67 |
68 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 |         currentValue.append(string)
70 |         currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 |     }
72 |
73 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 |                 didEndElement elementName: String,
75 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 |     }
83 |
84 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 |         self.parseError = parseError
86 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:41:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |
40 |     func parse() throws {
41 |         let parser = XMLParser(data: data)
   |                      `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
42 |         parser.delegate = self
43 |
[3/43] Compiling Commandant Result+Additions.swift
[4/44] Compiling AEXML Error.swift
[5/44] Compiling AEXML Options.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/44] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[7/44] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[8/44] Compiling Commandant Errors.swift
[9/44] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[10/44] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Command.swift:206:15: error: cannot find 'Process' in scope
204 |
205 | 		func launchTask(_ path: String, arguments: [String]) -> Int32 {
206 | 			let task = Process()
    |               `- error: cannot find 'Process' in scope
207 | 			task.arguments = arguments
208 |
[11/44] Compiling Commandant Switch.swift
[12/44] Compiling AEXML Element.swift
[13/44] Compiling Commandant HelpCommand.swift
[14/44] Compiling Commandant Option.swift
[15/44] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
[16/44] Compiling Commandant OrderedSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/44] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
 8 |
 9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
   |                                       `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 |     // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 |     // MARK: - XMLParserDelegate
57 |
58 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 |                 didStartElement elementName: String,
60 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 |     }
67 |
68 |     func parser(_ parser: XMLParser, foundCharacters string: String) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 |         currentValue.append(string)
70 |         currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 |     }
72 |
73 |     func parser(_ parser: XMLParser,
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 |                 didEndElement elementName: String,
75 |                 namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 |     }
83 |
84 |     func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
   |                           `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 |         self.parseError = parseError
86 |     }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
  |                  `- note: 'XMLParser' has been explicitly marked unavailable here
[18/44] Compiling Yams Emitter.swift
[19/44] Compiling Yams Encoder.swift
[20/44] Emitting module Commandant
[21/44] Compiling Yams String+Yams.swift
[22/44] Compiling Yams Tag.swift
[23/44] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[24/44] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:297:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
295 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
296 |         // it uses with `String(format:...)`
297 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
298 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
299 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[25/46] Compiling Yams Node.Scalar.swift
[26/46] Compiling Yams Node.Sequence.swift
[27/46] Compiling Yams Mark.swift
[28/46] Compiling Yams Node.Mapping.swift
[29/46] Compiling Yams Node.swift
[30/46] Compiling Yams Parser.swift
BUILD FAILURE 6.1 wasm