The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JavaCoder, reference 1.1.2 (d46cfd), with Swift 6.1 for Android on 27 May 2025 10:17:52 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java-coder.git
Reference: 1.1.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/readdle/swift-java-coder
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at d46cfd9 Dev: fix issue with creating second instance of Kotlin data object
Cloned https://github.com/readdle/swift-java-coder.git
Revision (git rev-parse @):
d46cfd9f0efb61e45b08a01160a9e4aa35ae4817
SUCCESS checkout https://github.com/readdle/swift-java-coder.git at 1.1.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/readdle/swift-java-coder.git
https://github.com/readdle/swift-java-coder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "java_swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "2.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/readdle/java_swift.git"
    },
    {
      "identity" : "swift-anycodable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/readdle/swift-anycodable.git"
    }
  ],
  "manifest_display_name" : "JavaCoder",
  "name" : "JavaCoder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JavaCoder",
      "targets" : [
        "JavaCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "4"
  ],
  "targets" : [
    {
      "c99name" : "JavaCoder",
      "module_type" : "SwiftTarget",
      "name" : "JavaCoder",
      "path" : "Sources",
      "product_dependencies" : [
        "java_swift",
        "AnyCodable"
      ],
      "product_memberships" : [
        "JavaCoder"
      ],
      "sources" : [
        "JNIArgumentProtocol.swift",
        "JNICore+JavaCoder.swift",
        "JNIObject+JavaCoder.swift",
        "JavaCoderConfig.swift",
        "JavaCodingError.swift",
        "JavaDecoder.swift",
        "JavaEncoder.swift",
        "JavaPrimitive.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/readdle/swift-anycodable.git
Fetching https://github.com/readdle/java_swift.git
[1/92] Fetching swift-anycodable
[93/412] Fetching swift-anycodable, java_swift
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.29s)
Fetched https://github.com/readdle/java_swift.git from cache (0.29s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (2.53s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.2.3 (0.99s)
Fetching https://github.com/readdle/swift-android-ndk.git
[1/80] Fetching swift-android-ndk
Fetched https://github.com/readdle/swift-android-ndk.git from cache (0.31s)
Computing version for https://github.com/readdle/swift-android-ndk.git
Computed https://github.com/readdle/swift-android-ndk.git at 1.1.4 (3.64s)
Creating working copy for https://github.com/readdle/swift-android-ndk.git
Working copy of https://github.com/readdle/swift-android-ndk.git resolved at 1.1.4
Creating working copy for https://github.com/readdle/java_swift.git
Working copy of https://github.com/readdle/java_swift.git resolved at 2.2.3
Creating working copy for https://github.com/readdle/swift-anycodable.git
Working copy of https://github.com/readdle/swift-anycodable.git resolved at 1.0.3
Building for debugging...
[0/6] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/MainRunLoop.c:6:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
    6 | #include <CoreFoundation/CoreFoundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/6] Compiling CAndroidNDK MainRunLoop.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/MainRunLoop.c:6:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
    6 | #include <CoreFoundation/CoreFoundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling CAndroidNDK MainRunLoop.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android