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 Genesis, reference 0.9.0 (fe00b6), with Swift 6.1 for Wasm on 28 May 2025 16:53:38 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/yonaskolb/Genesis.git
Reference: 0.9.0
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/yonaskolb/Genesis
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at fe00b6c allow array option to be a string with commas
Cloned https://github.com/yonaskolb/Genesis.git
Revision (git rev-parse @):
fe00b6c9ab984849bbee890e9936c2a9271cb899
SUCCESS checkout https://github.com/yonaskolb/Genesis.git at 0.9.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/Genesis.git
https://github.com/yonaskolb/Genesis.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI"
    }
  ],
  "manifest_display_name" : "Genesis",
  "name" : "Genesis",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "genesis",
      "targets" : [
        "Genesis"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenesisKit",
      "targets" : [
        "GenesisKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GenesisKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GenesisKitTests",
      "path" : "Tests/GenesisKitTests",
      "sources" : [
        "Fixtures.swift",
        "GeneratorTests.swift",
        "TemplateTests.swift",
        "WritingTests.swift"
      ],
      "target_dependencies" : [
        "GenesisKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GenesisKit",
      "module_type" : "SwiftTarget",
      "name" : "GenesisKit",
      "path" : "Sources/GenesisKit",
      "product_dependencies" : [
        "SwiftCLI",
        "StencilSwiftKit",
        "Yams",
        "PathKit",
        "Rainbow"
      ],
      "product_memberships" : [
        "genesis",
        "GenesisKit"
      ],
      "sources" : [
        "File.swift",
        "GenesisTemplate.swift",
        "Input.swift",
        "Option.swift",
        "TemplateGenerator.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenesisCLITests",
      "module_type" : "SwiftTarget",
      "name" : "GenesisCLITests",
      "path" : "Tests/GenesisCLITests",
      "sources" : [
        "CLITests.swift"
      ],
      "target_dependencies" : [
        "GenesisCLI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GenesisCLI",
      "module_type" : "SwiftTarget",
      "name" : "GenesisCLI",
      "path" : "Sources/GenesisCLI",
      "product_dependencies" : [
        "SwiftCLI"
      ],
      "product_memberships" : [
        "genesis"
      ],
      "sources" : [
        "GenerateCommand.swift",
        "GenesisCLI.swift",
        "Streams.swift"
      ],
      "target_dependencies" : [
        "GenesisKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Genesis",
      "module_type" : "SwiftTarget",
      "name" : "Genesis",
      "path" : "Sources/Genesis",
      "product_memberships" : [
        "genesis"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "GenesisCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/SwiftGen/StencilSwiftKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kylef/PathKit
[1/1196] Fetching rainbow
[1150/5204] Fetching rainbow, stencilswiftkit
[1799/10278] Fetching rainbow, stencilswiftkit, swiftcli
[2053/11689] Fetching rainbow, stencilswiftkit, swiftcli, pathkit
[5798/22346] Fetching rainbow, stencilswiftkit, swiftcli, pathkit, yams
Fetched https://github.com/onevcat/Rainbow from cache (2.20s)
Fetched https://github.com/kylef/PathKit from cache (2.20s)
Fetched https://github.com/jpsim/Yams from cache (2.25s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (3.17s)
Fetched https://github.com/SwiftGen/StencilSwiftKit from cache (3.21s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (4.15s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.32s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.31s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.60s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit
Computed https://github.com/SwiftGen/StencilSwiftKit at 2.10.1 (0.96s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
[510/5802] Fetching komondor, stencil
Fetched https://github.com/shibapm/Komondor.git from cache (0.36s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.41s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.52s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
[529/1540] Fetching packageconfig, shellout
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.46s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.46s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.05s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.58s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.60s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.74s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.72s)
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit
Working copy of https://github.com/SwiftGen/StencilSwiftKit resolved at 2.10.1
Building for debugging...
[0/27] Write sources
[9/27] Compiling writer.c
[10/27] Compiling reader.c
[11/27] Compiling parser.c
[12/27] Compiling api.c
[13/27] Compiling emitter.c
[14/27] Write swift-version-24593BA9C3E375BF.txt
[15/27] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/81] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[18/83] Emitting module Yams
[19/85] Compiling Rainbow StringGenerator.swift
[20/86] Compiling Yams AliasDereferencingStrategy.swift
[21/86] Compiling Yams Anchor.swift
[22/86] Compiling Yams Tag.swift
[23/86] Compiling Yams YamlAnchorProviding.swift
[24/86] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[25/86] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[26/86] Compiling Rainbow String+Rainbow.swift
[27/86] Compiling Rainbow Style.swift
[28/86] Compiling Yams YamlError.swift
[30/86] 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)
[31/86] 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
[32/86] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[33/86] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[34/86] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[37/86] Compiling Yams Constructor.swift
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: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/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/66] 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/66] 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