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 main (d00424), with Swift 6.2 (beta) for Android on 23 Jun 2025 07:47:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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:         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-1":/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.21s)
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/apple/swift-argument-parser from cache (1.14s)
Fetched https://github.com/jpsim/Yams.git from cache (1.17s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (2.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.46s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main (1b9b259)
[1/1] Compiling plugin gir2swift-plugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/43] Compiling reader.c
[3/43] Compiling parser.c
[4/43] Write sources
[8/43] Compiling writer.c
[9/43] Write sources
[15/43] Compiling reader.c
[16/43] Compiling api.c
[17/43] Compiling emitter.c
[18/43] Write sources
[20/43] Compiling parser.c
[21/43] Compiling writer.c
[22/43] Write swift-version-8C5A4AE7A8CE2BA.txt
[23/43] Compiling scanner.c
[24/49] Compiling emitter.c
[25/57] Compiling api.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/76] 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
[27/76] Compiling scanner.c
[29/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
[30/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
[31/91] 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
[32/91] 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
[33/91] 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
[34/91] 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
[35/91] Emitting module Yams
[36/92] Emitting module ArgumentParserToolInfo
[37/92] Compiling ArgumentParserToolInfo ToolInfo.swift
[39/93] 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
[40/93] 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
[43/94] Compiling Yams YamlError.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
[44/94] Emitting module ArgumentParserToolInfo
[45/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[47/95] Compiling Yams YamlError.swift
[48/95] Compiling SwiftLibXML XMLNameSpace.swift
[49/95] Compiling SwiftLibXML XMLElement.swift
[50/95] Compiling SwiftLibXML XMLPath.swift
[51/95] Compiling SwiftLibXML XMLAttribute.swift
[52/95] Emitting module SwiftLibXML
[53/95] Compiling SwiftLibXML EmptySequence.swift
[54/95] Compiling SwiftLibXML XMLDocument.swift
[56/96] Compiling Yams Representer.swift
[57/96] Compiling Yams Resolver.swift
[58/96] Compiling Yams Emitter.swift
[59/96] Compiling Yams Encoder.swift
[60/96] Compiling Yams Node.Scalar.swift
[61/96] Compiling Yams Node.Sequence.swift
[62/96] Compiling Yams String+Yams.swift
[63/96] Compiling Yams Tag.swift
[64/96] Compiling Yams Node.swift
[65/96] Compiling Yams Parser.swift
[66/96] Compiling Yams Constructor.swift
[67/96] Compiling Yams Decoder.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
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/97] Emitting module Yams
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
/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
[81/97] Wrapping AST for Yams for debugging
[81/97] Wrapping AST for ArgumentParserToolInfo for debugging
[81/97] Wrapping AST for SwiftLibXML for debugging
BUILD FAILURE 6.2 android