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 Subviews, reference 0.0.2 (e93045), with Swift 6.2 (beta) for Android on 20 Jun 2025 08:05:30 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/dreymonde/Subviews.git
Reference: 0.0.2
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/dreymonde/Subviews
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at e93045b update README
Cloned https://github.com/dreymonde/Subviews.git
Revision (git rev-parse @):
e93045be3e08ff47adc6bf12f86330cf2016f514
SUCCESS checkout https://github.com/dreymonde/Subviews.git at 0.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dreymonde/Subviews.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/12] Compiling Subviews Extensions.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[4/13] Compiling Subviews Child.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[5/13] Compiling Subviews Enclosed.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Compiling Subviews AutoParent.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[7/13] Compiling Subviews AutoSuperview.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[8/13] Emitting module Subviews
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[9/13] Compiling Subviews Subview.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[10/13] Compiling Subviews Align.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[11/13] Compiling Subviews Creatable.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
[12/13] Compiling Subviews Stacks.swift
/host/spi-builder-workspace/Sources/Subviews/AutoParent.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | open class ParentViewController: UIViewController, AddsSubviews, AddsChildrenViewControllers {
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/Sema/MiscDiagnostics.cpp:2701: bool swift::diagnoseArgumentLabelError(ASTContext &, const ArgumentList *, ArrayRef<Identifier>, ParameterContext, InFlightDiagnostic *): Assertion `numMissing > 0 || numExtra > 0 || numWrong > 0' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Subviews/AutoParent.swift /host/spi-builder-workspace/Sources/Subviews/AutoSuperview.swift /host/spi-builder-workspace/Sources/Subviews/Child.swift /host/spi-builder-workspace/Sources/Subviews/Enclosed.swift /host/spi-builder-workspace/Sources/Subviews/Extensions.swift /host/spi-builder-workspace/Sources/Subviews/Internal/Align.swift /host/spi-builder-workspace/Sources/Subviews/Internal/Creatable.swift /host/spi-builder-workspace/Sources/Subviews/Stacks.swift /host/spi-builder-workspace/Sources/Subviews/Subview.swift -primary-file /host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Subviews.build/ViewLayoutOption.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Subviews.build/ViewLayoutOption.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Subviews.build/ViewLayoutOption.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -I /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name Subviews -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Subviews.build/ViewLayoutOption.swift.o -index-store-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/index/store -index-system-modules
1.	Swift version 6.2-dev (LLVM 74f18b3ab32b72c, Swift 245514cab31b823)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(Subviews.(file).ViewLayoutOption.withSuperview@/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:24)
5.	While type-checking statement at [/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:43:117 - line:50:5] RangeText="{
        ViewLayoutOption {
            guard let superview = $0.superview else {
                return
            }
            layout($0, superview)
        }
    "
6.	While type-checking statement at [/host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:44:9 - line:49:9] RangeText="ViewLayoutOption {
            guard let superview = $0.superview else {
                return
            }
            layout($0, superview)
        "
7.	While type-checking-target starting at /host/spi-builder-workspace/Sources/Subviews/ViewLayoutOption.swift:44:9
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x000056388e329c58
1  swift-frontend 0x000056388e32777e
2  swift-frontend 0x000056388e32a2f1
3  libc.so.6      0x00007f4d3ab18520
4  libc.so.6      0x00007f4d3ab6c9fc pthread_kill + 300
5  libc.so.6      0x00007f4d3ab18476 raise + 22
6  libc.so.6      0x00007f4d3aafe7f3 abort + 211
7  libc.so.6      0x00007f4d3aafe71b
8  libc.so.6      0x00007f4d3ab0fe96
9  swift-frontend 0x0000563887c99b12
10 swift-frontend 0x0000563887bfb09c
11 swift-frontend 0x0000563887f3be3f
12 swift-frontend 0x0000563887f3c6f2
13 swift-frontend 0x0000563887d71f87
14 swift-frontend 0x0000563887e74f22
15 swift-frontend 0x0000563887e74adc
16 swift-frontend 0x0000563887e70771
17 swift-frontend 0x0000563887e74b8d
18 swift-frontend 0x0000563887e727dc
19 swift-frontend 0x0000563887e72024
20 swift-frontend 0x0000563887e71bbe
21 swift-frontend 0x0000563888471702
22 swift-frontend 0x00005638883c9219
23 swift-frontend 0x000056388854f168
24 swift-frontend 0x0000563887edf5d2
25 swift-frontend 0x0000563887ee15bb
26 swift-frontend 0x0000563887edf4b5
27 swift-frontend 0x0000563886a386d9
28 swift-frontend 0x0000563886a2e98a
29 swift-frontend 0x0000563886a2e77b
30 swift-frontend 0x00005638866d6772
31 swift-frontend 0x00005638866c7bbe
32 swift-frontend 0x00005638866c6c5c
33 swift-frontend 0x00005638864425ab
34 libc.so.6      0x00007f4d3aaffd90
35 libc.so.6      0x00007f4d3aaffe40 __libc_start_main + 128
36 swift-frontend 0x00005638864415a5
BUILD FAILURE 6.2 android