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 OSLogClient, reference 2.0.0 (6d023a), with Swift 6.0 for Linux on 3 Dec 2024 11:45:50 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 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CheekyGhost-Labs/OSLogClient.git
Reference: 2.0.0
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/CheekyGhost-Labs/OSLogClient
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 6d023a4 Merge branch 'develop' at 2.0.0
Cloned https://github.com/CheekyGhost-Labs/OSLogClient.git
Revision (git rev-parse @):
6d023a438c1c1026e3627c499ed39e5bfa533aa3
SUCCESS checkout https://github.com/CheekyGhost-Labs/OSLogClient.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CheekyGhost-Labs/OSLogClient.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OSLogClient",
  "name" : "OSLogClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "OSLogClient",
      "targets" : [
        "OSLogClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OSLogClientTests",
      "module_type" : "SwiftTarget",
      "name" : "OSLogClientTests",
      "path" : "Tests/OSLogClientTests",
      "sources" : [
        "Internal/ArrayLogCategoryFilterIdentifierTests.swift",
        "Public/LogClientTests.swift",
        "Public/LogDriverTests.swift",
        "Public/LogFilters/LogCategoryFilterTests.swift",
        "Public/LogFilters/LogFilterTests.swift",
        "Public/OSLogClientTests.swift",
        "Public/PollingIntervalTests.swift",
        "Utils/Mocks/LogDriverSpy.swift",
        "Utils/TestProcessInfoProvider.swift",
        "Utils/XCTestCase+Utils.swift"
      ],
      "target_dependencies" : [
        "OSLogClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OSLogClientIntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "OSLogClientIntegrationTests",
      "path" : "Tests/OSLogClientIntegrationTests",
      "sources" : [
        "OSLogClientIntegrationTests.swift",
        "Utils/Mocks/LogDriverSpy.swift",
        "Utils/TestProcessInfoProvider.swift",
        "Utils/XCTestCase+Utils.swift"
      ],
      "target_dependencies" : [
        "OSLogClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OSLogClient",
      "module_type" : "SwiftTarget",
      "name" : "OSLogClient",
      "path" : "Sources/OSLogClient",
      "product_memberships" : [
        "OSLogClient"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/OSLogClient/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Internal/Convenience/Array+LogCategoryFilterIdentifier.swift",
        "Internal/ProcessInfoProvider.swift",
        "Public/LastProcessedStrategy/InMemoryLastProcessedStrategy.swift",
        "Public/LastProcessedStrategy/LastProcessedStrategy.swift",
        "Public/LastProcessedStrategy/UserDefaultsLastProcessedStrategy.swift",
        "Public/LogClient.swift",
        "Public/LogDriver.swift",
        "Public/LogFilters/LogCategoryFilter.swift",
        "Public/LogFilters/LogFilter.swift",
        "Public/OSLogClient.swift",
        "Public/OSLogClientError.swift",
        "Public/PollingInterval.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling OSLogClient LogDriver.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[5/16] Compiling OSLogClient LogCategoryFilter.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[6/16] Compiling OSLogClient LogFilter.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[7/16] Compiling OSLogClient OSLogClient.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[8/16] Compiling OSLogClient OSLogClientError.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[9/17] Compiling OSLogClient UserDefaultsLastProcessedStrategy.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[10/17] Compiling OSLogClient LogClient.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Emitting module OSLogClient
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[12/17] Compiling OSLogClient Array+LogCategoryFilterIdentifier.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[13/17] Compiling OSLogClient ProcessInfoProvider.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[14/17] Compiling OSLogClient InMemoryLastProcessedStrategy.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[15/17] Compiling OSLogClient LastProcessedStrategy.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[16/17] Compiling OSLogClient resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
[17/17] Compiling OSLogClient PollingInterval.swift
/host/spi-builder-workspace/Sources/OSLogClient/Public/LogClient.swift:9:8: error: no such module 'OSLog'
  7 |
  8 | import Foundation
  9 | import OSLog
    |        `- error: no such module 'OSLog'
 10 |
 11 | /// Class that provides configurable polling of an `OSLogStore`.
BUILD FAILURE 6.0 linux