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 Getargv, reference 0.0.11 (53c9d6), with Swift 6.1 for Wasm on 9 Nov 2025 19:46:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getargv/getargv.swift.git
Reference: 0.0.11
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/getargv/getargv.swift
 * tag               0.0.11     -> FETCH_HEAD
HEAD is now at 53c9d6f try using platform swift
Cloned https://github.com/getargv/getargv.swift.git
Revision (git rev-parse @):
53c9d6feab8ebcd35528df73417dc61eb63be7a4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getargv/getargv.swift.git at 0.0.11
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/getargv/getargv.swift.git
https://github.com/getargv/getargv.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c99",
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Getargv",
  "name" : "Getargv",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftGetargv",
      "targets" : [
        "SwiftGetargv"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Cgetargv",
      "targets" : [
        "Cgetargv"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "getargv2",
      "targets" : [
        "getargv2"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "getargv",
      "targets" : [
        "getargv"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "getargv2",
      "module_type" : "SwiftTarget",
      "name" : "getargv2",
      "path" : "Sources/getargv2",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "getargv2"
      ],
      "sources" : [
        "getargv2.swift"
      ],
      "target_dependencies" : [
        "SwiftGetargv"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "getargv",
      "module_type" : "SwiftTarget",
      "name" : "getargv",
      "path" : "Sources/getargv",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "getargv"
      ],
      "sources" : [
        "getargv.swift"
      ],
      "target_dependencies" : [
        "Cgetargv"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftGetargvTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGetargvTests",
      "path" : "Tests/SwiftGetargvTests",
      "sources" : [
        "Test.swift"
      ],
      "target_dependencies" : [
        "SwiftGetargv"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGetargv",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGetargv",
      "path" : "Sources/SwiftGetargv",
      "product_memberships" : [
        "SwiftGetargv",
        "getargv2"
      ],
      "sources" : [
        "SwiftGetargv.swift"
      ],
      "target_dependencies" : [
        "Cgetargv"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CgetargvTests",
      "module_type" : "SwiftTarget",
      "name" : "CgetargvTests",
      "path" : "Tests/CgetargvTests",
      "sources" : [
        "Test.swift"
      ],
      "target_dependencies" : [
        "Cgetargv"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cgetargv",
      "module_type" : "SystemLibraryTarget",
      "name" : "Cgetargv",
      "path" : "Sources/Cgetargv",
      "product_memberships" : [
        "SwiftGetargv",
        "Cgetargv",
        "getargv2",
        "getargv"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2160] Fetching swift-docc-plugin
[239/18846] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.75s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.35s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3573] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.72s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
warning: couldn't find pc file for getargv
warning: couldn't find pc file for getargv
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/19] Write sources
[9/19] Write swift-version-24593BA9C3E375BF.txt
[11/23] Emitting module ArgumentParserToolInfo
[12/23] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/24] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/68] Emitting module SwiftGetargv
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "./umbrella.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgetargv/./umbrella.h:1:10: error: 'libgetargv.h' file not found
1 | #include "libgetargv.h"
  |          `- error: 'libgetargv.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
  1 | import Cgetargv
    |        `- error: could not build C module 'Cgetargv'
  2 | import Foundation
  3 | import System
[16/68] Compiling SwiftGetargv SwiftGetargv.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "./umbrella.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgetargv/./umbrella.h:1:10: error: 'libgetargv.h' file not found
1 | #include "libgetargv.h"
  |          `- error: 'libgetargv.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
  1 | import Cgetargv
    |        `- error: could not build C module 'Cgetargv'
  2 | import Foundation
  3 | import System
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: couldn't find pc file for getargv
warning: couldn't find pc file for getargv
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/18] Emitting module SwiftGetargv
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "./umbrella.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgetargv/./umbrella.h:1:10: error: 'libgetargv.h' file not found
1 | #include "libgetargv.h"
  |          `- error: 'libgetargv.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
  1 | import Cgetargv
    |        `- error: could not build C module 'Cgetargv'
  2 | import Foundation
  3 | import System
[7/18] Compiling SwiftGetargv SwiftGetargv.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "./umbrella.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgetargv/./umbrella.h:1:10: error: 'libgetargv.h' file not found
1 | #include "libgetargv.h"
  |          `- error: 'libgetargv.h' file not found
2 |
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
  1 | import Cgetargv
    |        `- error: could not build C module 'Cgetargv'
  2 | import Foundation
  3 | import System
[8/18] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm