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 hmap, reference master (f98e2d), with Swift 6.1 for Wasm on 27 May 2025 11:12:57 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/milend/hmap.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/milend/hmap
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f98e2dd Add chmap project reference
Cloned https://github.com/milend/hmap.git
Revision (git rev-parse @):
f98e2dd8cd03c86d10013a31914a9a75ae986763
SUCCESS checkout https://github.com/milend/hmap.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/milend/hmap.git
https://github.com/milend/hmap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "hmap",
  "name" : "hmap",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "hmap",
      "targets" : [
        "hmap"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "hmap",
      "module_type" : "SwiftTarget",
      "name" : "hmap",
      "path" : "Sources/hmap",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "hmap"
      ],
      "sources" : [
        "Convert.swift",
        "Print.swift",
        "ReturnCodes.swift",
        "StringExtensions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HeaderMapCore",
        "HeaderMapFrontend"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HeaderMapTesting",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapTesting",
      "path" : "Sources/HeaderMapTesting",
      "sources" : [
        "TestingExtensions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HeaderMapFrontendTests",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapFrontendTests",
      "path" : "Tests/HeaderMapFrontendTests",
      "sources" : [
        "CommandTests.swift",
        "CommandTestsData.swift"
      ],
      "target_dependencies" : [
        "HeaderMapTesting",
        "HeaderMapFrontend"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeaderMapFrontend",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapFrontend",
      "path" : "Sources/HeaderMapFrontend",
      "product_memberships" : [
        "hmap"
      ],
      "sources" : [
        "Command.swift",
        "ConvertCommands.swift",
        "FileFormat.swift",
        "FrontendErrors.swift",
        "PrintCommands.swift"
      ],
      "target_dependencies" : [
        "HeaderMapCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HeaderMapCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapCoreTests",
      "path" : "Tests/HeaderMapCoreTests",
      "sources" : [
        "HeaderMapTests.swift",
        "HeaderMapTestsData.swift"
      ],
      "target_dependencies" : [
        "HeaderMapTesting",
        "HeaderMapCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeaderMapCore",
      "module_type" : "SwiftTarget",
      "name" : "HeaderMapCore",
      "path" : "Sources/HeaderMapCore",
      "product_memberships" : [
        "hmap"
      ],
      "sources" : [
        "BinaryHeaderMap.swift",
        "ByteBuffer.swift",
        "HeaderMap.swift",
        "HeaderMapError.swift",
        "HeaderMapMaker.swift",
        "JSONHeaderMap.swift",
        "extensions/ArrayExtensions.swift",
        "extensions/DictionaryExtensions.swift",
        "extensions/NumberExtensions.swift",
        "extensions/StringExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
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/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.24s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (1.31s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.02s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/33] Emitting module HeaderMapTesting
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/33] 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/33] 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 |
[10/33] 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 |
[11/34] 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 |
[12/34] 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 |
[13/34] 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 |
[14/34] 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 |
[15/34] Compiling HeaderMapTesting TestingExtensions.swift
[16/34] Compiling HeaderMapCore ArrayExtensions.swift
[17/34] Compiling HeaderMapCore JSONHeaderMap.swift
[18/36] Compiling HeaderMapCore NumberExtensions.swift
[19/36] Compiling HeaderMapCore HeaderMapMaker.swift
[20/36] 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 |
[21/36] 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 |
[22/36] 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 |
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/7] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling HeaderMapCore DictionaryExtensions.swift
[3/29] 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 |
[4/30] Compiling HeaderMapCore ArrayExtensions.swift
[5/30] Compiling HeaderMapCore NumberExtensions.swift
[6/30] Emitting module HeaderMapTesting
[7/30] Compiling HeaderMapTesting TestingExtensions.swift
[8/30] Compiling HeaderMapCore JSONHeaderMap.swift
[9/31] 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/31] Compiling HeaderMapCore StringExtensions.swift
[12/31] Compiling HeaderMapCore BinaryHeaderMap.swift
[13/31] Compiling HeaderMapCore ByteBuffer.swift
[14/31] Emitting module HeaderMapCore
[15/31] Compiling HeaderMapCore HeaderMapMaker.swift
[16/31] Compiling Commander ArgumentConvertible.swift
[17/31] Compiling Commander ArgumentDescription.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/32] 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 |
[20/32] 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 |
[21/32] 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 |
[22/32] 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 |
[23/32] 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 |
/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 |
/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 |
[26/32] 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 |
[26/32] Wrapping AST for HeaderMapCore for debugging
BUILD FAILURE 6.1 wasm