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 SwiftAndroid, reference master (a44432), with Swift 6.1 for Wasm on 8 Jun 2025 10:27:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/android.git
Reference: master
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/pureswift/android
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a444325 Ignore Finder files
Cloned https://github.com/pureswift/android.git
Revision (git rev-parse @):
a4443255b2cab83f3f28b6a559f5d6dcfb9b8de7
SUCCESS checkout https://github.com/pureswift/android.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pureswift/android.git
https://github.com/pureswift/android.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-java",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-java.git"
    },
    {
      "identity" : "jni",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/JNI.git"
    },
    {
      "identity" : "java_util",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/java_util.git"
    }
  ],
  "manifest_display_name" : "SwiftAndroid",
  "name" : "SwiftAndroid",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftAndroid",
      "targets" : [
        "SwiftAndroid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftAndroid",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAndroid",
      "path" : "Sources/Android",
      "product_dependencies" : [
        "JavaKit",
        "JNI",
        "java_util"
      ],
      "product_memberships" : [
        "SwiftAndroid"
      ],
      "sources" : [
        "AlertDialog.swift",
        "AlertDialogBuilder.swift",
        "AndroidManifestPermission.swift",
        "AndroidManifestPermissionGroup.swift",
        "AndroidNamespace.swift",
        "AndroidPoint.swift",
        "AppCompatActivity.swift",
        "AppCompatDialog.swift",
        "Application.swift",
        "ArrayListExtension.swift",
        "ComponentActivity.swift",
        "ContentBroadcastReceiver.swift",
        "ContentContext.swift",
        "ContentContextWrapper.swift",
        "ContentIntent.swift",
        "ContentIntentFilter.swift",
        "ContentPmPackageManager.swift",
        "ContentResResources.swift",
        "ContextCompat.swift",
        "ContextSystemService.swift",
        "Dialog.swift",
        "DialogInterface.swift",
        "DialogInterfaceOnClickListener.swift",
        "DrawableCompat.swift",
        "FullScreenDialogFragment.swift",
        "GraphicsColor.swift",
        "GraphicsDrawableColorDrawable.swift",
        "GraphicsDrawableDrawable.swift",
        "GraphicsRect.swift",
        "JNI.swift",
        "Menu.swift",
        "MenuItem.swift",
        "OsBuild.swift",
        "OsBuildVersion.swift",
        "OsBuildVersionCodes.swift",
        "OsBundle.swift",
        "OsEnvironment.swift",
        "OsHandler.swift",
        "OsParcelUuid.swift",
        "ProgressDialog.swift",
        "RecyclerView.swift",
        "RecyclerViewAdapter.swift",
        "RecyclerViewDividerItemDecoration.swift",
        "RecyclerViewItemDecoration.swift",
        "RecyclerViewLayoutManager.swift",
        "RecyclerViewLinearLayoutManager.swift",
        "RecyclerViewViewHolder.swift",
        "Resource.swift",
        "Runnable.swift",
        "RuntimeConfiguration.swift",
        "TextView.swift",
        "Toolbar.swift",
        "ToolbarOnMenuItemClickListener.swift",
        "UtilDisplayMetrics.swift",
        "UtilSparseArray.swift",
        "VectorDrawableCompat.swift",
        "View.swift",
        "ViewAnimation.swift",
        "ViewAnimationAnimationListener.swift",
        "ViewAnimationInterpolator.swift",
        "ViewCompat.swift",
        "ViewDisplay.swift",
        "ViewGroup.swift",
        "ViewGroupLayoutParams.swift",
        "ViewGroupMarginLayoutParams.swift",
        "ViewLayoutInflater.swift",
        "ViewOnClickListener.swift",
        "ViewOnFocusChangeListener.swift",
        "ViewTreeObserver.swift",
        "ViewTreeObserverOnGlobalLayoutListener.swift",
        "ViewWindow.swift",
        "ViewWindowManager.swift",
        "ViewWindowManagerLayoutParams.swift",
        "WidgetAbsSeekBar.swift",
        "WidgetArrayAdapter.swift",
        "WidgetBaseAdapter.swift",
        "WidgetBottomNavigationView.swift",
        "WidgetButton.swift",
        "WidgetCheckBox.swift",
        "WidgetCompoundButton.swift",
        "WidgetCompoundButtonOnCheckedChangeListener.swift",
        "WidgetEditText.swift",
        "WidgetFrameLayout.swift",
        "WidgetFrameLayoutLayoutParams.swift",
        "WidgetHorizontalScrollView.swift",
        "WidgetImageView.swift",
        "WidgetLinearLayout.swift",
        "WidgetLinearLayoutCompat.swift",
        "WidgetLinearLayoutLayoutParams.swift",
        "WidgetNestedScrollView.swift",
        "WidgetOnNavigationItemSelectedListener.swift",
        "WidgetProgressBar.swift",
        "WidgetSearchView.swift",
        "WidgetSearchViewOnCloseListener.swift",
        "WidgetSearchViewOnQueryTextListener.swift",
        "WidgetSearchViewOnSuggestionListener.swift",
        "WidgetSeekBar.swift",
        "WidgetSeekBarOnSeekBarChangeListener.swift",
        "WidgetSwipeRefreshLayout.swift",
        "WidgetSwipeRefreshLayoutOnRefreshListener.swift",
        "WidgetSwitchCompat.swift",
        "WidgetTabLayout.swift",
        "WidgetTabLayoutOnPageChangeListener.swift",
        "WidgetTabLayoutOnTabSelectedListener.swift",
        "WidgetTabLayoutTab.swift",
        "WidgetToast.swift",
        "WidgetViewPagerOnTabSelectedListener.swift",
        "contentSharedPreferences.swift",
        "contentSharedPreferencesEditor.swift",
        "inputmethodInputMethodManager.swift",
        "ioBufferedReader.swift",
        "ioFile.swift",
        "ioFileInputStream.swift",
        "ioFileReader.swift",
        "ioInputStream.swift",
        "ioInputStreamReader.swift",
        "ioReader.swift",
        "textEditable.swift",
        "textTextUtilsTruncateAt.swift",
        "textTextWatcher.swift",
        "viewGravity.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-java.git
[1/7310] Fetching swift-java
Fetched https://github.com/swiftlang/swift-java.git from cache (0.50s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.QcR1mA/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.Nle6WL/swift-java-manifest"])
main/Package.swift:29: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7f52d57bb788... done ***
*** Program crashed: Illegal instruction at 0x00007f52d57bb788 ***
Thread 0 "swift-java-mani" crashed:
0      0x00007f52d57bb788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x00005580a4532255 findJavaHome() + 1684 in swift-java-manifest
2 [ra] 0x00005580a4532971 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000005  5
rbx 0x00000005580a5251  22951907921
rsi 0x80005580a453cc00  9223466047855905792
rdi 0x00005580a523f010  06 00 01 00 01 00 02 00 02 00 01 00 01 00 00 00  ················
rbp 0x00007ffea6d5f190  50 f4 d5 a6 fe 7f 00 00 55 22 53 a4 80 55 00 00  PôÕ¦þ···U"S¤·U··
rsp 0x00007ffea6d5f120  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x00005580a5251be0  51 52 0a 58 05 00 00 00 7e dc a7 50 b9 47 87 11  QR·X····~ܧP¹G··
 r9 0x00007ffea6d5ee00  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65  Fatal error: Ple
r10 0x0000000000000000  0
r11 0x118747b950a7dc7e  1263057081748413566
r12 0x00005580a5252520  52 52 0a 58 05 00 00 00 7e dc a7 50 b9 47 87 11  RR·X····~ܧP¹G··
r13 0x00007ffea6d5f410  10 00 00 00 00 00 00 f0 d0 23 25 a5 80 55 00 00  ·······ðÐ#%¥·U··
r14 0x00005580a453ec40  03 00 00 00 00 00 00 00 e8 ef 53 a4 80 55 00 00  ········èïS¤·U··
r15 0x00007f52d5c29040  e0 a2 c2 d5 52 7f 00 00 16 00 00 00 00 00 00 00  à¢ÂÕR···········
rip 0x00007f52d57bb788  0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4  ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033  fs 0x0000  gs 0x0000
Images (19 omitted):
0x00005580a452e000–0x00005580a453d0d0 b04f42eac7911d7c6972d46336dc824a1b591542 swift-java-manifest /tmp/TemporaryDirectory.Nle6WL/swift-java-manifest
0x00007f52d54df000–0x00007f52d5a6d8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so     /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s in https://github.com/swiftlang/swift-java.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/swiftlang/swift-java.git
Updated https://github.com/swiftlang/swift-java.git (0.18s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.VLuC99/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.y0ZfGi/swift-java-manifest"])
main/Package.swift:29: Fatal error: Please set the JAVA_HOME environment variable to point to where Java is installed.
*** Signal 4: Backtracing from 0x7f94adc55788... done ***
*** Program crashed: Illegal instruction at 0x00007f94adc55788 ***
Thread 0 "swift-java-mani" crashed:
0      0x00007f94adc55788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x0000559b8a08c255 findJavaHome() + 1684 in swift-java-manifest
2 [ra] 0x0000559b8a08c971 main + 576 in swift-java-manifest
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000005  5
rbx 0x0000559ed259c946  94140622293318
rsi 0x8000559b8a096c00  9223466163378940928
rdi 0x0000559b8be04010  06 00 01 00 01 00 02 00 02 00 02 00 01 00 00 00  ················
rbp 0x00007fff86074540  00 48 07 86 ff 7f 00 00 55 c2 08 8a 9b 55 00 00  ·H··ÿ···U···U··
rsp 0x00007fff860744d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x0000559b8be16be0  46 c9 59 d2 9e 55 00 00 73 8a 37 c6 30 80 d1 55  FÉYÒ·U··s·7Æ0·ÑU
 r9 0x00007fff860741b0  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 50 6c 65  Fatal error: Ple
r10 0x0000000000000000  0
r11 0x55d18030c6378a73  6183864710328715891
r12 0x0000559b8be175f0  17 be b8 59 05 00 00 00 73 8a 37 c6 30 80 d1 55  ·¾¸Y····s·7Æ0·ÑU
r13 0x00007fff860747c0  10 00 00 00 00 00 00 f0 e0 6a e1 8b 9b 55 00 00  ·······ðàjá··U··
r14 0x0000559b8a098c40  03 00 00 00 00 00 00 00 e8 8f 09 8a 9b 55 00 00  ········è····U··
r15 0x00007f94ae0c3040  e0 42 0c ae 94 7f 00 00 16 00 00 00 00 00 00 00  àB·®············
rip 0x00007f94adc55788  0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4  ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033  fs 0x0000  gs 0x0000
Images (19 omitted):
0x0000559b8a088000–0x0000559b8a0970d0 b92be2d5f028066dba9077a237959bb00d8475dc swift-java-manifest /tmp/TemporaryDirectory.y0ZfGi/swift-java-manifest
0x00007f94ad979000–0x00007f94adf078c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so     /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.03s in https://github.com/swiftlang/swift-java.git
BUILD FAILURE 6.1 wasm