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 URLRequestOperation, reference 1.1.11 (cafea3), with Swift 6.1 for Android on 28 May 2025 12:07:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/happn-app/URLRequestOperation.git
Reference: 1.1.11
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/happn-app/URLRequestOperation
 * tag               1.1.11     -> FETCH_HEAD
HEAD is now at cafea35 Merge pull request #7 from happn-app/remove_async_operation_result
Cloned https://github.com/happn-app/URLRequestOperation.git
Revision (git rev-parse @):
cafea350e06f73dfd82f20f926088fb62aed0eec
SUCCESS checkout https://github.com/happn-app/URLRequestOperation.git at 1.1.11
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/happn-app/URLRequestOperation.git
https://github.com/happn-app/URLRequestOperation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "retryingoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-app/RetryingOperation.git"
    },
    {
      "identity" : "semisingleton",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-app/SemiSingleton.git"
    }
  ],
  "manifest_display_name" : "URLRequestOperation",
  "name" : "URLRequestOperation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "URLRequestOperation",
      "targets" : [
        "URLRequestOperation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ManualTest",
      "targets" : [
        "ManualTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLRequestOperationTests",
      "module_type" : "SwiftTarget",
      "name" : "URLRequestOperationTests",
      "path" : "Tests/URLRequestOperationTests",
      "sources" : [
        "IPUtilsTests.swift",
        "ReachabilityTests.swift",
        "URLRequestOperationTests.swift"
      ],
      "target_dependencies" : [
        "URLRequestOperation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLRequestOperation",
      "module_type" : "SwiftTarget",
      "name" : "URLRequestOperation",
      "path" : "Sources/URLRequestOperation",
      "product_dependencies" : [
        "Logging",
        "RetryingOperation",
        "SemiSingleton"
      ],
      "product_memberships" : [
        "URLRequestOperation",
        "ManualTest"
      ],
      "sources" : [
        "GenericURLSessionDelegate.swift",
        "LinuxWeakToWeakMapTable.swift",
        "ReachabilityObserver.swift",
        "ReachabilitySubscriber.swift",
        "SockaddrWrapper.swift",
        "URLRequestOperation.swift",
        "URLRequestOperationConfig.swift",
        "URLRequestOperationSessionDelegate.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManualTest",
      "module_type" : "SwiftTarget",
      "name" : "ManualTest",
      "path" : "Sources/ManualTest",
      "product_memberships" : [
        "ManualTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "URLRequestOperation"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/apple/swift-log.git
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/happn-app/SemiSingleton.git
[1/421] Fetching semisingleton
[128/816] Fetching semisingleton, retryingoperation
[523/4652] Fetching semisingleton, retryingoperation, swift-log
Fetched https://github.com/happn-app/SemiSingleton.git from cache (2.22s)
Fetched https://github.com/happn-app/RetryingOperation.git from cache (2.21s)
Fetched https://github.com/apple/swift-log.git from cache (2.22s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (3.32s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.63s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (1.23s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.55s)
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.5
Creating working copy for https://github.com/happn-app/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.8
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/22] Compiling Logging MetadataProvider.swift
[9/22] Compiling Logging Logging.swift
[10/22] Compiling Logging LogHandler.swift
[11/22] Emitting module Logging
[12/22] Compiling Logging Locks.swift
[14/23] Emitting module RecursiveSyncDispatch
[15/23] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[16/24] Wrapping AST for RecursiveSyncDispatch for debugging
[17/24] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/33] Compiling SemiSingleton SemiSingletonConfig.swift
[20/33] Emitting module SemiSingleton
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private var registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private var registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[21/33] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private var registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private var registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[22/33] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[23/33] Compiling RetryingOperation RetryHelper.swift
[24/33] Emitting module RetryingOperation
[25/33] Compiling RetryingOperation RetryingOperationConfig.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/9] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Logging MetadataProvider.swift
[3/16] Emitting module RecursiveSyncDispatch
[4/16] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[5/17] Emitting module Logging
[6/17] Compiling Logging Locks.swift
[8/16] Compiling Logging LogHandler.swift
[9/16] Compiling Logging Logging.swift
[10/17] Wrapping AST for Logging for debugging
[12/26] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/26] Emitting module SemiSingleton
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private var registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private var registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[14/26] Compiling SemiSingleton SemiSingletonConfig.swift
[15/26] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private var registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private var registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[16/26] Compiling RetryingOperation RetryingOperationConfig.swift
[17/26] Compiling RetryingOperation WrappedRetryingOperation.swift
[18/26] Compiling RetryingOperation RetryingOperation.swift
[19/26] Compiling RetryingOperation RetryHelper.swift
[20/26] Emitting module RetryingOperation
[21/27] Wrapping AST for RetryingOperation for debugging
BUILD FAILURE 6.1 android