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 hackscode, reference 0.5.1 (4124b7), with Swift 6.1 for Wasm on 27 May 2025 07:42:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/toshi0383/hackscode.git
Reference: 0.5.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/toshi0383/hackscode
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 4124b76 fix dump command
Cloned https://github.com/toshi0383/hackscode.git
Revision (git rev-parse @):
4124b76425c6d16b9c08c44e1022dc4837ba35bb
SUCCESS checkout https://github.com/toshi0383/hackscode.git at 0.5.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/toshi0383/hackscode.git
https://github.com/toshi0383/hackscode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "corecli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.10",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/toshi0383/CoreCLI"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.1.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut"
    }
  ],
  "manifest_display_name" : "hackscode",
  "name" : "hackscode",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "hackscode",
      "targets" : [
        "hackscode"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "hackscode",
      "module_type" : "SwiftTarget",
      "name" : "hackscode",
      "path" : "Sources/hackscode",
      "product_dependencies" : [
        "CoreCLI",
        "XcodeProj",
        "ShellOut"
      ],
      "product_memberships" : [
        "hackscode"
      ],
      "sources" : [
        "Commands/CreateNewFile.swift",
        "Commands/DumpBuildFiles.swift",
        "Commands/RemoveBuildFiles.swift",
        "Commands/XQuick.swift",
        "Utilities.swift",
        "main.swift",
        "zzz.Sourcery.out.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/tuist/XcodeProj
Fetching https://github.com/toshi0383/CoreCLI
[1/68] Fetching corecli
[69/1028] Fetching corecli, shellout
Fetched https://github.com/toshi0383/CoreCLI from cache (0.35s)
[885/24250] Fetching shellout, xcodeproj
Fetched https://github.com/JohnSundell/ShellOut from cache (1.78s)
Fetched https://github.com/tuist/XcodeProj from cache (1.82s)
Computing version for https://github.com/toshi0383/CoreCLI
Computed https://github.com/toshi0383/CoreCLI at 0.1.10 (5.23s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (3.36s)
Computing version for https://github.com/tuist/XcodeProj
Computed https://github.com/tuist/XcodeProj at 7.23.0 (1.06s)
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
[312/3538] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit from cache (0.42s)
Fetched https://github.com/tadija/AEXML from cache (0.58s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.5.0 (3.25s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (1.17s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.64s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.64s)
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/tuist/XcodeProj
Working copy of https://github.com/tuist/XcodeProj resolved at 7.23.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.5.0
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/toshi0383/CoreCLI
Working copy of https://github.com/toshi0383/CoreCLI resolved at 0.1.10
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/30] Compiling CoreCLI AutoArgumentsDecodable.swift
[9/30] Compiling CoreCLI CommandType.swift
[10/30] Compiling CoreCLI CommandRunner.swift
[11/30] Emitting module AEXML
[12/30] Compiling AEXML Document.swift
[13/30] Compiling AEXML Element.swift
[14/30] Emitting module CoreCLI
[15/30] Compiling CoreCLI ArgumentParser.swift
[16/31] Compiling AEXML Parser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/31] 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
[18/31] 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
[19/31] Compiling AEXML Error.swift
[20/31] Compiling AEXML Options.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/32] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[22/32] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/9] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling CoreCLI AutoArgumentsDecodable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[4/24] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[5/24] Emitting module CoreCLI
BUILD FAILURE 6.1 wasm