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 CBORCoding, reference 1.4.0 (6fbd64), with Swift 6.1 for Android on 28 May 2025 23:30:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/SomeRandomiOSDev/CBORCoding.git
Reference: 1.4.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/SomeRandomiOSDev/CBORCoding
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 6fbd643 Merge pull request #30 from SomeRandomiOSDev/bulk-updates
Submodule path 'Half': checked out 'bb32fc7a5d5cfcee01e5442b1381450b1fcd4803'
Submodule 'Half' (https://github.com/SomeRandomiOSDev/Half) registered for path 'Half'
Cloning into '/host/spi-builder-workspace/Half'...
Cloned https://github.com/SomeRandomiOSDev/CBORCoding.git
Revision (git rev-parse @):
6fbd643c64cf6ef7a98391820c372d05fa9ed9ab
SUCCESS checkout https://github.com/SomeRandomiOSDev/CBORCoding.git at 1.4.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SomeRandomiOSDev/CBORCoding.git
https://github.com/SomeRandomiOSDev/CBORCoding.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "half",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SomeRandomiOSDev/Half"
    }
  ],
  "manifest_display_name" : "CBORCoding",
  "name" : "CBORCoding",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "CBORCoding",
      "targets" : [
        "CBORCoding"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CBORCodingTests",
      "module_type" : "SwiftTarget",
      "name" : "CBORCodingTests",
      "path" : "Tests/CBORCodingTests",
      "product_dependencies" : [
        "Half"
      ],
      "sources" : [
        "CBORDecoderTests.swift",
        "CBOREncoderTests.swift",
        "CBORParserTests.swift",
        "CBORTests.swift",
        "ContainersTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CBORCoding"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CBORCoding",
      "module_type" : "SwiftTarget",
      "name" : "CBORCoding",
      "path" : "Sources/CBORCoding",
      "product_dependencies" : [
        "Half"
      ],
      "product_memberships" : [
        "CBORCoding"
      ],
      "sources" : [
        "CBOR+Codable.swift",
        "CBOR+Equatable.swift",
        "CBOR.swift",
        "CBORDecoder.swift",
        "CBOREncoder.swift",
        "CBORParser.swift",
        "Containers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.37s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.2 (0.84s)
Creating working copy for https://github.com/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.2
Building for debugging...
[0/6] Write sources
[2/6] Compiling fp_trunc.cpp
[3/6] Compiling half.c
[4/6] Compiling fp_extend.cpp
[4/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module Half
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[8/10] Compiling Half Functions.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[9/10] Compiling Half Half+Coding.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[10/10] Compiling Half Half.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module Half
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[3/5] Compiling Half Functions.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[4/5] Compiling Half Half+Coding.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[5/5] Compiling Half Half.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
BUILD FAILURE 6.1 android