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 0.1.5 (6a4534), with Swift 6.1 for Wasm on 31 May 2025 06:55:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.1.5
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
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at 6a4534d bump formula version too
Cloned https://github.com/mattmassicotte/XCLint.git
Revision (git rev-parse @):
6a4534d6e6a3e4e7efb406fbda37c83f679e28cc
SUCCESS checkout https://github.com/mattmassicotte/XCLint.git at 0.1.5
========================================
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-2":/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.30s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/apple/swift-argument-parser
[1/10657] Fetching yams
[641/33947] Fetching yams, xcodeproj
[4881/49333] Fetching yams, xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.85s)
Fetched https://github.com/jpsim/Yams.git from cache (1.87s)
Fetched https://github.com/tuist/XcodeProj from cache (2.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.89s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 9.4.2 (0.77s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1412/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.40s)
Fetched https://github.com/tadija/AEXML.git from cache (0.48s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.82s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.40s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.33s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.82s)
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/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/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
Working copy of https://github.com/tuist/XcodeProj resolved at 9.4.2
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/mattmassicotte/XCConfig
Working copy of https://github.com/mattmassicotte/XCConfig resolved at fda9516ccdd073812b6d16a0bd702204b14e70a3
[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] Write swift-version-24593BA9C3E375BF.txt
[16/28] Compiling scanner.c
[18/63] Emitting module Yams
[19/65] Emitting module ArgumentParserToolInfo
[20/65] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/66] Compiling Yams Tag.swift
[22/66] Compiling Yams YamlAnchorProviding.swift
[23/66] Wrapping AST for ArgumentParserToolInfo for debugging
[25/104] 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)
[26/104] 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
[27/104] Emitting module AEXML
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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] Emitting module XCConfig
[5/48] Compiling XCConfig Evalulator.swift
[6/48] Compiling XCConfig Parser.swift
[8/49] Compiling Yams Tag.swift
[9/49] Compiling Yams YamlAnchorProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/51] 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/51] Compiling AEXML Error.swift
[12/51] Compiling AEXML Options.swift
[13/51] Compiling AEXML Parser.swift
[14/51] Compiling AEXML Document.swift
[15/51] Emitting module AEXML
[16/51] Compiling AEXML Element.swift
[17/51] Compiling AEXML Builders.swift
[18/52] 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
[20/52] Compiling Yams Resolver.swift
[21/52] Compiling Yams String+Yams.swift
[22/52] 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.
[23/52] 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.
[24/52] 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.
[25/52] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm