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 XcodeSelectiveTesting, reference main (4c2a4d), with Swift 6.1 for Wasm on 17 Nov 2025 22:26:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikeger/XcodeSelectiveTesting.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/mikeger/XcodeSelectiveTesting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4c2a4d0 Prune targets not connected to workspace (#84)
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
4c2a4d09e427a9eb9fce9c9e4c539d68c7b4826c
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mikeger/XcodeSelectiveTesting.git
https://github.com/mikeger/XcodeSelectiveTesting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.2",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.5",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "XcodeSelectiveTesting",
  "name" : "XcodeSelectiveTesting",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "xcode-selective-test",
      "targets" : [
        "xcode-selective-test"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeSelectiveTest",
      "targets" : [
        "SelectiveTestingPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "XcodeSelectiveTestCore",
      "targets" : [
        "SelectiveTestingCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcode_selective_test",
      "module_type" : "SwiftTarget",
      "name" : "xcode-selective-test",
      "path" : "Sources/xcode-selective-test",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "SelectiveTesting.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestingCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Workspace",
      "module_type" : "SwiftTarget",
      "name" : "Workspace",
      "path" : "Sources/Workspace",
      "product_dependencies" : [
        "XcodeProj",
        "Logging"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "DependencyGraph.swift",
        "Sequence+Extensions.swift",
        "Target.swift",
        "WorkspaceInfo.swift",
        "XCWorkspace+Projects.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestConfigurator",
      "module_type" : "SwiftTarget",
      "name" : "TestConfigurator",
      "path" : "Sources/TestConfigurator",
      "product_dependencies" : [
        "PathKit",
        "Logging",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "TestConfigurator.swift",
        "xctestplanner/Core/Entity/TestPlanModel.swift",
        "xctestplanner/Core/Helper/TestPlanHelper.swift"
      ],
      "target_dependencies" : [
        "Workspace"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestingTests",
      "path" : "Tests/SelectiveTestingTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SelectiveTestingTests/ExampleProject",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "IntegrationTestTool.swift",
        "SelectiveTestingConfigTests.swift",
        "SelectiveTestingPackagesTests.swift",
        "SelectiveTestingPerformanceTests.swift",
        "SelectiveTestingProjectTests.swift",
        "SelectiveTestingWorkspaceTests.swift",
        "TestPlanCodableTests.swift",
        "TestPlanModelTests.swift"
      ],
      "target_dependencies" : [
        "xcode-selective-test",
        "Workspace"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SelectiveTestingPlugin",
      "module_type" : "PluginTarget",
      "name" : "SelectiveTestingPlugin",
      "path" : "Plugins/SelectiveTestingPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Configure test plan for current changeset",
          "type" : "custom",
          "verb" : "xcode-selective-test"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Update test plan file",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "SelectiveTestingPlugin.swift"
      ],
      "target_dependencies" : [
        "xcode-selective-test"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SelectiveTestingCore",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestingCore",
      "path" : "Sources/SelectiveTestingCore",
      "product_dependencies" : [
        "PathKit",
        "Yams",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Config.swift",
        "DependencyGraph+Visualization.swift",
        "SelectiveTestingTool.swift"
      ],
      "target_dependencies" : [
        "DependencyCalculator",
        "TestConfigurator",
        "Git"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestShell",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestShell",
      "path" : "Sources/SelectiveTestShell",
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Shell.swift",
        "String+Error.swift",
        "String+Shell.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Git",
      "module_type" : "SwiftTarget",
      "name" : "Git",
      "path" : "Sources/Git",
      "product_dependencies" : [
        "PathKit",
        "Logging"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Git+Changeset.swift",
        "Git.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestShell"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DependencyCalculatorTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyCalculatorTests",
      "path" : "Tests/DependencyCalculatorTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/DependencyCalculatorTests/ExamplePackages",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DependencyCalculatorTests.swift",
        "PackageMetadataTests.swift"
      ],
      "target_dependencies" : [
        "DependencyCalculator",
        "Workspace",
        "SelectiveTestingCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyCalculator",
      "module_type" : "SwiftTarget",
      "name" : "DependencyCalculator",
      "path" : "Sources/DependencyCalculator",
      "product_dependencies" : [
        "PathKit",
        "Logging"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "ConcurrentMap.swift",
        "DependencyCalculator.swift",
        "DependencyGraph.swift",
        "PackageMetadata.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "Git"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-log
[1/23652] Fetching xcodeproj
[1657/25090] Fetching xcodeproj, pathkit
[4987/36353] Fetching xcodeproj, pathkit, yams
[6171/40751] Fetching xcodeproj, pathkit, yams, swift-log
[8580/57437] Fetching xcodeproj, pathkit, yams, swift-log, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (0.36s)
[15746/55999] Fetching xcodeproj, yams, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.88s)
[34088/39313] Fetching xcodeproj, yams, swift-log
Fetched https://github.com/jpsim/Yams.git from cache (1.70s)
Fetched https://github.com/apple/swift-log from cache (1.81s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.84s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (14.38s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.20s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.21s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (1.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.68s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.6.0 (0.77s)
Fetching https://github.com/tadija/AEXML.git
[1/2154] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.02s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.6.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:26:29: warning: result of call to 'changeCurrentDirectoryPath' is unused
24 |
25 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
26 |         FileManager.default.changeCurrentDirectoryPath(context.package.directoryURL.path)
   |                             `- warning: result of call to 'changeCurrentDirectoryPath' is unused
27 |         let tool = try context.tool(named: "xcode-selective-test")
28 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/76] Write sources
[29/76] Compiling writer.c
[30/76] Compiling reader.c
[31/76] Compiling writer.c
[32/76] Compiling parser.c
[33/76] Compiling reader.c
[34/76] Compiling parser.c
[35/76] Write sources
[37/76] Compiling emitter.c
[38/76] Compiling api.c
[39/76] Compiling scanner.c
[40/76] Compiling api.c
[41/76] Write swift-version-24593BA9C3E375BF.txt
[42/76] Compiling emitter.c
[43/80] Compiling scanner.c
[45/137] Emitting module SelectiveTestShell
[46/137] Emitting module PathKit
[47/137] Emitting module ArgumentParserToolInfo
[48/137] Compiling ArgumentParserToolInfo ToolInfo.swift
[49/138] Compiling Yams Resolver.swift
[50/138] Compiling Yams String+Yams.swift
[52/140] Compiling Yams Tag.swift
[53/140] Compiling Yams YamlAnchorProviding.swift
[54/144] Emitting module ArgumentParserToolInfo
[55/144] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/150] Compiling Logging LogHandler.swift
[58/150] Compiling Logging MetadataProvider.swift
[59/150] Emitting module Logging
[60/150] Compiling SelectiveTestShell Shell.swift
[61/150] Emitting module SelectiveTestShell
[62/150] Compiling AEXML Error.swift
[63/150] Compiling AEXML Options.swift
[64/150] Compiling AEXML Document.swift
[65/150] Emitting module AEXML
[66/150] Compiling AEXML Builders.swift
[67/150] Compiling SelectiveTestShell String+Shell.swift
[68/150] Compiling SelectiveTestShell String+Error.swift
[69/150] Compiling AEXML Element.swift
[70/151] Emitting module Yams
[71/151] Compiling Yams Node.Scalar.swift
[72/151] Compiling Yams Node.Sequence.swift
[73/151] Compiling Yams Node.swift
[74/151] Compiling Yams Mark.swift
[75/151] Compiling Yams Node.Alias.swift
[76/151] Compiling Yams Node.Mapping.swift
[77/151] Compiling AEXML Parser.swift
[78/152] Compiling Yams YamlError.swift
[79/152] Compiling Yams YamlTagProviding.swift
[83/152] Compiling Yams Parser.swift
[84/152] Compiling Yams RedundancyAliasingStrategy.swift
[85/152] Compiling Yams Representer.swift
[87/152] Compiling Yams Decoder.swift
[88/152] Compiling Yams Emitter.swift
[89/152] Compiling Yams Encoder.swift
[90/152] Compiling Yams AliasDereferencingStrategy.swift
[91/152] Compiling Yams Anchor.swift
[92/152] Compiling Yams Constructor.swift
[93/158] Compiling PathKit PathKit.swift
[96/203] Compiling ArgumentParser EnumerableFlag.swift
[97/203] Compiling ArgumentParser ExpressibleByArgument.swift
[98/203] Compiling SelectiveTestShell String+Shell.swift
[99/203] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[100/203] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[101/203] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[102/203] Compiling ArgumentParser ParsableArguments.swift
[103/203] Compiling ArgumentParser ParsableCommand.swift
[104/203] Compiling Logging Locks.swift
[105/203] Compiling SelectiveTestShell String+Error.swift
[106/203] Compiling SelectiveTestShell Shell.swift
/host/spi-builder-workspace/Sources/SelectiveTestShell/Shell.swift:10:20: error: cannot find 'Process' in scope
 8 |     @discardableResult
 9 |     public static func exec(_ command: String) throws -> (String, Int32) {
10 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
11 |         let pipe = Pipe()
12 |
[107/203] Compiling ArgumentParser ArgumentHelp.swift
[108/203] Compiling ArgumentParser ArgumentVisibility.swift
[109/203] Compiling ArgumentParser CompletionKind.swift
[110/203] Compiling ArgumentParser Errors.swift
[111/203] Compiling ArgumentParser Flag.swift
[112/203] Compiling ArgumentParser NameSpecification.swift
[113/203] Compiling Logging Locks.swift
[114/203] Emitting module Yams
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:26:29: warning: result of call to 'changeCurrentDirectoryPath' is unused
24 |
25 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
26 |         FileManager.default.changeCurrentDirectoryPath(context.package.directoryURL.path)
   |                             `- warning: result of call to 'changeCurrentDirectoryPath' is unused
27 |         let tool = try context.tool(named: "xcode-selective-test")
28 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/36] Write swift-version-24593BA9C3E375BF.txt
[5/92] Compiling SelectiveTestShell String+Error.swift
[6/92] Compiling SelectiveTestShell String+Shell.swift
[7/92] Emitting module SelectiveTestShell
[8/92] Compiling SelectiveTestShell Shell.swift
/host/spi-builder-workspace/Sources/SelectiveTestShell/Shell.swift:10:20: error: cannot find 'Process' in scope
 8 |     @discardableResult
 9 |     public static func exec(_ command: String) throws -> (String, Int32) {
10 |         let task = Process()
   |                    `- error: cannot find 'Process' in scope
11 |         let pipe = Pipe()
12 |
[9/92] Compiling SelectiveTestShell String+Error.swift
[10/92] Emitting module SelectiveTestShell
[11/92] Compiling SelectiveTestShell Shell.swift
[12/92] Compiling SelectiveTestShell String+Shell.swift
[13/92] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm