The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AllCache, reference 3.8.1 (9153c5), with Swift 6.1 for Android on 27 May 2025 19:53:00 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/JuanjoArreola/AllCache.git
Reference: 3.8.1
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/JuanjoArreola/AllCache
 * tag               3.8.1      -> FETCH_HEAD
HEAD is now at 9153c55 Fix log warn
Cloned https://github.com/JuanjoArreola/AllCache.git
Revision (git rev-parse @):
9153c553d51b85b0b49fef18464b54f417668b8c
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.git at 3.8.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JuanjoArreola/AllCache.git
https://github.com/JuanjoArreola/AllCache.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "logg",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "2.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JuanjoArreola/Logg.git"
    },
    {
      "identity" : "asyncrequest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JuanjoArreola/AsyncRequest.git"
    }
  ],
  "manifest_display_name" : "AllCache",
  "name" : "AllCache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AllCache",
      "targets" : [
        "AllCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AllCacheTests",
      "module_type" : "SwiftTarget",
      "name" : "AllCacheTests",
      "path" : "Tests",
      "sources" : [
        "AllCacheTests/DiskTests.swift",
        "AllCacheTests/Icecream.swift",
        "AllCacheTests/ImageCacheTests.swift",
        "AllCacheTests/MemoryTests.swift",
        "AllCacheTests/RequestingCacheTests.swift",
        "LinuxMain.swift"
      ],
      "target_dependencies" : [
        "AllCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AllCache",
      "module_type" : "SwiftTarget",
      "name" : "AllCache",
      "path" : "Sources",
      "product_dependencies" : [
        "Logg",
        "AsyncRequest"
      ],
      "product_memberships" : [
        "AllCache"
      ],
      "sources" : [
        "AllCacheFormatter.swift",
        "CGSize+Util.swift",
        "CachableDescriptor.swift",
        "Cache.swift",
        "CodableSerializer.swift",
        "DataSerializer.swift",
        "DiskCache.swift",
        "ImageCache.swift",
        "ImageFetcher.swift",
        "ImageResizer.swift",
        "ImageSerializer.swift",
        "JPEGImageSerializer.swift",
        "LowMemoryHandler.swift",
        "MemoryCache.swift",
        "Networking.swift",
        "ObjectFetcher.swift",
        "ObjectProcessor.swift",
        "PNGImageSerializer.swift",
        "RequestingCache.swift",
        "String+Range.swift",
        "UIButton+ImageCache.swift",
        "UIImageView+ImageCache.swift",
        "URL+Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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/JuanjoArreola/AsyncRequest.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/159] Fetching logg
[145/296] Fetching logg, asyncrequest
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.24s)
Fetched https://github.com/JuanjoArreola/AsyncRequest.git from cache (0.26s)
Computing version for https://github.com/JuanjoArreola/AsyncRequest.git
Computed https://github.com/JuanjoArreola/AsyncRequest.git at 2.3.0 (1.18s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.1 (0.91s)
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.1
Creating working copy for https://github.com/JuanjoArreola/AsyncRequest.git
Working copy of https://github.com/JuanjoArreola/AsyncRequest.git resolved at 2.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling Logg LogLevel.swift
[6/23] Compiling AsyncRequest RequestHandlers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/23] Compiling Logg CompositeLogger.swift
[8/23] Compiling Logg ConsoleFormatter.swift
[9/23] Emitting module AsyncRequest
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:5:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | open class URLSessionRequest<T>: Request<T> {
 4 |
 5 |     open var dataTask: URLSessionTask?
   |                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 |     override open func cancel() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
[10/24] Compiling Logg Logger.swift
[11/24] Compiling AsyncRequest RequestGroup.swift
[12/24] Compiling Logg LogContext.swift
[13/24] Compiling AsyncRequest TimeoutRequest.swift
[14/24] Compiling AsyncRequest URLSessionRequest.swift
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:5:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | open class URLSessionRequest<T>: Request<T> {
 4 |
 5 |     open var dataTask: URLSessionTask?
   |                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 |     override open func cancel() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:8:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 6 |
 7 |     override open func cancel() {
 8 |         dataTask?.cancel()
   |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 9 |         super.cancel()
10 |     }
[15/24] Compiling AsyncRequest RequestError.swift
[16/24] Compiling AsyncRequest Request.swift
[17/24] Emitting module Logg
[20/24] Compiling Logg DefaultFormatter.swift
[21/24] Compiling Logg FileLogger.swift
[22/24] Compiling AsyncRequest UUIDTimeoutRequest.swift
[23/24] Compiling Logg LogFormatter.swift
[24/24] Compiling Logg ConsoleLogger.swift
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
[2/19] Compiling Logg LogContext.swift
[3/20] Compiling AsyncRequest URLSessionRequest.swift
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:5:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | open class URLSessionRequest<T>: Request<T> {
 4 |
 5 |     open var dataTask: URLSessionTask?
   |                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 |     override open func cancel() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:8:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 6 |
 7 |     override open func cancel() {
 8 |         dataTask?.cancel()
   |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 9 |         super.cancel()
10 |     }
[4/21] Compiling AsyncRequest Request.swift
[5/21] Compiling Logg FileLogger.swift
[6/21] Emitting module Logg
[7/21] Compiling Logg Logger.swift
[8/21] Compiling Logg ConsoleLogger.swift
[9/21] Compiling AsyncRequest Cancellable.swift
[10/21] Compiling AsyncRequest GroupRequestHandlers.swift
[11/21] Compiling Logg DefaultFormatter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/21] Emitting module AsyncRequest
/host/spi-builder-workspace/.build/checkouts/AsyncRequest/Sources/URLSessionRequest.swift:5:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | open class URLSessionRequest<T>: Request<T> {
 4 |
 5 |     open var dataTask: URLSessionTask?
   |                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |
 7 |     override open func cancel() {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
[15/21] Compiling AsyncRequest RequestHandlers.swift
[16/21] Compiling AsyncRequest TimeoutRequest.swift
[17/21] Compiling AsyncRequest RequestGroup.swift
[18/21] Compiling AsyncRequest RequestError.swift
[19/21] Compiling Logg LogLevel.swift
[20/21] Compiling Logg LogFormatter.swift
[21/22] Compiling AsyncRequest UUIDTimeoutRequest.swift
BUILD FAILURE 6.1 android