The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftImportChecks, reference 0.1.14 (758ea9), with Swift 6.1 for Wasm on 20 Mar 2026 16:29:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaelversus/SwiftImportChecks.git
Reference: 0.1.14
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/michaelversus/SwiftImportChecks
 * tag               0.1.14     -> FETCH_HEAD
HEAD is now at 758ea99 bump up version
Cloned https://github.com/michaelversus/SwiftImportChecks.git
Revision (git rev-parse @):
758ea99a5b32379f56b649ff49a4505dfde9a5f0
SUCCESS checkout https://github.com/michaelversus/SwiftImportChecks.git at 0.1.14
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michaelversus/SwiftImportChecks.git
https://github.com/michaelversus/SwiftImportChecks.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.8.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "508.0.0",
            "upper_bound" : "509.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "SwiftImportChecks",
  "name" : "SwiftImportChecks",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftImportChecks",
      "targets" : [
        "SwiftImportChecks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftImportChecksTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftImportChecksTests",
      "path" : "Tests/SwiftImportChecksTests",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftImportChecksTests/Example",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CompositionRootTests.swift",
        "Configuration/ConfigErrorTests.swift",
        "Configuration/ConfigFactoryTests.swift",
        "Configuration/ConfigurationTests.swift",
        "DiagramBuilder/DiagramBuilderTests.swift",
        "Errors/ImplicitDependenciesErrorTests.swift",
        "Errors/SwiftImportChecksErrorTests.swift",
        "Extensions/StringExtensionsTests.swift",
        "Extensions/XCodeProjError+Extension.swift",
        "Mocks/ConfigFactoryMock.swift",
        "Mocks/FileManagerMock.swift",
        "Mocks/MockDiagramBuilder.swift",
        "SPMParsing/PackagesParserTests.swift",
        "SwiftImportChecksTests.swift",
        "SwiftSyntaxParsing/SwiftFilesParserTests.swift"
      ],
      "target_dependencies" : [
        "SwiftImportChecks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftImportChecks",
      "module_type" : "SwiftTarget",
      "name" : "SwiftImportChecks",
      "path" : "Sources",
      "product_dependencies" : [
        "Yams",
        "ArgumentParser",
        "XcodeProj",
        "SwiftSyntax",
        "SwiftSyntaxParser"
      ],
      "product_memberships" : [
        "SwiftImportChecks"
      ],
      "sources" : [
        "CompositionRoot.swift",
        "Configuration/ConfigError.swift",
        "Configuration/ConfigFactory.swift",
        "Configuration/Configuration.swift",
        "Configuration/SystemImports.swift",
        "DiagramBuilder/DiagramBuilder.swift",
        "Errors/ImplicitDependenciesError.swift",
        "Errors/SwiftImportChecksError.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/URL+Extensions.swift",
        "Protocols/FileManagerProtocol.swift",
        "SPMParsing/PackageSwiftFileVisitor.swift",
        "SPMParsing/PackagesParser.swift",
        "SPMParsing/SwiftPackageFile.swift",
        "SPMParsing/SwiftPackageTarget.swift",
        "SwiftImportChecks.swift",
        "SwiftSyntaxParsing/Comment.swift",
        "SwiftSyntaxParsing/Node.swift",
        "SwiftSyntaxParsing/Results.swift",
        "SwiftSyntaxParsing/SwiftFile.swift",
        "SwiftSyntaxParsing/SwiftFileVisitor.swift",
        "SwiftSyntaxParsing/SwiftFilesParser.swift",
        "SwiftSyntaxParsing/SwiftFunction.swift",
        "SwiftSyntaxParsing/SwiftType.swift",
        "XcodeProjectParsing/Target.swift",
        "XcodeProjectParsing/TargetValidator.swift",
        "XcodeProjectParsing/XcodeProjectParser.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/24307] Fetching xcodeproj
[2918/41598] Fetching xcodeproj, swift-argument-parser
[3577/53107] Fetching xcodeproj, swift-argument-parser, yams
[29702/127933] Fetching xcodeproj, swift-argument-parser, yams, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.46s)
[41721/110642] Fetching xcodeproj, yams, swift-syntax
Fetched https://github.com/tuist/XcodeProj.git from cache (10.75s)
Fetched https://github.com/jpsim/Yams.git from cache (10.77s)
Fetched https://github.com/apple/swift-syntax.git from cache (10.80s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (13.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.77s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.77s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.63s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/2155] Fetching aexml
[131/3607] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.29s)
Fetched https://github.com/tadija/AEXML.git from cache (0.29s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.34s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.30s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.89s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.68s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/37] Write sources
[13/37] Compiling writer.c
[14/37] Compiling reader.c
[15/37] Compiling api.c
[16/37] Compiling parser.c
[17/37] Compiling emitter.c
[18/37] Write swift-version-24593BA9C3E375BF.txt
[19/37] Compiling scanner.c
[21/106] Compiling SwiftSyntax Misc.swift
[22/106] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[23/108] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/108] Emitting module ArgumentParserToolInfo
[25/109] Emitting module AEXML
[26/109] Compiling SwiftSyntax SourceLocation.swift
[27/109] Compiling SwiftSyntax SourcePresence.swift
[28/109] Compiling SwiftSyntax Syntax.swift
[32/109] Compiling SwiftSyntax SyntaxArena.swift
[33/109] Compiling SwiftSyntax SyntaxChildren.swift
[34/114] Wrapping AST for ArgumentParserToolInfo for debugging
[36/160] Compiling ArgumentParser Flag.swift
[37/160] Compiling ArgumentParser NameSpecification.swift
[38/160] Compiling ArgumentParser Option.swift
[39/160] Compiling ArgumentParser OptionGroup.swift
[40/160] Compiling ArgumentParser ParsableCommand.swift
[41/160] Compiling ArgumentParser ArgumentDecoder.swift
[42/160] Compiling ArgumentParser ArgumentDefinition.swift
[43/160] Compiling ArgumentParser ArgumentSet.swift
[44/160] Compiling ArgumentParser CommandParser.swift
[45/160] Compiling ArgumentParser InputKey.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/160] 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
[47/160] 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
[48/160] Compiling ArgumentParser CompletionKind.swift
[49/160] Compiling ArgumentParser Errors.swift
[52/160] Compiling ArgumentParser ArgumentDiscussion.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.
[53/160] Compiling ArgumentParser ArgumentHelp.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.
[54/160] Compiling ArgumentParser ArgumentVisibility.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.
[55/160] Compiling ArgumentParser Foundation.swift
[56/160] Compiling ArgumentParser Mutex.swift
[57/160] Compiling ArgumentParser Platform.swift
[58/160] Compiling ArgumentParser SequenceExtensions.swift
[59/160] Compiling ArgumentParser StringExtensions.swift
[60/160] Compiling ArgumentParser SwiftExtensions.swift
[61/166] Compiling ArgumentParser FishCompletionsGenerator.swift
[62/166] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/166] Compiling ArgumentParser Argument.swift
[64/166] Emitting module Yams
[65/166] Compiling AEXML Options.swift
[66/166] Compiling AEXML Builders.swift
[67/166] Compiling AEXML Parser.swift
[68/166] Compiling AEXML Document.swift
[69/166] Compiling AEXML Element.swift
[70/166] Compiling AEXML Error.swift
[71/166] Compiling ArgumentParser CommandGroup.swift
[72/166] Compiling ArgumentParser EnumerableFlag.swift
[73/166] Compiling ArgumentParser ExpressibleByArgument.swift
[74/166] Compiling ArgumentParser ParentCommand.swift
[75/166] Compiling ArgumentParser AsyncParsableCommand.swift
[76/166] Compiling ArgumentParser CommandConfiguration.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/20] Write swift-version-24593BA9C3E375BF.txt
[4/89] Compiling AEXML Options.swift
[5/89] Emitting module ArgumentParserToolInfo
[6/89] Compiling AEXML Error.swift
[7/89] Compiling AEXML Parser.swift
[8/89] Compiling AEXML Builders.swift
[9/89] Emitting module AEXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/89] 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
[11/89] 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
BUILD FAILURE 6.1 wasm