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 RuleKit, reference 0.5.4 (8494a2), with Swift 6.0 for Linux on 3 Dec 2024 12:11:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Dean151/RuleKit.git
Reference: 0.5.4
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/Dean151/RuleKit
 * tag               0.5.4      -> FETCH_HEAD
HEAD is now at 8494a25 Fixed a warning
Cloned https://github.com/Dean151/RuleKit.git
Revision (git rev-parse @):
8494a259c0b96e5e8c24d1ab43a513c6a9d68749
SUCCESS checkout https://github.com/Dean151/RuleKit.git at 0.5.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Dean151/RuleKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RuleKit",
  "name" : "RuleKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "RuleKit",
      "targets" : [
        "RuleKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "RuleKitTests",
      "module_type" : "SwiftTarget",
      "name" : "RuleKitTests",
      "path" : "Tests/RuleKitTests",
      "sources" : [
        "RuleKitTests.swift"
      ],
      "target_dependencies" : [
        "RuleKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RuleKit",
      "module_type" : "SwiftTarget",
      "name" : "RuleKit",
      "path" : "Sources/RuleKit",
      "product_memberships" : [
        "RuleKit"
      ],
      "sources" : [
        "Center.swift",
        "Donation.swift",
        "Event.swift",
        "Option.swift",
        "Rule.swift",
        "Store.swift",
        "Trigger.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling RuleKit Center.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module RuleKit
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[5/11] Compiling RuleKit Donation.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[6/11] Compiling RuleKit Option.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[7/11] Compiling RuleKit Event.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[8/11] Compiling RuleKit Store.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[9/11] Compiling RuleKit Trigger.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[10/11] Compiling RuleKit Rule.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
[11/11] Compiling RuleKit Version.swift
/host/spi-builder-workspace/Sources/RuleKit/Center.swift:29:8: error: no such module 'OSLog'
 27 |
 28 | import Foundation
 29 | import OSLog
    |        `- error: no such module 'OSLog'
 30 |
 31 | @MainActor
BUILD FAILURE 6.0 linux