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 vipergen, reference master (7cf919), with Swift 6.1 for Wasm on 27 May 2025 11:46:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/che1404/vipergen.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/che1404/vipergen
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7cf9197 Merge pull request #1 from oinsider/master
Cloned https://github.com/che1404/vipergen.git
Revision (git rev-parse @):
7cf919747355ce976e3e3953da430cfc3fa4f44c
SUCCESS checkout https://github.com/che1404/vipergen.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/che1404/vipergen.git
https://github.com/che1404/vipergen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Stencil.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    }
  ],
  "manifest_display_name" : "vipergen",
  "name" : "vipergen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "vipergen",
      "targets" : [
        "vipergen"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "vipergen",
      "module_type" : "SwiftTarget",
      "name" : "vipergen",
      "path" : "Sources/vipergen",
      "product_dependencies" : [
        "Stencil",
        "Commander",
        "Files"
      ],
      "product_memberships" : [
        "vipergen"
      ],
      "sources" : [
        "TemplateRenderer.swift",
        "TemplateRendererStencil.swift",
        "Vipergen.swift",
        "VipergenConfiguration.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
[319/2824] Fetching commander, files
[2405/8117] Fetching commander, files, stencil
Fetched https://github.com/kylef/Commander.git from cache (0.37s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.39s)
Fetched https://github.com/kylef/Stencil.git from cache (0.43s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (1.06s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (5.68s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (0.95s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.15.1 (0.93s)
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.76s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.2.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/kylef/Stencil.git
Working copy of https://github.com/kylef/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/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/26] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/27] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[9/27] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[10/27] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[11/27] Compiling Commander ArgumentConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[12/27] Compiling Commander ArgumentDescription.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[13/27] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[14/27] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/27] 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
[16/27] 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
[17/27] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[18/27] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[19/27] Emitting module Files
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/8] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[3/22] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/22] 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
[5/22] 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
[6/22] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[7/22] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[8/22] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[9/22] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[10/22] Compiling Commander ArgumentConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[11/22] Compiling Commander ArgumentDescription.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[12/22] Emitting module Files
BUILD FAILURE 6.1 wasm