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 XCLint, reference main (51c82f), with Swift 6.1 for Wasm on 31 May 2025 06:56:41 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattmassicotte/XCLint.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/mattmassicotte/XCLint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 51c82f6 Add test for group sorting with extensions
Cloned https://github.com/mattmassicotte/XCLint.git
Revision (git rev-parse @):
51c82f61a28dd4827e35d6ab7eef8d6057f41786
SUCCESS checkout https://github.com/mattmassicotte/XCLint.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattmassicotte/XCLint.git
https://github.com/mattmassicotte/XCLint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.2",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj"
    },
    {
      "identity" : "xcconfig",
      "requirement" : {
        "revision" : [
          "fda9516ccdd073812b6d16a0bd702204b14e70a3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattmassicotte/XCConfig"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "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" : "XCLint",
  "name" : "XCLint",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "xclint",
      "targets" : [
        "clitool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XCLinting",
      "targets" : [
        "XCLinting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "clitool",
      "module_type" : "SwiftTarget",
      "name" : "clitool",
      "path" : "Sources/clitool",
      "product_dependencies" : [
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "xclint"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XCLinting"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCLinting",
      "module_type" : "SwiftTarget",
      "name" : "XCLinting",
      "path" : "Sources/XCLinting",
      "product_dependencies" : [
        "XCConfig",
        "XcodeProj"
      ],
      "product_memberships" : [
        "xclint",
        "XCLinting"
      ],
      "sources" : [
        "ConfigurationFile.swift",
        "Extensions/PBXProj+BuildSettings.swift",
        "Extensions/XCBuildConfiguration+BuildSettings.swift",
        "Rules/BuildFilesAreOrderedRule.swift",
        "Rules/EmbeddedBuildSettingsRule.swift",
        "Rules/GroupsAreSortedRule.swift",
        "Rules/ImplicitDependenciesRule.swift",
        "Rules/ProjectsUseXCConfigRule.swift",
        "Rules/RelativePathsRule.swift",
        "Rules/SharedSchemeSkipsTestsRule.swift",
        "Rules/SharedSchemesRule.swift",
        "Rules/TargetsUseXCConfigRule.swift",
        "Rules/ValidateBuildSettingsRule.swift",
        "Violation.swift",
        "XCLintError.swift",
        "XCLinter.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XCLintTests",
      "module_type" : "SwiftTarget",
      "name" : "XCLintTests",
      "path" : "Tests/XCLintTests",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/XCLintTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BuildFilesAreOrderedTests.swift",
        "Bundle+TestData.swift",
        "ConfigurationFileTests.swift",
        "EmbeddedBuildSettingsRuleTests.swift",
        "GroupsAreSortedRuleTests.swift",
        "ImplicitDependenciesRuleTests.swift",
        "ProjectsUseXCConfigRuleTests.swift",
        "RelativePathsRuleTests.swift",
        "SharedSchemeSkipsTestsRuleTests.swift",
        "SharedSchemesRuleTests.swift",
        "TargetsUseXCConfigRuleTests.swift",
        "ValidateBuildSettingsRuleTests.swift",
        "XCLinterTests.swift"
      ],
      "target_dependencies" : [
        "XCLinting"
      ],
      "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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/mattmassicotte/XCConfig
[1/144] Fetching xcconfig
Fetched https://github.com/mattmassicotte/XCConfig from cache (0.24s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tuist/XcodeProj
[1/10657] Fetching yams
[215/33947] Fetching yams, xcodeproj
[8355/49333] Fetching yams, xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
[28125/33947] Fetching yams, xcodeproj
Fetched https://github.com/jpsim/Yams.git from cache (1.25s)
Fetched https://github.com/tuist/XcodeProj from cache (1.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.08s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.4.2 (0.54s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
[1809/3538] 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.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/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (3.03s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.15s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.81s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 9.4.2
Creating working copy for https://github.com/mattmassicotte/XCConfig
Working copy of https://github.com/mattmassicotte/XCConfig resolved at fda9516ccdd073812b6d16a0bd702204b14e70a3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[10/28] Compiling writer.c
[11/28] Compiling reader.c
[12/28] Compiling parser.c
[13/28] Compiling api.c
[14/28] Compiling emitter.c
[15/28] Compiling scanner.c
[15/28] Write swift-version-24593BA9C3E375BF.txt
[18/63] Emitting module AEXML
[19/63] Compiling Yams Tag.swift
[20/63] Compiling Yams YamlAnchorProviding.swift
[21/65] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/65] Emitting module ArgumentParserToolInfo
[23/66] Wrapping AST for ArgumentParserToolInfo for debugging
[25/104] Emitting module XCConfig
[26/104] Compiling ArgumentParser OptionGroup.swift
[27/104] Compiling ArgumentParser AsyncParsableCommand.swift
[28/104] Compiling AEXML Element.swift
[29/104] Compiling ArgumentParser Flag.swift
[30/104] Compiling ArgumentParser NameSpecification.swift
[31/104] Compiling ArgumentParser Option.swift
[32/104] Compiling ArgumentParser ArgumentVisibility.swift
[33/104] Compiling ArgumentParser CompletionKind.swift
[34/104] Compiling ArgumentParser Errors.swift
[35/104] Emitting module ArgumentParser
[36/104] Compiling AEXML Builders.swift
[37/104] Compiling AEXML Document.swift
[38/104] Compiling AEXML Error.swift
[39/104] Compiling XCConfig Evalulator.swift
[40/104] Compiling XCConfig BuildSetting.swift
[41/104] Compiling XCConfig Parser.swift
[42/110] Compiling ArgumentParser ExpressibleByArgument.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.
[43/110] Compiling ArgumentParser ParsableArguments.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.
[44/110] Compiling ArgumentParser ParsableArgumentsValidation.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.
[45/110] Compiling AEXML Options.swift
[46/110] Compiling AEXML Parser.swift
[47/110] 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)
[48/110] 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
[49/111] Compiling ArgumentParser CommandConfiguration.swift
[50/111] Compiling ArgumentParser CommandGroup.swift
[51/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/111] Compiling ArgumentParser CompletionsGenerator.swift
[53/111] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/111] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/111] Compiling ArgumentParser Argument.swift
[56/111] Compiling ArgumentParser ArgumentHelp.swift
[57/111] Emitting module Yams
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
[3/48] Compiling XCConfig BuildSetting.swift
[4/48] Compiling XCConfig Evalulator.swift
[5/48] Emitting module XCConfig
[6/48] Compiling AEXML Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/48] 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
[8/48] 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
[9/48] Compiling AEXML Options.swift
[10/48] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm