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 apple-device-information, reference 1.10.0 (d68b69), with Swift 6.1 for Wasm on 31 May 2025 03:41:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/apple-device-information.git
Reference: 1.10.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/sersoft-gmbh/apple-device-information
 * tag               1.10.0     -> FETCH_HEAD
HEAD is now at d68b697 Add Swift 6.1 support, drop Swift 5.9 support, update config files
Cloned https://github.com/sersoft-gmbh/apple-device-information.git
Revision (git rev-parse @):
d68b697e66d31c0859aa8a7dd27476fb34447503
SUCCESS checkout https://github.com/sersoft-gmbh/apple-device-information.git at 1.10.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sersoft-gmbh/apple-device-information.git
https://github.com/sersoft-gmbh/apple-device-information.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
    },
    {
      "identity" : "swift-sysctl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sersoft-gmbh/swift-sysctl"
    }
  ],
  "manifest_display_name" : "apple-device-information",
  "name" : "apple-device-information",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DeviceInformation",
      "targets" : [
        "DeviceInformation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceInformationTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInformationTests",
      "path" : "Tests/DeviceInformationTests",
      "product_dependencies" : [
        "Sysctl"
      ],
      "sources" : [
        "DeviceInfoTests.swift"
      ],
      "target_dependencies" : [
        "DeviceInformation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceInformation",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInformation",
      "path" : "Sources/DeviceInformation",
      "product_dependencies" : [
        "Sysctl"
      ],
      "product_memberships" : [
        "DeviceInformation"
      ],
      "sources" : [
        "DeviceInfo.swift",
        "PlatformIdentifiers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/sersoft-gmbh/swift-sysctl
[1/2049] Fetching swift-docc-plugin
[227/6401] Fetching swift-docc-plugin, swift-sysctl
Fetched https://github.com/sersoft-gmbh/swift-sysctl from cache (0.81s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.83s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (4.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.67s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.81s)
Computing version for https://github.com/sersoft-gmbh/swift-sysctl
Computed https://github.com/sersoft-gmbh/swift-sysctl at 1.10.0 (1.00s)
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
Creating working copy for https://github.com/sersoft-gmbh/swift-sysctl
Working copy of https://github.com/sersoft-gmbh/swift-sysctl resolved at 1.10.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/20] Emitting module Sysctl
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl IPv6.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl Network.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl User.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl VirtualMemory.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl MachineDependent.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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.
[12/21] Compiling Sysctl IPv4.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl SystemControl.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl ValueTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl SysctlFuncs.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl Hardware.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl Kernel.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl Container.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl Field.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/21] Compiling Sysctl Namespace.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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.
[21/21] Compiling Sysctl ValueRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling Sysctl User.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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.
[5/18] Compiling Sysctl VirtualMemory.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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 IPv6.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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 Network.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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 MachineDependent.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl IPv4.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl Hardware.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl Kernel.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Emitting module Sysctl
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl Namespace.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl ValueRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl SystemControl.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl ValueTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl SysctlFuncs.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl Container.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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/19] Compiling Sysctl Field.swift
/host/spi-builder-workspace/.build/checkouts/swift-sysctl/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.1 wasm