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 KYNearbyService, reference 2.1.1 (5d7e49), with Swift 6.0 for Linux on 4 Feb 2025 12:56:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kjuly/KYNearbyService.git
Reference: 2.1.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/Kjuly/KYNearbyService
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 5d7e49d Update KYNearbyService.podspec: Set spec.version=2.1.1
Cloned https://github.com/Kjuly/KYNearbyService.git
Revision (git rev-parse @):
5d7e49da5b2f2d49b68c621c19301872fe4cde9d
SUCCESS checkout https://github.com/Kjuly/KYNearbyService.git at 2.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kjuly/KYNearbyService.git
https://github.com/Kjuly/KYNearbyService.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "kylogger",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kjuly/KYLogger.git"
    }
  ],
  "manifest_display_name" : "KYNearbyService",
  "name" : "KYNearbyService",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.5"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "KYNearbyService",
      "targets" : [
        "KYNearbyService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KYNearbyServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "KYNearbyServiceTests",
      "path" : "KYNearbyServiceTests",
      "sources" : [
        "KYNearbyService/KYNearbyServiceConfigurationTests.swift",
        "KYNearbyService/KYNearbyServiceConstantsTests.swift",
        "KYNearbyService/KYNearbyServiceConstants_ObjCTests.swift",
        "KYNearbyService/KYNearbyService_ReceivedFileTests.swift"
      ],
      "target_dependencies" : [
        "KYNearbyService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KYNearbyService",
      "module_type" : "SwiftTarget",
      "name" : "KYNearbyService",
      "path" : "KYNearbyService/Sources",
      "product_dependencies" : [
        "KYLogger"
      ],
      "product_memberships" : [
        "KYNearbyService"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/KYNearbyService/Sources/Resources/en.lproj/KYNearbyServiceLocalizations.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/KYNearbyService/Sources/Resources/zh-Hans.lproj/KYNearbyServiceLocalizations.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        }
      ],
      "sources" : [
        "KYNearbyConnectionView/Extensions/Animation+KYNearbyConnectionView.swift",
        "KYNearbyConnectionView/Extensions/View+KYNearbyConnectionView.swift",
        "KYNearbyConnectionView/KYNearbyConnectionView.swift",
        "KYNearbyConnectionView/KYNearbyConnectionViewConstants.swift",
        "KYNearbyConnectionView/PeerCell/KYNearbyConnectionPeerCell+Actions.swift",
        "KYNearbyConnectionView/PeerCell/KYNearbyConnectionPeerCell.swift",
        "KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel+Event.swift",
        "KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel+Notification.swift",
        "KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel.swift",
        "KYNearbyConnectionView/ViewModel/Theme/KYNearbyConnectionViewTheme.swift",
        "KYNearbyService/Internal/KYNearbyService+Internal.swift",
        "KYNearbyService/Internal/KYNearbyService+MCNearbyServiceAdvertiserDelegate.swift",
        "KYNearbyService/Internal/KYNearbyService+MCNearbyServiceBrowserDelegate.swift",
        "KYNearbyService/Internal/KYNearbyService+MCSessionDelegate.swift",
        "KYNearbyService/KYNearbyService+Connection.swift",
        "KYNearbyService/KYNearbyService+Debug.swift",
        "KYNearbyService/KYNearbyService+ErrorAlert.swift",
        "KYNearbyService/KYNearbyService+ReceivedFile.swift",
        "KYNearbyService/KYNearbyService+Sending.swift",
        "KYNearbyService/KYNearbyService+Visibility.swift",
        "KYNearbyService/KYNearbyService.swift",
        "KYNearbyService/KYNearbyServiceConfiguration.swift",
        "KYNearbyService/KYNearbyServiceConstants+ObjC.swift",
        "KYNearbyService/KYNearbyServiceConstants.swift",
        "KYNearbyService/Model/KYNearbyPeerModel+Debug.swift",
        "KYNearbyService/Model/KYNearbyPeerModel+ObjC.swift",
        "KYNearbyService/Model/KYNearbyPeerModel.swift",
        "Localizations/KYNearbyServiceLocalizations.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Kjuly/KYLogger.git
[1/188] Fetching kylogger
Fetched https://github.com/Kjuly/KYLogger.git from cache (0.21s)
Creating working copy for https://github.com/Kjuly/KYLogger.git
Working copy of https://github.com/Kjuly/KYLogger.git resolved at main (a7f01e7)
Building for debugging...
[0/7] Write sources
[2/7] Copying Info.plist
[2/7] Copying KYNearbyServiceLocalizations.strings
In file included from /host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/KYLoggerObjC.m:9:
/host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/include/KYLoggerObjC.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/7] Compiling KYLoggerObjC KYLoggerObjC.m
[5/7] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/KYLoggerObjC.m:9:
/host/spi-builder-workspace/.build/checkouts/KYLogger/KYLogger/SourcesObjC/include/KYLoggerObjC.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling KYLoggerObjC KYLoggerObjC.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux