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 master (d35562), with Swift 6.1 for Wasm on 25 Jul 2025 05:06:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/XcodeGen.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d35562f Update ArtifactBundleGen to 0.0.8 (#1570)
Cloned https://github.com/yonaskolb/XcodeGen.git
Revision (git rev-parse @):
d35562f4abb4d89a17422c3a4995a0ae37e54dc0
SUCCESS checkout https://github.com/yonaskolb/XcodeGen.git at master
========================================
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.8"
        ]
      },
      "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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/mxcl/Version
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/freddi-kit/ArtifactBundleGen
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
[1/293] Fetching version
[119/5367] Fetching version, swiftcli
[1208/6388] Fetching version, swiftcli, spectre
[1310/7702] Fetching version, swiftcli, spectre, rainbow
[2176/7891] Fetching version, swiftcli, spectre, rainbow, artifactbundlegen
[2851/31292] Fetching version, swiftcli, spectre, rainbow, artifactbundlegen, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (0.64s)
Fetched https://github.com/mxcl/Version from cache (0.64s)
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/jpsim/Yams.git
[16874/29978] Fetching swiftcli, rainbow, artifactbundlegen, xcodeproj
Fetched https://github.com/freddi-kit/ArtifactBundleGen from cache (0.65s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.65s)
Fetching https://github.com/kylef/PathKit.git
[15605/28475] Fetching swiftcli, xcodeproj
[22158/29828] Fetching swiftcli, xcodeproj, jsonutilities
[24447/31258] Fetching swiftcli, xcodeproj, jsonutilities, pathkit
[30557/42245] Fetching swiftcli, xcodeproj, jsonutilities, pathkit, yams
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.39s)
[29313/40892] Fetching swiftcli, xcodeproj, pathkit, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.41s)
[28213/39462] Fetching swiftcli, xcodeproj, yams
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (2.20s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.25s)
Fetched https://github.com/jpsim/Yams.git from cache (1.95s)
Computing version for https://github.com/freddi-kit/ArtifactBundleGen
Computed https://github.com/freddi-kit/ArtifactBundleGen at 0.0.8 (5.58s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.71s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.78s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.25s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (3.33s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.52s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.67s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.62s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (2.18s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.96s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.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/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 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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/freddi-kit/ArtifactBundleGen
Working copy of https://github.com/freddi-kit/ArtifactBundleGen resolved at 0.0.8
/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: ["-FSr", "\(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
[16/39] Copying SettingPresets
[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 JSONUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/126] 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/128] Emitting module Yams
[28/130] Compiling Rainbow StringGenerator.swift
[29/131] 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 |
[30/132] Compiling Yams Tag.swift
[31/132] Compiling Yams YamlAnchorProviding.swift
[32/132] Compiling Yams Mark.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 |
[33/132] Compiling Yams Node.Alias.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 |
[34/132] 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 |
[35/132] 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 |
[36/132] Compiling Rainbow String+Rainbow.swift
[37/132] Compiling Version Version+Range.swift
[38/132] Compiling Version Version.swift
[39/132] Compiling Rainbow Style.swift
[40/132] Compiling SwiftCLI Path.swift
[41/132] Compiling SwiftCLI Stream.swift
[42/132] Compiling JSONUtilities JSONObjectConvertible.swift
[43/132] Compiling Rainbow Rainbow.swift
[44/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 |
[45/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 |
[46/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.
[47/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.
[48/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.
[49/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/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
[51/132] 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 |
[52/132] Compiling JSONUtilities URL+JSONPrimitiveConvertible.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 |
[55/132] Compiling Yams Node.Mapping.swift
[57/132] Compiling Version Version+Comparable.swift
[58/132] Emitting module Version
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256: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: ["-FSr", "\(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 JSONUtilities JSONPrimitiveConvertible.swift
[4/104] Compiling JSONUtilities JSONObjectConvertible.swift
[5/104] Compiling JSONUtilities Dictionary+KeyPath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/104] 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 |
[7/105] Compiling Yams YamlAnchorProviding.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 |
[8/105] Compiling SwiftCLI Validation.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 |
[9/107] Compiling Version Version+Codable.swift
[10/107] Compiling AEXML Error.swift
[11/107] 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 |
[12/107] 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 |
[13/107] 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 |
[14/107] Compiling Yams Node.Mapping.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 |
[15/107] 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 |
[16/107] Compiling Version Version+Comparable.swift
[17/107] Emitting module Version
[18/107] Compiling Rainbow StringGenerator.swift
[19/107] Compiling JSONUtilities InvalidItemBehaviour.swift
[20/107] Compiling JSONUtilities JSONFileLoading.swift
[21/108] 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 |
[22/108] 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 |
[23/108] Compiling JSONUtilities KeyPath.swift
[24/108] Compiling AEXML Builders.swift
[25/108] Emitting module AEXML
[26/108] Compiling AEXML Document.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/108] 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 |
[28/108] Compiling Yams AliasDereferencingStrategy.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 |
[29/108] Compiling Yams Anchor.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 |
[30/108] Compiling Yams Constructor.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 |
[31/108] 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 |
[32/108] 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 |
[33/108] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[34/108] Compiling AEXML Parser.swift
[35/108] Compiling AEXML Options.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 |
/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 |
[40/108] Compiling Yams Emitter.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 |
[41/108] Compiling Yams Encoder.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 |
[44/108] Compiling Rainbow Rainbow.swift
[45/108] Compiling Rainbow OutputTarget.swift
[46/108] Compiling SwiftCLI ValueBox.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 |
[47/108] 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 |
[48/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 |
[49/108] Compiling Version Version+Range.swift
[50/108] Compiling Version Version.swift
[51/108] Compiling Version Version+Foundation.swift
[52/108] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/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
[54/108] Compiling Yams Tag.swift
[56/111] Emitting module JSONUtilities
[57/111] Compiling Yams Parser.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 |
[58/111] Compiling Yams RedundancyAliasingStrategy.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 |
[59/111] Compiling Yams Representer.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 |
[60/111] Compiling Yams Node.Scalar.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 |
[61/111] Compiling Yams Node.Sequence.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 |
[62/111] Compiling Yams Node.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 |
BUILD FAILURE 6.1 wasm