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 gir2swift, reference 17.0.0 (d00424), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 07:48:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/gir2swift.git
Reference: 17.0.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/rhx/gir2swift
 * tag               17.0.0     -> FETCH_HEAD
HEAD is now at d004249 Merge branch 'development'
Cloned https://github.com/rhx/gir2swift.git
Revision (git rev-parse @):
d004249c82a8d374f1db928f3fcd99964a446937
SUCCESS checkout https://github.com/rhx/gir2swift.git at 17.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rhx/gir2swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.39s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/10874] Fetching yams
[5656/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (14.93s)
Fetched https://github.com/apple/swift-argument-parser from cache (14.93s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (15.49s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.72s)
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (1b9b259)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/43] Compiling writer.c
[2/43] Write sources
[7/43] Compiling reader.c
[8/43] Write sources
[14/43] Write swift-version-24593BA9C3E375BF.txt
[15/43] Compiling writer.c
[16/43] Compiling parser.c
[17/43] Compiling api.c
[18/43] Compiling emitter.c
[19/53] Compiling parser.c
[20/59] Compiling emitter.c
[21/59] Write sources
[22/59] Compiling reader.c
[22/59] Write sources
[24/59] Compiling scanner.c
[25/61] Compiling api.c
[26/76] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/91] Emitting module Yams
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[29/92] Compiling SwiftLibXML XMLElement.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[30/92] Compiling SwiftLibXML XMLDocument.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[31/92] Compiling SwiftLibXML XMLAttribute.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[32/92] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[33/92] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[34/92] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[35/92] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/92] Emitting module SwiftLibXML
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[37/92] Compiling SwiftLibXML EmptySequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[38/92] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[39/92] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[40/92] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[41/92] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[42/92] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[43/92] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[44/92] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[45/92] Compiling Yams Tag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[46/92] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[47/92] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
[48/92] Compiling SwiftLibXML XMLNameSpace.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[49/92] Compiling SwiftLibXML XMLPath.swift
/host/spi-builder-workspace/.build/checkouts/SwiftLibXML/Sources/SwiftLibXML/XMLAttribute.swift:12:12: error: no such module 'Darwin'
10 |     import CLibXML2
11 | #else
12 |     import Darwin
   |            `- error: no such module 'Darwin'
13 |     import libxml2
14 | #endif
[50/92] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Constructor.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Constructors are used to translate `Node`s to Swift values.
BUILD FAILURE 6.2 wasm