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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-1":/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/happn-app/RetryingOperation.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/SemiSingleton.git
[1/395] Fetching retryingoperation
[396/816] Fetching retryingoperation, semisingleton
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.30s)
Fetched https://github.com/happn-app/SemiSingleton.git from cache (0.30s)
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (1.08s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.21s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.70s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.55s)
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/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
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
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/22] Emitting module Logging
[9/22] Compiling Logging Logging.swift
[10/22] Compiling Logging MetadataProvider.swift
[11/22] Compiling Logging Locks.swift
[12/22] Compiling Logging LogHandler.swift
[13/23] Wrapping AST for Logging for debugging
[15/28] Emitting module RecursiveSyncDispatch
[16/28] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[18/29] Compiling RetryingOperation RetryingOperationConfig.swift
[19/29] Compiling RetryingOperation WrappedRetryingOperation.swift
[20/29] Compiling RetryingOperation RetryHelper.swift
[21/29] Emitting module RetryingOperation
[22/29] Compiling RetryingOperation RetryingOperation.swift
[22/30] Wrapping AST for RecursiveSyncDispatch for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/34] 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>()
[26/34] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[27/34] Compiling SemiSingleton SemiSingletonConfig.swift
[28/34] 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>()
[28/34] Wrapping AST for RetryingOperation for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[6/17] Compiling Logging Locks.swift
[7/16] Emitting module Logging
[8/16] Compiling Logging Logging.swift
[9/16] Compiling Logging LogHandler.swift
[10/17] Wrapping AST for Logging for debugging
[12/26] Compiling RetryingOperation WrappedRetryingOperation.swift
[13/26] Compiling RetryingOperation RetryingOperationConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/26] Compiling SemiSingleton SemiSingletonConfig.swift
[15/26] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[16/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>()
[17/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>()
[18/26] Compiling RetryingOperation RetryHelper.swift
BUILD FAILURE 6.1 android