The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcdiff, reference main (97b5f4), with Swift 6.1 for Wasm on 6 Mar 2026 13:09:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/bloomberg/xcdiff.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/bloomberg/xcdiff
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 97b5f4d Bumped xcodeproj version to support PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet (#154)
Cloned https://github.com/bloomberg/xcdiff.git
Revision (git rev-parse @):
97b5f4d075e831e447c843fffa2259526f5977d7
SUCCESS checkout https://github.com/bloomberg/xcdiff.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bloomberg/xcdiff.git
https://github.com/bloomberg/xcdiff.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.27.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/xcodeproj.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "xcdiff",
  "name" : "xcdiff",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "xcdiff",
      "targets" : [
        "XCDiff"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCDiffCommand",
      "targets" : [
        "XCDiffCommand"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCDiffCore",
      "targets" : [
        "XCDiffCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCDiffCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "XCDiffCoreTests",
      "path" : "Tests/XCDiffCoreTests",
      "product_dependencies" : [
        "PathKit",
        "XcodeProj"
      ],
      "sources" : [
        "Comparator/AttributesComparatorTests.swift",
        "Comparator/BuildPhasesComparatorTests.swift",
        "Comparator/ComparatorTypeTests.swift",
        "Comparator/ConfigurationsComparatorTests.swift",
        "Comparator/CopyFilesComparatorTests.swift",
        "Comparator/DependenciesComparatorTests.swift",
        "Comparator/FileReferencesComparatorTests.swift",
        "Comparator/FileSytemSynchronizedGroupsComparatorTests.swift",
        "Comparator/HeadersComparatorTests.swift",
        "Comparator/LinkedDependenciesComparatorTests.swift",
        "Comparator/PlistComparatorTests.swift",
        "Comparator/ResolvedSettingsComparatorTests.swift",
        "Comparator/ResoucesComparatorTests.swift",
        "Comparator/RunScriptComparatorTests.swift",
        "Comparator/SettingsComparatorTests.swift",
        "Comparator/SourceTreesComparatorTests.swift",
        "Comparator/SourcesComparatorTests.swift",
        "Comparator/SwiftPackagesComparatorTests.swift",
        "Comparator/TargetsComparatorTests.swift",
        "DefaultProjectComparatorTests.swift",
        "Helpers/ComparatorParameters+Extensions.swift",
        "Helpers/Fixtures.swift",
        "Helpers/PBXAggregateTargetBuilder.swift",
        "Helpers/PBXBuildConfigurationBuilder.swift",
        "Helpers/PBXBuildFileBuilder.swift",
        "Helpers/PBXBuildPhaseBuilder.swift",
        "Helpers/PBXHeaderAccessLevel.swift",
        "Helpers/PBXNativeTargetBuilder.swift",
        "Helpers/PBXProjBuilder.swift",
        "Helpers/XCConfigurationListBuilder.swift",
        "Library/ComparatorParametersTests.swift",
        "Library/CompareResultTests.swift",
        "Library/Descriptors/SwiftPackageDescriptorTests.swift",
        "Library/DiffTests.swift",
        "Library/PBX+ExtensionsTests.swift",
        "Library/ProjectCompareResultTests.swift",
        "Library/ProjectDescriptorTests.swift",
        "Library/String+ExtensionsTests.swift",
        "Library/URL+ExtensionsTests.swift",
        "Library/XcodeProjLoaderTests.swift",
        "Mocks/ComparatorMock.swift",
        "Mocks/SystemMock.swift",
        "Mocks/XcodeProjLoaderMock.swift",
        "ResultRenderer/Output/OutputTests.swift",
        "ResultRenderer/ProjectResultRenderer/HTMLSideBySideResultRendererTests.swift",
        "ResultRenderer/ProjectResultRenderer/JSONProjectCompareResultRendererTests.swift",
        "ResultRenderer/ProjectResultRenderer/TextProjectCompareResultRendererTests.swift",
        "ResultRenderer/Renderer/ConsoleRendererTests.swift",
        "ResultRenderer/Renderer/HTMLRendererTests.swift",
        "ResultRenderer/Renderer/MarkdownRendererTests.swift",
        "ResultRenderer/UniversalResultRendererTests.swift"
      ],
      "target_dependencies" : [
        "XCDiffCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCDiffCore",
      "module_type" : "SwiftTarget",
      "name" : "XCDiffCore",
      "path" : "Sources/XCDiffCore",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "product_memberships" : [
        "xcdiff",
        "XCDiffCommand",
        "XCDiffCore"
      ],
      "sources" : [
        "Comparator/AttributesComparator.swift",
        "Comparator/BuildPhasesComparator.swift",
        "Comparator/ConfigurationsComparator.swift",
        "Comparator/CopyFilesComparator.swift",
        "Comparator/DependenciesComparator.swift",
        "Comparator/FileReferencesComparator.swift",
        "Comparator/FileSytemSynchronizedGroupsComparator.swift",
        "Comparator/HeadersComparator.swift",
        "Comparator/LinkedDependenciesComparator.swift",
        "Comparator/PlistComparator.swift",
        "Comparator/ResolvedSettingsComparator.swift",
        "Comparator/ResourcesComparator.swift",
        "Comparator/RunScriptComparator.swift",
        "Comparator/SettingsComparator.swift",
        "Comparator/SourceTreesComparator.swift",
        "Comparator/SourcesComparator.swift",
        "Comparator/SwiftPackagesComparator.swift",
        "Comparator/TargetsComparator.swift",
        "ComparatorType.swift",
        "Library/BuildFileComparatorHelper.swift",
        "Library/Collections+Extensions.swift",
        "Library/Comparator+Extensions.swift",
        "Library/Comparator.swift",
        "Library/ComparatorError.swift",
        "Library/ComparatorParameters.swift",
        "Library/CompareResult.swift",
        "Library/Descriptors/BuildFileDescriptor.swift",
        "Library/Descriptors/PlistDescriptor.swift",
        "Library/Descriptors/SwiftPackageDescriptor.swift",
        "Library/Diff.swift",
        "Library/GenericCompareResult.swift",
        "Library/Optional+Extensions.swift",
        "Library/PBX+Extensions.swift",
        "Library/PathHelper.swift",
        "Library/PlistValue.swift",
        "Library/ProjectCompareResult.swift",
        "Library/ProjectDescriptor.swift",
        "Library/SettingValueComparator.swift",
        "Library/SettingsHelper.swift",
        "Library/String+Extensions.swift",
        "Library/System.swift",
        "Library/TargetsHelper.swift",
        "Library/TargetsPlistHelper.swift",
        "Library/URL+Extensions.swift",
        "Library/ValueComparator.swift",
        "Library/XcodeProjLoader.swift",
        "ProjectComparator.swift",
        "ResultRenderer/Output/Output.swift",
        "ResultRenderer/ProjectResultRenderer/HTMLSideBySideResultRenderer.swift",
        "ResultRenderer/ProjectResultRenderer/JSONProjectCompareResultRenderer.swift",
        "ResultRenderer/ProjectResultRenderer/ProjectCompareResultRenderer.swift",
        "ResultRenderer/ProjectResultRenderer/TextProjectCompareResultRenderer.swift",
        "ResultRenderer/Renderer/ConsoleRenderer.swift",
        "ResultRenderer/Renderer/HTMLRenderer.swift",
        "ResultRenderer/Renderer/MarkdownRenderer.swift",
        "ResultRenderer/Renderer/Renderer.swift",
        "ResultRenderer/Renderer/String+HTMLUtils.swift",
        "ResultRenderer/ResultRenderer.swift",
        "ResultRenderer/UniversalResultRenderer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCDiffCommandTests",
      "module_type" : "SwiftTarget",
      "name" : "XCDiffCommandTests",
      "path" : "Tests/XCDiffCommandTests",
      "product_dependencies" : [
        "PathKit",
        "ArgumentParser"
      ],
      "sources" : [
        "CommandBasedTests.swift",
        "CommandsRunnerTests.swift",
        "Helpers/Fixtures.swift",
        "Mocks/FileSystemMock.swift",
        "Mocks/PrinterMock.swift"
      ],
      "target_dependencies" : [
        "XCDiffCore",
        "XCDiffCommand"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCDiffCommand",
      "module_type" : "SwiftTarget",
      "name" : "XCDiffCommand",
      "path" : "Sources/XCDiffCommand",
      "product_dependencies" : [
        "PathKit",
        "SwiftToolsSupport-auto",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcdiff",
        "XCDiffCommand"
      ],
      "sources" : [
        "CommandRunner.swift",
        "Constants.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "XCDiffCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCDiff",
      "module_type" : "SwiftTarget",
      "name" : "XCDiff",
      "path" : "Sources/XCDiff",
      "product_memberships" : [
        "xcdiff"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XCDiffCommand"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 -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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj.git
[1/24190] Fetching xcodeproj
[2420/41372] Fetching xcodeproj, swift-argument-parser
[2834/48557] Fetching xcodeproj, swift-argument-parser, swift-tools-support-core
[4820/49995] Fetching xcodeproj, swift-argument-parser, swift-tools-support-core, pathkit
Fetched https://github.com/kylef/PathKit from cache (0.66s)
[39123/48557] Fetching xcodeproj, swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
[30166/31375] Fetching xcodeproj, swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.81s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.85s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (4.72s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.84s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.60s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 8.27.7 (0.74s)
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.34s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.22s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (1.16s)
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/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
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/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 8.27.7
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/30] Write sources
[13/30] Write swift-version-24593BA9C3E375BF.txt
[14/30] Compiling TSCclibc process.c
[15/30] Compiling TSCclibc libc.c
[16/32] Compiling TSCclibc strerror.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/43] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[19/43] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/43] 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
[21/43] Emitting module ArgumentParserToolInfo
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/16] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/29] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[5/29] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/29] 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/29] Emitting module AEXML
BUILD FAILURE 6.1 wasm