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 XcodeGen, reference 2.44.1 (21ac99), with Swift 6.1 for Wasm on 22 Jul 2025 09:56:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/yonaskolb/XcodeGen.git
Reference: 2.44.1
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/yonaskolb/XcodeGen
 * tag               2.44.1     -> FETCH_HEAD
HEAD is now at 21ac994 Update to 2.44.1
Cloned https://github.com/yonaskolb/XcodeGen.git
Revision (git rev-parse @):
21ac9944b0ab546a07422dbed86f33dd2ebd76f8
SUCCESS checkout https://github.com/yonaskolb/XcodeGen.git at 2.44.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/XcodeGen.git
https://github.com/yonaskolb/XcodeGen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "jsonutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/JSONUtilities.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "exact" : [
          "8.27.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version"
    },
    {
      "identity" : "artifactbundlegen",
      "requirement" : {
        "exact" : [
          "0.0.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/freddi-kit/ArtifactBundleGen"
    }
  ],
  "manifest_display_name" : "XcodeGen",
  "name" : "XcodeGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "xcodegen",
      "targets" : [
        "XcodeGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeGenKit",
      "targets" : [
        "XcodeGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProjectSpec",
      "targets" : [
        "ProjectSpec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenKitTests",
      "path" : "Tests/XcodeGenKitTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "BreakpointGeneratorTests.swift",
        "CarthageDependencyResolverTests.swift",
        "PBXProjGeneratorTests.swift",
        "ProjectGeneratorTests.swift",
        "SchemeGeneratorTests.swift",
        "SourceGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGenKit",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenKit",
      "path" : "Sources/XcodeGenKit",
      "product_dependencies" : [
        "JSONUtilities",
        "XcodeProj",
        "PathKit"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/XcodeGenKit/SettingPresets",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BreakpointGenerator.swift",
        "CarthageDependencyResolver.swift",
        "CarthageVersionLoader.swift",
        "FileWriter.swift",
        "InfoPlistGenerator.swift",
        "PBXProjGenerator.swift",
        "ProjectGenerator.swift",
        "SchemeGenerator.swift",
        "SettingsBuilder.swift",
        "SettingsPresetFile.swift",
        "SourceGenerator.swift",
        "StringCatalogDecoding.swift",
        "Version.swift",
        "XCProjExtensions.swift"
      ],
      "target_dependencies" : [
        "ProjectSpec",
        "XcodeGenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCoreTests",
      "path" : "Tests/XcodeGenCoreTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "ArrayExtensionsTests.swift",
        "AtomicTests.swift",
        "GlobTests.swift",
        "PathExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCore",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGenCore",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCore",
      "path" : "Sources/XcodeGenCore",
      "product_dependencies" : [
        "PathKit",
        "Yams"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "sources" : [
        "ArrayExtensions.swift",
        "Atomic.swift",
        "Glob.swift",
        "MD5.swift",
        "PathExtensions.swift",
        "StringDiff.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGenCLI",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCLI",
      "path" : "Sources/XcodeGenCLI",
      "product_dependencies" : [
        "SwiftCLI",
        "Rainbow",
        "PathKit",
        "Version"
      ],
      "product_memberships" : [
        "xcodegen"
      ],
      "sources" : [
        "Arguments.swift",
        "Commands/CacheCommand.swift",
        "Commands/DumpCommand.swift",
        "Commands/GenerateCommand.swift",
        "Commands/ProjectCommand.swift",
        "GenerationError.swift",
        "XcodeGenCLI.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGen",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGen",
      "path" : "Sources/XcodeGen",
      "product_dependencies" : [
        "Version"
      ],
      "product_memberships" : [
        "xcodegen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCLI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TestSupport",
      "module_type" : "SwiftTarget",
      "name" : "TestSupport",
      "path" : "Sources/TestSupport",
      "product_dependencies" : [
        "XcodeProj",
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "TestHelpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ProjectSpecTests",
      "module_type" : "SwiftTarget",
      "name" : "ProjectSpecTests",
      "path" : "Tests/ProjectSpecTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "Dictionary+Extension_Tests.swift",
        "InvalidConfigsFormatTests.swift",
        "ProjectSpecTests.swift",
        "SpecLoadingTests.swift"
      ],
      "target_dependencies" : [
        "ProjectSpec",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProjectSpec",
      "module_type" : "SwiftTarget",
      "name" : "ProjectSpec",
      "path" : "Sources/ProjectSpec",
      "product_dependencies" : [
        "JSONUtilities",
        "XcodeProj",
        "Yams",
        "Version"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "sources" : [
        "AggregateTarget.swift",
        "Array+Extension.swift",
        "Breakpoint.swift",
        "BuildPhaseSpec.swift",
        "BuildRule.swift",
        "BuildScript.swift",
        "BuildSettingsContainer.swift",
        "BuildSettingsExtractor.swift",
        "BuildToolPlugin.swift",
        "CacheFile.swift",
        "Config.swift",
        "Decoding.swift",
        "Dependency.swift",
        "DeploymentTarget.swift",
        "Dictionary+Extension.swift",
        "Encoding.swift",
        "FileType.swift",
        "GroupOrdering.swift",
        "Linkage.swift",
        "NSRegularExpressionExtensions.swift",
        "PathContainer.swift",
        "Platform.swift",
        "Plist.swift",
        "Project.swift",
        "ProjectReference.swift",
        "ProjectTarget.swift",
        "Scheme.swift",
        "Settings.swift",
        "SourceType.swift",
        "SpecFile.swift",
        "SpecLoader.swift",
        "SpecOptions.swift",
        "SpecParsingError.swift",
        "SpecValidation.swift",
        "SpecValidationError.swift",
        "SupportedDestination.swift",
        "SwiftPackage.swift",
        "Target.swift",
        "TargetReference.swift",
        "TargetScheme.swift",
        "TargetSource.swift",
        "Template.swift",
        "TestPlan.swift",
        "TestTargeReference.swift",
        "VersionExtensions.swift",
        "XCProjExtensions.swift",
        "Yaml.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "PerformanceTests.swift",
        "TestProject.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FixtureTests",
      "module_type" : "SwiftTarget",
      "name" : "FixtureTests",
      "path" : "Tests/FixtureTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "FixtureTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Spectre.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/freddi-kit/ArtifactBundleGen
Fetching https://github.com/mxcl/Version
Fetching https://github.com/onevcat/Rainbow.git
[1/1021] Fetching spectre
[165/1314] Fetching spectre, version
[1315/1496] Fetching spectre, version, artifactbundlegen
[1336/6570] Fetching spectre, version, artifactbundlegen, swiftcli
[1692/7884] Fetching spectre, version, artifactbundlegen, swiftcli, rainbow
Fetched https://github.com/mxcl/Version from cache (0.35s)
[5553/7591] Fetching spectre, artifactbundlegen, swiftcli, rainbow
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetched https://github.com/onevcat/Rainbow.git from cache (0.38s)
Fetched https://github.com/freddi-kit/ArtifactBundleGen from cache (0.39s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tuist/XcodeProj.git
Fetched https://github.com/kylef/Spectre.git from cache (0.56s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.56s)
[1/1353] Fetching jsonutilities
[110/2783] Fetching jsonutilities, pathkit
[2684/26184] Fetching jsonutilities, pathkit, xcodeproj
[3387/37171] Fetching jsonutilities, pathkit, xcodeproj, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.46s)
[4359/35818] Fetching pathkit, xcodeproj, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.42s)
[3139/34388] Fetching xcodeproj, yams
Fetched https://github.com/jpsim/Yams.git from cache (1.54s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.55s)
Computing version for https://github.com/freddi-kit/ArtifactBundleGen
Computed https://github.com/freddi-kit/ArtifactBundleGen at 0.0.6 (4.50s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.72s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.48s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.23s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (2.18s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.50s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.48s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.92s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (3.41s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.88s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.87s)
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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/freddi-kit/ArtifactBundleGen
Working copy of https://github.com/freddi-kit/ArtifactBundleGen resolved at 0.0.6
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/LipoRunnner.swift:11:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 9 |         task.standardError = pipe
10 |         task.arguments = ["-c", "lipo -archs \(targetPath)"]
11 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |              `- note: use 'executableURL' instead
12 |         task.standardInput = nil
13 |         do {
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/ZipComposer.swift:7:29: warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 5 |         try await withCheckedThrowingContinuation { continuation in
 6 |             do {
 7 |                 try Process.run(URL(fileURLWithPath: "/usr/bin/zip"), arguments: ["-r", "\(bundlePath.relativePath).zip", "\(bundlePath.relativePath)"]) { _ in
   |                             `- warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 8 |                     continuation.resume(returning: ())
 9 |                 }
[1/1] Compiling plugin ArtifactBundleGenPluginCommand
Building for debugging...
[1/39] Write sources
[3/39] Copying SettingPresets
[3/39] Write sources
[17/39] Compiling writer.c
[18/39] Compiling reader.c
[19/39] Compiling api.c
[20/39] Compiling parser.c
[21/39] Compiling emitter.c
[22/39] Write swift-version-24593BA9C3E375BF.txt
[23/39] Compiling scanner.c
[25/125] Emitting module AEXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/125] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[27/125] Emitting module JSONUtilities
[28/128] Emitting module Yams
[29/130] Compiling Yams Tag.swift
[30/130] Compiling Yams YamlAnchorProviding.swift
[31/130] Compiling Version Version.swift
[32/130] Emitting module Rainbow
[33/131] Compiling Rainbow StringGenerator.swift
[34/131] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[35/131] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[36/131] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[37/131] Compiling Version Version+Range.swift
[38/131] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[39/131] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[40/131] Compiling AEXML Builders.swift
[41/131] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[42/131] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/131] Emitting module Spectre
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[44/132] Compiling Rainbow String+Rainbow.swift
[45/132] Compiling Rainbow Style.swift
[46/132] Compiling Spectre Reporter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[47/132] Compiling Spectre Reporters.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[48/132] 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.
[49/132] 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.
[50/132] 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.
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/132] 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
[55/132] 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
[56/132] Compiling JSONUtilities Dictionary+KeyPath.swift
[57/132] Compiling JSONUtilities InvalidItemBehaviour.swift
[58/132] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[59/132] Compiling Yams AliasDereferencingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[60/132] Compiling JSONUtilities JSONFileLoading.swift
[61/132] Compiling Version Version+Comparable.swift
[62/132] Compiling Version Version+Codable.swift
[63/132] Emitting module Version
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/LipoRunnner.swift:11:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 9 |         task.standardError = pipe
10 |         task.arguments = ["-c", "lipo -archs \(targetPath)"]
11 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |              `- note: use 'executableURL' instead
12 |         task.standardInput = nil
13 |         do {
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/ZipComposer.swift:7:29: warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 5 |         try await withCheckedThrowingContinuation { continuation in
 6 |             do {
 7 |                 try Process.run(URL(fileURLWithPath: "/usr/bin/zip"), arguments: ["-r", "\(bundlePath.relativePath).zip", "\(bundlePath.relativePath)"]) { _ in
   |                             `- warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 8 |                     continuation.resume(returning: ())
 9 |                 }
[1/1] Compiling plugin ArtifactBundleGenPluginCommand
Building for debugging...
[1/17] Write swift-version-24593BA9C3E375BF.txt
[3/103] Compiling Spectre Reporter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[4/104] Compiling Spectre Path.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[5/104] Compiling AEXML Builders.swift
[6/104] Compiling AEXML Document.swift
[7/104] Compiling Spectre Reporters.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[8/104] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[9/105] Compiling Spectre Global.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[10/105] Compiling Spectre GlobalContext.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[11/105] Compiling AEXML Error.swift
[12/105] Compiling Yams RedundancyAliasingStrategy.swift
[13/105] Compiling Yams Representer.swift
[14/106] Compiling JSONUtilities Dictionary+KeyPath.swift
[15/106] Compiling Version Version+Codable.swift
[16/106] Emitting module Version
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/106] Emitting module Spectre
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[18/106] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[19/106] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[20/106] Compiling JSONUtilities DecodingError.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[21/106] Compiling JSONUtilities Dictionary+JSONKey.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[22/106] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/106] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[24/108] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[25/108] Compiling JSONUtilities JSONObjectConvertible.swift
[26/108] Compiling Spectre XCTest.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[27/108] Compiling Version Version+Range.swift
[28/108] Compiling Version Version+Foundation.swift
[29/108] Compiling Version Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/108] 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
BUILD FAILURE 6.1 wasm