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 StencilSwiftKit, reference stable (fb6a88), with Swift 6.1 for Wasm on 28 May 2025 08:41:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/SwiftGen/StencilSwiftKit.git
Reference: stable
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/SwiftGen/StencilSwiftKit
 * branch            stable     -> FETCH_HEAD
 * [new branch]      stable     -> origin/stable
HEAD is now at fb6a88b Reset changelog
Cloned https://github.com/SwiftGen/StencilSwiftKit.git
Revision (git rev-parse @):
fb6a88bac60b088a9f8b61bbc70eacecb2100b59
SUCCESS checkout https://github.com/SwiftGen/StencilSwiftKit.git at stable
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftGen/StencilSwiftKit.git
https://github.com/SwiftGen/StencilSwiftKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "komondor",
      "requirement" : {
        "exact" : [
          "1.1.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shibapm/Komondor.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    }
  ],
  "manifest_display_name" : "StencilSwiftKit",
  "name" : "StencilSwiftKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "StencilSwiftKit",
      "targets" : [
        "StencilSwiftKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "StencilSwiftKitTests",
      "module_type" : "SwiftTarget",
      "name" : "StencilSwiftKitTests",
      "path" : "Tests/StencilSwiftKitTests",
      "sources" : [
        "CallNodeTests.swift",
        "ContextTests.swift",
        "ImportNodeTests.swift",
        "MacroNodeTests.swift",
        "MapNodeTests.swift",
        "ParametersTests.swift",
        "ParseBoolTests.swift",
        "ParseEnumTests.swift",
        "ParseStringTests.swift",
        "SetNodeTests.swift",
        "StringFiltersTests.swift",
        "SwiftIdentifierTests.swift"
      ],
      "target_dependencies" : [
        "StencilSwiftKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StencilSwiftKit",
      "module_type" : "SwiftTarget",
      "name" : "StencilSwiftKit",
      "path" : "Sources/StencilSwiftKit",
      "product_dependencies" : [
        "Stencil"
      ],
      "product_memberships" : [
        "StencilSwiftKit"
      ],
      "sources" : [
        "CallMacroNodes.swift",
        "Context.swift",
        "Environment.swift",
        "Filters+Numbers.swift",
        "Filters+Strings.swift",
        "Filters.swift",
        "ImportNode.swift",
        "MapNode.swift",
        "Parameters.swift",
        "SetNode.swift",
        "StencilSwiftTemplate.swift",
        "SwiftIdentifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[124/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.29s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.35s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (2.59s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/580] Fetching packageconfig
[581/1540] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.28s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.28s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.83s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[22/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.35s)
Fetched https://github.com/kylef/Spectre.git from cache (0.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.91s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.59s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.32s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.77s)
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] 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)
[6/6] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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
[3/3] 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