Build Information
Failed to build OpenMeteoSdk, reference v1.26.0 (a29c4b), with Swift 6.3 for Android on 19 Apr 2026 07:11:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-meteo/sdk.git
Reference: v1.26.0
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/open-meteo/sdk
* tag v1.26.0 -> FETCH_HEAD
HEAD is now at a29c4b6 fix: use java version 17 for build (#262)
Cloned https://github.com/open-meteo/sdk.git
Revision (git rev-parse @):
a29c4b62dd8445128e6db30f0a6fb5509fa1259c
SUCCESS checkout https://github.com/open-meteo/sdk.git at v1.26.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/open-meteo/sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/google/flatbuffers.git
[1/99015] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (9.50s)
Computing version for https://github.com/google/flatbuffers.git
Computed https://github.com/google/flatbuffers.git at 25.9.23 (9.88s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at 25.9.23
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--4F562202D5529B1.txt
[5/8] Compiling Common Int+extension.swift
[6/8] Compiling Common Scalar.swift
[7/8] Emitting module Common
[8/8] Compiling Common padding.swift
[10/10] Emitting module FlatBuffers
[11/30] Compiling FlatBuffers String+extension.swift
[12/30] Compiling FlatBuffers Struct.swift
[13/30] Compiling FlatBuffers ByteBuffer.swift
[14/30] Compiling FlatBuffers Constants.swift
[15/30] Compiling FlatBuffers Enum.swift
[16/30] Compiling FlatBuffers VeriferOptions.swift
[17/30] Compiling FlatBuffers Verifiable.swift
[18/30] Compiling FlatBuffers FlatbuffersErrors.swift
[19/30] Compiling FlatBuffers Message.swift
[20/30] Compiling FlatBuffers Mutable.swift
[21/30] Compiling FlatBuffers Verifier.swift
[22/30] Compiling FlatBuffers _InternalByteBuffer.swift
[23/30] Compiling FlatBuffers NativeObject.swift
[24/30] Compiling FlatBuffers Offset.swift
[25/30] Compiling FlatBuffers Root.swift
[26/30] Compiling FlatBuffers FlatBufferBuilder.swift
[27/30] Compiling FlatBuffers FlatBufferObject.swift
[28/30] Compiling FlatBuffers FlatBuffersUtils.swift
[29/30] Compiling FlatBuffers Table.swift
[30/30] Compiling FlatBuffers TableVerifier.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/36] Compiling OpenMeteoSdk Unit.swift
[33/36] Compiling OpenMeteoSdk weather_api_generated.swift
[34/36] Compiling OpenMeteoSdk VariablesWithTime.swift
[35/36] Emitting module OpenMeteoSdk
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | @available(macOS 12.0, *)
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:73: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | @available(macOS 12.0, *)
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:73: error: default argument value of type '_' cannot be converted to type 'AnyObject'
15 | @available(macOS 12.0, *)
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:39: error: cannot find type 'URLRequest' in scope
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:84: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:84: error: default argument value of type '_' cannot be converted to type 'AnyObject'
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
[36/36] Compiling OpenMeteoSdk OpenMeteoSdk.swift
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | @available(macOS 12.0, *)
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:73: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 | @available(macOS 12.0, *)
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:17:73: error: default argument value of type '_' cannot be converted to type 'AnyObject'
15 | @available(macOS 12.0, *)
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:39: error: cannot find type 'URLRequest' in scope
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:84: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:26:84: error: default argument value of type '_' cannot be converted to type 'AnyObject'
24 | @available(watchOS 10.0, *)
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
| `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
27 | let (data, response) = try await session.data(for: request)
28 | guard let res = (response as? HTTPURLResponse) else {
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:18:23: error: cannot find 'URLRequest' in scope
16 | @available(watchOS 10.0, *)
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
18 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
19 | return try await fetch(request: request, session: session)
20 | }
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:19:31: error: incorrect argument label in call (have 'request:session:', expected 'url:session:')
17 | public static func fetch(url: URL, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
18 | let request = URLRequest(url: url)
19 | return try await fetch(request: request, session: session)
| `- error: incorrect argument label in call (have 'request:session:', expected 'url:session:')
20 | }
21 |
/host/spi-builder-workspace/swift/Sources/OpenMeteoSdk/OpenMeteoSdk.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
25 | /// Fetch data using a given URLRequest and decode the Open-Meteo Weather API Flatbuffers structure
26 | public static func fetch(request: URLRequest, session: URLSession = URLSession.shared) async throws -> [WeatherApiResponse] {
27 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 | guard let res = (response as? HTTPURLResponse) else {
29 | throw OpenMeteoSdkError.error(message: "response is not type HTTPURLResponse")
BUILD FAILURE 6.3 android