The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JavaCoder with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.24.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java-coder.git
Reference: 1.1.0
Cloned https://github.com/readdle/swift-java-coder.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/readdle/swift-java-coder.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/readdle/swift-anycodable.git
Fetching https://github.com/readdle/java_swift.git
[1/92] Fetching swift-anycodable
[93/396] Fetching swift-anycodable, java_swift
Fetched https://github.com/readdle/swift-anycodable.git (0.26s)
Fetched https://github.com/readdle/java_swift.git (0.26s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.2.0 (0.32s)
Fetching https://github.com/readdle/swift-android-ndk.git
[1/74] Fetching swift-android-ndk
Fetched https://github.com/readdle/swift-android-ndk.git (0.27s)
Computing version for https://github.com/readdle/swift-android-ndk.git
Computed https://github.com/readdle/swift-android-ndk.git at 1.1.3 (0.96s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (0.30s)
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
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.0
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.3
Building for debugging...
[1/9] Compiling java_swift Throwable.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
[2/9] Compiling java_swift JNIType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
[3/9] Compiling java_swift JNIField.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
[4/9] Compiling java_swift JNIMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
[5/9] Compiling java_swift JNIObject.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[6/9] Compiling java_swift JNICore.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
[7/9] Emitting module java_swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h"
         ^
/host/spi-builder-workspace/.build/checkouts/swift-android-ndk/Sources/CAndroidNDK/include/AndroidLog.h:4:10: error: 'android/log.h' file not found
#include <android/log.h>
         ^
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:16:19: error: could not build C module 'CAndroidNDK'
@_exported import CAndroidNDK
                  ^
[8/9] Emitting module AnyCodable
BUILD FAILURE 5.7 linux

Build Machine: Linux 1