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 SearchAndSort, reference 3.3.0 (1205bb), with Swift 6.1 for Android on 30 May 2025 05:51:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/mohammad-nej/SearchAndSort.git
Reference: 3.3.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/mohammad-nej/SearchAndSort
 * tag               3.3.0      -> FETCH_HEAD
HEAD is now at 1205bb0 - addes support for nullable keys.
Cloned https://github.com/mohammad-nej/SearchAndSort.git
Revision (git rev-parse @):
1205bb07b90e31b6c70e1ebb8fb0d36df79a16f3
SUCCESS checkout https://github.com/mohammad-nej/SearchAndSort.git at 3.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mohammad-nej/SearchAndSort.git
https://github.com/mohammad-nej/SearchAndSort.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "mylogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mohammad-nej/MyLogger"
    }
  ],
  "manifest_display_name" : "SearchAndSort",
  "name" : "SearchAndSort",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SearchAndSort",
      "targets" : [
        "SearchAndSort"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SearchAndSortTests",
      "module_type" : "SwiftTarget",
      "name" : "SearchAndSortTests",
      "path" : "Tests/SearchAndSortTests",
      "sources" : [
        "SearchAndSortTests.swift"
      ],
      "target_dependencies" : [
        "SearchAndSort"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SearchAndSort",
      "module_type" : "SwiftTarget",
      "name" : "SearchAndSort",
      "path" : "Sources/SearchAndSort",
      "product_dependencies" : [
        "MyLogger"
      ],
      "product_memberships" : [
        "SearchAndSort"
      ],
      "sources" : [
        "Extensions/KeyPath.swift",
        "Logger.swift",
        "Protocols/Optional Extension.swift",
        "Protocols/Searchable.swift",
        "Protocols/SearchableKeyProtocol.swift",
        "Protocols/SortableKeyPathProtocol.swift",
        "Protocols/Stringifier.swift",
        "Protocols/ValuePresentable.swift",
        "Search/BackgroundSearcher.swift",
        "Search/SearchableKeyPath.swift",
        "SearchAndSort.swift",
        "Sort/SortOrder.swift",
        "Sort/SortableKeyPath.swift",
        "Sort/Sorter.swift",
        "Stringifirers/Persian/PersianDateStringifier.swift",
        "Stringifirers/Persian/PersianDoubleStringifier.swift",
        "Stringifirers/Persian/PersianIntStringifier.swift",
        "Stringifirers/StringConvertableStringifier.swift",
        "TitledKey.swift",
        "Type Erasure/AnyKey.swift",
        "Type Erasure/AnySearchableKey.swift",
        "Type Erasure/AnySearchableTitledKey.swift",
        "Type Erasure/AnySortableKey.swift",
        "Type Erasure/AnySortabletTitledKey.swift",
        "Type Erasure/AnyTitledKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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/mohammad-nej/MyLogger
[1/35] Fetching mylogger
Fetched https://github.com/mohammad-nej/MyLogger from cache (0.65s)
Computing version for https://github.com/mohammad-nej/MyLogger
Computed https://github.com/mohammad-nej/MyLogger at 1.0.3 (1.66s)
Creating working copy for https://github.com/mohammad-nej/MyLogger
Working copy of https://github.com/mohammad-nej/MyLogger resolved at 1.0.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module MyLogger
/host/spi-builder-workspace/.build/checkouts/MyLogger/Sources/MyLogger/MyLogger.swift:5:8: error: no such module 'OSLog'
 3 |
 4 |
 5 | import OSLog
   |        `- error: no such module 'OSLog'
 6 |
 7 |
[5/5] Compiling MyLogger MyLogger.swift
/host/spi-builder-workspace/.build/checkouts/MyLogger/Sources/MyLogger/MyLogger.swift:5:8: error: no such module 'OSLog'
 3 |
 4 |
 5 | import OSLog
   |        `- error: no such module 'OSLog'
 6 |
 7 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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/3] Emitting module MyLogger
/host/spi-builder-workspace/.build/checkouts/MyLogger/Sources/MyLogger/MyLogger.swift:5:8: error: no such module 'OSLog'
 3 |
 4 |
 5 | import OSLog
   |        `- error: no such module 'OSLog'
 6 |
 7 |
[3/3] Compiling MyLogger MyLogger.swift
/host/spi-builder-workspace/.build/checkouts/MyLogger/Sources/MyLogger/MyLogger.swift:5:8: error: no such module 'OSLog'
 3 |
 4 |
 5 | import OSLog
   |        `- error: no such module 'OSLog'
 6 |
 7 |
BUILD FAILURE 6.1 android