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 HackMan, reference 1.1.1 (0ef756), with Swift 6.1 for Wasm on 27 May 2025 15:56:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Cosmo/HackMan.git
Reference: 1.1.1
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/Cosmo/HackMan
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 0ef7561 Merge pull request #16 from Cosmo/development
Cloned https://github.com/Cosmo/HackMan.git
Revision (git rev-parse @):
0ef75616e99a1212f2c136e9dc470f9610e9d639
SUCCESS checkout https://github.com/Cosmo/HackMan.git at 1.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Cosmo/HackMan.git
https://github.com/Cosmo/HackMan.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "stencil",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    },
    {
      "identity" : "grammaticalnumber",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Cosmo/GrammaticalNumber.git"
    },
    {
      "identity" : "stringcase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Cosmo/StringCase.git"
    }
  ],
  "manifest_display_name" : "HackMan",
  "name" : "HackMan",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "hackman",
      "targets" : [
        "HackMan"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "HackManLib",
      "targets" : [
        "HackManLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HackManTests",
      "module_type" : "SwiftTarget",
      "name" : "HackManTests",
      "path" : "Tests/HackManTests",
      "sources" : [
        "HackManResourceTests.swift",
        "HackManTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "HackManLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HackManLib",
      "module_type" : "SwiftTarget",
      "name" : "HackManLib",
      "path" : "Sources/HackManLib",
      "product_dependencies" : [
        "Stencil",
        "GrammaticalNumber",
        "StringCase"
      ],
      "product_memberships" : [
        "hackman",
        "HackManLib"
      ],
      "sources" : [
        "CommandLineRunner.swift",
        "Extensions/StringColorExtensions.swift",
        "Generator.swift",
        "Generators/AppDelegate/AppDelegate.swift",
        "Generators/AssetCatalog/AssetCatalog.swift",
        "Generators/CollectionViewCell/CollectionViewCell.swift",
        "Generators/Coordinator/Coordinator.swift",
        "Generators/CoordinatorChild/CoordinatorChild.swift",
        "Generators/CoordinatorMain/CoordinatorMain.swift",
        "Generators/DataSourceTableView/DataSourceTableView.swift",
        "Generators/DataSourceTableViewSearchResults/DataSourceTableViewSearchResults.swift",
        "Generators/LaunchScreen/LaunchScreen.swift",
        "Generators/Localization/Localization.swift",
        "Generators/Model/Model.swift",
        "Generators/NewProject/NewProject.swift",
        "Generators/ReusableView/ReusableView.swift",
        "Generators/Scaffold/Scaffold.swift",
        "Generators/SearchResultsController/SearchResultsController.swift",
        "Generators/TableViewCell/TableViewCell.swift",
        "Generators/ViewController/ViewController.swift",
        "Generators/ViewControllerCollection/ViewControllerCollection.swift",
        "Generators/ViewControllerDetail/ViewControllerDetail.swift",
        "Generators/ViewControllerInformation/ViewControllerInformation.swift",
        "Generators/ViewControllerTable/ViewControllerTable.swift",
        "Generators/ViewControllerWeb/ViewControllerWeb.swift",
        "Model/Property.swift",
        "Model/Resource.swift",
        "Writer.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HackMan",
      "module_type" : "SwiftTarget",
      "name" : "HackMan",
      "path" : "Sources/HackMan",
      "product_memberships" : [
        "hackman"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "HackManLib"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[1/5293] Fetching stencil
Fetched https://github.com/stencilproject/Stencil.git from cache (0.37s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Cosmo/StringCase.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/Cosmo/GrammaticalNumber.git
[1/78] Fetching stringcase
[78/161] Fetching stringcase, grammaticalnumber
[87/1182] Fetching stringcase, grammaticalnumber, spectre
[861/2593] Fetching stringcase, grammaticalnumber, spectre, pathkit
Fetched https://github.com/Cosmo/StringCase.git from cache (0.61s)
Fetched https://github.com/kylef/Spectre.git from cache (0.61s)
Fetched https://github.com/Cosmo/GrammaticalNumber.git from cache (0.61s)
Fetched https://github.com/kylef/PathKit.git from cache (0.62s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.34s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.06s)
Computing version for https://github.com/Cosmo/StringCase.git
Computed https://github.com/Cosmo/StringCase.git at 1.0.1 (0.48s)
Computing version for https://github.com/Cosmo/GrammaticalNumber.git
Computed https://github.com/Cosmo/GrammaticalNumber.git at 0.0.3 (0.45s)
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/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at master (17af3ba)
Creating working copy for https://github.com/Cosmo/GrammaticalNumber.git
Working copy of https://github.com/Cosmo/GrammaticalNumber.git resolved at 0.0.3
Creating working copy for https://github.com/Cosmo/StringCase.git
Working copy of https://github.com/Cosmo/StringCase.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/22] Emitting module GrammaticalNumber
[9/22] Compiling GrammaticalNumber GrammaticalNumberRule.swift
[10/22] Compiling GrammaticalNumber StringExtensions.swift
[11/23] Emitting module StringCase
[12/23] Compiling StringCase StringCase.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/24] 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
[14/24] 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
[16/24] Wrapping AST for StringCase for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/9] Write swift-version-24593BA9C3E375BF.txt
[2/16] Emitting module StringCase
[3/16] Compiling StringCase StringCase.swift
[4/17] 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)
[5/17] 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
[7/17] Compiling GrammaticalNumber GrammaticalNumberRule.swift
[8/17] Compiling GrammaticalNumber StringExtensions.swift
[9/17] Emitting module GrammaticalNumber
[10/18] Wrapping AST for StringCase for debugging
BUILD FAILURE 6.1 wasm