Build Information
Failed to build gir2swift, reference main (d00424
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 07:48:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-0":/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.34s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/10874] Fetching yams
[871/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.38s)
[7939/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.23s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (2.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.61s)
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 api.c
[3/43] Write sources
[7/43] Compiling reader.c
[8/43] Write sources
[15/43] Compiling emitter.c
[16/43] Write swift-version-24593BA9C3E375BF.txt
[17/43] Compiling parser.c
[18/43] Compiling api.c
[19/43] Compiling writer.c
[20/46] Write sources
[23/50] Compiling parser.c
[24/61] Compiling emitter.c
[26/61] Emitting module ArgumentParserToolInfo
[26/61] Compiling scanner.c
[29/91] 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.
[30/91] 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.
[31/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
[32/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
[33/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
[34/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.
[35/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.
[36/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.
[37/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
[38/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.
[39/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.
[40/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.
[41/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.
[42/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.
[43/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.
[44/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.
[45/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.
[46/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/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
[48/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/92] 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.
[50/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.
[51/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.
[52/92] Emitting module SwiftLibXML
[53/92] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/94] Emitting module ArgumentParserToolInfo
[58/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[60/95] Compiling Yams YamlError.swift
[63/95] Compiling SwiftLibXML EmptySequence.swift
BUILD FAILURE 6.2 wasm