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 swift-sysctl, reference main (68aed7), with Swift 6.0 for Linux on 3 Dec 2024 10:17:14 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/sersoft-gmbh/swift-sysctl.git
Reference: main
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/sersoft-gmbh/swift-sysctl
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 68aed7f Add Swift 6.0 support
Cloned https://github.com/sersoft-gmbh/swift-sysctl.git
Revision (git rev-parse @):
68aed7ffda5435c045a220e518967fdbbd5da5dc
SUCCESS checkout https://github.com/sersoft-gmbh/swift-sysctl.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sersoft-gmbh/swift-sysctl.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-sysctl",
  "name" : "swift-sysctl",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Sysctl",
      "targets" : [
        "Sysctl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SysctlTests",
      "module_type" : "SwiftTarget",
      "name" : "SysctlTests",
      "path" : "Tests/SysctlTests",
      "sources" : [
        "AccessTests.swift",
        "NameGenerationTests.swift"
      ],
      "target_dependencies" : [
        "Sysctl"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sysctl",
      "module_type" : "SwiftTarget",
      "name" : "Sysctl",
      "path" : "Sources/Sysctl",
      "product_memberships" : [
        "Sysctl"
      ],
      "sources" : [
        "Base/Container.swift",
        "Base/Field.swift",
        "Base/Namespace.swift",
        "Base/ValueRepresentable.swift",
        "Base/ValueTypes.swift",
        "Helpers/SysctlFuncs.swift",
        "Namespaces/Hardware.swift",
        "Namespaces/Kernel.swift",
        "Namespaces/MachineDependent.swift",
        "Namespaces/Network/IPv4.swift",
        "Namespaces/Network/IPv6.swift",
        "Namespaces/Network/Network.swift",
        "Namespaces/User.swift",
        "Namespaces/VirtualMemory.swift",
        "SystemControl.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
Fetching https://github.com/apple/swift-docc-plugin
[1/2044] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.03s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3199] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.71s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling Sysctl User.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[6/19] Compiling Sysctl VirtualMemory.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[7/19] Compiling Sysctl IPv6.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[8/19] Compiling Sysctl Network.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[9/20] Compiling Sysctl SystemControl.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[10/20] Compiling Sysctl MachineDependent.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[11/20] Compiling Sysctl IPv4.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/20] Emitting module Sysctl
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[13/20] Compiling Sysctl Container.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[14/20] Compiling Sysctl Field.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[15/20] Compiling Sysctl Namespace.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[16/20] Compiling Sysctl ValueRepresentable.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[17/20] Compiling Sysctl Hardware.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[18/20] Compiling Sysctl Kernel.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[19/20] Compiling Sysctl ValueTypes.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
[20/20] Compiling Sysctl SysctlFuncs.swift
/host/spi-builder-workspace/Sources/Sysctl/Base/ValueTypes.swift:1:15: error: no such module 'Darwin'
  1 | public import Darwin
    |               `- error: no such module 'Darwin'
  2 |
  3 | /// Describes a type that can be read from / written to sysctl.
BUILD FAILURE 6.0 linux