The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AllCache, reference 3.8.1 (9153c5), with Swift 6.1 for Linux on 26 Apr 2025 02:11:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
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:         linux
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/JuanjoArreola/AsyncRequest.git
Fetching https://github.com/JuanjoArreola/Logg.git
[1/159] Fetching logg
[160/296] Fetching logg, asyncrequest
Fetched https://github.com/JuanjoArreola/AsyncRequest.git from cache (0.21s)
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.21s)
Computing version for https://github.com/JuanjoArreola/AsyncRequest.git
Computed https://github.com/JuanjoArreola/AsyncRequest.git at 2.3.0 (0.78s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.1 (0.60s)
Creating working copy for https://github.com/JuanjoArreola/AsyncRequest.git
Working copy of https://github.com/JuanjoArreola/AsyncRequest.git resolved at 2.3.0
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Compiling AsyncRequest TimeoutRequest.swift
[6/22] 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 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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
[8/23] Compiling Logg LogLevel.swift
[9/23] Compiling Logg LogContext.swift
[10/23] Compiling Logg DefaultFormatter.swift
[11/23] Compiling Logg LogFormatter.swift
[12/23] Compiling Logg ConsoleLogger.swift
[13/23] Compiling Logg FileLogger.swift
[14/23] Emitting module Logg
[15/24] Compiling Logg CompositeLogger.swift
[16/24] Compiling Logg ConsoleFormatter.swift
[17/24] Compiling AsyncRequest RequestHandlers.swift
[18/24] Compiling AsyncRequest RequestGroup.swift
[19/24] Compiling AsyncRequest RequestError.swift
[22/24] Compiling AsyncRequest Request.swift
[23/24] Compiling Logg Logger.swift
[24/25] Compiling AsyncRequest UUIDTimeoutRequest.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] 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 |     }
[3/20] Compiling AsyncRequest RequestError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Compiling Logg CompositeLogger.swift
[5/20] Compiling Logg ConsoleFormatter.swift
[6/20] 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
[7/20] Compiling AsyncRequest Request.swift
[8/20] Compiling AsyncRequest RequestHandlers.swift
[9/20] Compiling AsyncRequest RequestGroup.swift
[10/20] Compiling AsyncRequest TimeoutRequest.swift
[11/20] Compiling Logg LogContext.swift
[12/20] Compiling Logg LogFormatter.swift
[13/20] Compiling Logg LogLevel.swift
[14/21] Emitting module Logg
[15/21] Compiling AsyncRequest UUIDTimeoutRequest.swift
[18/21] Compiling Logg DefaultFormatter.swift
[19/21] Compiling Logg ConsoleLogger.swift
[20/21] Compiling Logg FileLogger.swift
[21/21] Compiling Logg Logger.swift
BUILD FAILURE 6.1 linux