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 0.12.7 (a65d2e), with Swift 6.1 for Wasm on 11 Jul 2025 10:57:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/mikeger/XcodeSelectiveTesting.git
Reference: 0.12.7
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
 * tag               0.12.7     -> FETCH_HEAD
HEAD is now at a65d2e9 Fix path calculation for packages
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
a65d2e9f5aa201d3e922d701d507c43009ba6cef
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at 0.12.7
========================================
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" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.5",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "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"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "DependencyGraph.swift",
        "Sequence+Extensions.swift",
        "Target.swift",
        "WorkspaceInfo.swift",
        "XCWorkspace+Projects.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestConfigurator",
      "module_type" : "SwiftTarget",
      "name" : "TestConfigurator",
      "path" : "Sources/TestConfigurator",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "TestConfigurator.swift",
        "xctestplanner/Core/Entity/TestPlanModel.swift",
        "xctestplanner/Core/Extensions/Array+Extensions.swift",
        "xctestplanner/Core/Helper/TestPlanHelper.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "SelectiveTestLogger"
      ],
      "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"
      ],
      "target_dependencies" : [
        "xcode-selective-test"
      ],
      "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",
        "Rainbow",
        "Yams"
      ],
      "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"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestLogger",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestLogger",
      "path" : "Sources/SelectiveTestLogger",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Git",
      "module_type" : "SwiftTarget",
      "name" : "Git",
      "path" : "Sources/Git",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Git+Changeset.swift",
        "Git.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestShell",
        "SelectiveTestLogger"
      ],
      "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"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "ConcurrentMap.swift",
        "DependencyCalculator.swift",
        "DependencyGraph.swift",
        "PackageMetadata.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "SelectiveTestLogger",
        "Git"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/tuist/XcodeProj.git
[1/1411] Fetching pathkit
[1412/24804] Fetching pathkit, xcodeproj
[2582/26042] Fetching pathkit, xcodeproj, rainbow
[5458/37022] Fetching pathkit, xcodeproj, rainbow, yams
[15058/52546] Fetching pathkit, xcodeproj, rainbow, yams, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (2.21s)
Fetched https://github.com/kylef/PathKit.git from cache (2.21s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.22s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.24s)
Fetched https://github.com/jpsim/Yams.git from cache (2.25s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.39s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.34s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.18s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.44s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.4.3 (0.86s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.53s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.41s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.76s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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/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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.4.3
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:27:23: warning: result of call to 'changeCurrentDirectoryPath' is unused
25 |
26 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
27 |         FileManager().changeCurrentDirectoryPath(context.package.directory.string)
   |                       `- warning: result of call to 'changeCurrentDirectoryPath' is unused
28 |         let tool = try context.tool(named: "xcode-selective-test")
29 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/80] Write sources
[30/80] Compiling reader.c
[31/80] Compiling writer.c
[33/80] Compiling parser.c
[34/80] Compiling reader.c
[35/80] Compiling emitter.c
[36/80] Write sources
[39/80] Compiling api.c
[40/80] Write swift-version-24593BA9C3E375BF.txt
[41/80] Compiling parser.c
[41/80] Compiling scanner.c
[43/80] Compiling api.c
[44/80] Compiling emitter.c
[45/80] Compiling scanner.c
[47/152] Emitting module SelectiveTestShell
[48/152] Emitting module Yams
[49/154] Compiling Yams Anchor.swift
[50/154] Compiling Yams Constructor.swift
[51/155] Compiling Rainbow StringGenerator.swift
[52/155] Compiling Yams Tag.swift
[53/155] Compiling Yams YamlAnchorProviding.swift
[54/155] Compiling Rainbow String+Rainbow.swift
[55/155] Compiling Rainbow Style.swift
[56/155] Compiling Rainbow StringGenerator.swift
[57/156] Compiling Yams Decoder.swift
[58/156] Compiling Yams Emitter.swift
[59/156] Compiling Rainbow String+Rainbow.swift
[62/158] Compiling Rainbow Style.swift
[63/158] Compiling Rainbow Rainbow.swift
[64/158] Compiling Yams Parser.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.
[65/158] Compiling Yams RedundancyAliasingStrategy.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.
[66/158] Compiling Yams Representer.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.
[67/158] Compiling SelectiveTestShell String+Error.swift
[68/158] 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 |
[69/158] Emitting module SelectiveTestShell
[70/158] Compiling Yams Encoder.swift
[71/158] Compiling Yams AliasDereferencingStrategy.swift
[72/158] Emitting module Rainbow
[75/158] Compiling Rainbow OutputTarget.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/158] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:27:23: warning: result of call to 'changeCurrentDirectoryPath' is unused
25 |
26 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
27 |         FileManager().changeCurrentDirectoryPath(context.package.directory.string)
   |                       `- warning: result of call to 'changeCurrentDirectoryPath' is unused
28 |         let tool = try context.tool(named: "xcode-selective-test")
29 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/38] Write swift-version-24593BA9C3E375BF.txt
[5/102] Emitting module SelectiveTestShell
[6/102] 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 |
[7/102] Compiling SelectiveTestShell String+Error.swift
[8/102] Emitting module AEXML
[9/102] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm