Build Information
Failed to build gir2swift, reference 17.0.0 (d00424
), with Swift 6.2 (beta) for Android on 23 Jun 2025 07:47:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.28s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/10874] Fetching yams
[5004/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.40s)
[9787/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.96s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (2.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.48s)
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
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
[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 emitter.c
[8/43] Write sources
[14/43] Compiling parser.c
[15/43] Compiling writer.c
[16/43] Compiling reader.c
[17/43] Compiling api.c
[17/43] Write sources
[20/43] Compiling api.c
[20/43] Write swift-version-8C5A4AE7A8CE2BA.txt
[22/43] Compiling reader.c
[22/43] Compiling scanner.c
[24/48] Compiling parser.c
[25/56] Compiling emitter.c
[26/76] Compiling scanner.c
[28/91] 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
[29/91] 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
[30/91] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
17 | #else
18 | import CoreFoundation
19 | import Glibc
| `- error: no such module 'Glibc'
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
21 | #endif
[31/91] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
17 | #else
18 | import CoreFoundation
19 | import Glibc
| `- error: no such module 'Glibc'
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
21 | #endif
[32/92] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
17 | #else
18 | import CoreFoundation
19 | import Glibc
| `- error: no such module 'Glibc'
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
21 | #endif
[33/92] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:19:8: error: no such module 'Glibc'
17 | #else
18 | import CoreFoundation
19 | import Glibc
| `- error: no such module 'Glibc'
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
21 | #endif
[34/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
[35/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
[36/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
[37/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/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
[40/92] Emitting module Yams
[41/92] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/92] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 android